/* ============================
   VARIABLES & RESET
   ============================ */
:root {
  /* Palette prestige : charbon + bronze/or */
  --blue:       #1c2b3a;        /* charbon bleuté – remplace "bleu" */
  --blue-dark:  #111820;        /* quasi noir profond */
  --blue-mid:   #2c3e50;        /* ardoise */
  --blue-soft:  #f0ece6;        /* crème/ivoire pour fonds clairs */
  --accent:     #b8955a;        /* bronze / or chaud */
  --accent-light: #d4b483;      /* or clair */
  --off-white:  #f8f5f0;        /* blanc cassé chaud */
  --white:      #ffffff;
  --black:      #0d1117;
  --text:       #1c2330;
  --gray:       #6b7280;
  --gray-light: #e8e3dc;
  --border:     #e5dfd6;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', system-ui, sans-serif;
  --transition: 0.3s ease;
  --shadow:     0 4px 24px rgba(28, 43, 58, 0.10);
  --shadow-lg:  0 8px 40px rgba(28, 43, 58, 0.18);
  --radius:     6px;
}

*, *::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; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container   { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.text-center { text-align: center; }

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--blue-dark); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--blue-dark); margin-bottom: 8px; }
h4 { font-size: 1rem; font-weight: 700; color: var(--text); }
p  { color: var(--gray); line-height: 1.85; }
strong { color: var(--text); }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 10px;
}

.divider {
  width: 44px; height: 3px;
  background: var(--accent);
  margin: 18px 0 28px;
  border-radius: 2px;
}
.divider.center { margin-left: auto; margin-right: auto; }
.divider.white  { background: rgba(255,255,255,0.4); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,149,90,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn-full { width: 100%; text-align: center; }
.btn-nav {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-nav:hover { background: var(--blue-dark); }

/* ============================
   NAVBAR
   ============================ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: var(--blue-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 48px;
}
.nav-brand { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.nav-logo { height: 52px; width: auto; background: #fff; border-radius: 4px; padding: 2px 6px; }
.nav-brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-close-item { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   HERO – PHOTO PLEIN FOND
   ============================ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: url('images/hero-legal.jpg') center/cover no-repeat;
}

/* Fondu creme sur la gauche pour le texte, transparent a droite pour voir la photo */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(248,245,240,1.00) 0%,
    rgba(248,245,240,0.95) 40%,
    rgba(248,245,240,0.20) 65%,
    transparent 100%
  );
  z-index: 0;
}

.hero-left {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 92px;
  padding-bottom: 48px;
  padding-left: max(32px, calc((100vw - 1160px) / 2 + 48px));
  padding-right: 48px;
  max-width: 660px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 20px;
}
h1 { color: var(--blue-dark); text-shadow: 0 1px 12px rgba(248,245,240,0.9); }
h1 span { color: var(--accent); }
.hero-desc {
  color: var(--gray);
  font-size: 1rem;
  margin: 24px 0 36px;
  max-width: 500px;
  line-height: 1.9;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* Outline light (for dark bg) */
.btn-outline-dark {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid rgba(28,43,58,0.45);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-dark:hover {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

/* Badges */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(28,43,58,0.07);
  border: 1px solid rgba(28,43,58,0.18);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge svg { width: 13px; height: 13px; color: var(--accent); }

/* ---- Right panel ---- */
.hero-right {
  position: relative;
  overflow: hidden;
  background: #1a1d24;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-img-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #111820 0%, #1c2b3a 50%, #2c3e50 100%);
  z-index: -1;
}
.hero-right::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.12) 0%, transparent 30%);
  pointer-events: none;
}

/* Floating badge bottom-left of image */
.hero-right-badge {
  position: absolute;
  bottom: 36px; left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(19,65,179,0.18);
}
.hero-right-badge svg { color: var(--accent); flex-shrink: 0; }
.hero-right-badge strong { display: block; font-size: 0.88rem; color: var(--blue-dark); font-family: var(--font-serif); }
.hero-right-badge span  { font-size: 0.72rem; color: var(--gray); }

