/* DabaSafqa, page d'accueil publique, v2 « Nuit d'émeraude et fil d'or ».
   Couleurs de l'app (D27) poussées vers le soir : nuit émeraude, or safran, murs à la chaux. */

@font-face { font-family: "Plex Sans"; src: url("fonts/IBMPlexSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/IBMPlexSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/IBMPlexSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("fonts/IBMPlexSansCondensed-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("fonts/IBMPlexSansCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/IBMPlexSansArabic-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --nuit: #07261D;
  --nuit-2: #0C3328;
  --emeraude: #0F4D3A;
  --vert: #087F5B;
  --vert-fonce: #07684B;
  --or: #F2B33D;
  --or-clair: #F7CF74;
  --or-texte: #8A5A00;
  --chaux: #FAF8F3;
  --sable: #F1ECE2;
  --pierre: #E2D9C8;
  --blanc: #FFFFFF;
  --encre: #0E1F19;
  --texte-2: #4E5F57;
  --menthe-clair: #A9DCC6;
  --trait: rgba(15, 77, 58, 0.14);
  --tampon: #B42318;
  --corail-teinte: #FDE8E8;
  --vert-teinte: #DDF3EA;
  --safran-teinte: #FEF1D6;
  --majorelle: #2A3FB0;
  --majorelle-teinte: #E3E8FC;

  --f-texte: "Plex Sans", "Plex Arabic", system-ui, sans-serif;
  --f-chiffre: "Plex Condensed", "Plex Arabic", "Plex Sans", system-ui, sans-serif;

  --largeur: 1240px;
  --gouttiere: clamp(18px, 4.5vw, 48px);
  --entete: 72px;
  --ombre-objet: 0 30px 60px -24px rgba(7, 38, 29, 0.55);
  --ombre-carte: 0 22px 48px -26px rgba(7, 38, 29, 0.5);

  /* Treillis de zellige (étoile à huit branches), tracé à l'or */
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23F2B33D' stroke-width='1'%3E%3Cpath d='M24 24h48v48H24z'/%3E%3Cpath d='M48 14.06L81.94 48 48 81.94 14.06 48z'/%3E%3Cpath d='M48 0v14.06M48 81.94V96M0 48h14.06M81.94 48H96'/%3E%3Cpath d='M14 0L0 14M82 0l14 14M0 82l14 14M96 82L82 96'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--chaux); color: var(--encre);
  font-family: var(--f-texte); font-size: 17px; line-height: 1.65; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
html:lang(ar) body { line-height: 1.85; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); text-underline-offset: 3px; }
a:hover { color: var(--vert-fonce); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 500; color: inherit; }
h2 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.35rem); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { font-weight: 600; letter-spacing: 0; line-height: 1.35; }

.page { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.chapeau-section { margin-top: 20px; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); color: var(--texte-2); max-width: 38em; }

.aller-contenu { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--or); color: var(--nuit); padding: 10px 14px; border-radius: 8px; z-index: 30; font-weight: 500; }
.aller-contenu:focus { top: 12px; color: var(--nuit); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 16px/1.2 var(--f-texte); padding: 15px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } }
.bouton-or { background: var(--or); color: var(--nuit); }
.bouton-or:hover { background: var(--or-clair); color: var(--nuit); }
.bouton-fantome { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.bouton-fantome:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.bouton-emeraude { background: var(--emeraude); color: #fff; }
.bouton-emeraude:hover { background: var(--nuit); color: #fff; }
.bouton-contour { border-color: var(--emeraude); color: var(--emeraude); }
.bouton-contour:hover { background: var(--emeraude); color: #fff; }
.bouton-petit { padding: 10px 18px; font-size: 15px; }

/* ---------- En-tête : transparent sur l'ouverture, plein ensuite ---------- */
.entete { position: fixed; inset-inline: 0; top: 0; z-index: 20; transition: background-color 0.3s, box-shadow 0.3s; }
.entete .page { height: var(--entete); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; flex: none; position: relative; }
.logo img { height: 27px; width: auto; }
.logo .sombre { display: none; }
.nav { display: flex; gap: 28px; }
.nav a, .lien-connexion { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; opacity: 0.92; }
.nav a:hover, .lien-connexion:hover { color: var(--or-clair); opacity: 1; }
.entete-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.langue { font: 500 15px/1 var(--f-texte); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.langue:hover { border-color: var(--or); color: var(--or-clair); }
.entete.solide { background: rgba(250, 248, 243, 0.94); backdrop-filter: blur(10px) saturate(1.2); box-shadow: 0 1px 0 var(--trait); }
.entete.solide .logo .clair { display: none; }
.entete.solide .logo .sombre { display: block; }
.entete.solide .nav a, .entete.solide .lien-connexion { color: var(--encre); }
.entete.solide .nav a:hover, .entete.solide .lien-connexion:hover { color: var(--vert); }
.entete.solide .langue { color: var(--emeraude); border-color: var(--pierre); }
@media (prefers-reduced-motion: reduce) { .entete { transition: none; } }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 560px) {
  .lien-connexion { display: none; }
  .entete .page { gap: 12px; }
  .logo img { height: 22px; }
  .entete-actions { gap: 10px; }
  .entete .bouton-petit { padding: 9px 14px; font-size: 14px; }
}

/* ---------- Ouverture ---------- */
.ouverture { position: relative; color: #fff; background: var(--nuit); overflow: hidden; min-height: 720px; height: min(100svh, 940px); display: flex; flex-direction: column; }
.ouverture-media { position: absolute; inset: 0; }
.ouverture-media img, .ouverture-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.ouverture-media video { opacity: 0; transition: opacity 1.2s ease; }
.ouverture-media video.visible { opacity: 1; }
[dir="rtl"] .ouverture-media { transform: scaleX(-1); }
.ouverture-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 38, 29, 0.6) 0%, rgba(7, 38, 29, 0) 20%),
    linear-gradient(0deg, rgba(7, 38, 29, 0.95) 0%, rgba(7, 38, 29, 0) 38%),
    linear-gradient(90deg, rgba(7, 38, 29, 0.95) 0%, rgba(7, 38, 29, 0.84) 32%, rgba(7, 38, 29, 0.3) 62%, rgba(7, 38, 29, 0.08) 100%);
}
[dir="rtl"] .ouverture-voile {
  background:
    linear-gradient(180deg, rgba(7, 38, 29, 0.6) 0%, rgba(7, 38, 29, 0) 20%),
    linear-gradient(0deg, rgba(7, 38, 29, 0.95) 0%, rgba(7, 38, 29, 0) 38%),
    linear-gradient(270deg, rgba(7, 38, 29, 0.95) 0%, rgba(7, 38, 29, 0.84) 32%, rgba(7, 38, 29, 0.3) 62%, rgba(7, 38, 29, 0.08) 100%);
}
.zellige { position: absolute; inset: 0; background-image: var(--zellige); background-size: 96px 96px; pointer-events: none; }
.ouverture .zellige { opacity: 0.1; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 52%); mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 52%); }
[dir="rtl"] .ouverture .zellige { -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 22%, transparent 52%); mask-image: linear-gradient(270deg, #000 0%, #000 22%, transparent 52%); }

.ouverture-contenu { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 48px; padding-top: calc(var(--entete) + 24px); }
.ouverture h1 { font-size: clamp(2.9rem, 1.4rem + 4.9vw, 5.5rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 11ch; }
:lang(ar) .ouverture h1 { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.6rem); line-height: 1.28; max-width: 13ch; }
.ouverture .chapeau { margin-top: 26px; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.24rem); line-height: 1.6; color: rgba(255, 255, 255, 0.84); max-width: 34em; }
.appels { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.note-appel { margin-top: 16px; font-size: 14px; color: var(--menthe-clair); }

/* Objets de l'ouverture : deux smartphones aux vraies proportions, côte à côte */
.ouverture-objets { position: relative; height: 560px; }
.smartphone { position: absolute; width: 222px; }
.smartphone-a { top: 0; inset-inline-end: 246px; }
.smartphone-b { top: 64px; inset-inline-end: 0; }
@media (max-width: 1100px) { .ouverture-objets { display: none; } .ouverture-contenu { grid-template-columns: 1fr; } }
.smartphone-cadre { position: relative; padding: 8px; border-radius: 42px; background: linear-gradient(155deg, #3b4441 0%, #1a211e 38%, #0a0e0c 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 3px rgba(0, 0, 0, 0.55), 0 50px 90px -40px rgba(0, 0, 0, 0.75), 0 22px 40px -22px rgba(0, 0, 0, 0.55); }
.smartphone-cadre::before, .smartphone-cadre::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2c3431, #141917); }
.smartphone-cadre::before { left: -2.5px; top: 104px; height: 44px; box-shadow: 0 56px 0 #1b2220; }
.smartphone-cadre::after { right: -2.5px; top: 136px; height: 68px; }
.smartphone-ecran { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; overflow: hidden; background: var(--chaux); color: var(--encre); display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.ilot { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 64px; height: 20px; border-radius: 12px; background: #050706; z-index: 2; }
.barre-etat { display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 2px 20px 0 24px; font: 600 11.5px/1 var(--f-texte); direction: ltr; flex: none; }
.app-barre { display: flex; align-items: center; gap: 6px; padding: 4px 14px 10px; font-weight: 600; font-size: 13.5px; border-bottom: 1px solid var(--trait); flex: none; }
[dir="rtl"] .app-barre .retour { transform: scaleX(-1); }
.app-barre .ref { margin-inline-start: auto; font: 500 11px/1 var(--f-chiffre); color: var(--texte-2); }
.app-contenu { flex: 1; padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 9px; min-height: 0; }
.etiquette-tel { display: block; font-size: 10.5px; color: var(--texte-2); }
.meta-tel { display: block; font-size: 11px; color: var(--texte-2); }
.bloc-ao strong { display: block; font-size: 13.5px; line-height: 1.3; margin: 2px 0 2px; }
.deux-valeurs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.deux-valeurs > div, .progression-tel, .lignes-tel { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; }
.deux-valeurs > div { padding: 7px 9px; }
.deux-valeurs b { display: block; margin-top: 2px; font: 600 12.5px/1.2 var(--f-chiffre); white-space: nowrap; }
.rebours-tel { background: var(--corail-teinte); border-radius: 12px; padding: 9px 11px; }
.rebours-tel b { display: block; color: var(--tampon); font-size: 15px; font-weight: 600; margin-top: 1px; }
.progression-tel { padding: 9px 11px; }
.progression-titre { display: flex; justify-content: space-between; font-size: 11px; color: var(--texte-2); }
.progression-titre b { color: var(--or-texte); }
.points-etapes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 8px; }
.points-etapes i { height: 5px; border-radius: 3px; background: var(--sable); }
.points-etapes i.fait { background: var(--emeraude); }
.points-etapes i.actif { background: var(--or); }
.app-bouton { margin-top: auto; background: var(--emeraude); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 500; font-size: 12.5px; }
.bandeau-horsligne { display: flex; gap: 6px; align-items: center; padding: 7px 10px; border-radius: 10px; background: var(--safran-teinte); color: var(--or-texte); font-size: 11px; font-weight: 500; }
.bandeau-horsligne::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--or); flex: none; }
.lignes-tel > div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--trait); font-size: 11.5px; }
.lignes-tel > div:last-child { border-bottom: 0; }
.lignes-tel b { font: 600 12px/1.3 var(--f-chiffre); white-space: nowrap; }
.photos-tel > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 5px; }
.photos-tel img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.indicateur { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 76px; height: 4px; border-radius: 3px; background: rgba(14, 31, 25, 0.5); }

