/* ==========================================================================
   lawf — feuille de style unique, fidèle au gabarit de référence :
   hero asymétrique, carte stats, bandeau citation, cartes à pastille,
   section beige, CTA sombre filigrané, footer à filets dorés.
   Propriétés logiques partout : un seul fichier sert LTR et RTL.
   ========================================================================== */

:root {
  --bg: #f6f3ed;
  --bg-soft: #faf8f4;
  --beige: #f1ebe1;
  --card: #f8f6f1;
  --line: #e4ded2;
  --navy: #0f1c26;
  --navy-2: #1b2833;
  --ink: #182026;
  --text: #56616b;
  --gold: #b08a3c;
  --gold-2: #c2a055;
  --gold-soft: #e9dfc8;
  --white: #ffffff;
  --wa: #25d366;

  --font-body: "Inter", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;

  --r-sm: 6px;
  --r-md: 10px;
  --shadow: 0 20px 45px -28px rgba(24, 32, 38, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: #fff;
}

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 28px;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -70px;
  z-index: 90;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 12px;
}

/* ---------- helpers typo ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.dash::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.eyebrow.dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

.h2 .it {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
}

.lead {
  color: var(--text);
  font-size: 0.98rem;
  max-width: 58ch;
}

/* ---------- boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  background: var(--navy-2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy-2);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: #cfd3d6;
}

.btn-line:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-goldline {
  background: transparent;
  color: var(--gold-2);
  border-color: rgba(194, 160, 85, 0.55);
}

.btn-goldline:hover {
  border-color: var(--gold-2);
  background: transparent;
  color: var(--gold-2);
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-soft);
  box-shadow: 0 1px 0 rgba(24, 32, 38, 0.06);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 13px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark .logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--gold-2);
}

.mark .logo svg {
  width: 20px;
  height: 20px;
}

.mark .who {
  display: block;
  line-height: 1.3;
  border-top: 0;
  padding-top: 0;
}

.mark .who strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  color: #414b54;
  padding-block: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.head-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #f2eee6;
  border-radius: 999px;
  padding: 8px 15px;
}

.lang-pill svg {
  width: 14px;
  height: 14px;
  color: var(--text);
}

.lang-pill a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.lang-pill a[aria-current="page"] {
  color: var(--gold);
}

.lang-pill a:hover {
  color: var(--ink);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}

.burger svg {
  width: 20px;
  height: 20px;
}

.m-nav {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 10px 28px 24px;
}

.m-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.m-nav .btn {
  margin-top: 16px;
  width: 100%;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg);
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* portrait serré : ancre le cadrage sur le visage plutôt que sur le centre,
     sinon le cover rogne le haut de la tête (surtout en mobile) */
  object-position: 50% 22%;
}

.hero-badge {
  position: absolute;
  inset-inline-start: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: rgba(15, 28, 38, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
}

.hero-badge .sq {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--navy);
}

.hero-badge .sq svg {
  width: 17px;
  height: 17px;
}

.hero-badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-badge span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 84px) clamp(32px, 5vw, 84px);
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-copy h1 .b {
  display: block;
  font-weight: 700;
}

.hero-copy h1 .it {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
}

/* troisieme ligne du h1 : le slogan, remis en second apres le nom */
.hero-copy h1 .sl {
  display: block;
  margin-top: 14px;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
}

.hero-copy .lead {
  margin-top: 22px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.stat-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-card > div {
  padding: 22px 18px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}

.stat-card > div:first-child {
  border-inline-start: 0;
}

.stat-card b {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.stat-card b i {
  font-style: normal;
  color: var(--gold);
}

/* le chiffre du compteur : même rendu que le nombre, jamais doré */
.stat-card b i.n {
  color: var(--ink);
}

/* sélecteur enfant direct : ne doit JAMAIS toucher le <span> du compteur */
.stat-card > div > span {
  display: block;
  margin-top: 9px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.hero-quote {
  margin-top: 30px;
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 16px;
  max-width: 40ch;
}

.hero-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: #6b7680;
  line-height: 1.6;
}

.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- bandeau citation ---------- */

.quote-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding-block: clamp(64px, 8vw, 110px);
}

.quote-band .qmark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: rgba(194, 160, 85, 0.55);
}

