/* ==========================================================================
   CABINET D'AVOCAT MAÎTRE HICHAMI HAMZA — Design System
   Casablanca, Maroc
   --------------------------------------------------------------------------
   Sommaire
   01. Tokens (couleurs, typographie, espacements)
   02. Reset & base
   03. Typographie
   04. Layout & utilitaires
   05. Boutons & liens
   06. Barre supérieure (topbar)
   07. En-tête & navigation
   08. Navigation mobile
   09. Hero
   10. Bandeau de confiance
   11. Sections éditoriales
   12. Cartes d'expertise
   13. Bandeau statistiques
   14. Processus / méthode
   15. Témoignages
   16. Articles & blog
   17. FAQ (accordéon)
   18. Bandeau d'appel à l'action
   19. Formulaires & contact
   20. Pied de page
   21. Composants divers (fil d'Ariane, tableaux, alertes, cookies)
   22. Animations
   23. Responsive
   24. Impression
   ========================================================================== */

/* ==========================================================================
   01. TOKENS
   ========================================================================== */

:root {
  /* --- Couleurs de marque --- */
  --ink:           #0B1622;   /* Noir bleuté — texte principal, fonds sombres */
  --navy:          #12263C;   /* Bleu nuit — fonds secondaires */
  --navy-soft:     #1B3category;
  --navy-700:      #1B3350;
  --navy-500:      #2A4A6B;

  --gold:          #B08D57;   /* Laiton ancien — accent principal */
  --gold-bright:   #C9A96A;
  --gold-pale:     #E8DCC6;
  --gold-wash:     rgba(176, 141, 87, 0.08);

  --bone:          #F7F5F1;   /* Blanc cassé chaud — fonds clairs */
  --bone-dark:     #EFEBE4;
  --paper:         #FFFFFF;

  --text:          #16202C;
  --text-soft:     #4C5765;
  --text-muted:    #6E7885;
  --text-invert:   #F4F1EC;
  --text-invert-soft: rgba(244, 241, 236, 0.68);

  --line:          rgba(11, 22, 34, 0.12);
  --line-strong:   rgba(11, 22, 34, 0.22);
  --line-invert:   rgba(244, 241, 236, 0.16);

  --success:       #2F6B4F;
  --danger:        #9B2C2C;

  /* --- Typographie --- */
  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-arabic-display: 'Noto Kufi Arabic', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-arabic-body:    'Cairo', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;

  --fs-eyebrow: 0.72rem;
  --fs-small:   0.875rem;
  --fs-body:    1.0rem;
  --fs-lead:    1.175rem;

  --lh-tight:  1.12;
  --lh-snug:   1.3;
  --lh-body:   1.75;

  --ls-wide:   0.18em;
  --ls-button: 0.09em;

  /* --- Espacements --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* --- Structure --- */
  --wrap:       1240px;
  --wrap-narrow: 820px;
  --wrap-wide:  1440px;
  --gutter:     clamp(1.25rem, 5vw, 3rem);

  --radius:     2px;
  --radius-lg:  3px;

  --header-h:   88px;
  --header-h-scrolled: 68px;

  --shadow-sm:  0 1px 2px rgba(11, 22, 34, 0.06);
  --shadow-md:  0 12px 32px -12px rgba(11, 22, 34, 0.18);
  --shadow-lg:  0 32px 64px -24px rgba(11, 22, 34, 0.28);

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur:        0.45s;
}

/* Correctif token (garde-fou) */
:root { --navy-soft: #1B3350; }

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-7) 0;
}

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 2000;
  background: var(--ink);
  color: var(--text-invert);
  padding: 0.9rem 1.4rem;
  font-size: var(--fs-small);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   03. TYPOGRAPHIE
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--ink);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(2.25rem, 5.4vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: var(--lh-snug); }
h4 { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: var(--lh-snug); }
h5 { font-size: 1rem; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

strong, b { font-weight: 600; color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--text-soft);
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: var(--space-5) 0;
}
.rule--center { margin-left: auto; margin-right: auto; }

.serif-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}

