/* Site byluxepass.com — jetons et choix : DESIGN.md. Polices auto-hébergées (OFL). */

/* Titres : Cormorant Garamond (identité « raffinée » choisie le 2026-11-06, à la place de Cinzel). */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 400; font-display: swap; src: url("/fonts/almarai-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Almarai"; font-weight: 700; font-display: swap; src: url("/fonts/almarai-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --nuit: #12233F;
  --chaux: #F3F4EF;
  --encre: #161B24;
  --ardoise: #525B6B;
  --sidi: #1D5C93;
  --sidi-fonce: #164A78;
  --laiton: #B08A3E;
  --sur-nuit: #C9CFDA;
  --or-clair: #E3B76A;
  --filet: #D8DBD3;
  --danger: #A61B1B;
  --succes: #1E6B3A;

  --f-titre: "Cormorant Garamond", Georgia, serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mesure: 68ch;
  --gouttiere: clamp(16px, 5vw, 72px);
  --largeur: 1180px;
}
[lang="ar"] { --f-titre: "Almarai", "Noto Naskh Arabic", Tahoma, sans-serif; --f-texte: "Almarai", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--chaux);
  color: var(--encre);
  font: 400 17px/1.6 var(--f-texte);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sidi); text-underline-offset: .18em; }
a:hover { color: var(--sidi-fonce); }
:focus-visible { outline: 3px solid var(--sidi); outline-offset: 3px; border-radius: 2px; }
.topbar :focus-visible, .band :focus-visible, .footer :focus-visible { outline-color: var(--or-clair); }

h1, h2, h3 { font-family: var(--f-titre); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; font-variant-numeric: lining-nums; }
/* Cormorant est plus petit à taille égale que Cinzel : échelle relevée d'un cran. */
h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; }
h3 { font-size: 24px; font-weight: 600; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
/* L'arabe garde Almarai et l'échelle d'avant (Cormorant n'a pas de lettres arabes). */
[lang="ar"] h1 { font-size: clamp(32px, 4.4vw, 56px); }
[lang="ar"] h2 { font-size: clamp(24px, 3.4vw, 40px); }
[lang="ar"] h3 { font-size: 21px; }
p { margin: 0; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--chaux); color: var(--nuit); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 12px; }

/* ── Bandeau supérieur (bleu nuit sur toutes les pages) ─────────────── */
.topbar {
  background: var(--nuit);
  color: var(--chaux);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 18px var(--gouttiere);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; margin: 0; text-decoration: none; }
.brand img { display: block; height: 40px; width: auto; }
.footer .brand img { height: 32px; }
.topbar .brand:hover img { opacity: .85; }
.langs { margin-inline-start: auto; }
.langs ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.langs a { color: var(--sur-nuit); text-decoration: none; }
.langs a:hover { color: var(--or-clair); text-decoration: underline; }
.langs [aria-current] { color: var(--chaux); border-bottom: 2px solid var(--laiton); }
.mainnav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.mainnav > a:not(.button) { color: var(--sur-nuit); text-decoration: none; }
.mainnav > a:not(.button):hover, .mainnav > a[aria-current]:not(.button) { color: var(--chaux); text-decoration: underline; }

/* ── Boutons ────────────────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  background: var(--sidi); color: #fff; border: 0; border-radius: 8px;
  font: 600 16px/1.2 var(--f-texte); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--sidi-fonce); color: #fff; }
.button-small { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.topbar .button, .band .button { background: var(--chaux); color: var(--nuit); }
.topbar .button:hover, .band .button:hover { background: #fff; color: var(--nuit); }
/* Bouton à contour (ouverture de la page d'accueil) : pas de fond, un trait bleu nuit. */
.button-outline { background: transparent; color: var(--nuit); border: 1px solid var(--nuit); border-radius: 0; font-weight: 500; letter-spacing: .02em; }
.button-outline:hover { background: var(--nuit); color: var(--chaux); }
.button[disabled] { opacity: .6; cursor: progress; }

/* ── Ouverture : la promesse et le vrai produit dans la main du client ─── */
/* Identité raffinée : fond chaux, un filet de laiton, un titre qui respire ; à droite, une vraie
   capture de l'app client (hôtel de démonstration) dans un cadre bleu nuit fin. */
