/* =========================================================
   Cabinet Mounir Bentayeb — Avocat au Barreau de Mulhouse
   Direction : bleu nuit & ivoire, éditorial-luxe, sobre.
   ========================================================= */

:root {
  --ink:        #08131f;   /* fond le plus profond */
  --navy:       #0d2235;   /* fond principal */
  --navy-2:     #12304a;   /* panneaux */
  --navy-line:  rgba(243, 239, 230, 0.12);
  --ivory:      #f3efe6;   /* clair chaud */
  --ivory-soft: #e9e3d6;
  --slate:      #a9bccd;   /* texte secondaire sur sombre */
  --slate-dim:  #7e93a6;
  --steel:      #9cb8d6;   /* accent froid */
  --steel-deep: #6f93b6;

  --paper:      #f3efe6;
  --paper-ink:  #142433;   /* texte sur clair */
  --paper-sub:  #4d5e6e;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", -apple-system, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--ivory);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typographic helpers ---------- */
.eyebrow,
.section-kicker,
.footer-h,
.cap-role,
.ci-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.section-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--steel-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(8, 19, 31, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--navy-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  height: 40px; width: auto;
  /* utiliser la version BLANCHE du logo (fond sombre) */
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-3deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 460; letter-spacing: 0.01em;
}

.nav { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
.nav a {
  position: relative;
  font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--slate);
  padding: 6px 0; transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--steel);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Sélecteur de langue */
.lang-switch { display: flex; align-items: center; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; }
.lang-switch a { color: var(--slate-dim); padding: 3px 6px; transition: color 0.3s var(--ease); }
.lang-switch a:hover { color: var(--ivory); }
.lang-switch a.active { color: var(--steel); }
.lang-switch a + a { border-left: 1px solid var(--navy-line); }
.header-phone {
  font-family: var(--font-display);
  font-size: 0.98rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--ivory); white-space: nowrap;
}
.header-phone:hover { color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 2px;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn-solid { background: var(--ivory); color: var(--paper-ink); }
.btn-solid:hover { background: var(--steel); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--navy-line); }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 0.78rem; }
.btn-block { width: 100%; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span {
  width: 26px; height: 2px; background: var(--ivory);
  transition: all 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: clamp(130px, 18vh, 200px);
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(28, 64, 99, 0.55) 0%, transparent 55%),
    radial-gradient(90% 80% at 8% 90%, rgba(16, 40, 62, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--navy-line) 1px, transparent 1px);
  background-size: 100% 6.2vh;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(3.4rem, 8.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0.28em 0 0.5em;
}
.hero-title em {
  font-style: normal; font-weight: 400;
  color: var(--steel);
  display: inline-block; letter-spacing: 0.005em;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--slate);
  max-width: 30em; line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.2em; }

/* Portrait */
.hero-portrait { position: relative; }
.portrait-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 19, 31, 0.55) 100%);
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}
.hero-portrait figcaption {
  position: absolute; left: 22px; bottom: 20px; z-index: 3;
  display: flex; flex-direction: column; gap: 3px;
}
.cap-name {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 460; color: var(--ivory);
}
/* Repli si la photo n'est pas encore déposée */
.portrait-frame.is-empty {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(28, 64, 99, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--ink));
  border: 1px solid var(--navy-line);
}
.portrait-frame.is-empty::before {
  content: "MB"; position: static;
  font-family: var(--font-display); font-weight: 320;
  font-size: 4rem; color: var(--steel); opacity: 0.6;
  background: none; inset: auto;
}
.portrait-frame.is-empty::after {
  content: "Photo à déposer dans /assets"; inset: auto;
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-dim); background: none;
}

/* (cadre décoratif décalé retiré — il faisait paraître la photo mal alignée) */

/* ---------- ID strip ---------- */
.id-strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  background: rgba(8, 19, 31, 0.4);
}
.id-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.id-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 28px;
  border-left: 1px solid var(--navy-line);
}
.id-item:first-child { border-left: none; padding-left: 0; }
.id-item span {
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate-dim); font-weight: 600;
}
.id-item strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.28rem; color: var(--ivory); letter-spacing: 0.01em;
}

/* =========================================================
   SECTIONS génériques
   ========================================================= */
.section { padding: clamp(80px, 11vw, 150px) 0; }