.num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-3);
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-invert { color: var(--text-invert); }
.text-invert h1, .text-invert h2, .text-invert h3, .text-invert h4 { color: var(--text-invert); }
.text-invert .lead { color: var(--text-invert-soft); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 var(--space-5); }
.prose li { margin-bottom: 0.6rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 2px solid var(--gold);
  background: var(--bone);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--navy);
}

/* ==========================================================================
   04. LAYOUT & UTILITAIRES
   ========================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--wide { max-width: var(--wrap-wide); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--navy { background: var(--navy); color: var(--text-invert); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split--sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

.stack > * + * { margin-top: var(--space-4); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ==========================================================================
   05. BOUTONS & LIENS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 0.2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }

.btn--dark { background: var(--ink); color: var(--text-invert); border-color: var(--ink); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--text-invert); }

.btn--ghost { background: transparent; color: var(--text-invert); border-color: var(--line-invert); }
.btn--ghost:hover { background: var(--text-invert); color: var(--ink); border-color: var(--text-invert); }

.btn--sm { padding: 0.8rem 1.5rem; font-size: 0.72rem; }
.btn--block { width: 100%; }

/* Lien fléché éditorial */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.arrow-link::after {
  content: '→';
  transition: transform var(--dur) var(--ease);
  font-size: 1rem;
}
.arrow-link:hover { color: var(--gold); border-color: var(--gold); }
.arrow-link:hover::after { transform: translateX(5px); }
.arrow-link--invert { color: var(--gold-bright); border-color: var(--line-invert); }
.arrow-link--invert:hover { color: var(--paper); border-color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   06. BARRE SUPÉRIEURE
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: var(--text-invert-soft);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 60;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 44px;
  padding-block: 0.4rem;
}
.topbar__list { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-invert-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.topbar__item:hover { color: var(--gold-bright); }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

.lang-switch { display: flex; align-items: center; gap: 0.15rem; }
.lang-switch a {
  color: var(--text-invert-soft);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.lang-switch a:hover { color: var(--gold-bright); }
.lang-switch a.is-active { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.lang-switch span { opacity: 0.3; }

/* ==========================================================================
   07. EN-TÊTE & NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}
.header.is-scrolled .header__inner { min-height: var(--header-h-scrolled); }

/* --- Logo --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: var(--ink);
  transition: background 0.35s var(--ease);
}
.brand:hover .brand__mark { background: var(--gold); color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
  white-space: nowrap;
}

/* --- Logo SVG image (HICHAMI LAW FIRM) --- */
.brand--logo {
  gap: 0;
  padding: 0;
}
.brand__logo {
  display: block;
  height: 45px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: opacity 0.3s var(--ease);
}
.brand--logo:hover .brand__logo { opacity: 0.82; }
.header.is-scrolled .brand__logo { height: 36px; }

/* Portrait photo (Maître Hichami Hamza) */
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}


/* --- Navigation principale --- */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.6rem 0;
  position: relative;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__link svg { width: 10px; height: 10px; opacity: 0.55; transition: transform 0.3s var(--ease); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* --- Sous-menu --- */
.nav__submenu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -1.25rem;
  min-width: 310px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__submenu::-webkit-scrollbar {
  width: 6px;
}
.nav__submenu::-webkit-scrollbar-track {
  background: transparent;
}
.nav__submenu::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.nav__submenu::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__submenu::before {
  content: '';
  position: absolute;
  top: -0.9rem;
  left: 0;
  right: 0;
  height: 0.9rem;
}
.nav__submenu a {
  display: block;
  padding: 0.75rem 0.95rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.25s var(--ease);
  line-height: 1.4;
}
.nav__submenu a small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.nav__submenu a:hover {
  background: var(--bone);
  color: var(--ink);
  border-left-color: var(--gold);
}

.nav__cta { display: flex; align-items: center; gap: var(--space-3); }

/* --- Bouton burger --- */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.burger:hover { border-color: var(--ink); }
.burger__bars { display: block; width: 20px; height: 12px; position: relative; }
.burger__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.35s var(--ease);
}
.burger__bars span:nth-child(1) { top: 0; }
.burger__bars span:nth-child(2) { top: 5px; }
.burger__bars span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ==========================================================================
   08. NAVIGATION MOBILE
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--text-invert);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem var(--gutter);
  border-bottom: 1px solid var(--line-invert);
  flex: none;
}
.mobile-nav__head .brand__name, .mobile-nav__head .brand { color: var(--text-invert); }
.mobile-nav__close {
  width: 44px; height: 44px;
  border: 1px solid var(--line-invert);
  background: transparent;
  color: var(--text-invert);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.mobile-nav__close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.mobile-nav__body { padding: var(--space-6) var(--gutter); flex: 1; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-invert); }