/* ---- Navbar : fond sombre fixe ---- */
#header {
  background: var(--blue-dark);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); border-bottom: none; }
.brand-name { color: var(--white); }
.brand-sub { color: rgba(255,255,255,0.45); }
.nav-links a { color: rgba(255,255,255,0.82); }
.nav-links a:hover { color: var(--accent-light); }
.btn-nav { background: var(--accent); color: var(--white) !important; border: none; }
.btn-nav:hover { background: #9a7a42; }
.btn-urgence-mobile { display: none; }
.btn-urgence-hero { display: none; margin-bottom: 20px; width: fit-content; }
.btn-urgence {
  background: #c0392b !important;
  border: 2px solid #c0392b;
  animation: pulse-urgence 2s infinite;
}
.btn-urgence:hover { background: #a93226 !important; border-color: #a93226; }
@keyframes pulse-urgence {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}
.nav-toggle span { background: var(--white); }

/* ============================
   INFO BAND
   ============================ */
.info-band { background: var(--blue-dark); }
.info-band-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.info-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.info-item:last-child { border-right: none; }
.info-item svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.6); flex-shrink: 0; }
.info-item > div { display: flex; flex-direction: column; }
.info-label {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.45); margin-bottom: 3px;
}
.info-item a, .info-item span { color: var(--white); font-size: 0.86rem; transition: color var(--transition); }
.info-item a:hover { color: rgba(255,255,255,0.75); }

/* ============================
   À PROPOS
   ============================ */