.quote-band blockquote {
  max-width: 44rem;
  margin: 26px auto 0;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.55;
  color: #f0ece3;
}

.quote-band cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7d8891;
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(64px, 8vw, 110px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 60px);
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

/* ---------- services ---------- */

.services {
  background: var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.card {
  background: var(--card);
  padding: 34px 32px 30px;
  transition: background 0.3s ease;
}

.card:hover {
  background: var(--beige);
}

.card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.card .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: #ece6da;
  color: var(--navy-2);
  margin-top: 18px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.card:hover .ic {
  background: var(--navy-2);
  color: var(--gold-2);
}

.card .ic svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  margin-top: 20px;
  font-size: 1.28rem;
  font-weight: 600;
}

.card p {
  margin-top: 12px;
  color: var(--text);
  font-size: 0.88rem;
  min-height: 3.6em;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

.card a svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.card a:hover svg {
  transform: translateX(4px);
}

/* ---------- à propos ---------- */

.about {
  background: var(--beige);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.portrait {
  position: relative;
}

.portrait::before {
  content: "";
  position: absolute;
  inset-inline-start: -26px;
  top: -26px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(176, 138, 60, 0.5);
}

.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-sm);
}

.xp-card {
  position: absolute;
  inset-inline-end: -22px;
  bottom: 34px;
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  padding: 18px 26px;
}

.xp-card .lb {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.xp-card b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.1;
}

.xp-card span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--text);
}

.about-copy .h2 {
  margin: 16px 0 20px;
}

.about-copy .lead {
  font-size: 0.94rem;
}

.checks {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #3d4750;
}

.checks .ck {
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
}

.checks .ck svg {
  width: 10px;
  height: 10px;
}

.about-copy .btn {
  margin-top: 32px;
}

/* ---------- avis ---------- */

.reviews {
  background: var(--bg-soft);
}

.t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-card .q {
  color: var(--gold);
}

.t-card .q svg {
  width: 22px;
  height: 22px;
}

.t-card blockquote {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.75;
  color: #3d4750;
  flex: 1;
}

.who {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.who .ini {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-2);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.who strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.who span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.t-note {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text);
  max-width: 72ch;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.cta .wm {
  position: absolute;
  inset-inline-end: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  color: #fff;
  opacity: 0.045;
  pointer-events: none;
}

.cta h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 600;
  max-width: 20ch;
}

.cta p {
  margin-top: 20px;
  max-width: 46ch;
  color: #97a1aa;
  font-size: 0.96rem;
}

.cta .row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cta .guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.78rem;
  color: #8b959e;
}

.cta .guarantee svg {
  width: 15px;
  height: 15px;
  color: var(--gold-2);
}

/* ---------- contact ---------- */

.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.25rem;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  padding: 12px 14px;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(176, 138, 60, 0.45);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.compose-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-note {
  margin-top: 18px;
  font-size: 0.76rem;
  color: var(--text);
  max-width: 54ch;
}

.info-list {
  border-top: 1px solid var(--line);
  margin: 1em 0; /* le conteneur est un <div> : conserve la marge UA de l'ancien <dl> (rendu inchangé) */
}

.info-list > div {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-list > div > dl {
  margin: 0; /* neutralise la marge UA (1em) du <dl> par ligne : rendu inchangé */
}

.info-list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  color: var(--gold);
}

.info-list dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.info-list dd {
  margin-top: 4px;
  font-size: 0.92rem;
  color: #3d4750;
}

.info-list dd a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 9px 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.socials a:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff;
}

.socials svg {
  width: 15px;
  height: 15px;
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(56px, 7vw, 88px) 26px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.95fr 1.1fr;
  gap: clamp(30px, 4vw, 60px);
}

.foot-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-mark .logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-2);
}

.foot-mark .logo svg {
  width: 19px;
  height: 19px;
}