.two-col {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.col-label {
  display: flex; flex-direction: column; gap: 10px;
  position: sticky; top: 120px;
}
.col-label .section-index { font-size: 1.6rem; }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .section-index { display: block; margin-bottom: 14px; }
.section-intro {
  margin-top: 18px; font-size: 1.1rem;
  color: var(--slate); max-width: 46ch;
}
.section-head.center .section-intro { margin-inline: auto; }

.prose p { margin-bottom: 1.3em; color: var(--slate); font-size: 1.06rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ivory); font-weight: 600; }
.fineprint { font-size: 0.94rem !important; color: var(--slate-dim) !important; }

/* =========================================================
   DOMAINES — cards
   ========================================================= */
.domaines { background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--navy-line);
}
.card {
  padding: 44px 38px 50px;
  border-left: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  position: relative;
  transition: background 0.45s var(--ease);
}
.card:first-child { border-left: none; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0;
  height: 2px; width: 0; background: var(--steel);
  transition: width 0.5s var(--ease);
}
.card:hover { background: rgba(28, 64, 99, 0.18); }
.card:hover::before { width: 100%; }
.card-num {
  font-family: var(--font-display);
  font-size: 0.9rem; color: var(--steel-deep);
  letter-spacing: 0.1em;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 380; font-size: 1.7rem;
  margin: 22px 0 16px; letter-spacing: -0.01em;
}
.card-text { color: var(--slate); font-size: 0.98rem; line-height: 1.7; }

/* =========================================================
   APPROCHE — values
   ========================================================= */
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--navy-line);
  border: 1px solid var(--navy-line);
}
.value {
  background: var(--ink); padding: 40px 32px 46px;
  transition: background 0.4s var(--ease);
}
.value:hover { background: var(--navy); }
.value h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; margin-bottom: 14px; color: var(--ivory);
}
.value h3::before {
  content: ""; display: block; width: 26px; height: 1px;
  background: var(--steel); margin-bottom: 18px;
}
.value p { color: var(--slate); font-size: 0.95rem; }

/* =========================================================
   HONORAIRES
   ========================================================= */
.honoraires { background: var(--navy); }

/* =========================================================
   PREMIER RENDEZ-VOUS — étapes
   ========================================================= */
.rdv { background: var(--ink); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line);
}
.step {
  background: var(--ink); padding: 38px 30px 42px;
  transition: background 0.4s var(--ease);
}
.step:hover { background: var(--navy); }
.step-num {
  font-family: var(--font-display); font-weight: 340;
  font-size: 2rem; color: var(--steel); line-height: 1; display: block;
}
.step h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.25rem; margin: 16px 0 12px; color: var(--ivory);
}
.step p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; }
.rdv-note { margin-top: 26px; color: var(--slate-dim); font-size: 0.92rem; line-height: 1.6; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%); }
.contact-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 30px; }
.contact-list li { display: flex; flex-direction: column; gap: 8px; }
.ci-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.32rem; color: var(--ivory); line-height: 1.4;
}
a.ci-value:hover { color: var(--steel); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate); font-weight: 600;
}
.field input, .field textarea {
  background: rgba(8, 19, 31, 0.5);
  border: 1px solid var(--navy-line);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--ivory);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--steel);
  background: rgba(8, 19, 31, 0.8);
}
.field textarea { resize: vertical; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.86rem; color: var(--slate); line-height: 1.55;
}
.consent input { margin-top: 4px; accent-color: var(--steel); width: 16px; height: 16px; flex-shrink: 0; }
.inline-link { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }

.form-note {
  font-size: 0.8rem; color: var(--slate-dim);
  line-height: 1.5; margin-top: -4px;
}