.apropos { background: var(--off-white); }
.apropos-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.apropos-left-col { display: flex; flex-direction: column; gap: 24px; }
.apropos-img-wrap { position: relative; }
.apropos-photo {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: top center;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-lg);
}
.apropos-img-placeholder {
  background: linear-gradient(135deg, #c8d8f0 0%, #a0b8e0 100%);
  border-radius: var(--radius); aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.apropos-img-placeholder svg { width: 56px; height: 56px; stroke: #6080b0; }
.apropos-img-placeholder span { font-size: 0.8rem; color: #6080b0; font-style: italic; }
.apropos-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: var(--white);
  padding: 20px 22px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.badge-num { display: block; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.badge-txt { display: block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; line-height: 1.5; color: rgba(255,255,255,0.65); }
.apropos-badge-standalone {
  background: var(--blue-dark);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  margin-top: 24px;
  display: block;
}
.badge-standalone-txt {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}
.apropos-text h2 { white-space: nowrap; }
.apropos-text p { margin-bottom: 14px; text-align: justify; }
.apropos-values {
  display: flex; gap: 20px; margin-top: 32px; flex-wrap: wrap;
}
.value-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; color: var(--blue-dark);
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--off-white); padding: 8px 14px;
  border-radius: 20px;
}
.value-icon { font-size: 1rem; }

/* ============================
   DOMAINES
   ============================ */
.domaines { background: var(--white); }
.section-intro { max-width: 620px; margin: 0 auto 52px; font-size: 1rem; }
.domaines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.domaine-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.domaine-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.domaine-header {
  background: var(--blue);
  padding: 30px 34px;
  display: flex; align-items: center; gap: 16px;
}
.domaine-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.domaine-icon svg { width: 22px; height: 22px; stroke: var(--white); }
.domaine-header h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.domaine-body { padding: 28px 34px; }
.domaine-list { display: flex; flex-direction: column; }
.domaine-list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 10px 0; border-bottom: 1px solid var(--gray-light);
  font-size: 0.88rem; color: var(--text); line-height: 1.5;
}
.domaine-list li:last-child { border-bottom: none; }
.domaine-list li::before {
  content: '';
  display: block; width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%;
  margin-top: 7px; flex-shrink: 0;
}

/* ============================
   HONORAIRES
   ============================ */
.honoraires { background: var(--off-white); }
.honoraires-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}
.honoraires-title { position: sticky; top: 100px; }
.honoraires-title p { margin-top: 12px; }
.honoraires-content { display: flex; flex-direction: column; gap: 20px; }
.honoraire-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: var(--transition);
}
.honoraire-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.honoraire-card-icon {
  width: 40px; height: 40px;
  background: var(--off-white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.honoraire-card-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.honoraire-card h4 { color: var(--blue-dark); margin-bottom: 8px; font-size: 0.95rem; }
.honoraire-card p  { font-size: 0.88rem; line-height: 1.7; }
.honoraires-note {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
}
.honoraires-note p {
  font-size: 0.9rem;
  color: var(--blue-dark);
  line-height: 1.8;
  font-style: italic;
}
.honoraires-note strong { color: var(--accent); }

/* ============================
   POURQUOI
   ============================ */
.pourquoi { background: var(--blue-dark); }
.pourquoi h2 { color: var(--white); }
.pourquoi p  { color: rgba(255,255,255,0.6); }
.pourquoi .section-eyebrow { color: rgba(255,255,255,0.45); }
.pourquoi-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.pourquoi-text p { margin-bottom: 36px; }
.pourquoi-items { display: flex; flex-direction: column; }
.pourquoi-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pourquoi-item:last-child { border-bottom: none; }
.pourquoi-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: rgba(255,255,255,0.12); line-height: 1; flex-shrink: 0; min-width: 48px;
}
.pourquoi-item h4 { color: var(--white); margin-bottom: 4px; }
.pourquoi-item p  { font-size: 0.88rem; }

/* ============================
   CONTACT
   ============================ */
.contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; margin-top: 52px;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray); margin-bottom: 3px; }
.contact-list a { color: var(--accent); font-weight: 600; transition: opacity var(--transition); }
.contact-list a:hover { opacity: 0.7; }
.contact-list span { color: var(--text); }
.map-placeholder { margin-top: 8px; }
.map-link { display: inline-block; margin-top: 8px; font-size: 0.8rem; color: var(--accent); font-weight: 700; transition: opacity var(--transition); }
.map-link:hover { opacity: 0.7; }
.contact-form-wrap {
  background: var(--off-white); border-radius: var(--radius);
  padding: 40px; border: 1.5px solid var(--border);
}
.contact-form-wrap h3 { margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-dark); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; font-family: var(--font-sans);
  font-size: 0.92rem; color: var(--text); background: var(--white); outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,149,90,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice { font-size: 0.72rem; color: #94a3b8; line-height: 1.5; }
.form-success {
  background: #ecfdf5; color: #065f46;
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; border: 1px solid #a7f3d0;
}
.hidden { display: none; }

/* ============================
   FOOTER
   ============================ */
.footer { background: #0a0f1e; color: rgba(255,255,255,0.45); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.footer-tagline { font-size: 0.68rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 8px; }
.footer-desc { font-size: 0.82rem; line-height: 1.8; margin-bottom: 18px; }
.footer-nav-links { display: flex; flex-direction: column; gap: 7px; }
.footer-nav-links a { font-size: 0.83rem; color: rgba(255,255,255,0.38); transition: color var(--transition); }
.footer-nav-links a:hover { color: var(--white); }
.footer h4 { color: var(--white); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 18px; font-family: var(--font-sans); }

/* Coordonnées */
.footer-info-list { display: flex; flex-direction: column; gap: 14px; }
.footer-info-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; line-height: 1.6; }
.footer-info-list svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; opacity: 0.5; }
.footer-info-list a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-info-list a:hover { color: var(--white); }

