/* START IN DUBAI : page de lancement, style « page de vente » (blanc, noir, rouge du logo, vert du drapeau) */
:root {
  --bg: #FFFFFF;
  --gray: #F4F4F2;
  --gray-2: #E9E9E6;
  --ink: #0B0B0B;
  --ink-2: #262626;
  --muted: #5E5E5E;
  --line: rgba(11, 11, 11, .12);
  --red: #E10600;        /* rouge du « S » du logo */
  --red-d: #B80500;
  --red-l: #FF4B45;      /* rouge lisible sur fond noir */
  --green: #066A20;      /* vert du drapeau des EAU */
  --mark: #FFE45C;       /* surligneur */
  --head: Montserrat, "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
mark { background: linear-gradient(transparent 55%, var(--mark) 55%, var(--mark) 92%, transparent 92%); color: inherit; padding: 0 .08em; }
.red { color: var(--red); }
.red-l { color: var(--red-l); }

h1, h2, h3 { font-family: var(--head); letter-spacing: -.015em; text-wrap: balance; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.12; font-weight: 900; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; font-weight: 800; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.lead { max-width: 46em; margin: 0 auto 36px; font-size: 18px; color: rgba(255, 255, 255, .78); }

/* ------------------------------------------------------------------ barre du haut */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; }
.topbar-in { display: flex; align-items: center; justify-content: center; gap: 14px 22px; min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
.topbar-txt { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.topbar-txt b { font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(225, 6, 0, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(225, 6, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); } }
.cd-mini { display: flex; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.cd-mini b { display: inline-block; min-width: 2ch; margin-right: 1px; font-family: var(--head); font-size: 16px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.topbar-btn { border: 0; border-radius: 6px; padding: 8px 16px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s; }
.topbar-btn:hover { background: var(--red-d); }
.topbar-btn.is-done { background: var(--green); }
.before, .launched .after { display: inline; }
.after, .launched .before { display: none; }
.topbar-txt .sm { display: none; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(36px, 6vh, 72px) 0 clamp(40px, 6vh, 64px); background: radial-gradient(1200px 500px at 50% -10%, #fff 40%, var(--gray) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo { width: clamp(220px, min(22vw, 30vh), 300px); margin: 0 0 14px; }
.pill {
  margin: 0 0 20px; padding: 7px 16px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
h1 { margin: 0 0 16px; max-width: 980px; font-size: clamp(32px, min(4.6vw, 6.4vh), 54px); line-height: 1.06; font-weight: 900; }
.sub { max-width: 44em; margin: 0 0 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.sub b { color: var(--ink); }

/* compte à rebours */
.cd-block { margin-bottom: 20px; }
.cd-label { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cd-big { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 14px); }
.cd-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(74px, 9vw, 100px); padding: 12px 0 10px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.cd-num { display: block; font-family: var(--head); font-weight: 900; font-size: clamp(34px, min(4.4vw, 6vh), 50px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-num.tick { animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: .2; transform: translateY(-.15em); } to { opacity: 1; transform: none; } }
.cd-unit { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.sec-dark .cd-cell { background: #1C1C1C; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sec-dark .cd-num { color: #fff; }

/* bouton principal */
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 64px; padding: 18px 34px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; font-size: clamp(17px, 1.7vw, 20px); letter-spacing: .005em;
  box-shadow: 0 6px 0 var(--red-d), 0 18px 30px -12px rgba(225, 6, 0, .55);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
}
.btn:hover { background: #F20A03; transform: translateY(-2px); box-shadow: 0 8px 0 var(--red-d), 0 22px 34px -12px rgba(225, 6, 0, .6); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--red-d), 0 8px 16px -10px rgba(225, 6, 0, .5); }
.btn svg { flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.is-done { background: var(--green); box-shadow: 0 6px 0 #04501a, 0 18px 30px -12px rgba(6, 106, 32, .5); }
.btn-sm { min-height: 0; padding: 12px 22px; font-size: 15px; box-shadow: 0 4px 0 var(--red-d); }
.cta-note { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.sec-dark .cta-note { color: rgba(255, 255, 255, .7); }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.trust li:nth-child(2) svg { color: #F5A400; }

/* ------------------------------------------------------------------ sections */
.sec { padding: clamp(60px, 9vw, 104px) 0; }
.sec-gray { background: var(--gray); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .eyebrow { color: var(--red-l); }

/* problème */
.xlist { margin: 28px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.xlist li { position: relative; padding: 16px 18px 16px 56px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 17.5px; }
.xlist li::before {
  content: "✕"; position: absolute; left: 16px; top: 15px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: #FDE6E5; color: var(--red); font-weight: 900; font-size: 13px;
}
.punch { margin: 0; padding: 22px 24px; border-left: 5px solid var(--red); background: #fff; border-radius: 0 10px 10px 0; font-size: 19px; line-height: 1.5; }

/* gains */
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 36px 0 28px; }
.gain { position: relative; padding: 26px 24px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .35); }
.gain::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--green) 0 33%, #ccc 33% 66%, var(--ink) 66%); }
.gain .ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--head); font-weight: 900; }
.gain p { margin: 0; color: var(--muted); font-size: 16px; }
.result { max-width: 860px; margin: 0 auto 34px; padding: 22px 26px; border-radius: 12px; background: #EAF5EC; border: 2px solid var(--green); font-size: 18px; text-align: center; }
.result p { margin: 0; }
.result b { color: var(--green); }

/* comparaison */
.compare { max-width: 940px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-head span { padding: 16px 20px; font-family: var(--head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.cmp-head span:first-child { background: #1C1C1C; color: rgba(255, 255, 255, .6); }
.cmp-head span:last-child { background: var(--red); color: #fff; }
.cmp-row span { position: relative; padding: 16px 20px 16px 50px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 16px; }
.cmp-row span:first-child { color: rgba(255, 255, 255, .55); }
.cmp-row span:last-child { background: rgba(255, 255, 255, .05); font-weight: 600; }
.cmp-row span::before { position: absolute; left: 18px; top: 16px; font-weight: 900; }
.cmp-row span:first-child::before { content: "✕"; color: rgba(255, 255, 255, .35); }
.cmp-row span:last-child::before { content: "✓"; color: #3DD26B; font-size: 18px; top: 14px; }

/* profils */
.profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.profile { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; background: var(--ink); aspect-ratio: 4 / 5; }
.profile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.profile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .88) 10%, rgba(0, 0, 0, .1) 60%); }
.profile:hover img { transform: scale(1.04); }
.p-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.p-t { font-family: var(--head); font-weight: 900; font-size: 24px; line-height: 1.1; }
.p-d { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.p-go { align-self: flex-start; margin-top: 8px; padding: 8px 14px; border-radius: 8px; background: var(--red); font-weight: 700; font-size: 14px; }

/* étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 64px 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--head); font-weight: 900; }
.steps b { display: block; margin-bottom: 6px; font-family: var(--head); font-weight: 800; font-size: 17px; line-height: 1.25; }
.steps span { font-size: 15.5px; color: var(--muted); }

/* offre */
.offer { position: relative; padding: clamp(28px, 5vw, 48px); border: 3px dashed var(--red); border-radius: 18px; background: #FFF8F7; text-align: center; }
.offer-tag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 16px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.offer h2 { font-size: clamp(24px, 3.4vw, 34px); }
.vlist { margin: 22px auto; padding: 0; max-width: 600px; list-style: none; display: grid; gap: 14px; text-align: left; }
.vlist li { position: relative; padding-left: 42px; font-size: 17.5px; }
.vlist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 900; font-size: 15px; }
.offer-free { margin: 0 0 18px; font-size: 18px; }
.offer .cd-big { margin-bottom: 26px; }
.cd-light .cd-cell { background: var(--ink); }

/* fondateur */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder img { width: 100%; border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .55); }
.founder p { font-size: 17.5px; color: var(--ink-2); }
.stars { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 15.5px !important; }
.stars span { color: #F5A400; letter-spacing: 2px; }

/* FAQ */
.faq { margin-top: 30px; display: grid; gap: 10px; }
.faq details { border-radius: 12px; background: var(--gray); border: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 54px 18px 22px; cursor: pointer; list-style: none; font-family: var(--head); font-weight: 800; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 18px; font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); font-size: 16.5px; }

/* dernier appel */
.final h2 { margin-bottom: 30px; }
.final .cd-big { margin-bottom: 30px; }

/* pied de page */
.foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); background: var(--gray); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.foot-in img { width: 170px; margin-bottom: 10px; }
.foot p { margin: 0; }
.foot .small { font-size: 12.5px; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; font-size: inherit; }

/* bouton fixe (mobile) */
.sticky { display: none; }

.privacy { max-width: 540px; width: calc(100% - 32px); border: 0; border-radius: 14px; padding: 28px; background: #fff; color: var(--ink); }
.privacy::backdrop { background: rgba(0, 0, 0, .55); }
.privacy h2 { font-size: 26px; }
.privacy p { color: var(--ink-2); font-size: 15.5px; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 900px) {
  .gains { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .profiles { grid-template-columns: 1fr 1fr; }
  .profile { aspect-ratio: 4 / 5; }
  .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar-in { gap: 10px; justify-content: space-between; }
  .topbar-txt { font-size: 12.5px; gap: 7px; }
  .topbar-txt .lg { display: none; }
  .topbar-txt .sm { display: inline; }
  .cd-mini { gap: 5px; font-size: 11.5px; }
  .cd-mini b { font-size: 14px; }
  .topbar-btn { display: none; }
  .topbar-in { min-height: 44px; padding-top: 4px; padding-bottom: 4px; }

  /* Hero mobile : logo, accroche, compte à rebours et bouton tiennent dans le premier écran.
     Le paragraphe d'explication passe juste sous le bouton (l'ordre ne change pas sur ordinateur). */
  .hero { padding: 30px 0 40px; }
  .logo { width: min(52vw, 210px); margin-bottom: 10px; }
  .pill { margin-bottom: 12px; font-size: 9.5px; letter-spacing: .01em; padding: 5px 10px; white-space: nowrap; }
  h1 { margin-bottom: 16px; font-size: clamp(23px, 6.7vw, 30px); line-height: 1.1; }
  .hero .cd-block { order: 3; margin-bottom: 14px; }
  .hero .cta { order: 4; margin-top: 0; gap: 6px; width: 100%; }
  .hero .sub { order: 5; margin: 26px 0 0; font-size: 16px; }
  .hero .trust { order: 6; margin-top: 22px; }
  .cd-label { margin-bottom: 7px; font-size: 11.5px; letter-spacing: .08em; }
  .cd-big { gap: 7px; }
  .cd-cell { width: 21.5vw; max-width: 80px; padding: 9px 0 8px; border-radius: 9px; }
  .cd-num { font-size: clamp(26px, 8.2vw, 34px); }
  .cd-unit { margin-top: 5px; font-size: 9px; letter-spacing: .1em; }
  .btn { width: 100%; min-height: 56px; padding: 14px 14px; gap: 8px; font-size: 16px; }
  .cta-note { font-size: 13px; }
  .trust { flex-direction: column; align-items: center; gap: 8px; font-size: 13.5px; }
  .sec { padding: 56px 0; }
  h2 { font-size: clamp(25px, 7vw, 30px); }
  .gains, .steps { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr; }
  .profile { aspect-ratio: 16 / 11; }
  .xlist li { font-size: 16px; padding-left: 52px; }
  .punch, .result, .vlist li, .founder p { font-size: 16.5px; }
  .cmp-head span { padding: 12px 12px; font-size: 12px; }
  .cmp-row span { padding: 12px 12px 12px 34px; font-size: 14px; }
  .cmp-row span::before { left: 12px; top: 12px; }
  .cmp-row span:last-child::before { top: 10px; }
  .offer { padding: 34px 18px 26px; }
  .faq summary { font-size: 15.5px; padding: 16px 50px 16px 18px; }
  .sticky {
    display: block; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .sticky.is-on { transform: none; }
  .sticky .btn { min-height: 54px; font-size: 16px; box-shadow: 0 4px 0 var(--red-d); }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* Petits écrans en hauteur (iPhone SE, Safari avec ses barres) : on resserre encore le hero. */
@media (max-width: 640px) and (max-height: 600px) {
  .hero { padding-top: 24px; }
  .logo { width: min(34vw, 132px); margin-bottom: 8px; }
  .pill { margin-bottom: 10px; }
  h1 { margin-bottom: 12px; font-size: clamp(21px, 6.1vw, 26px); }
  .cd-cell { padding: 7px 0 6px; }
  .cd-num { font-size: clamp(24px, 7.4vw, 30px); }
  .hero .btn { min-height: 52px; }
}

/* ------------------------------------------------------------------ FORMULAIRE */
.tf {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
  background: #fff; overflow: hidden; overflow: clip;
  animation: tf-in .4s var(--ease);
}
.tf[hidden] { display: none; }
@keyframes tf-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tf-progress { height: 5px; background: var(--gray-2); }
.tf-progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .5s var(--ease); }
.tf-head { display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.tf-head img { width: 92px; }
.tf-close { background: none; border: 0; padding: 8px; cursor: pointer; border-radius: 50%; }
.tf-close:hover { background: var(--gray); }

.tf-stage { position: relative; flex: 1; margin: 0; overflow: hidden; overflow: clip; }
.step {
  position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px clamp(20px, 6vw, 40px) 110px;
  opacity: 0; visibility: hidden; transform: translateY(40px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .08s, transform .55s var(--ease) .08s, visibility 0s; }
.step.is-up { transform: translateY(-40px); }
.step-in { width: 100%; max-width: 720px; margin: 0 auto; }

.q-num { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 800; color: var(--red); }
.q-num svg { width: 14px; height: 14px; }
.q { margin: 0 0 10px; font-family: var(--head); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.q-help { margin: 0 0 26px; font-size: 16px; color: var(--muted); }
.q-help:empty { display: none; }
.q + .choices, .q + .field { margin-top: 26px; }

.choices { display: grid; gap: 10px; max-width: 540px; }
.choices.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 13px 16px 13px 12px; border: 2px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; text-align: left;
  font-size: 17px; font-weight: 600; transition: border-color .2s, background .2s, transform .15s;
}
.choice:hover { border-color: rgba(225, 6, 0, .45); background: #FFF8F7; }
.choice:active { transform: scale(.99); }
.choice .key {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  border: 2px solid var(--line); background: #fff; font-size: 12px; font-weight: 800;
  transition: background .2s, color .2s, border-color .2s;
}
.choice .lbl { flex: 1; }
.choice .lbl small { display: block; margin-top: 1px; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.choice .check { flex: none; width: 20px; height: 20px; opacity: 0; color: var(--red); transition: opacity .2s; }
.choice[aria-checked="true"] { border-color: var(--red); background: #FFF4F3; }
.choice[aria-checked="true"] .key { background: var(--red); color: #fff; border-color: var(--red); }
.choice[aria-checked="true"] .check { opacity: 1; }
.choice.blink { animation: blink .32s steps(2) 1; }
@keyframes blink { 50% { background: #FDE6E5; } }
.is-compact .choice { font-size: 15.5px; padding: 10px 12px 10px 10px; }

.field { max-width: 640px; }
.field input, .field textarea {
  width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 3px solid rgba(11, 11, 11, .2); border-radius: 0;
  background: transparent; color: var(--ink); outline: none;
  font-family: var(--head); font-weight: 700; font-size: clamp(22px, 3vw, 30px); line-height: 1.3;
  transition: border-color .2s;
}
.field textarea { resize: none; min-height: 1.4em; overflow: hidden; font-size: clamp(19px, 2.4vw, 24px); }
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: rgba(11, 11, 11, .25); }

.consent-note { max-width: 560px; margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.consent-note .link { font-size: inherit; }
.consent { display: flex; gap: 14px; align-items: flex-start; max-width: 560px; cursor: pointer; font-size: 15.5px; color: var(--ink-2); }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.recap { margin: 0 0 24px; padding: 0; list-style: none; max-width: 560px; border-top: 1px solid var(--line); }
.recap li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.recap li span:first-child { color: var(--muted); }
.recap li span:last-child { text-align: right; font-weight: 600; }

.actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.ok {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--red); color: #fff; font-size: 16.5px; font-weight: 800; font-family: var(--head);
  box-shadow: 0 4px 0 var(--red-d); transition: background .2s, transform .15s;
}
.ok:hover { background: #F20A03; }
.ok:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-d); }
.ok[disabled] { opacity: .6; cursor: progress; }
.hint { font-size: 12.5px; color: var(--muted); }
.hint b { font-weight: 700; }
.err {
  display: none; margin-top: 16px; padding: 8px 12px; border-radius: 6px;
  background: #FDE6E5; color: #9b1c12; font-size: 14px; width: fit-content;
}
.err.show { display: block; animation: rise .25s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tf-nav { position: absolute; right: clamp(16px, 4vw, 40px); bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; gap: 1px; border-radius: 8px; overflow: hidden; }
.tf-nav button { width: 42px; height: 38px; display: grid; place-items: center; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.tf-nav button:disabled { opacity: .3; cursor: default; }
.tf.is-done .tf-nav { display: none; }

.thanks .q { font-size: clamp(30px, 4.4vw, 48px); }
.thanks .q em { font-style: normal; color: var(--green); }
.thanks .countdown { justify-content: flex-start; margin: 10px 0 6px; }
.thanks .cd-cell { width: clamp(64px, 9vw, 88px); padding: 10px 0 9px; }
.thanks .cd-num { font-size: clamp(26px, 3.6vw, 40px); }
.thanks .actions { flex-wrap: wrap; }
.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.ghost:hover { background: var(--gray); }

@media (max-width: 640px) {
  .step { justify-content: flex-start; padding-top: 6vh; }
  .choices.is-compact { grid-template-columns: 1fr 1fr; gap: 8px; }
  .is-compact .choice { font-size: 14.5px; gap: 10px; }
  .is-compact .choice .key { width: 22px; height: 22px; font-size: 11px; }
  .choice { font-size: 16px; }
  .hint { display: none; }
  .thanks .countdown { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ langues */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-sw { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.lang-sw svg { width: 16px; height: 16px; flex: none; }
.lang-sw select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: inherit; font: inherit; padding: 0 2px; cursor: pointer; }
.lang-sw select option { color: var(--ink); }
.foot .langs a { color: var(--muted); }
.foot .langs a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
@media (max-width: 640px) {
  .lang-sw { padding: 4px 6px; font-size: 12px; }
  .lang-sw select { max-width: 74px; }
}

/* numéro WhatsApp : pays (drapeau + indicatif) devant le numéro */
.field.tel { display: flex; align-items: flex-end; gap: 12px; }
.field.tel input { flex: 1; min-width: 0; }
.cc { position: relative; flex: none; display: flex; align-items: center; padding: 8px 26px 10px 0; border-bottom: 3px solid rgba(11, 11, 11, .2); font-family: var(--head); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; white-space: nowrap; }
.cc::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.cc select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cc:focus-within { border-color: var(--red); }

/* ------------------------------------------------------------------ arabe : de droite à gauche */
[dir="rtl"] { --head: "Noto Kufi Arabic", Montserrat, Arial, sans-serif; --sans: "Noto Kufi Arabic", Inter, Arial, sans-serif; }
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] .xlist li { padding: 16px 56px 16px 18px; }
[dir="rtl"] .xlist li::before { left: auto; right: 16px; }
[dir="rtl"] .punch { border-left: 0; border-right: 5px solid var(--red); border-radius: 10px 0 0 10px; }
[dir="rtl"] .cmp-row span { padding: 16px 50px 16px 20px; }
[dir="rtl"] .cmp-row span::before { left: auto; right: 18px; }
[dir="rtl"] .profile, [dir="rtl"] .choice { text-align: right; }
[dir="rtl"] .steps li::before { left: auto; right: 20px; }
[dir="rtl"] .vlist { text-align: right; }
[dir="rtl"] .vlist li { padding-left: 0; padding-right: 42px; }
[dir="rtl"] .vlist li::before { left: auto; right: 0; }
[dir="rtl"] .faq summary::after { right: auto; left: 20px; }
[dir="rtl"] .faq summary { padding-left: 60px; padding-right: 22px; }
[dir="rtl"] .tf-nav { right: auto; left: clamp(16px, 4vw, 40px); }
[dir="rtl"] .btn svg, [dir="rtl"] .q-num svg { transform: scaleX(-1); }
[dir="rtl"] .cc { padding: 8px 0 10px 26px; }
[dir="rtl"] .cc::after { right: auto; left: 6px; }
[dir="rtl"] .field.tel { flex-direction: row-reverse; }      /* numéro écrit de gauche à droite : l'indicatif reste à gauche */
[dir="rtl"] .field input[type="tel"], [dir="rtl"] .field input[type="email"] { direction: ltr; text-align: left; }
@media (max-width: 640px) {
  [dir="rtl"] .xlist li { padding-left: 18px; padding-right: 52px; }
  [dir="rtl"] .cmp-row span { padding: 12px 34px 12px 12px; }
  [dir="rtl"] .cmp-row span::before { left: auto; right: 12px; }
  [dir="rtl"] .faq summary { padding: 16px 18px 16px 50px; }
}
[dir="rtl"] .cc { direction: ltr; }
.cd-mini span, .lang-sw { white-space: nowrap; }
@media (max-width: 420px) {
  .topbar-txt .sm { display: none; }          /* sur petit écran : point rouge + compte à rebours + langue */
  .topbar-in { gap: 8px; }
}