.mobile-nav__list > li > a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-invert);
  text-decoration: none;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-nav__list > li > a:hover { color: var(--gold-bright); padding-left: 0.5rem; }
.mobile-nav__sub { list-style: none; margin: 0 0 1rem; padding: 0 0 0 1rem; border-left: 1px solid var(--line-invert); }
.mobile-nav__sub a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text-invert-soft);
  text-decoration: none;
}
.mobile-nav__sub a:hover { color: var(--gold-bright); }

.mobile-nav__foot {
  padding: var(--space-6) var(--gutter) var(--space-8);
  border-top: 1px solid var(--line-invert);
  display: grid;
  gap: var(--space-4);
  flex: none;
}
.mobile-nav__foot .lang-switch { justify-content: center; }

/* ==========================================================================
   09. HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-invert);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(176,141,87,0.20) 0%, transparent 55%),
    radial-gradient(90% 70% at 12% 100%, rgba(42,74,107,0.55) 0%, transparent 60%),
    linear-gradient(160deg, #0B1622 0%, #12263C 48%, #0B1622 100%);
}
/* Motif « colonnade » — évoque l'architecture judiciaire */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(244,241,236,0.045) 0px,
    rgba(244,241,236,0.045) 1px,
    transparent 1px,
    transparent 78px
  );
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(560px, 82vh, 820px);
  padding-block: clamp(4rem, 10vw, 7rem);
  max-width: 940px;
}
.hero--compact .hero__inner { min-height: clamp(320px, 44vh, 440px); }

.hero h1 { color: var(--text-invert); margin-bottom: var(--space-5); }
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.75;
  color: var(--text-invert-soft);
  max-width: 660px;
  margin-bottom: var(--space-7);
}
.hero .btn-row { margin-bottom: var(--space-7); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-invert);
  max-width: 720px;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__meta-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  line-height: 1;
}
.hero__meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
}

/* Étoiles Google */
.stars { display: inline-flex; gap: 2px; color: var(--gold-bright); }
.stars svg { width: 14px; height: 14px; }

/* ==========================================================================
   10. BANDEAU DE CONFIANCE
   ========================================================================== */

.trustbar {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trustbar__item {
  background: var(--bone);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.trustbar__item svg { width: 24px; height: 24px; color: var(--gold); flex: none; margin-top: 2px; }
.trustbar__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.15rem;
  line-height: 1.3;
}
.trustbar__desc { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ==========================================================================
   11. SECTIONS ÉDITORIALES
   ========================================================================== */

/* Portrait / bloc visuel abstrait (sans photo) */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(90% 70% at 70% 15%, rgba(176,141,87,0.28) 0%, transparent 60%),
    linear-gradient(155deg, #12263C 0%, #0B1622 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.portrait::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(176,141,87,0.35);
  pointer-events: none;
}
.portrait__monogram {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  color: rgba(176,141,87,0.55);
  letter-spacing: 0.04em;
  line-height: 1;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.portrait-badge {
  position: absolute;
  bottom: -1px;
  inset-inline-start: -1px;
  background: var(--gold);
  color: var(--ink);
  padding: 1.1rem 1.5rem;
  max-width: 78%;
}
.portrait-badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.portrait-badge span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }

/* Liste de références / crédits */
.credentials { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: 0; }
.credentials li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.credentials li:last-child { border-bottom: 1px solid var(--line); }
.credentials svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 5px; }
.credentials strong { display: block; font-size: 0.95rem; color: var(--ink); }
.credentials span { font-size: 0.87rem; color: var(--text-muted); }

/* Liste à puces dorées */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-soft); line-height: 1.6; }
.check-list li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold);
  flex: none;
  margin-top: 0.6rem;
  transform: rotate(45deg);
}