/* champ anti-spam (honeypot) — invisible */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* message de retour du formulaire */
.form-status { font-size: 0.92rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.ok  { color: #8fd0a8; }
.form-status.err { color: #e6a784; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--navy-line);
  padding-top: clamp(60px, 8vw, 90px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-mark { height: 46px; margin-bottom: 22px; opacity: 0.92; }
.footer-id { color: var(--slate); font-size: 0.95rem; line-height: 1.7; }
.footer-id strong { color: var(--ivory); font-family: var(--font-display); font-weight: 460; font-size: 1.1rem; }
.footer-h {
  display: block; margin-bottom: 18px;
  font-size: 0.7rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--steel); font-weight: 600;
}
.footer-col p { color: var(--slate); font-size: 0.95rem; line-height: 1.9; }
.footer-col a:hover { color: var(--steel); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--slate); font-size: 0.95rem; transition: color 0.3s var(--ease); }

.footer-zone {
  border-top: 1px solid var(--navy-line);
  padding: 22px 0;
  font-size: 0.82rem; color: var(--slate-dim); line-height: 1.7;
}
.footer-zone strong { color: var(--slate); font-weight: 600; }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--navy-line);
  font-size: 0.8rem; color: var(--slate-dim);
}

/* =========================================================
   PAGES LÉGALES (mentions légales, confidentialité)
   ========================================================= */
.legal-hero {
  padding: clamp(140px, 18vh, 200px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(28, 64, 99, 0.5) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--navy-line);
}
.legal-hero .eyebrow { display: block; margin-bottom: 16px; }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 340;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05;
  letter-spacing: -0.01em;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; font-size: 0.84rem; color: var(--steel);
  letter-spacing: 0.02em;
}
.legal-back:hover { color: var(--ivory); }

.legal-page { background: var(--ink); padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: var(--font-display); font-weight: 380;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--ivory);
  margin: 2.4em 0 0.7em; letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 0.95rem; color: var(--steel); margin: 1.6em 0 0.4em;
  font-weight: 600; letter-spacing: 0.02em;
}
.legal-content p,
.legal-content li { color: var(--slate); font-size: 1rem; line-height: 1.75; }
.legal-content p { margin-bottom: 1.1em; }
.legal-content strong { color: var(--ivory); font-weight: 600; }
.legal-content ul { margin: 0 0 1.1em 1.1em; }
.legal-content li { margin-bottom: 0.5em; }
.legal-content a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--ivory); }
.legal-note {
  border-left: 2px solid var(--steel-deep);
  padding: 14px 0 14px 22px; margin: 1.6em 0;
  color: var(--slate-dim); font-size: 0.92rem;
}
.legal-updated { margin-top: 3em; font-size: 0.85rem; color: var(--slate-dim); }

/* =========================================================
   BLOG / ACTUALITÉS
   ========================================================= */
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--navy-line);
  border: 1px solid var(--navy-line);
}
.post-card {
  background: var(--ink); padding: 40px 38px 44px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.4s var(--ease);
}
.post-card:hover { background: var(--navy); }
.post-tag {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel); font-weight: 600;
}
.post-card h2 {
  font-family: var(--font-display); font-weight: 380;
  font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em;
}
.post-card h2 a { transition: color 0.3s var(--ease); }
.post-card h2 a:hover { color: var(--steel); }
.post-excerpt { color: var(--slate); font-size: 0.97rem; line-height: 1.65; flex-grow: 1; }
.post-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.8rem; color: var(--slate-dim); margin-top: 6px;
}
.post-readmore { color: var(--steel); font-weight: 600; font-size: 0.84rem; }

.article-meta { margin-top: 22px; font-size: 0.85rem; color: var(--slate-dim); }
.article-meta .post-tag { margin-right: 12px; }
.article-disclaimer {
  margin-top: 3em; padding: 18px 22px;
  border: 1px solid var(--navy-line); border-radius: 3px;
  background: rgba(28, 64, 99, 0.12);
  font-size: 0.88rem; color: var(--slate-dim); line-height: 1.6;
}

@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CABINET — bloc méthode (ex-Approche)
   ========================================================= */
.cabinet-method { margin-top: clamp(48px, 7vw, 84px); }
.method-title {
  font-family: var(--font-display); font-weight: 380;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-bottom: 28px; letter-spacing: -0.01em;
}

/* Parcours / engagements (bloc CV dans Le cabinet) */
.cv-block { margin-top: 2.6em; }
.cv-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.15rem; color: var(--ivory); margin-bottom: 14px;
}
.cv-title::before {
  content: ""; display: block; width: 26px; height: 1px;
  background: var(--steel); margin-bottom: 14px;
}
.cv-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cv-list li {
  position: relative; padding-left: 22px;
  color: var(--slate); font-size: 0.97rem; line-height: 1.55;
}
.cv-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border: 1px solid var(--steel); transform: rotate(45deg);
}

