@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ============================================
   DESIGN SYSTEM — CRN AVOCATS
   ============================================ */
:root {
  --navy:      #1A2B4A;
  --navy-deep: #0F1C30;
  --navy-mid:  #243860;
  --turquoise: #00B4C8;
  --turquoise-dark: #0090A0;
  --gold:      #D85A30;
  --gold-light:#F5C4B3;
  --gold-pale: #FAECE7;
  --gold-bg:   #FAECE7;
  --cream:     #F7F5F0;
  --white:     #ffffff;
  --text:      #1A1A18;
  --text-muted:#45443F;
  --text-light:#6B6A63;
  --border:    rgba(26,43,74,0.12);
  --border-md: rgba(26,43,74,0.22);
  --teal:      #D85A30;
  --teal-light:#FAECE7;
  --purple:    #D85A30;
  --purple-light:#FAECE7;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(26,43,74,0.08);
  --shadow-md: 0 4px 20px rgba(26,43,74,0.10);
  --shadow-lg: 0 12px 48px rgba(26,43,74,0.14);
  --font-serif:'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --max-w:     1160px;
  --section-v: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }

.section-tag {
  display: inline-block;
  line-height: 1.5;
  background: var(--gold-bg);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* « Me » : l'exposant reste collé au M, même dans les étiquettes à espacement de lettres */
sup { line-height: 0; }
.section-tag sup { letter-spacing: 0; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-v) 0; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy-deep); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