/* ==========================================================================
   12. CARTES D'EXPERTISE
   ========================================================================== */

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.practice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.practice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.practice {
  background: var(--paper);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 100%;
}
.practice::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.practice:hover { background: var(--bone); }
.practice:hover::before { width: 100%; }

.practice__icon {
  width: 46px; height: 46px;
  color: var(--gold);
  margin-bottom: var(--space-5);
  transition: transform 0.5s var(--ease);
}
.practice:hover .practice__icon { transform: translateY(-3px); }
.practice__num {
  position: absolute;
  top: clamp(1.5rem, 2.5vw, 2rem);
  inset-inline-end: clamp(1.5rem, 2.5vw, 2rem);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--line-strong);
  letter-spacing: 0.05em;
}
.practice h3 { margin-bottom: var(--space-3); transition: color 0.3s var(--ease); }
.practice:hover h3 { color: var(--navy); }
.practice p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; margin-bottom: var(--space-5); }
.practice__tags { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.practice__tags li {
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 0.28rem 0.6rem;
  background: var(--bone);
}
.practice__more {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.practice__more::after { content: '→'; transition: transform 0.35s var(--ease); }
.practice:hover .practice__more::after { transform: translateX(5px); }
[dir="rtl"] .practice__more::after,
[dir="rtl"] .arrow-link::after { content: '←'; }
[dir="rtl"] .practice:hover .practice__more::after,
[dir="rtl"] .arrow-link:hover::after { transform: translateX(-5px); }

/* Carte d'appel en fin de grille — « Vous ne trouvez pas votre domaine ? » */
.practice--cta {
  background: var(--bone);
  justify-content: center;
}
.practice--cta::before { display: none; }
.practice--cta:hover { background: var(--bone-dark); }
.practice--cta .eyebrow { margin-bottom: var(--space-4); }
.practice--cta p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   13. BANDEAU STATISTIQUES
   ========================================================================== */

.stats {
  background: var(--navy);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(176,141,87,0.15), transparent 65%);
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 42rem;
  margin-inline: auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.stats__item { padding: 0 clamp(0.5rem, 2vw, 1.5rem); }
.stats__item + .stats__item { border-inline-start: 1px solid var(--line-invert); }
.stats__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.65rem;
}
.stats__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-invert-soft);
  line-height: 1.5;
}

/* ==========================================================================
   14. PROCESSUS / MÉTHODE
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.step { position: relative; padding-top: var(--space-6); }
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.step::after {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-3);
}
.step h4 { margin-bottom: var(--space-2); }
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.section--ink .step::before, .section--navy .step::before { background: var(--line-invert); }
.section--ink .step p, .section--navy .step p { color: var(--text-invert-soft); }

/* ==========================================================================
   15. TÉMOIGNAGES
   ========================================================================== */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.testimonial:hover { border-color: var(--gold); transform: translateY(-3px); }
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.7;
  color: var(--gold-pale);
  margin-bottom: var(--space-4);
}
.testimonial__text {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: var(--space-5);
  flex: 1;
}
.testimonial__foot { display: flex; align-items: center; gap: 0.85rem; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.testimonial__avatar {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex: none;
}
.testimonial__name { font-size: 0.88rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.testimonial__role { font-size: 0.76rem; color: var(--text-muted); }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease);
}
.google-badge:hover { border-color: var(--gold); }
.google-badge__score { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.google-badge__meta { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

/* ==========================================================================
   16. ARTICLES & BLOG
   ========================================================================== */

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.25rem); }