/* =========================================================
   HONORAIRES — cartes + consultation + FAQ
   ========================================================= */
.fee-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--navy-line);
  border: 1px solid var(--navy-line);
  margin-bottom: 28px;
}
.fee-card {
  background: var(--ink); padding: 42px 34px 38px;
  display: flex; flex-direction: column;
  transition: background 0.4s var(--ease);
}
.fee-card:hover { background: var(--navy); }
.fee-icon {
  width: 48px; height: 48px; color: var(--steel);
  display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid var(--navy-line); border-radius: 50%;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.fee-icon svg { width: 22px; height: 22px; }
.fee-card:hover .fee-icon { transform: translateY(-3px); border-color: var(--steel); }
.fee-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; margin-bottom: 12px;
}
.fee-desc { color: var(--slate); font-size: 0.96rem; line-height: 1.6; margin-bottom: 20px; }
.fee-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex-grow: 1; }
.fee-list li {
  position: relative; padding-left: 22px;
  color: var(--slate); font-size: 0.92rem; line-height: 1.5;
}
.fee-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border: 1px solid var(--steel);
  transform: rotate(45deg);
}
.fee-cta {
  align-self: flex-start; color: var(--steel);
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}
.fee-cta:hover { color: var(--ivory); }

.consult {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  padding: 32px 38px; margin-bottom: clamp(50px, 7vw, 80px);
  border: 1px solid var(--navy-line); border-radius: 3px;
  background: linear-gradient(120deg, rgba(28, 64, 99, 0.28), rgba(8, 19, 31, 0.18));
}
.consult-main { flex: 1 1 360px; }
.consult-tag {
  display: block; font-family: var(--font-display);
  font-size: 1.35rem; color: var(--ivory); margin-bottom: 8px;
}
.consult-text { color: var(--slate); font-size: 0.92rem; line-height: 1.6; }
.consult-side { display: flex; align-items: center; gap: 24px; }
.consult-price {
  font-family: var(--font-display); font-size: 2.5rem;
  color: var(--steel); font-weight: 400; line-height: 1;
}

.faq { max-width: 820px; }
.faq-title {
  font-family: var(--font-display); font-weight: 380;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 18px;
}
.faq-item { border-top: 1px solid var(--navy-line); }
.faq-item:last-child { border-bottom: 1px solid var(--navy-line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative;
  font-size: 1.08rem; color: var(--ivory); font-weight: 500;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--steel);
  line-height: 1; transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--steel); }
.faq-body { padding: 0 0 24px; }
.faq-body p { color: var(--slate); font-size: 0.98rem; line-height: 1.7; }
.faq-body p + p { margin-top: 0.8em; }
.faq-body ul { margin: 0.7em 0 0.3em; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.faq-body li { position: relative; padding-left: 18px; color: var(--slate); font-size: 0.96rem; line-height: 1.5; }
.faq-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--steel); border-radius: 50%; }
.faq-body a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.faq-body a:hover { color: var(--ivory); }

/* =========================================================
   RÉSEAUX SOCIAUX (pied de page)
   ========================================================= */
.social-label {
  display: block; margin-top: 26px; margin-bottom: 12px;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel); font-weight: 600;
}
.socials { display: flex; gap: 12px; margin-top: 0; }
.social {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--navy-line); color: var(--slate);
  transition: color 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover {
  color: var(--ink); background: var(--steel);
  border-color: var(--steel); transform: translateY(-3px);
}