.foot-mark strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.foot-mark span {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.foot-grid p,
.foot-grid li,
.foot-grid a {
  font-size: 0.86rem;
  color: #939da6;
}

.foot-grid > div > p {
  margin-top: 18px;
  max-width: 34ch;
  line-height: 1.75;
}

.foot-grid h4 {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(194, 160, 85, 0.45);
}

.foot-grid li + li {
  margin-top: 11px;
}

.foot-grid a:hover {
  color: #fff;
}

.foot-contact li {
  display: flex;
  gap: 11px;
}

.foot-contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
  color: var(--gold-2);
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.foot-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfd6db;
}

.foot-social a:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.foot-social svg {
  width: 15px;
  height: 15px;
}

.foot-bottom {
  margin-top: clamp(36px, 4.5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #7b858e;
}

.foot-legal {
  max-width: 74ch;
  display: grid;
  gap: 6px;
}

.site-foot details {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.site-foot summary {
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b959e;
}

.site-foot summary:hover {
  color: #fff;
}

.site-foot details dl {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  font-size: 0.8rem;
  color: #939da6;
}

.site-foot details dt {
  color: #d8dde1;
  font-weight: 600;
}

/* ---------- flottants ---------- */

.fabs {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fab-top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: #f2eee6;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.fab-top svg {
  width: 16px;
  height: 16px;
}

.fab-wa {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 0.7);
}

.fab-wa svg {
  width: 24px;
  height: 24px;
}

/* ---------- RTL ---------- */

[dir="rtl"] body {
  font-family: "Almarai", var(--font-body);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] blockquote,
[dir="rtl"] .mark .who strong,
[dir="rtl"] .foot-mark strong,
[dir="rtl"] .xp-card b,
[dir="rtl"] .stat-card b,
[dir="rtl"] .faq summary {
  font-family: "Amiri", var(--font-display);
}

/* L'arabe (Amiri) porte des hampes hautes : interlignage plus aéré
   que le latin pour un rendu premium sans écrasement. */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] blockquote,
[dir="rtl"] .faq summary {
  line-height: 1.5;
}

/* Le crénage conçu pour les capitales latines casse les liaisons arabes. */
[dir="rtl"] .eyebrow,
[dir="rtl"] .mark .who span,
[dir="rtl"] .foot-mark span,
[dir="rtl"] .lang-pill a,
[dir="rtl"] .stat-card > div > span,
[dir="rtl"] .hero-badge strong,
[dir="rtl"] .xp-card .lb,
[dir="rtl"] .who span,
[dir="rtl"] .field label,
[dir="rtl"] .info-list dt,
[dir="rtl"] .quote-band cite,
[dir="rtl"] .site-foot summary,
[dir="rtl"] .nav a {
  letter-spacing: 0;
}

[dir="rtl"] .card a svg,
[dir="rtl"] .btn svg.arr {
  transform: scaleX(-1);
}

[dir="rtl"] .card a:hover svg {
  transform: scaleX(-1) translateX(4px);
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .nav,
  .head-cta .btn {
    display: none;
  }

  .burger {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  /* plus haut qu'ailleurs : le portrait rogné en bandeau garderait
     une part trop faible du sujet sur écran étroit */
  .hero-media {
    min-height: 420px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 460px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cards,
  .t-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    grid-template-columns: 1fr;
  }

  .stat-card > div {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .stat-card > div:first-child {
    border-top: 0;
  }

  .xp-card {
    inset-inline-end: 10px;
  }

  .portrait::before {
    display: none;
  }
}

/* ---------- mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   v3 — améliorations UX issues de l'étude des meilleurs sites d'avocats :
   téléphone cliquable dans l'en-tête, puces de confiance dans le hero,
   section FAQ (accordéon natif + schema FAQPage), carte du cabinet,
   barre d'appel collante sur mobile.
   ========================================================================== */

.head-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.head-tel svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
}

.head-tel:hover {
  color: var(--gold);
}

/* puces de confiance (hero) */
.trust-chips {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #414b54;
}

.trust-chips svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  flex: none;
}

/* FAQ */
.faq {
  background: var(--bg-soft);
}

.faq-list {
  max-width: 820px;
  margin-top: 42px;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex: none;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq .a {
  padding: 16px 22px 20px;
  color: var(--text);
  font-size: 0.92rem;
}

/* mention "60 secondes" du formulaire */
.form-card h3 small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-inline-start: 10px;
  white-space: nowrap;
}