.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  height: 100%;
}
.article-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.article-card__thumb {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(80% 80% at 75% 20%, rgba(176,141,87,0.30), transparent 60%),
    linear-gradient(150deg, #12263C, #0B1622);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.article-card__thumb svg { width: 44px; height: 44px; color: rgba(201,169,106,0.7); }
.article-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: clamp(1.35rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.article-card__cat { color: var(--gold); font-weight: 600; }
.article-card h3 { font-size: 1.15rem; margin-bottom: var(--space-3); }
.article-card p { font-size: 0.89rem; color: var(--text-muted); line-height: 1.65; margin-bottom: var(--space-4); }
.article-card__more { margin-top: auto; font-size: 0.74rem; font-weight: 600; letter-spacing: var(--ls-button); text-transform: uppercase; color: var(--navy); }
.article-card:hover .article-card__more { color: var(--gold); }

/* En-tête d'article */
.article-hero { background: var(--bone); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-5); font-size: 0.8rem; color: var(--text-muted); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta svg { width: 14px; height: 14px; color: var(--gold); }

/* Encadré d'avertissement juridique */
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--bone);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}
.callout h4 { margin-bottom: var(--space-2); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--gold); font-weight: 600; }
.callout p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }

/* Sommaire d'article */
.toc { border: 1px solid var(--line); background: var(--bone); padding: var(--space-5); position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.87rem; }
.toc li { margin-bottom: 0.55rem; }
.toc a { color: var(--text-soft); text-decoration: none; }
.toc a:hover { color: var(--gold); }

/* ==========================================================================
   17. FAQ (ACCORDÉON)
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  padding: clamp(1.2rem, 2.5vw, 1.7rem) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: start;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--gold); }
.faq__icon {
  width: 26px; height: 26px;
  flex: none;
  position: relative;
  border: 1px solid var(--line-strong);
  transition: all 0.4s var(--ease);
  margin-top: 2px;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s var(--ease);
}
.faq__icon::before { width: 11px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 11px; }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--gold); border-color: var(--gold); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq__a-inner {
  padding: 0 0 clamp(1.2rem, 2.5vw, 1.8rem);
  max-width: 75ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.faq__a-inner a { color: var(--navy); }

/* ==========================================================================
   18. BANDEAU D'APPEL À L'ACTION
   ========================================================================== */

.cta-band {
  background: var(--ink);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 130% at 85% 20%, rgba(176,141,87,0.22), transparent 60%),
    radial-gradient(60% 100% at 10% 90%, rgba(42,74,107,0.4), transparent 65%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-band h2 { color: var(--text-invert); }
.cta-band p { color: var(--text-invert-soft); max-width: 60ch; }

/* Bandeau contact compact (téléphone + horaires) */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-invert);
  border: 1px solid var(--line-invert);
  margin-top: var(--space-7);
}
.contact-strip__item {
  background: rgba(255,255,255,0.02);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.contact-strip__item svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-strip__label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-invert-soft); margin-bottom: 0.2rem; }
.contact-strip__value { font-size: 0.92rem; color: var(--text-invert); line-height: 1.5; text-decoration: none; }
a.contact-strip__value:hover { color: var(--gold-bright); }

/* ==========================================================================
   19. FORMULAIRES & CONTACT
   ========================================================================== */

.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E7885' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
[dir="rtl"] .field select { background-position: left 1rem center; padding-right: 1rem; padding-left: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.field input::placeholder, .field textarea::placeholder { color: #A6AEB8; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: 0.78rem; color: var(--danger); display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 0.78rem; color: var(--text-muted); }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
.consent input[type="checkbox"] {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent a { color: var(--navy); }

.form__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--bone);
  border-inline-start: 2px solid var(--gold);
  line-height: 1.6;
}
.form__note svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }

/* ── Bloc canaux de contact (remplace le formulaire) ─────────────────────── */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              transform 0.2s var(--ease);
}

.contact-channel:hover,
.contact-channel:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
  outline: none;
}

.contact-channel__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--gold);
}

.contact-channel__icon svg {
  width: 20px;
  height: 20px;
}

.contact-channel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-channel__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.contact-channel__value {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-channel__hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.contact-channel__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease), color 0.2s;
}

.contact-channel:hover .contact-channel__arrow,
.contact-channel:focus-visible .contact-channel__arrow {
  transform: translateX(4px);
  color: var(--gold);
}

