/* =========================================================
   Mohamed Talib — Huissier de justice, Casablanca
   Style « Acte et sceau » : encre de nuit, rouge de la robe,
   laiton du sceau, papier d'acte. Diagonale rouge/noir reprise
   de la couverture de l'ouvrage.
   ========================================================= */
:root {
  --ink: #0e1420;
  --ink-2: #161e2e;
  --ink-3: #222c40;
  --red: #b3152f;
  --red-deep: #7e0d21;
  --red-soft: #f6e3e5;
  --gold: #c49a48;
  --gold-soft: #e6cf9b;
  --paper: #ffffff;
  --paper-2: #f8f6f2;
  --card: #ffffff;
  --gold-dark: #9c7428;
  --text: #1b2130;
  --muted: #5d6474;
  --line: #e7e1d6;
  --wa: #1f9d55;

  --f-body: "Readex Pro", system-ui, sans-serif;
  --f-display: "Fraunces", Georgia, serif;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(14, 20, 32, .06), 0 12px 32px -12px rgba(14, 20, 32, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang^="ar"] { --f-display: "El Messiri", "Readex Pro", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1rem/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--red); }
html:not([lang^="ar"]) em { font-style: italic; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 1.5em; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 500; font-size: .98rem; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn .arrow, [dir="rtl"] .link .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(179, 21, 47, .7); }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178347; }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: .5em; color: var(--red); font-weight: 500; font-size: .92rem; }
.link .arrow { transition: transform .25s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .link:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--text); transition: background .3s, box-shadow .3s, padding .3s; padding-block: 14px; }
.header.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(14, 20, 32, .25); padding-block: 8px; }
.header__in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__seal { width: 46px; height: 46px; color: var(--red); }
.brand--light .brand__seal { color: var(--gold); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__txt strong { font-family: var(--f-display); font-size: 1.22rem; font-weight: 600; }
.brand__txt small { font-size: .74rem; letter-spacing: .02em; opacity: .7; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav > a { position: relative; font-size: .92rem; opacity: .82; padding-block: 6px; transition: opacity .2s, color .2s; }
.nav > a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.active { opacity: 1; }
.nav > a.active::after, .nav > a:hover::after { transform: scaleX(1); }
.nav__foot { display: none; }
.header__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font-size: .8rem; cursor: pointer; opacity: .7; min-width: 36px; }
.lang button.on { background: var(--ink); color: #fff; opacity: 1; font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline: 12px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text); background: #fff;
  padding: 140px 0 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(14, 20, 32, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 20, 32, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero__slash {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%);
}
[dir="rtl"] .hero__slash { clip-path: polygon(0 0, 38% 0, 62% 100%, 0 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .86rem; letter-spacing: .04em; color: var(--red); margin-bottom: 22px; font-weight: 500; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero__title { display: flex; flex-direction: column; font-family: var(--f-display); }
.hero__pre { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; color: var(--gold-dark); margin-bottom: .1em; }
.hero__name { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1.02; font-weight: 700; letter-spacing: -.01em; }
html:not([lang^="ar"]) .hero__name { font-weight: 600; letter-spacing: -.025em; }
.hero__role { margin: 22px 0 14px; padding-inline-start: 16px; border-inline-start: 3px solid var(--red); font-size: 1.06rem; font-weight: 500; color: var(--ink); max-width: 36em; }
.hero__text { color: var(--muted); max-width: 36em; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.frame { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.frame::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--gold); border-radius: var(--radius); }
[dir="rtl"] .frame::before { inset: -14px 14px 14px -14px; }
.frame img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); filter: saturate(1.05) contrast(1.03); }
.stamp { position: absolute; bottom: -34px; inset-inline-start: -46px; width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; direction: ltr; animation: spin 40s linear infinite; }
.stamp__ring text { fill: var(--gold-soft); font: 500 13.2px var(--f-body); letter-spacing: .08em; }
.stamp__seal { width: 70px; height: 70px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge { position: absolute; top: 26px; inset-inline-end: -26px; display: flex; align-items: center; gap: 8px; max-width: 220px; margin: 0; padding: 10px 14px; background: var(--paper); color: var(--ink); border-radius: var(--radius); font-size: .78rem; line-height: 1.45; font-weight: 500; box-shadow: var(--shadow); }
.hero__badge svg { color: var(--red); width: 22px; height: 22px; }

.facts { position: relative; list-style: none; margin: 90px 0 0; padding: 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; box-shadow: 0 -18px 40px -24px rgba(14, 20, 32, .25); }
.facts li { padding: 26px 22px 30px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; color: var(--red); line-height: 1.1; direction: ltr; unicode-bidi: isolate; text-align: start; }
.facts span { font-size: .86rem; color: var(--muted); }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.sec--paper { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--soft { background: var(--paper-2); }
.sec__head { max-width: 720px; margin-bottom: 56px; }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head--center .label { justify-content: center; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.sec__head--split .lead { margin: 0; }
.label { display: flex; align-items: center; gap: 12px; font-size: .84rem; font-weight: 500; color: var(--muted); margin-bottom: 18px; letter-spacing: .03em; }
.label__art { color: var(--red); font-weight: 600; padding-inline-end: 12px; border-inline-end: 1px solid currentColor; }
.label--light { color: rgba(255, 255, 255, .6); }
.label--light .label__art { color: var(--gold); }
.h2 { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: 20px; }
.sec--ink .h2 em, .book .h2 em { color: var(--gold-soft); }
.lead { font-size: 1.1rem; color: var(--muted); font-weight: 300; }
.sec--ink .lead { color: rgba(255, 255, 255, .66); }

/* Bordure « carte de visite » : chaîne de petits anneaux */
.chain { height: 10px; background: radial-gradient(circle, transparent 2px, var(--gold) 2.4px, var(--gold) 3.2px, transparent 3.6px) 0 50% / 10px 10px repeat-x; opacity: .6; }

/* ---------- Compétences : actes ---------- */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.act {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 28px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.act::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; background: var(--red); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(.18); transform-origin: var(--origin, left); transition: transform .45s var(--ease); }
[dir="rtl"] .act::before { --origin: right; }
.act:hover { transform: translateY(-6px); border-color: #cdbf9f; box-shadow: 0 2px 4px rgba(14, 20, 32, .05), 0 26px 48px -18px rgba(14, 20, 32, .28); }
.act:hover::before { transform: scaleX(1); }
.act__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.act__ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #fbeef0; color: var(--red); }
.act__ic svg { width: 26px; height: 26px; }
.act__n { font-family: "Fraunces", serif; font-size: 2.4rem; font-weight: 500; color: transparent; -webkit-text-stroke: 1px #cdbf9f; line-height: 1; }
.act h3 { font-family: var(--f-display); font-size: 1.45rem; margin-bottom: 10px; }
.act p { color: var(--muted); font-size: .94rem; }
.act ul { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 7px; }
.act li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; }
.act li svg { color: var(--gold); width: 17px; height: 17px; margin-top: .3em; }
.act .link { margin-top: auto; }

/* ---------- Démarche ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 26px 0 0; padding-inline: 0 28px; }
.steps li::before { content: ""; position: absolute; top: 30px; inset-inline: 72px 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
[dir="rtl"] .steps li::before { background: linear-gradient(-90deg, var(--gold), transparent); }
.steps li:last-child::before { display: none; }
.steps__n { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--gold); border-radius: 50%; font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--gold-dark); margin-bottom: 24px; background: #fff; position: relative; }
.steps li:last-child .steps__n { background: var(--red); border-color: var(--red); color: #fff; }
.steps h3 { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Parcours ---------- */
.bio { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; margin-bottom: 80px; }
.bio__media { position: relative; }
.bio__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.bio__photo figcaption { position: absolute; inset: 0 0 auto; padding: 16px 18px 40px; background: linear-gradient(rgba(10, 13, 20, .78), transparent); color: #fff; font-size: .84rem; font-weight: 500; }
.bio__member { position: absolute; bottom: -28px; inset-inline-end: -20px; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 12px 18px 12px 12px; padding-inline: 12px 18px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.4; font-weight: 500; }
.bio__member img { width: 52px; height: 52px; border-radius: 50%; }
.bio__main .lead { color: var(--text); font-weight: 400; font-size: 1.06rem; }
.bio__main p:not(.lead):not(.label) { color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.timeline li { position: relative; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--gold); }
.timeline__y { display: block; font-family: "Fraunces", serif; font-size: 2rem; font-weight: 500; color: var(--gold-dark); line-height: 1; margin-bottom: 12px; }
.timeline h3 { font-family: var(--f-display); font-size: 1.12rem; margin-bottom: 6px; }
.timeline p { font-size: .9rem; color: var(--muted); margin: 0; }
.timeline li.key { border-top: 2px solid var(--red); }
.timeline li.key::before { background: var(--red); border-color: var(--red); width: 13px; height: 13px; top: -7.5px; }
.timeline li.key .timeline__y { color: var(--red); }

/* ---------- Ouvrage ---------- */
.book { background: #0a0d14; color: #fff; overflow: hidden; }
.book__slash { position: absolute; inset: 0; background: linear-gradient(135deg, #9e1b33, #6a0c1c); clip-path: polygon(0 0, 52% 0, 30% 100%, 0 100%); opacity: .95; }
[dir="rtl"] .book__slash { clip-path: polygon(48% 0, 100% 0, 100% 100%, 70% 100%); }
.book__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.book__media { perspective: 1400px; display: flex; justify-content: center; }
.book3d { position: relative; width: min(100%, 340px); transform: rotateY(18deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .7s var(--ease); }
[dir="rtl"] .book3d { transform: rotateY(-18deg) rotateX(4deg); }
.book3d:hover, [dir="rtl"] .book3d:hover { transform: rotateY(0) rotateX(0); }
.book3d img { width: 100%; border-radius: 2px 6px 6px 2px; box-shadow: 30px 40px 60px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.book3d::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 14px; background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 255, 255, .12) 45%, rgba(0, 0, 0, .25)); z-index: 1; border-radius: 2px 0 0 2px; }
.book__ed { display: inline-block; padding: 4px 12px; border: 1px solid rgba(196, 154, 72, .5); border-radius: 999px; color: var(--gold-soft); font-size: .82rem; margin-bottom: 24px; }
.book__quote { margin: 0 0 22px; padding-inline-start: 22px; border-inline-start: 2px solid var(--gold); font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; color: #fff; }
.book__copy > p:not(.label):not(.book__ed) { color: rgba(255, 255, 255, .7); font-weight: 300; margin-bottom: 30px; }

/* ---------- Engagement ---------- */
.engage { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 22px; align-items: stretch; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 360px; box-shadow: var(--shadow); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot--tall img { object-position: 50% 30%; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(10, 13, 20, .88)); color: #fff; font-size: .86rem; font-weight: 500; }
.roles { list-style: none; margin: 0; padding: 30px; background: var(--ink); color: #fff; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; gap: 0; }
.roles li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.roles li:last-child { border: 0; }
.roles p { margin: 6px 0 0; font-size: .98rem; line-height: 1.5; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* ---------- Demande ---------- */
.req { display: grid; grid-template-columns: 1.6fr 1fr; background: var(--paper); color: var(--text); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(14, 20, 32, .35); max-width: 1080px; margin-inline: auto; }
.req__form { padding: 40px; display: grid; gap: 22px; }
.req fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req__q { font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; font-size: .9rem; transition: border-color .2s, background .2s, color .2s; }
.chip svg { width: 18px; height: 18px; color: var(--red); }
.chip:hover { border-color: var(--red); }
.chip.sel { background: var(--red); border-color: var(--red); color: #fff; }
.chip.sel svg { color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 22px; font-size: .9rem; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.req__form .chip, .req__form .seg, .field input, .field textarea { background: #fff; }
.seg label:last-child input:checked + span { background: var(--red); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: -2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 154, 72, .2); }
.field .invalid { border-color: var(--red); }
[dir="rtl"] #r-phone { text-align: right; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: .35em; accent-color: var(--red); width: 17px; height: 17px; flex: none; }
.req__err, .req__ok { margin: 0; font-size: .88rem; font-weight: 500; }
.req__err { color: var(--red); }
.req__err:empty, .req__ok:empty { display: none; }
.req__ok { color: var(--wa); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.req__aside { position: relative; padding: 40px 34px; background: var(--ink-2); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.req__seal { position: absolute; width: 240px; height: 240px; inset-block-end: -60px; inset-inline-end: -60px; color: rgba(196, 154, 72, .1); }
.req__aside h3 { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 18px; color: var(--gold-soft); }
.req__aside ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.req__aside li { display: flex; gap: 10px; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.req__aside li svg { color: var(--gold); margin-top: .25em; width: 18px; height: 18px; }
.req__tel { position: relative; margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-size: 1.5rem; color: #fff; }
.req__tel svg { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__side { position: sticky; top: 110px; }
.urgent { margin-top: 30px; padding: 26px; background: var(--ink); color: #fff; border-radius: var(--radius); border-inline-start: 4px solid var(--red); }
.urgent strong { font-family: var(--f-display); font-size: 1.25rem; display: block; margin-bottom: 6px; }
.urgent p { color: rgba(255, 255, 255, .68); font-size: .92rem; }
.urgent__tel { display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-size: 1.4rem; color: var(--gold-soft); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-family: var(--f-display); font-size: 1.14rem; font-weight: 600; }
.qa__x { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background .25s, border-color .25s; }
.qa__x::before, .qa__x::after { content: ""; position: absolute; inset: 50% 8px auto; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x { background: var(--red); border-color: var(--red); }
.qa[open] .qa__x::before, .qa[open] .qa__x::after { background: #fff; }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
address { font-style: normal; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cards li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cards li > svg { width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.cards div { display: flex; flex-direction: column; min-width: 0; }
.cards small { font-size: .76rem; color: var(--muted); font-weight: 500; letter-spacing: .03em; }
.cards a { font-weight: 500; }
.cards a:hover { color: var(--red); }
.mail { word-break: break-all; }
.contact__map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.contact__dir { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius); font-size: .88rem; }
.contact__dir:hover { background: var(--red); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: .92rem; }
.footer__top { display: flex; align-items: center; gap: 26px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__seal { width: 64px; height: 64px; color: var(--gold); }
.footer__word { flex: 1; margin: 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .9fr; gap: 40px; padding: 46px 0; }
.brand--light { color: #fff; margin-bottom: 18px; }
.footer__about { max-width: 34ch; }
.footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer__disc { font-size: .8rem; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: rgba(255, 255, 255, .45); }

/* ---------- Mobile / WhatsApp ---------- */
.mbar { display: none; }
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 157, 85, .6); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.past-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp__ring { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 16px; }
  .nav > a { font-size: .86rem; }
  .header__cta { display: none; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 90px 32px 40px; background: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav > a { font-family: var(--f-display); font-size: 1.6rem; opacity: 1; padding-block: 8px; }
  .nav > a::after { display: none; }
  .nav > a.active { color: var(--red); }
  .nav__foot { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--red); }
  .hero__grid { grid-template-columns: 1fr; gap: 70px; }
  .hero__slash, [dir="rtl"] .hero__slash { clip-path: polygon(0 58%, 100% 44%, 100% 100%, 0 100%); }
  .hero__media { width: min(80%, 400px); }
  .hero__badge { position: relative; top: auto; inset-inline-end: auto; max-width: none; width: fit-content; margin: 52px auto 0; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 70px; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec__head--split { grid-template-columns: 1fr; gap: 0; }
  .acts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .steps li:nth-child(2)::before { display: none; }
  .bio { grid-template-columns: 1fr; gap: 64px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .book__grid { grid-template-columns: 1fr; gap: 56px; }
  .book__slash, [dir="rtl"] .book__slash { clip-path: polygon(0 0, 100% 0, 100% 22%, 0 42%); }
  .engage { grid-template-columns: 1fr 1fr; }
  .roles { grid-column: 1 / -1; order: -1; }
  .req { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .faq__side { position: static; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .brand__seal { width: 40px; height: 40px; }
  .brand__txt strong { font-size: 1.08rem; }
  .brand__txt small { font-size: .68rem; }
  .header__end { gap: 8px; }
  .lang button { padding: 6px 7px; min-width: 30px; }
  .hero { padding-top: 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { width: 82%; }
  .stamp { width: 112px; height: 112px; inset-inline-start: -26px; bottom: -26px; }
  .stamp__seal { width: 50px; height: 50px; }
  .facts li { padding: 20px 14px 22px; }
  .acts, .steps, .timeline, .engage { grid-template-columns: 1fr; }
  .steps li::before { display: none; }
  .act { padding: 28px 22px 24px; }
  .bio__member { inset-inline-end: 10px; inset-inline-start: 10px; max-width: none; }
  .shot { min-height: 300px; }
  .req__form, .req__aside { padding: 28px 20px; }
  .fields { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { display: none; }
  .mbar {
    position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    background: var(--ink); border-top: 1px solid rgba(196, 154, 72, .3); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; color: #fff; font-size: .74rem; }
  .mbar a svg { width: 22px; height: 22px; color: var(--gold); }
  .mbar__main { background: var(--red); }
  .mbar__main svg { color: #fff !important; }
}