@media(max-width:900px) {
  .grid-2 { grid-template-columns:1fr; gap:32px; }
  .grid-3 { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px) {
  :root { --section-v:56px; }
  .grid-3, .grid-4 { grid-template-columns:1fr; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
  color: var(--text-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a:hover { color: var(--navy); }
.nav__links .has-dropdown { position: relative; }
.nav__links .has-megamenu { position: static; }
.nav__toggle {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.nav__toggle:hover { color: var(--navy); }
.nav__toggle::after {
  content: '▾';
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.6;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--white);
  border: 0.5px solid var(--border-md);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown .dropdown.open { display: block; }
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--cream); color: var(--navy); }

/* MEGA-MENU (Successions / Séparations / Pénal) */
.megamenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 0.5px solid var(--border-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 24px;
}
.has-megamenu:hover .megamenu,
.megamenu.open { display: flex; gap: 40px; }
.megamenu--two-col { min-width: 560px; }
.megamenu--single { min-width: 260px; display: none; flex-direction: column; }
.has-megamenu:hover .megamenu--single,
.megamenu--single.open { display: flex; }
.megamenu__col { display: flex; flex-direction: column; min-width: 230px; }
.megamenu__title {
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.megamenu__subtoggle {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: var(--font-sans);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 6px;
}
.megamenu__subtoggle .chevron { display: none; }
.megamenu__sublist { display: block; }
.megamenu__col a {
  display: block;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.15s;
}
.megamenu__col a:hover { background: var(--cream); color: var(--navy); }
.megamenu__offer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.megamenu__offer-name { display: flex; align-items: center; gap: 8px; }
.megamenu__price {
  color: var(--text-light);
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.megamenu__sep {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 8px 6px;
}
.megamenu__footlink {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid var(--border);
  font-size: 0.8rem !important;
  font-weight: 500;
  color: var(--navy) !important;
}
.badge--urgent {
  background: #C0392B;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}

.nav__cta {
  background: var(--turquoise);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--turquoise-dark) !important; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); }

/* Sous-menus ouverts au survol (ordinateur) : la zone de survol couvre toute la hauteur de la barre,
   un pont invisible relie le titre au panneau, et une courte temporisation évite les fermetures accidentelles. */
@media(min-width:901px) {
  .nav__links { align-self: stretch; }
  .nav__links > li { display: flex; align-items: center; align-self: stretch; }
  .megamenu, .megamenu--single {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0s linear 0.2s;
  }
  .megamenu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-megamenu:hover .megamenu,
  .has-megamenu:has(:focus-visible) .megamenu,
  .megamenu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .has-megamenu:hover > .nav__toggle,
  .has-megamenu:has(:focus-visible) > .nav__toggle { color: var(--navy); }
  .has-megamenu:hover > .nav__toggle::after { opacity: 1; }
}

@media(max-width:900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 0.5px solid var(--border);
    gap: 16px;
    align-items: flex-start;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .megamenu, .megamenu--single { display: none !important; }
  .nav__links.open .megamenu.open,
  .nav__links.open .megamenu--single.open {
    display: flex !important;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 12px 12px;
    gap: 24px;
  }

  /* Accordéon 2 niveaux : sous-groupes "Votre situation" / "Nos offres" repliés par défaut */
  .megamenu__subtoggle {
    cursor: pointer;
    width: 100%;
    min-height: 44px;
    font-size: 0.75rem;
  }
  .megamenu__subtoggle .chevron {
    display: inline-block;
    transition: transform 0.15s;
    margin-left: auto;
  }
  .megamenu__subtoggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
  .megamenu__sublist {
    display: none;
    padding-left: 4px;
  }
  .megamenu__sublist.open { display: block; }

  /* Cibles tactiles ≥ 44px */
  .nav__toggle,
  .megamenu__col a,
  .megamenu--single a,
  .nav__links > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Bouton "Prendre RDV" sticky en bas d'écran */
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 300;
    background: var(--navy);
    padding: 12px 20px;
    justify-content: center;
  }
  .mobile-sticky-cta .nav__cta {
    width: 100%;
    max-width: 420px;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
@media(min-width:901px) {
  .mobile-sticky-cta { display: none !important; }
}

/* ============================================
   URGENCY BAND
   ============================================ */
.urgency-band {
  background: var(--navy);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.urgency-band p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin: 0; }
.urgency-band strong { color: var(--gold-light); }
.urgency-band a {
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(240,200,96,0.35);
  transition: border-color 0.2s;
}
.urgency-band a:hover { border-color: var(--gold-light); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn--primary   { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gold      { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #993C1D; transform: translateY(-1px); }
.btn--outline   { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn svg { width: 16px; height: 16px; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 44px; height: 44px;
  background: var(--gold-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.card__title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
.card__link  { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--gold); font-weight: 500; margin-top: 14px; }
.card__link svg { width: 14px; height: 14px; }

/* Silo badge */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.badge--teal   { background: var(--teal-light); color: var(--teal); }
.badge--purple { background: var(--purple-light); color: var(--purple); }
.badge--gold   { background: var(--gold-bg); color: var(--gold); }
.badge--navy   { background: rgba(26,43,74,0.08); color: var(--navy); }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 32px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 0.5px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.stat-item__label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ============================================
   FAQ
   ============================================ */
.faq__item {
  border-bottom: 0.5px solid var(--border);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
}
.faq__icon {
  width: 28px; height: 28px;
  border: 0.5px solid var(--border-md);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--gold);
  transition: transform 0.25s, background 0.2s;
}
.faq__item.open .faq__icon { transform: rotate(45deg); background: var(--gold-bg); }
.faq__answer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
}
.faq__item.open .faq__answer { max-height: 300px; padding-bottom: 20px; }

/* ============================================
   FORM
   ============================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 0.5px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-notice {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.temo-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.temo-stars { color: var(--gold-light); font-size: 0.9rem; margin-bottom: 12px; }
.temo-text  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; font-style: italic; }
.temo-author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.temo-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 500; color: var(--gold); flex-shrink: 0;
}
.temo-name    { font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.temo-context { font-size: 0.75rem; color: var(--text-light); }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--text-muted); }
/* Sur fond marine (bandeau d'en-tête), le fil d'Ariane reste clair */
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .current { color: rgba(255,255,255,0.9); }

/* ============================================
   HERO — HOMEPAGE
   ============================================ */
.hero {
  background: var(--cream);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  min-height: 520px;
  gap: 0;
}
.hero__left {
  padding: 72px 56px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.hero__title { max-width: 500px; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub { font-size: 1.05rem; max-width: 440px; color: var(--text-muted); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__right {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 40px;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.hero__right::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(139,105,20,0.12);
}
.hero__stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.hero__stat {
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 600;
  display: block;
}
.hero__stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 2px; line-height: 1.4; }
.hero__quote {
  background: rgba(255,255,255,0.05);
  border-left: 2px solid var(--gold-light);
  padding: 16px 18px;
  position: relative; z-index: 1;
}
.hero__quote p  { font-size: 0.875rem; color: rgba(255,255,255,0.85); font-style: italic; line-height: 1.65; margin: 0; }
.hero__quote cite { font-size: 0.75rem; color: var(--gold-light); font-style: normal; display: block; margin-top: 8px; }

@media(max-width:900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__left { padding: 48px 0 32px; }
  .hero__right { padding: 32px; }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
/* La courbe blanche (::after, 60px) ne doit jamais recouvrir le texte : on réserve toujours la place sous le contenu,
   même quand une page impose son propre padding en ligne. */
.page-hero { padding-bottom: 76px !important; }
.page-hero .container > :last-child { margin-bottom: 0; }
.page-hero .section-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.page-hero h1 { color: var(--white); max-width: 680px; }
.page-hero .lead { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 640px; margin-top: 16px; margin-bottom: 28px; }
.page-hero--teal   { background: var(--navy); }
.page-hero--purple { background: var(--navy); }

/* ============================================
   PROCESS STEPS
   ============================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--border-md);
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step__num {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 500;
  position: relative; z-index: 1;
}
.step__title { font-size: 0.9rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.step__desc  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

@media(max-width:700px) {
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
}

/* ============================================
   ASSOCIE CARDS
   ============================================ */
.avocat-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.avocat-card:hover { box-shadow: var(--shadow-lg); }
.avocat-card__header {
  padding: 32px 28px 24px;
  border-bottom: 0.5px solid var(--border);
}
.avocat-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.avocat-card__avatar--navy { background: var(--navy); color: var(--gold-light); }
.avocat-card__avatar--teal { background: var(--teal); color: #F5C4B3; }
.avocat-card__name  { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 4px; }
.avocat-card__role  { font-size: 0.82rem; color: var(--text-light); }
.avocat-card__body  { padding: 24px 28px; }
.avocat-card__bio   { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.avocat-card__tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.avocat-card__tag   { font-size: 0.75rem; background: var(--cream); color: var(--text-muted); padding: 4px 12px; border-radius: 20px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--navy-deep); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 48px; }
.footer__logo { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); margin-bottom: 12px; }
.footer__logo span { color: var(--gold-light); }
.footer__desc { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin: 0; max-width: 260px; }
.footer__col-title { font-size: 0.76rem; font-weight: 600; color: var(--gold-light); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.9); transition: color 0.2s; }
.footer__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  border-top: 0.5px solid rgba(255,255,255,0.2);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin: 0; }

@media(max-width:900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:600px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--text-muted); }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-8 { gap: 8px; }
.divider { height: 0.5px; background: var(--border); margin: 40px 0; }

/* ============================================
   SCHEMA.ORG structured data helper (hidden)
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================
   SIDEBAR LAYOUT (inner pages)
   ============================================ */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--gold-bg); color: var(--navy); }
.sidebar-nav a::before { content: '→'; color: var(--gold); font-size: 0.75rem; }

@media(max-width:960px) {
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ============================================
   ARTICLE CONTENT
   ============================================ */
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; padding-top: 8px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article-body p  { margin-bottom: 18px; }
.article-body ul { margin: 16px 0 20px 20px; list-style: disc; }
.article-body ul li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.65; }
.article-body .highlight-box {
  background: var(--gold-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-body .highlight-box p { margin: 0; font-size: 0.9rem; color: var(--navy); }

/* ============================================
   ENCART OFFRE (maillage pages situation → offres)
   ============================================ */
.encart-offre {
  background: var(--cream);
  border-left: 4px solid var(--turquoise);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 32px;
  margin: 40px 0;
}
.encart-offre h2 { margin: 0 0 20px; font-size: 1.3rem; }
.encart-offre__item { margin-bottom: 20px; }
.encart-offre__item:last-of-type { margin-bottom: 0; }
.encart-offre__nom { font-weight: 600; color: var(--navy); margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.encart-offre__prix { font-weight: 500; color: var(--turquoise-dark); font-size: 0.85rem; }
.encart-offre__texte { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 8px; line-height: 1.6; }
.encart-offre__link { font-size: 0.85rem; font-weight: 500; color: var(--turquoise-dark); }
.encart-offre__complement { font-size: 0.88rem; color: var(--text-muted); font-style: italic; margin: 16px 0 0; padding-top: 16px; border-top: 0.5px solid var(--border); }
.encart-offre__complement a { color: var(--turquoise-dark); font-weight: 500; font-style: normal; }
.encart-offre__footer { margin: 20px 0 0; padding-top: 16px; border-top: 0.5px solid var(--border); }
.encart-offre__footer a { font-weight: 500; color: var(--navy); }

/* Print */
@media print { .nav, .footer, .sidebar, .urgency-band { display: none; } }

/* ============================================
   BANDEAU DE CONSENTEMENT COOKIES
   ============================================ */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; background: var(--navy-deep); color: var(--white); box-shadow: 0 -6px 30px rgba(0,0,0,0.25); }
.cookie-banner__inner { max-width: 1100px; margin: 0 auto; padding: 20px 24px; }
.cookie-banner__title { font-family: var(--font-serif); font-size: 1.05rem; margin: 0 0 6px; color: var(--white); }
.cookie-banner__text { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.8); margin: 0 0 14px; }
.cookie-banner__text a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner__custom { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.cookie-banner__custom[hidden] { display: none; }
.cookie-banner__custom label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookie-banner__custom input { margin-top: 3px; accent-color: var(--turquoise); }
.cookie-banner__note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin: 0; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn { flex: 1 1 150px; padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.55); background: transparent; color: var(--white); font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500; cursor: pointer; }
.cookie-btn:hover, .cookie-btn:focus-visible { background: var(--white); color: var(--navy); }
@media (max-width: 600px) { .cookie-banner__inner { padding: 16px; } .cookie-btn { flex-basis: 100%; } }

/* Photos de l'équipe (cartes) */
.avocat-card__avatar--photo { display: block; width: 96px; height: 96px; object-fit: cover; object-position: center 25%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--border-md), var(--shadow-sm); }


/* ============================================
   ENCART SIMULATEUR (renvoi vers le simulateur de réserve)
   ============================================ */
.encart-simulateur {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.encart-simulateur__tag {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
}
.article-body .encart-simulateur h3 { margin: 0 0 8px; font-size: 1.2rem; }
.article-body .encart-simulateur p:not(.encart-simulateur__tag) { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

/* Encart « schéma » (page partage judiciaire) */
.schema-card { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; background: var(--cream); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 36px 0; }
.schema-card__thumb { height: 230px; overflow: hidden; border-radius: var(--radius-md); border: 0.5px solid var(--border-md); box-shadow: var(--shadow-sm); background: #fff; }
.schema-card__thumb img { width: 100%; display: block; }
.schema-card h3 { margin: 4px 0 8px; font-size: 1.25rem; }
.schema-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0 0 14px; }
@media (max-width: 600px) { .schema-card { grid-template-columns: 1fr; } .schema-card__thumb { height: 200px; } }