/* Informations légales */
.footer-legal-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.footer-legal-list li { display: flex; flex-direction: column; gap: 1px; }
.footer-legal-list span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.28); }
.footer-legal-list strong { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 400; }
.footer-legal-links { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-legal-links a { font-size: 0.8rem; color: rgba(255,255,255,0.38); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.74rem; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ============================
   RESPONSIVE
   ============================ */

/* ---- Tablette large (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .hero-left { max-width: 600px; }
}

/* ---- Tablette (≤ 960px) ---- */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(
      to right,
      rgba(248,245,240,0.98) 0%,
      rgba(248,245,240,0.90) 55%,
      rgba(248,245,240,0.30) 100%
    );
  }
  .hero-left {
    padding: 90px 40px 48px;
    max-width: 100%;
  }

  /* Sections */
  .apropos-grid { grid-template-columns: 1fr; gap: 48px; }
  .apropos-img-wrap { max-width: 360px; margin: 0 auto 28px; }
  .domaines-grid { grid-template-columns: 1fr; }
  .honoraires-inner { grid-template-columns: 1fr; gap: 40px; }
  .honoraires-title { position: static; }
  .pourquoi-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile (≤ 640px) ---- */
@media (max-width: 640px) {
  .section { padding: 72px 0; }

  /* Hero */
  .hero { height: 100svh; min-height: 100svh; }
  .hero::before {
    background: rgba(248,245,240,0.92);
  }
  .hero-left {
    width: 100%;
    padding: 110px 24px 40px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-left h1 { font-size: 2rem; line-height: 1.25; margin-top: 16px; margin-bottom: 32px; }
  .hero-cta { flex-direction: column; gap: 14px; margin-top: 0; margin-bottom: 28px; }
  .btn-outline-dark { text-align: center; }
  .hero-badges { gap: 8px; flex-wrap: wrap; }
  .hero-badge { font-size: 0.68rem; padding: 6px 12px; }

  /* Nav mobile */
  .navbar { justify-content: flex-start; }
  .nav-toggle { display: flex; order: 1; margin-right: 16px; }
  .nav-brand { order: 2; flex: 1; }
  .nav-links { order: 3; }
  .nav-logo { height: 38px; }
  .btn-urgence-hero {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 0.82rem;
    padding: 14px 20px;
    letter-spacing: 0.08em;
    margin-top: 20px;
    margin-bottom: 4px;
  }
  .nav-links .btn-urgence { display: none; }
  .nav-links {
    position: fixed; top: 0; left: -100%;
    height: 100vh; width: 80%; max-width: 300px;
    background: var(--blue-dark);
    flex-direction: column; justify-content: center;
    gap: 28px; padding: 60px 32px 40px;
    transition: left 0.3s ease;
    box-shadow: 4px 0 32px rgba(0,0,0,0.4);
    z-index: 1050;
  }
  .nav-links.open { left: 0; }
  .nav-links a { font-size: 1rem; color: rgba(255,255,255,0.9); }
  .nav-close-item { display: flex !important; justify-content: flex-end; margin-bottom: 8px; }
  .nav-close {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.7); font-size: 1.4rem;
    padding: 4px 8px; line-height: 1;
  }
  .nav-close:hover { color: var(--white); }
  .nav-links .btn-nav { display: block; text-align: center; }
  .nav-links .btn-urgence { font-size: 0.78rem; padding: 10px 16px; }

  /* Sections */
  .apropos-grid { grid-template-columns: 1fr; gap: 40px; }
  .apropos-left-col { max-width: 320px; margin: 0 auto; }
  .apropos-text h2 { white-space: normal; font-size: 1.6rem; }
  .apropos-values { gap: 10px; }
  .value-item { font-size: 0.7rem; }
  .domaines-grid { grid-template-columns: 1fr; }
  .honoraires-inner { grid-template-columns: 1fr; gap: 40px; }
  .honoraires-title { position: static; }
  .pourquoi-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px; }

  /* Domaines / Honoraires */
  .domaine-header { padding: 22px 24px; }
  .domaine-body  { padding: 22px 24px; }
  .honoraire-card { padding: 22px 24px; }
}

/* ---- Très petit mobile (≤ 400px) ---- */
@media (max-width: 400px) {
  .hero-left { padding: 120px 16px 36px; }
  .hero-left h1 { font-size: 1.8rem; }
  .hero-badges { flex-direction: column; align-items: flex-start; }
  .contact-form-wrap { padding: 16px; }
}