.hero {
  background: var(--chaux); color: var(--nuit);
  padding: clamp(40px, 7vw, 96px) var(--gouttiere) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--filet);
}
.hero-in { max-width: var(--largeur); margin: 0 auto; display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero-text { min-width: 0; max-width: 40rem; }
.hero h1 { color: var(--nuit); }
.filet { display: block; width: 48px; height: 1px; background: var(--laiton); margin-bottom: 24px; }
.hero .lead { color: var(--ardoise); font-size: clamp(17px, 1.5vw, 20px); max-width: 50ch; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--ardoise); max-width: 46ch; }
.phone { margin: 0; justify-self: center; width: min(68vw, 250px); }
.phone-frame { border: 6px solid var(--nuit); border-radius: 30px; overflow: hidden; background: var(--nuit); box-shadow: 0 24px 48px rgba(18, 35, 63, .18); }
.phone-frame img { width: 100%; height: auto; }
.phone figcaption { margin-top: 12px; font-size: 14px; color: var(--ardoise); text-align: center; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 5vw; }
  .phone { width: min(22vw, 300px); justify-self: end; }
}

/* ── Contenu ────────────────────────────────────────────────────────── */
main > section { padding: clamp(56px, 8vw, 104px) var(--gouttiere) 0; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; }
main > section > p, .intro { max-width: var(--mesure); }
.intro { color: var(--ardoise); margin-top: 12px; }