[dir="rtl"] .contact-channel:hover .contact-channel__arrow,
[dir="rtl"] .contact-channel:focus-visible .contact-channel__arrow {
  transform: translateX(-4px);
}

@media (max-width: 480px) {
  .contact-channel { padding: var(--space-4); gap: var(--space-3); }
  .contact-channel__icon { width: 40px; height: 40px; }
  .contact-channel__icon svg { width: 18px; height: 18px; }
}

/* Bloc coordonnées */
.info-card {
  border: 1px solid var(--line);
  background: var(--bone);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.info-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list li:first-child { padding-top: 0; }
.info-list svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 3px; }
.info-list__label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.info-list__value { font-size: 0.95rem; color: var(--ink); line-height: 1.6; text-decoration: none; display: block; }
a.info-list__value:hover { color: var(--gold); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table th, .hours-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--line); text-align: start; }
.hours-table th { font-weight: 500; color: var(--text-soft); }
.hours-table td { text-align: end; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-closed td { color: var(--text-muted); }
.hours-table .is-today th, .hours-table .is-today td { color: var(--gold); font-weight: 600; }

.map-frame {
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease);
  background: var(--bone);
}
.map-frame:hover { filter: grayscale(0); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   20. PIED DE PAGE
   ========================================================================== */

.footer { background: var(--ink); color: var(--text-invert-soft); font-size: 0.88rem; }
.footer a { color: var(--text-invert-soft); text-decoration: none; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--gold-bright); }

.footer__main { padding-block: clamp(3rem, 6vw, 5rem); border-top: 2px solid var(--gold); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer__brand .brand__name { color: var(--text-invert); }
.footer__about { margin-top: var(--space-5); line-height: 1.75; max-width: 38ch; font-size: 0.86rem; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.6; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 4px; }

.footer__social { display: flex; gap: 0.6rem; margin-top: var(--space-6); }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-invert);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid var(--line-invert);
  padding-block: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 0.78rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-5); }

.footer__disclaimer {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(244,241,236,0.45);
  border-top: 1px solid var(--line-invert);
  padding-block: var(--space-5);
  max-width: 100ch;
}

/* ==========================================================================
   21. COMPOSANTS DIVERS
   ========================================================================== */

/* Fil d'Ariane */
.breadcrumb { font-size: 0.78rem; color: var(--text-muted); padding-block: 1rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumb li::after { content: '/'; margin-inline-start: 0.5rem; color: var(--line-strong); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--ink); }
.breadcrumb--invert { color: var(--text-invert-soft); }
.breadcrumb--invert a, .breadcrumb--invert li::after { color: var(--text-invert-soft); }
.breadcrumb--invert [aria-current="page"] { color: var(--gold-bright); }

/* Tableau tarifaire */
.fee-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fee-table caption { text-align: start; font-size: 0.78rem; color: var(--text-muted); padding-bottom: var(--space-3); }
.fee-table thead th {
  text-align: start;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--line-strong);
}
.fee-table tbody td { padding: 1.15rem 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.fee-table tbody tr:hover { background: var(--bone); }
.fee-table td:first-child { font-weight: 600; color: var(--ink); padding-inline-end: var(--space-5); }
.fee-table td:last-child { text-align: end; white-space: nowrap; color: var(--navy); font-weight: 600; }

/* Carte tarifaire */
.fee-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  height: 100%;
}
.fee-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.fee-card--featured { border-color: var(--ink); background: var(--ink); color: var(--text-invert); position: relative; }
.fee-card--featured h3 { color: var(--text-invert); }
.fee-card--featured .fee-card__price { color: var(--gold-bright); }
.fee-card--featured .check-list li { color: var(--text-invert-soft); }
.fee-card__badge {
  position: absolute;
  top: 0; inset-inline-end: 0;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
}
.fee-card__price { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); line-height: 1; margin: var(--space-4) 0 var(--space-2); }
.fee-card__price small { font-size: 0.85rem; font-family: var(--font-body); color: var(--text-muted); letter-spacing: 0.05em; }
.fee-card .check-list { margin-block: var(--space-5); flex: 1; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: var(--gold-wash);
}