/* carte OpenStreetMap */
.map-card {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.map-card > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.map-card > a:hover {
  text-decoration: underline;
}

/* barre d'appel collante (mobile) */
.callbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
}

.callbar a.wa {
  background: var(--wa);
}

.callbar svg {
  width: 17px;
  height: 17px;
  flex: none;
}

@media (max-width: 1020px) {
  .head-tel {
    display: none;
  }
}

@media (max-width: 640px) {
  .callbar {
    display: grid;
  }

  body {
    padding-bottom: 54px;
  }

  .fabs {
    bottom: 76px;
  }

  /* la barre d'appel remplace le bouton flottant WhatsApp */
  .fab-wa {
    display: none;
  }

  .faq summary {
    padding: 15px 16px;
    font-size: 0.95rem;
  }

  .faq .a {
    padding: 13px 16px 16px;
  }
}

/* ==========================================================================
   v4 — motion & polish : entrée du hero, révélations au scroll,
   indicateur de défilement, ancrages sous le header, focus doré,
   échelle typo grands écrans, timeline méthode, badge horaires,
   étoiles témoignages, barre de confiance, lisibilité arabe.
   ========================================================================== */

/* ---------- ancres : ne plus finir sous le header collant ---------- */
[id] {
  scroll-margin-top: 96px;
}

/* ---------- focus clavier doré ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- entrée du hero ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes kenburns {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.hero-copy > * {
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.13s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.21s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.29s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.37s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.45s; }

.hero-media img {
  animation: kenburns 1.4s ease both;
}

/* ---------- révélations au scroll (seulement si JS actif) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- indicateur de défilement ---------- */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.scroll-hint {
  position: absolute;
  bottom: 16px;
  inset-inline: 0;
  margin-inline: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 28, 38, 0.55);
  color: var(--gold-2);
  backdrop-filter: blur(2px);
  animation: bob 2.2s ease-in-out infinite;
}

.scroll-hint svg {
  width: 15px;
  height: 15px;
}

/* ---------- barre de confiance ---------- */
.trust-bar {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 15px;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414b54;
}

.trust-bar svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
}

/* ---------- timeline méthode ---------- */
.steps {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 52px;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.s-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
}

.step h3 {
  margin-top: 6px;
  font-size: 1.15rem;
}

.step p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

/* ---------- étoiles témoignages ---------- */
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
  color: var(--gold);
}

.stars svg {
  width: 14px;
  height: 14px;
}

/* ---------- badge ouvert / fermé ---------- */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.open-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.open-badge[data-state="open"] {
  background: #e8f5e9;
  color: #2e7d32;
}

.open-badge[data-state="closed"] {
  background: #fbeaea;
  color: #b3403a;
}

/* ---------- lisibilité arabe ---------- */
[dir="rtl"] body {
  font-size: 1.0625rem;
  line-height: 1.9;
}

/* ---------- très grands écrans ---------- */
@media (min-width: 1440px) {
  .hero-copy h1 {
    font-size: 4.5rem;
  }

  .h2 {
    font-size: 3.1rem;
  }
}