/* Trois constats : trois colonnes séparées par un filet, pas de cartes. */
.constats-list { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 32px 48px; grid-template-columns: minmax(0, 1fr); }
.constats-list li { border-top: 1px solid var(--nuit); padding-top: 20px; min-width: 0; }
.constats-list h3 { font-size: clamp(24px, 2.4vw, 26px); }
.constats-list p { color: var(--ardoise); margin-top: 10px; max-width: 42ch; }
@media (min-width: 760px) { .constats-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Trois parcours : texte d'un côté, capture de l'autre, en alternance. */
.parcours-grid { margin-top: 48px; display: grid; gap: clamp(56px, 7vw, 96px); }
.parcours-item { display: grid; gap: 28px 56px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.parcours-text { min-width: 0; border-inline-start: 1px solid var(--sidi); padding-inline-start: 22px; }
.parcours-text .qui { color: var(--sidi); font-weight: 500; font-size: 15px; }
.parcours-text h3 { margin-top: 6px; font-size: clamp(24px, 2.4vw, 28px); }
.parcours-text p:not(.qui) { color: var(--ardoise); margin-top: 14px; max-width: 46ch; }
.parcours-text .ticks { margin-top: 18px; gap: 10px; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: var(--mesure); }
.ticks li { position: relative; padding-inline-start: 26px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: 12px; height: 2px; background: var(--sidi); }
.shot { margin: 0; min-width: 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--filet); border-radius: 8px; background: var(--nuit); box-shadow: 0 12px 30px rgba(18, 35, 63, .14); }
.shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ardoise); max-width: 60ch; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
/* Deux écrans de téléphone à la même hauteur : la capture la plus longue est rognée en bas, jamais en haut. */
.duo .shot img { aspect-ratio: 780 / 1400; object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .parcours-item { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .parcours-item.inverse .parcours-text { order: 2; }
  .parcours-item.inverse .shot, .parcours-item.inverse .duo { order: 1; }
  .parcours-item.large { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

/* Comment ça marche : une vraie suite, donc numérotée. */
.steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: etape; display: grid; gap: 28px 40px; grid-template-columns: minmax(0, 1fr); }
.steps li { counter-increment: etape; position: relative; padding-inline-start: 64px; min-width: 0; }
.steps li::before {
  content: counter(etape);
  position: absolute; inset-inline-start: 0; top: -8px;
  font: italic 500 48px/1 var(--f-titre); color: var(--sidi); font-variant-numeric: lining-nums;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ardoise); max-width: 40ch; }
[lang="ar"] .steps li::before { font-style: normal; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Le modèle : deux phrases, en grand, sans prix. */
.modele-bloc { margin-top: 32px; display: grid; gap: 24px 64px; grid-template-columns: minmax(0, 1fr); }
.grande { font: 500 clamp(24px, 2.6vw, 32px)/1.3 var(--f-titre); color: var(--nuit); max-width: 24ch; }
[lang="ar"] .grande { font-weight: 700; line-height: 1.5; }
.modele-bloc p:not(.grande) { color: var(--ardoise); max-width: 50ch; }
@media (min-width: 900px) { .modele-bloc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tunisie : trois faits courts ; questions : deux colonnes. */
.tunisia dl, .faq dl { margin: 32px 0 0; display: grid; gap: 28px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .tunisia dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } .faq dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tunisia dl > div, .faq dl > div { border-top: 1px solid var(--filet); padding-top: 16px; min-width: 0; }
.tunisia dt, .faq dt { font-weight: 600; font-size: 18px; }
.tunisia dd, .faq dd { margin: 6px 0 0; color: var(--ardoise); max-width: 50ch; }

/* Le fondateur : une citation, un filet de laiton. */
.founder { margin: 48px 0 0; max-width: 60ch; font: italic 500 clamp(21px, 2.1vw, 25px)/1.45 var(--f-titre); color: var(--nuit); padding-inline-start: 18px; border-inline-start: 1px solid var(--laiton); }
.founder cite { display: block; margin-top: 10px; font: 400 15px/1.5 var(--f-texte); color: var(--ardoise); font-style: normal; }
[lang="ar"] .founder { font: 400 clamp(19px, 1.9vw, 22px)/1.7 var(--f-texte); }

.band {
  margin-top: clamp(64px, 10vw, 120px);
  background: var(--nuit); color: var(--chaux);
  padding: clamp(48px, 7vw, 88px) var(--gouttiere);
  display: grid; gap: 16px; justify-items: start;
}
.band p { color: var(--sur-nuit); max-width: 52ch; margin-bottom: 12px; }

/* ── Pages intérieures ──────────────────────────────────────────────── */
.page { padding: clamp(40px, 7vw, 88px) var(--gouttiere) clamp(64px, 9vw, 112px); max-width: calc(var(--mesure) + 2 * var(--gouttiere)); }
.page h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
.page h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 40px 0 14px; }
.page .lead { font-size: 19px; color: var(--ardoise); }
.page > p + p { margin-top: 14px; }
.page .actions { margin-top: 32px; }

.facts { margin: 0; display: grid; gap: 10px; }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; padding-bottom: 10px; border-bottom: 1px solid var(--filet); }
@media (min-width: 640px) { .facts > div { grid-template-columns: 15em minmax(0, 1fr); } }
.facts dt { color: var(--ardoise); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.todo { background: #FBE7C2; color: #6B4A0E; padding: 0 .35em; border-radius: 3px; }

/* ── Formulaire de démo ─────────────────────────────────────────────── */
.demo-form { margin-top: 32px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 500; }
.optional { font-weight: 400; color: var(--ardoise); }
input, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: 400 16px/1.4 var(--f-texte); color: var(--encre);
  background: #fff; border: 1px solid #7C8494; border-radius: 8px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sidi); outline-offset: 1px; border-color: var(--sidi); }
[aria-invalid="true"] { border-color: var(--danger); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--sidi); }
.trap { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 8px; border-inline-start: 4px solid var(--sidi); background: #fff; }
.form-status.is-error { border-color: var(--danger); color: var(--danger); }
.form-status.is-success { border-color: var(--succes); color: var(--succes); font-weight: 500; }
.contact-alt { margin-top: 28px; color: var(--ardoise); }

/* ── Pied de page ───────────────────────────────────────────────────── */
.footer {
  background: var(--nuit); color: var(--sur-nuit);
  padding: 40px var(--gouttiere);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  border-top: 1px solid rgba(176, 138, 62, .45);
}
.band + .footer { border-top-color: rgba(176, 138, 62, .45); }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--chaux); }
.footer a:hover { color: var(--or-clair); }
.footer-rights { font-size: 15px; margin-inline-start: auto; }

/* Page « L'essentiel » : un peu d'air entre l'introduction et la liste des faits. */
.page-essentiel .facts { margin-top: 2rem; }