/* Bandeau cookies */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--text-invert-soft);
  border-top: 2px solid var(--gold);
  padding: 0.85rem 0;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.35);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cookie-bar p { font-size: 0.82rem; line-height: 1.5; max-width: 70ch; margin: 0; }
.cookie-bar a { color: var(--gold-bright); }
.cookie-bar__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: nowrap;
  width: 100%;
}
.cookie-bar__actions .btn {
  flex: 1 1 50%;
  width: auto !important;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

@media (min-width: 781px) {
  .cookie-bar { padding: var(--space-5) 0; }
  .cookie-bar__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
  }
  .cookie-bar p { font-size: 0.85rem; line-height: 1.6; }
  .cookie-bar__actions {
    width: auto;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .cookie-bar__actions .btn {
    flex: none;
    width: auto !important;
    padding: 0.55rem 1.1rem;
    font-size: var(--fs-small);
  }
}

/* Bouton retour haut */
.to-top {
  position: fixed;
  bottom: 1.75rem;
  inset-inline-end: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 46px; height: 46px;
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg { width: 16px; height: 16px; }

/* Bouton WhatsApp flottant */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  inset-inline-start: 1.75rem;
  left: 1.75rem;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: transform 0.3s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.whatsapp-fab svg { width: 27px; height: 27px; }

/* Page 404 / états vides */
.empty-state { text-align: center; padding-block: var(--space-9); }
.empty-state__code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; color: var(--gold-pale); }

/* ==========================================================================
   22. ANIMATIONS
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }
[data-reveal][data-delay="4"] { transition-delay: 0.36s; }

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   23. RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .nav__list { gap: 1.1rem; }
  .nav__link { font-size: 0.75rem; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; --header-h-scrolled: 64px; }

  .nav__list, .nav__cta .btn { display: none; }
  .burger { display: grid; }
  /* Burger en début de ligne : à gauche en FR/EN, à droite en AR */
  .header__inner, .mobile-nav__head { flex-direction: row-reverse; }

  .practice-grid--3, .practice-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-5); }
  .stats__item:nth-child(odd) { border-inline-start: 0; }
  .stats__item:nth-child(-n+2) { padding-bottom: var(--space-6); border-bottom: 1px solid var(--line-invert); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-5); }
  .testimonial-grid, .article-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split--sidebar { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .topbar__list .topbar__item--hide-md { display: none; }
}

@media (max-width: 780px) {
  .split, .grid-2, .form__row { grid-template-columns: 1fr; }
  .practice-grid, .practice-grid--3, .practice-grid--4 { grid-template-columns: 1fr; }
  .testimonial-grid, .article-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .hero__meta { gap: var(--space-5); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .topbar__inner { justify-content: center; }
  .topbar__list .topbar__item--hide-sm { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .whatsapp-fab { width: 48px; height: 48px; bottom: 1.1rem; inset-inline-start: 1.1rem; left: 1.1rem; }
  .to-top { bottom: 1.1rem; inset-inline-end: 1.1rem; right: 1.1rem; width: 42px; height: 42px; }
}

@media (max-width: 560px) {
  .trustbar__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 0.95rem; }
  .brand__mark { width: 40px; height: 40px; font-size: 0.92rem; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-inline-start: 0 !important; }
  .stats__item + .stats__item { padding-top: var(--space-6); border-top: 1px solid var(--line-invert); }
  .stats__item:nth-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
}

/* ==========================================================================
   24. IMPRESSION
   ========================================================================== */

@media print {
  .topbar, .header, .mobile-nav, .cookie-bar, .to-top, .whatsapp-fab,
  .hero__grain, .map-frame, .cta-band, form { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .section--ink, .section--navy, .footer { background: #fff !important; color: #000 !important; }
  .hero h1, .text-invert, .text-invert h2 { color: #000 !important; }
  a { text-decoration: underline; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .section { padding-block: 1.5rem; page-break-inside: avoid; }
}