.cartouche { background: var(--chaux); border: 1px solid var(--emeraude); color: var(--encre); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartouche-titre { grid-column: 1 / -1; background: var(--nuit); color: var(--or-clair); padding: 9px 14px; font: 500 14px/1.3 var(--f-chiffre); display: flex; justify-content: space-between; gap: 10px; }
:lang(ar) .cartouche-titre { font-family: var(--f-texte); }
.case { padding: 9px 14px 11px; border-inline-end: 1px solid var(--emeraude); border-top: 1px solid var(--emeraude); min-width: 0; }
.case:nth-child(odd) { border-inline-end: 0; }
.case.large { grid-column: 1 / -1; border-inline-end: 0; }
.etiquette { display: block; font-size: 12px; line-height: 1.3; color: var(--texte-2); }
.valeur { display: block; font: 500 16px/1.35 var(--f-texte); margin-top: 2px; }
.valeur.chiffre { font-family: var(--f-chiffre); font-weight: 600; }
.remise { background: var(--corail-teinte); }
.remise .valeur { color: var(--tampon); }
.mini-cote { display: flex; align-items: center; margin-top: 7px; height: 8px; direction: ltr; }
.mini-cote .ecoule { flex: 7; border-top: 1.5px dotted var(--texte-2); }
.mini-cote .reste { flex: 3; height: 1.5px; background: var(--tampon); position: relative; }
.mini-cote .reste::before, .mini-cote .reste::after { content: ""; position: absolute; top: -4px; width: 1.5px; height: 9px; background: var(--tampon); transform: rotate(45deg); }
.mini-cote .reste::before { left: 0; }
.mini-cote .reste::after { right: 0; }

.telephone .coque { background: #0B1512; border-radius: 36px; padding: 10px; box-shadow: var(--ombre-objet), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.telephone .vitre { background: var(--chaux); border-radius: 28px; overflow: hidden; color: var(--encre); font-size: 13px; }
.telephone .oeil { width: 70px; height: 18px; background: #0B1512; border-radius: 0 0 12px 12px; margin: 0 auto; }
.tel-tete { padding: 12px 18px 8px; }
.tel-tete strong { display: block; font-weight: 600; font-size: 15px; }
.tel-tete span { color: var(--texte-2); font-size: 12px; }
.tel-horsligne { margin: 0 16px; padding: 6px 10px; border-radius: 8px; background: var(--safran-teinte); color: var(--or-texte); font-size: 12px; font-weight: 500; display: flex; gap: 6px; align-items: center; }
.tel-horsligne::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--or); flex: none; }
.tel-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--trait); }
.tel-ligne:last-of-type { border-bottom: 0; }
.tel-ligne b { font: 600 14px/1.3 var(--f-chiffre); white-space: nowrap; }
.tel-bouton { margin: 8px 16px 16px; background: var(--emeraude); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 500; }