@media (max-width: 860px) {
  .fee-cards { grid-template-columns: 1fr; }
  .consult { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   AUTODIAGNOSTIC (iframe avocat.fr / CNB)
   ========================================================= */
.diag-intro { max-width: 60ch; margin-bottom: 36px; }
.diag-wrap {
  background: #ffffff;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 36px 90px -45px rgba(0, 0, 0, 0.75);
  border: 1px solid var(--navy-line);
  margin-bottom: 30px;
}
.diag-wrap iframe {
  display: block; width: 100%; border: 0; border-radius: 4px;
  min-height: 950px;
}

/* =========================================================
   PAGES DOMAINE (SEO) — fil d'Ariane, CTA, maillage
   ========================================================= */
.breadcrumb { font-size: 0.78rem; color: var(--slate-dim); margin-bottom: 16px; letter-spacing: 0.02em; }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

.domain-content h2 { margin-top: 2.2em; }
.domain-content h2:first-of-type { margin-top: 0.6em; }

.page-cta {
  margin: 52px 0 8px; padding: 32px 34px;
  border: 1px solid var(--navy-line); border-radius: 4px;
  background: linear-gradient(120deg, rgba(28, 64, 99, 0.28), rgba(8, 19, 31, 0.18));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.page-cta p {
  margin: 0; font-family: var(--font-display); font-size: 1.3rem;
  color: var(--ivory); max-width: 32ch; line-height: 1.3;
}
.page-cta .cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.related-domains { margin-top: 56px; border-top: 1px solid var(--navy-line); padding-top: 30px; }
.related-domains h2 { font-family: var(--font-display); font-weight: 380; font-size: 1.25rem; margin-bottom: 18px; }
.rel-links { display: flex; gap: 14px; flex-wrap: wrap; }
.rel-links a {
  color: var(--steel); font-weight: 600; font-size: 0.92rem;
  border: 1px solid var(--navy-line); padding: 10px 16px; border-radius: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.rel-links a:hover { color: var(--ivory); border-color: var(--steel); }

/* lien « En savoir plus » sur les cartes domaines de l'accueil */
.card-link {
  display: inline-block; margin-top: 18px;
  color: var(--steel); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}
.card-link:hover { color: var(--ivory); }
.card { display: flex; flex-direction: column; }
.card .card-text { flex-grow: 1; }

/* =========================================================
   REVEAL animations
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* En-tête : bascule en menu burger dès 1200px (évite tout chevauchement nom/onglets dû au sélecteur de langue) */
@media (max-width: 1200px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .header-actions .btn-solid { display: none; }

  .nav.mobile-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(80vw, 340px);
    background: var(--ink);
    border-left: 1px solid var(--navy-line);
    padding: 110px 36px 36px;
    z-index: 999;
  }
  .nav.mobile-open a {
    font-size: 1.1rem; padding: 18px 0;
    border-bottom: 1px solid var(--navy-line); color: var(--ivory);
  }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 360px; }
  .hero-title { margin-top: 0; }
  .id-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .id-item:nth-child(3) { border-left: none; padding-left: 0; }

  .two-col { grid-template-columns: 1fr; }
  .col-label { position: static; flex-direction: row; align-items: center; gap: 16px; }

  .cards { grid-template-columns: 1fr; }
  .card { border-left: none; }
  .card:first-child { border-top: none; }

  .values { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .id-strip-inner { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   AJUSTEMENTS — refonte en-tête + parallélisme + numérotation
   ============================================================ */

/* 1) Retrait de la numérotation (sections + cartes domaines) */
.section-head .section-index, .col-label .section-index, .card-num { display: none; }

/* 2) En-tête : nom plus grand, bouton plus compact, téléphone retiré (présent ailleurs) */
.brand-name { font-size: 1.42rem; font-weight: 500; }
.header-actions .btn { padding: 9px 16px; font-size: 0.72rem; }
.header-phone { display: none; }

/* 3) Sélecteur de langue discret : seul « FR ⌄ » visible, déroulé au survol */
.lang-switch { display: inline-flex; align-items: center; }
.lang-switch a + a { border-left: none; }
.lang-switch a {
  padding: 3px 5px; white-space: nowrap;
  transition: max-width 0.35s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-switch a.active::after { content: "⌄"; margin-left: 3px; opacity: 0.65; }
.lang-switch a:not(.active) { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; overflow: hidden; pointer-events: none; }
.lang-switch:hover a:not(.active),
.lang-switch:focus-within a:not(.active) { max-width: 2.6em; opacity: 1; padding: 3px 5px; pointer-events: auto; }

/* 4) Section « Le cabinet » : corps à largeur lisible (parallélisme) */
.cabinet-body { max-width: 760px; }

/* Sur mobile (menu compact, pas de survol) : afficher toutes les langues */
@media (max-width: 1200px) {
  .lang-switch a:not(.active) { max-width: 2.8em; opacity: 1; padding: 3px 5px; pointer-events: auto; }
  .lang-switch a.active::after { content: ""; }
}