/* ---------- responsive v4 ---------- */
@media (max-width: 1020px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .trust-bar .wrap {
    justify-content: flex-start;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- carte spécialité pleine largeur (7e domaine) ---------- */
.card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding-block: 26px;
}

.card.wide h3 {
  font-size: 1.2rem;
}

.card.wide p {
  margin-top: 4px;
}

.card.wide > a {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 1020px) {
  .card.wide {
    grid-template-columns: auto 1fr auto;
  }

  .card.wide .num {
    display: none;
  }
}

@media (max-width: 640px) {
  .card.wide {
    display: block;
  }

  .card.wide > a {
    margin-top: 18px;
    white-space: normal;
  }
}

.card.wide .ic {
  margin-top: 0;
}

.card.wide h3 {
  margin-top: 0;
}

.card.wide p {
  min-height: 0;
}


/* ============================================================
   UX v5 — animations, FAQ chevron, responsive, impression
   ============================================================ */

/* ---------- header : élévation au défilement ---------- */
.site-head { transition: box-shadow 0.35s ease; }
body.scrolled .site-head { box-shadow: 0 14px 34px -18px rgba(7, 17, 32, 0.45); }

/* ---------- FAQ : chevron animé, un seul volet d'avance ---------- */
.faq-list details { border-radius: var(--r-sm, 10px); }
.faq-list summary {
  position: relative;
  padding-right: 44px;
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.65;
  transition: transform 0.3s ease, color 0.25s ease;
}
.faq-list summary:hover { color: var(--gold-2, #c9a45c); }
.faq-list summary:hover::after { color: var(--gold-2, #c9a45c); }
.faq-list details[open] summary { color: var(--gold-2, #c9a45c); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); color: var(--gold-2, #c9a45c); }
[dir="rtl"] .faq-list summary { padding-right: 0; padding-left: 44px; }
[dir="rtl"] .faq-list summary::after { right: auto; left: 16px; }

/* ---------- révélations : variantes + cascade ---------- */
.js .reveal-left { transform: translateX(-26px); }
.js .reveal-pop { transform: scale(0.94); }
.js .reveal-left.in,
.js .reveal-pop.in { opacity: 1; transform: none; }

.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.js .reveal-stagger.in > *:nth-child(8) { transition-delay: 0.54s; }

/* ---------- boutons : balayage lumineux ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after,
.btn:focus-visible::after { left: 135%; }

/* ---------- méthode : ligne dorée progressive (bureau) ---------- */
@media (min-width: 1021px) {
  .steps-grid { position: relative; }
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2, #c9a45c), transparent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(0.25, 0.8, 0.3, 1) 0.15s;
    pointer-events: none;
  }
  .steps-grid.in::before { transform: scaleX(1); }
}

/* ---------- pilule langues : contour visible ---------- */
.lang-pill { border: 1px solid rgba(24, 32, 38, 0.14); }

/* ---------- barre d'actions fixe (mobile) ---------- */
.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: none;
  gap: 10px;
}
.mobile-cta .btn,
.mobile-cta .btn-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(7, 17, 32, 0.55);
}
.mobile-cta .btn-wa { background: var(--wa, #25d366); color: #fff; }
.mobile-cta svg { width: 18px; height: 18px; flex: none; }

/* ---------- confort mobile ---------- */
.hero { min-height: 100vh; min-height: 100dvh; }

@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .fab-wa { bottom: 90px; }
  .burger { width: 44px; height: 44px; }
  .head-tel { display: none; }
  .map-card iframe { height: 200px; }
  .cards, .steps-grid, .t-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
}

@media (display-mode: standalone) {
  .hero { min-height: 100vh; }
}

/* ---------- mouvement réduit : tout est visible, sans animation ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .js .reveal-left, .js .reveal-pop { opacity: 1; transform: none; }
  .steps-grid::before { transition: none; transform: none; }
  .btn::after { display: none; }
}

/* ---------- impression ---------- */
@media print {
  .site-head, .mobile-cta, .fab-wa, .scroll-hint, .hero-media, .map-card, .lang-pill { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .site-foot { background: #fff; color: #000; }
}

/* ---------- logo image (blason) ---------- */
.mark .logo img,
.foot-mark .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}


/* ---------- barre de confiance : défilement continu ---------- */
/* Piste infinie (contenu cloné par JS) : défile de droite à gauche,
   en boucle, sans jamais s'arrêter — sauf au survol du curseur. */
.js .trust-bar .wrap {
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.js .t-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding-block: 15px;
  animation: tMarquee 28s linear infinite;
}

.js .t-track > span { margin-inline-end: 56px; }

/* pause uniquement quand le curseur (ou le focus clavier) est sur la barre */
.js .trust-bar:hover .t-track,
.js .trust-bar:focus-within .t-track { animation-play-state: paused; }

@keyframes tMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* page arabe (RTL) : défilement inverse, gauche → droite */
[dir="rtl"] .js .t-track { animation-name: tMarqueeRTL; }

@keyframes tMarqueeRTL {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .t-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .js .t-track > [data-clone] { display: none; }
  .js .trust-bar .wrap { -webkit-mask-image: none; mask-image: none; }
}