/* Les six jalons du parcours, au pied de l'ouverture */
.jalons-fond { position: relative; background: linear-gradient(180deg, rgba(7, 38, 29, 0.2), rgba(7, 38, 29, 0.72)); border-top: 1px solid rgba(242, 179, 61, 0.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.jalons { position: relative; }
.jalons ol { list-style: none; margin: 0; padding: 26px 0 30px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.jalons ol::before, .jalons .trace { content: ""; position: absolute; top: 42px; inset-inline: calc(100% / 12); height: 2px; border-radius: 2px; }
.jalons ol::before { background: rgba(242, 179, 61, 0.2); }
.jalons .trace { background: linear-gradient(90deg, var(--or), var(--or-clair)); box-shadow: 0 0 14px rgba(242, 179, 61, 0.5); transform-origin: left center; }
[dir="rtl"] .jalons .trace { background: linear-gradient(270deg, var(--or), var(--or-clair)); transform-origin: right center; }
.jalons li { position: relative; text-align: center; }
.jalons a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-decoration: none; padding: 0 6px; }
.noeud { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: var(--nuit); border: 1.5px solid var(--or); color: var(--or-clair); font: 600 14px/1 var(--f-chiffre); box-shadow: 0 0 0 6px rgba(7, 38, 29, 0.9); transition: background-color 0.2s, color 0.2s; }
.jalons li:last-child .noeud { background: var(--or); color: var(--nuit); }
.jalons a:hover .noeud { background: var(--or); color: var(--nuit); }
.jalons a:hover .jalon-nom { color: var(--or-clair); }
.jalon-nom { font-weight: 500; font-size: 16px; line-height: 1.3; }
.jalon-desc { font-size: 13px; line-height: 1.4; color: var(--menthe-clair); }
@media (prefers-reduced-motion: no-preference) {
  .jalons .trace { animation: tracer 1.2s cubic-bezier(.3, .7, .2, 1) 0.4s backwards; }
}
@media (prefers-reduced-motion: reduce) { .noeud { transition: none; } }
@keyframes tracer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 860px) {
  .ouverture { height: auto; min-height: 100svh; }
  .ouverture-media img, .ouverture-media video { object-position: 70% 50%; }
  .ouverture-voile { background: linear-gradient(180deg, rgba(7, 38, 29, 0.7) 0%, rgba(7, 38, 29, 0.55) 40%, rgba(7, 38, 29, 0.96) 100%) !important; }
  .ouverture .zellige { -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 100%); mask-image: linear-gradient(180deg, transparent 40%, #000 100%); }
  .ouverture-contenu { align-items: end; padding-bottom: 32px; }
  .jalons-fond { display: none; }
}

/* ---------- Constat : le bureau débordé, ses quatre outils repérés, et la solution ---------- */
.constat { position: relative; background: var(--sable); overflow: hidden; }
.constat-image { position: relative; aspect-ratio: 2 / 1; }
.constat-image picture { display: block; position: absolute; inset: 0; }
.constat-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[dir="rtl"] .constat-image picture { transform: scaleX(-1); }
.constat-voile { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(241, 236, 226, 0.96) 0%, rgba(241, 236, 226, 0.9) 34%, rgba(241, 236, 226, 0) 50%); }
[dir="rtl"] .constat-voile { background: linear-gradient(270deg, rgba(241, 236, 226, 0.96) 0%, rgba(241, 236, 226, 0.9) 34%, rgba(241, 236, 226, 0) 50%); }
.constat-texte { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.constat-carte { width: 100%; max-width: 440px; pointer-events: auto; border-radius: 26px; overflow: hidden; box-shadow: 0 44px 80px -36px rgba(7, 38, 29, 0.6); }
.constat-probleme { background: rgba(250, 248, 243, 0.94); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); padding: 32px 34px 28px; }
.constat h2 { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.7rem); }
.constat-probleme p { margin-top: 14px; color: var(--texte-2); font-size: 1.03rem; line-height: 1.6; }
.constat-solution { position: relative; overflow: hidden; background: var(--nuit); color: #fff; padding: 26px 34px 30px; box-shadow: inset 0 2px 0 var(--or); }
.constat-solution .zellige { opacity: 0.09; }
.constat-solution > *:not(.zellige) { position: relative; }
.constat-solution img { height: 24px; width: auto; }
.solution-texte { margin-top: 14px; font-size: 1.3rem; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
:lang(ar) .solution-texte { font-weight: 600; letter-spacing: 0; line-height: 1.7; }
.constat-solution .bouton { margin-top: 20px; }
.reperes-probleme { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.repere-probleme { position: absolute; inset-inline-start: var(--x); top: var(--y); }
.repere-probleme .point { position: absolute; width: 14px; height: 14px; inset-inline-start: -7px; top: -7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 6px rgba(242, 179, 61, 0.32), 0 4px 12px rgba(0, 0, 0, 0.35); }
.repere-probleme .intitule { position: absolute; top: 0; transform: translateY(-50%); inset-inline-start: 36px; white-space: nowrap; background: var(--chaux); color: var(--encre); font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; box-shadow: 0 12px 28px -12px rgba(7, 38, 29, 0.6); }
.repere-probleme .intitule::before { content: ""; position: absolute; inset-inline-end: 100%; top: 50%; width: 28px; height: 1.5px; background: var(--or); }
.repere-probleme.vers-debut .intitule { inset-inline-start: auto; inset-inline-end: 36px; }
.repere-probleme.vers-debut .intitule::before { inset-inline-end: auto; inset-inline-start: 100%; }
.legende-probleme { display: none; }
@media (max-width: 1000px) {
  .constat { display: flex; flex-direction: column; }
  .constat-texte { position: relative; inset: auto; order: -1; padding-block: 64px 28px; }
  .constat-carte { max-width: 560px; box-shadow: 0 30px 60px -40px rgba(7, 38, 29, 0.6); }
  .constat-voile { display: none; }
}
@media (max-width: 700px) {
  .repere-probleme .intitule { display: none; }
  .repere-probleme .point { width: 24px; height: 24px; inset-inline-start: -12px; top: -12px; display: grid; place-items: center; font: 600 12px/1 var(--f-chiffre); color: var(--nuit); }
  .repere-probleme .point::after { content: attr(data-n); }
  .legende-probleme { list-style: none; margin: 0; padding: 16px var(--gouttiere) 36px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
  .legende-probleme li { display: inline-flex; align-items: center; gap: 8px; background: var(--chaux); border: 1px solid var(--pierre); border-radius: 999px; padding: 6px 12px 6px 6px; font-size: 13.5px; }
  [dir="rtl"] .legende-probleme li { padding: 6px 6px 6px 12px; }
  .legende-probleme li span:first-child { width: 22px; height: 22px; border-radius: 50%; background: var(--or); color: var(--nuit); display: grid; place-items: center; font: 600 12px/1 var(--f-chiffre); }
}

/* ---------- Parcours : six étapes, et une carte qui suit la lecture ---------- */
.parcours { padding-block: clamp(88px, 10vw, 140px) clamp(64px, 8vw, 110px); }
.parcours-grille { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }
.regle { position: sticky; top: calc(var(--entete) + 28px); align-self: start; }
.regle-carte { background: var(--blanc); border: 1px solid var(--pierre); border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 24px 48px -36px rgba(7, 38, 29, 0.45); }
.regle-tete { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--sable); font-size: 13px; color: var(--texte-2); }
.regle-compte { font: 600 14px/1 var(--f-chiffre); color: var(--or-texte); }
.regle ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2px; }
.regle ol::before, .regle ol::after { content: ""; position: absolute; inset-inline-start: 13px; top: 20px; width: 2px; border-radius: 2px; }
.regle ol::before { bottom: 20px; background: var(--sable); }
.regle ol::after { height: calc((100% - 40px) * var(--avance, 0)); background: linear-gradient(180deg, var(--or), var(--or-clair)); transition: height 0.45s ease; }
.regle a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 6px 0; color: var(--texte-2); text-decoration: none; }
.noeud-r { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 1.5px solid var(--pierre); font: 600 13px/1 var(--f-chiffre); color: var(--texte-2); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.regle li.passe .noeud-r { background: var(--emeraude); border-color: var(--emeraude); color: #fff; }
.regle li.actif .noeud-r { background: var(--or); border-color: var(--or); color: var(--nuit); box-shadow: 0 0 0 5px rgba(242, 179, 61, 0.22); }
.regle-nom { display: block; font-size: 15px; line-height: 28px; }
.regle li.actif .regle-nom { color: var(--encre); font-weight: 600; }
.regle-desc { display: none; font-size: 12.5px; line-height: 1.4; color: var(--texte-2); padding-bottom: 6px; }
.regle li.actif .regle-desc { display: block; }
@media (prefers-reduced-motion: reduce) { .regle ol::after, .noeud-r { transition: none; } }
@media (max-width: 1000px) { .parcours-grille { grid-template-columns: minmax(0, 1fr); } .regle { display: none; } }

.parcours-tete { max-width: 44em; }
.chapitre { padding-block: clamp(56px, 7vw, 96px); scroll-margin-top: var(--entete); }
.chapitre-texte { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(32px, 4vw, 64px); align-items: end; }
.chapitre-texte .atouts { margin: 0; }
.chapitre-num { display: flex; align-items: baseline; gap: 12px; }
.grand-num { font: 600 68px/0.85 var(--f-chiffre); color: transparent; -webkit-text-stroke: 1.5px var(--or); }
@supports not (-webkit-text-stroke: 1px black) { .grand-num { color: var(--or); } }
.nom-etape { font-size: 15px; font-weight: 500; color: var(--or-texte); }
.chapitre h3 { margin-top: 18px; }
.chapitre-intro > p { margin-top: 16px; color: var(--texte-2); max-width: 34em; }
.atouts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.atouts li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.atout-icone { width: 42px; height: 42px; border-radius: 12px; background: var(--sable); color: var(--emeraude); display: grid; place-items: center; }
.atout-icone svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.atouts strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.atout-detail { display: block; font-size: 15px; color: var(--texte-2); line-height: 1.5; margin-top: 2px; }

.diptyque { margin: 40px 0 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 500px; border-radius: 26px; overflow: hidden; background: var(--sable); box-shadow: 0 30px 60px -42px rgba(7, 38, 29, 0.6); }
.diptyque-photo { position: relative; background: var(--pierre); min-height: 240px; }
.diptyque-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diptyque-ecran { position: relative; display: grid; place-items: center; padding: clamp(20px, 3vw, 36px); }
.diptyque-ecran .zellige { opacity: 0.1; }
.diptyque-ecran > *:not(.zellige) { position: relative; width: 100%; }
.chapitre.inverse .diptyque { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapitre.inverse .diptyque-photo { order: 2; }
@media (max-width: 1000px) { .chapitre-texte { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .diptyque, .chapitre.inverse .diptyque { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .chapitre.inverse .diptyque-photo { order: 0; }
  .diptyque-photo { aspect-ratio: 16 / 10; }
}

/* Cartes d'interface : ce que l'app montre vraiment */
.carte-ui { background: var(--blanc); border: 1px solid var(--trait); border-radius: 16px; overflow: hidden; font-size: 14.5px; box-shadow: var(--ombre-carte); }
.carte-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--trait); font-weight: 600; font-size: 13.5px; color: var(--emeraude); }
.carte-tete > span:first-child { flex: none; white-space: nowrap; }
.carte-tete .discret { font-weight: 400; color: var(--texte-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ao-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 16px; border-bottom: 1px solid var(--trait); }
.ao-ligne:last-child { border-bottom: 0; }
.ao-objet { font-weight: 600; line-height: 1.35; font-size: 14px; }
.ao-meta { font-size: 12.5px; color: var(--texte-2); }
.ao-droite { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; grid-row: 1 / span 2; grid-column: 2; }
.ao-montant { font: 500 14px/1.2 var(--f-chiffre); }
.ao-puces { display: flex; gap: 8px; align-items: center; }
.puce { display: inline-block; font-size: 12px; font-weight: 500; line-height: 1.2; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.puce-eligible { background: var(--vert-teinte); color: var(--vert-fonce); }
.puce-verifier { background: var(--safran-teinte); color: var(--or-texte); }
.delai { font: 600 13.5px/1 var(--f-chiffre); }
.delai.court { color: var(--tampon); }
@media (max-width: 420px) { .ao-ligne { grid-template-columns: 1fr; } .ao-droite { grid-row: auto; grid-column: 1; align-items: flex-start; } }

.fil { padding: 16px; display: grid; gap: 10px; }
.bulle { max-width: 86%; padding: 9px 13px; border-radius: 14px; line-height: 1.45; font-size: 14px; }
.bulle.question { justify-self: end; background: var(--emeraude); color: #fff; border-end-end-radius: 4px; }
.bulle.reponse { justify-self: start; background: var(--sable); border-end-start-radius: 4px; }
.bulle.absente { background: var(--blanc); border: 1px dashed var(--pierre); color: var(--texte-2); }
.source { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--majorelle); background: var(--majorelle-teinte); padding: 2px 8px; border-radius: 5px; }

.bordereau { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bordereau th { text-align: start; font-weight: 500; font-size: 12px; color: var(--texte-2); padding: 9px 12px; border-bottom: 1px solid var(--trait); background: var(--chaux); }
.bordereau td { padding: 9px 12px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.bordereau .num { font-family: var(--f-chiffre); font-weight: 500; white-space: nowrap; }
.bordereau .fin { text-align: end; }
.bordereau .verrou { color: var(--texte-2); }
.bordereau .verrou svg { display: inline; vertical-align: -1px; margin-inline-end: 6px; }
.prix-saisi { display: inline-block; white-space: nowrap; border: 1.5px solid var(--vert); border-radius: 6px; padding: 2px 8px; font: 600 13.5px/1.3 var(--f-chiffre); }
.bordereau tr.avec-suggestion td { border-bottom: 0; padding-bottom: 4px; }
.bordereau tr.ligne-suggestion td { padding-top: 0; text-align: end; }
.suggestion { display: inline-block; font-size: 12px; color: var(--or-texte); background: var(--safran-teinte); border-radius: 5px; padding: 2px 8px; }
.totaux { padding: 12px 16px; display: grid; gap: 3px; }
.ligne-total { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--texte-2); }
.ligne-total.fort { color: var(--encre); font-weight: 600; font-size: 15px; }
.ligne-total > span:last-child { font-family: var(--f-chiffre); font-weight: 500; }
.en-lettres { margin-top: 4px; font-size: 12.5px; color: var(--texte-2); }
.jauge { padding: 12px 16px 16px; border-top: 1px solid var(--trait); }
.jauge-titre { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.jauge-titre strong { color: var(--vert-fonce); font-weight: 600; }
.jauge-piste { position: relative; margin-top: 24px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--corail-teinte) 0 2%, var(--vert-teinte) 2% 98%, var(--corail-teinte) 98%); }
.jauge-piste .estim { position: absolute; left: 50%; top: -5px; width: 1.5px; height: 17px; background: var(--emeraude); }
.jauge-piste .curseur { position: absolute; left: 40%; top: -21px; transform: translateX(-50%); font: 600 12px/1 var(--f-chiffre); color: var(--emeraude); white-space: nowrap; }
[dir="rtl"] .jauge-piste .curseur { direction: rtl; font-family: var(--f-texte); }
.jauge-piste .curseur::after { content: ""; position: absolute; left: 50%; top: 15px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--emeraude); }
.jauge-graduation { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--texte-2); }

.piece { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--trait); font-size: 13.5px; line-height: 1.4; }
.piece:last-child { border-bottom: 0; }
.piece .etat { display: block; font-size: 12px; color: var(--texte-2); }
.piece.alerte .etat { color: var(--tampon); font-weight: 500; }
.piece.attente .etat { color: var(--or-texte); font-weight: 500; }
.pastille { width: 18px; height: 18px; border-radius: 50%; margin-top: 1px; display: grid; place-items: center; flex: none; }
.pastille.ok { background: var(--vert); }
.pastille.ok::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.pastille.ko { background: #E03E3E; }
.pastille.ko::after { content: "!"; color: #fff; font: 600 12px/1 var(--f-texte); }
.pastille.attente { border: 2px solid var(--or); }

.depot { padding: 14px 16px 16px; display: grid; gap: 14px; }
.quand { font: 500 15px/1.4 var(--f-texte); }
.quand .dans { color: var(--tampon); font-weight: 600; }
.cote-delai { display: flex; align-items: center; height: 12px; margin-top: 8px; direction: ltr; }
.cote-delai .ecoule { flex: 8; border-top: 1.5px dotted var(--texte-2); }
.cote-delai .reste { flex: 2; height: 2px; background: var(--tampon); position: relative; }
.cote-delai .reste::before, .cote-delai .reste::after { content: ""; position: absolute; top: -6px; width: 1.5px; height: 14px; background: var(--tampon); transform: rotate(45deg); }
.cote-delai .reste::before { left: 0; }
.cote-delai .reste::after { right: 0; }
.controles { display: grid; gap: 6px; font-size: 13.5px; }
.controles div { display: flex; gap: 10px; align-items: center; }
.fichiers { display: flex; flex-wrap: wrap; gap: 8px; }
.fichier { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border: 1px solid var(--trait); border-radius: 999px; font-size: 12.5px; background: var(--chaux); }
.fichier b { font: 600 12.5px/1 var(--f-chiffre); color: var(--emeraude); }
.bouton-factice { justify-self: start; background: var(--emeraude); color: #fff; font-weight: 500; font-size: 14px; padding: 9px 16px; border-radius: 999px; }

/* Chapitre 6 : le chantier, sur fond de nuit */
.chapitre-nuit { margin-top: clamp(24px, 4vw, 48px); background: var(--nuit); color: #fff; border-radius: 30px; padding: clamp(28px, 4.5vw, 60px); position: relative; overflow: hidden; }
.chapitre-nuit > .zellige { opacity: 0.07; }
.chapitre-nuit > *:not(.zellige) { position: relative; }
.chapitre-nuit .chapitre-intro > p { color: rgba(255, 255, 255, 0.82); }
.chapitre-nuit .grand-num { -webkit-text-stroke-color: var(--or-clair); }
.chapitre-nuit .nom-etape { color: var(--or-clair); }
.chapitre-nuit .atout-icone { background: rgba(255, 255, 255, 0.08); color: var(--or); }
.chapitre-nuit .atout-detail { color: var(--menthe-clair); }
.chapitre-nuit .diptyque { background: var(--nuit-2); box-shadow: none; }
.chapitre-nuit .diptyque-photo img { object-position: 35% 50%; }
.chapitre-nuit .diptyque-ecran .telephone { width: 250px; max-width: 100%; }

/* ---------- Pourquoi : nuit et zellige ---------- */
.pourquoi { background: var(--nuit); color: #fff; position: relative; overflow: hidden; padding-block: clamp(88px, 10vw, 140px); }
.pourquoi .zellige { opacity: 0.06; }
.pourquoi-grille { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.piliers { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pilier { padding: 26px 28px 28px 0; border-top: 1px solid rgba(242, 179, 61, 0.28); }
[dir="rtl"] .pilier { padding: 26px 0 28px 28px; }
.pilier svg { width: 34px; height: 34px; color: var(--or); }
.pilier h3 { font-size: 1.3rem; margin-top: 14px; }
.pilier p { margin-top: 8px; color: rgba(255, 255, 255, 0.76); font-size: 16px; }
.cadre-or { position: relative; margin: 0; }
.cadre-or::before { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(242, 179, 61, 0.55); border-radius: 26px; pointer-events: none; }
.cadre-or img { border-radius: 20px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%; width: 100%; }
@media (max-width: 900px) {
  .pourquoi-grille { grid-template-columns: 1fr; }
  .cadre-or { max-width: 420px; margin-inline: 14px; }
}
@media (max-width: 560px) { .piliers { grid-template-columns: 1fr; } .pilier, [dir="rtl"] .pilier { padding-inline: 0; } }

/* ---------- Tarifs ---------- */
.tarifs { background: var(--sable); padding-block: clamp(88px, 10vw, 136px); }
.tarifs-grille { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.formule { background: var(--chaux); border: 1px solid var(--pierre); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.formule h3 { font-size: 1.25rem; }
.prix { font: 600 2.4rem/1 var(--f-chiffre); letter-spacing: -0.01em; }
:lang(ar) .prix { font-family: var(--f-chiffre); }
.prix small { display: block; margin-top: 8px; font: 400 14px/1.3 var(--f-texte); color: var(--texte-2); letter-spacing: 0; }
.formule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: start; flex: 1; font-size: 15px; color: var(--texte-2); }
.formule li { padding-inline-start: 18px; position: relative; }
.formule li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 0.4em; width: 1.5px; height: 11px; background: var(--or); transform: rotate(45deg); }
.formule li.fort { color: var(--encre); font-weight: 500; }
.formule .bouton { width: 100%; }
.formule.phare { background: var(--nuit); color: #fff; border-color: var(--or); position: relative; overflow: hidden; }
.formule.phare .zellige { opacity: 0.07; }
.formule.phare > *:not(.zellige) { position: relative; }
.formule.phare .prix { color: var(--or-clair); }
.formule.phare .prix small, .formule.phare ul { color: rgba(255, 255, 255, 0.78); }
.formule.phare li.fort { color: #fff; }
.note-tarifs { margin-top: 18px; font-size: 14px; color: var(--texte-2); }
@media (max-width: 1080px) { .tarifs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tarifs-grille { grid-template-columns: 1fr; } }

/* ---------- Questions ---------- */
.questions { padding-block: clamp(88px, 10vw, 136px); }
.questions-grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.questions-liste details { border-bottom: 1px solid var(--pierre); }
.questions-liste details:first-child { border-top: 1px solid var(--pierre); }
.questions-liste summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 500; font-size: 1.08rem; }
[dir="rtl"] .questions-liste summary { padding: 22px 0 22px 44px; }
.questions-liste summary::-webkit-details-marker { display: none; }
.questions-liste summary::before, .questions-liste summary::after { content: ""; position: absolute; inset-inline-end: 10px; top: 50%; width: 14px; height: 1.5px; background: var(--or-texte); transition: transform 0.25s; }
.questions-liste summary::after { transform: rotate(90deg); }
.questions-liste details[open] summary::after { transform: rotate(0); }
@media (prefers-reduced-motion: reduce) { .questions-liste summary::after { transition: none; } }
.questions-liste details p { padding: 0 0 24px; color: var(--texte-2); max-width: 44em; }
@media (max-width: 860px) { .questions-grille { grid-template-columns: 1fr; } }

/* ---------- Final : le bâtiment livré ---------- */
.final { position: relative; color: #fff; background: var(--nuit); min-height: 660px; display: flex; align-items: flex-end; overflow: hidden; }
.final-media { position: absolute; inset: 0; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.final-voile { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 38, 29, 0.96) 0%, rgba(7, 38, 29, 0.75) 38%, rgba(7, 38, 29, 0.1) 75%); }
.final .page { position: relative; padding-block: 120px 72px; }
.final h2 { max-width: 16ch; }
.final .chapeau-section { color: rgba(255, 255, 255, 0.84); }
.final .cartouche { margin-top: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; border-color: var(--or); }
.final .case { border-top: 0; border-inline-end: 1px solid var(--pierre); padding: 18px 20px; }
.final .case:last-child { border-inline-end: 0; }
.final .case .valeur { font-size: 1.05rem; }
.final .case-appel { display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--safran-teinte); }
.final .case-appel .bouton { width: 100%; }
.final .case-appel a.secondaire { font-size: 14px; text-align: center; }
@media (max-width: 760px) {
  .final .cartouche { grid-template-columns: 1fr; }
  .final .case { border-inline-end: 0; border-bottom: 1px solid var(--pierre); }
  .final .case:last-child { border-bottom: 0; }
}

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--menthe-clair); position: relative; overflow: hidden; padding-block: 56px 40px; font-size: 14.5px; border-top: 1px solid rgba(242, 179, 61, 0.25); }
.pied .zellige { opacity: 0.05; }
.pied .page { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.pied img { height: 27px; width: auto; }
.pied .devise { margin-top: 12px; color: #EAF5F0; }
.pied nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.pied a { color: #EAF5F0; text-decoration: none; }
.pied a:hover { color: var(--or-clair); }
.pied .mentions { grid-column: 1 / -1; border-top: 1px solid rgba(169, 220, 198, 0.18); padding-top: 22px; font-size: 13px; }
@media (max-width: 700px) { .pied .page { grid-template-columns: 1fr; } }
