/* ==========================================================================
   PrivAdSpy — Landing v7 (app/views/site/lp_v7.ejs)
   Page claire. Visuels = captures de la vraie app, avec des bulles qui pointent l'essentiel. Pas de framework.
   ========================================================================== */

:root{
  --ink: #0b1324;
  --text: #1e293b;
  --muted: #5b6b84;
  --line: #e5eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  --blue: #315ae7;
  --sky: #54c1f6;
  --teal: #26d3b9;
  --live: #22c55e;

  --grad-text: linear-gradient(90deg,#315ae7 0%,#3b8df0 45%,#26c4b0 100%);
  --grad-btn: linear-gradient(120deg,#3d74f6 0%,#315ae7 45%,#3e33ed 100%);

  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 12px -4px rgba(15,23,42,.08);
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 14px 36px -14px rgba(15,23,42,.16);
  --shadow-lg: 0 2px 6px rgba(15,23,42,.05), 0 40px 90px -30px rgba(30,52,120,.38);
  --container: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
html.modal-open{ overflow:hidden; }
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-size:16px; line-height:1.6;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a,button,summary{ cursor:pointer; }
:focus-visible{ outline:3px solid var(--sky); outline-offset:2px; border-radius:6px; }
b,strong{ font-weight:700; color:var(--ink); }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.container{ max-width:var(--container); margin:0 auto; padding:0 16px; }
.container.narrow{ max-width:820px; }
@media (min-width:768px){ .container{ padding:0 32px; } }

h1,h2,h3{ margin:0; color:var(--ink); line-height:1.1; letter-spacing:-.028em; text-wrap:balance; }
h1{ font-size:clamp(2.3rem,5vw,3.9rem); font-weight:800; }
h2{ font-size:clamp(1.75rem,3.4vw,2.6rem); font-weight:800; }
p{ margin:0; }
.grad-text{ background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

section{ padding:104px 0; }
@media (max-width:767px){ section{ padding:72px 0; } }
.section-head{ max-width:760px; margin:0 auto 48px; }
.section-head.center{ text-align:center; }
.section-head p{ margin:16px auto 0; max-width:620px; font-size:1.1rem; line-height:1.65; color:var(--muted); text-wrap:balance; }
.diff h2 .grad-text{ display:block; }
.kicker{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:14px;
  font-size:.8rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--blue);
}
.kicker::before{ content:""; width:18px; height:2px; border-radius:2px; background:var(--grad-text); }

/* Apparition */
.js .rv{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); transition-delay:var(--d,0s); }
.js .rv.in{ opacity:1; transform:none; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height:48px; padding:0 22px; border-radius:12px;
  font:600 1rem/1 'Inter',sans-serif; white-space:nowrap;
  border:1px solid transparent;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn-sm{ height:40px; padding:0 16px; font-size:.92rem; border-radius:10px; }
.btn-lg{ height:58px; padding:0 30px; font-size:1.08rem; border-radius:14px; }
.btn-primary{ color:#fff; background:var(--grad-btn); box-shadow:0 10px 24px -8px rgba(49,90,231,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary::after{
  content:""; position:absolute; inset:0; transform:translateX(-120%);
  background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.28) 50%,transparent 80%);
  animation:shine 4.5s 1.5s infinite;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 32px -10px rgba(49,90,231,.65), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary svg{ transition:transform .2s var(--ease); }
.btn-primary:hover svg{ transform:translateX(3px); }
.btn-dark{ color:#fff; background:var(--ink); }
.btn-dark:hover{ background:#16213a; }
.btn.loading{ opacity:.7; pointer-events:none; }
@keyframes shine{ 0%{ transform:translateX(-120%); } 22%,100%{ transform:translateX(120%); } }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.85); backdrop-filter:saturate(1.6) blur(14px); -webkit-backdrop-filter:saturate(1.6) blur(14px);
  border-bottom:1px solid transparent; transition:border-color .25s, box-shadow .25s;
}
.nav.scrolled{ border-color:var(--line); box-shadow:0 6px 20px -16px rgba(15,23,42,.35); }
.nav-inner{ height:68px; display:flex; align-items:center; gap:28px; }
.brand{ display:flex; align-items:center; gap:8px; }
/* Logo : même rendu que dans l'app (App.vue .logo) : icône + nom en dégradé bleu */
.brand img{ width:28px; height:28px; filter:drop-shadow(0 2px 4px rgba(0,0,0,.1)); }
.brand span{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  font-size:26px; font-weight:700; letter-spacing:normal; line-height:1.2;
  background-color:#0080fb; background-image:linear-gradient(45deg,#0080fb,#0668e1);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
  text-shadow:0 2px 4px rgba(0,0,0,.1);
}
.nav-links{ display:flex; gap:26px; margin-inline-start:auto; }
.nav-links a{ font-size:.95rem; font-weight:500; color:var(--muted); transition:color .2s; }
.nav-links a:hover{ color:var(--ink); }
.nav-actions{ display:flex; align-items:center; gap:16px; }
.nav-login{ font-size:.95rem; font-weight:600; color:var(--ink); }
@media (max-width:860px){ .nav-links{ display:none; } .nav-actions{ margin-inline-start:auto; } }
@media (max-width:420px){ .nav-login{ display:none; } }
/* Petits écrans : logo un peu réduit et barre resserrée pour que tout tienne (pas de défilement horizontal) */
@media (max-width:480px){
  .nav-inner{ gap:10px; } .nav-actions{ gap:8px; }
  .brand{ gap:6px; flex-shrink:0; } .brand img{ width:24px; height:24px; } .brand span{ font-size:20px; }
  .nav .lang-switch select{ padding:5px 4px; }
  .nav .btn-sm{ height:auto; min-height:40px; padding:5px 10px; font-size:.88rem; white-space:normal; line-height:1.15; text-align:center; }
}
@media (max-width:380px){
  .brand img{ width:22px; height:22px; } .brand span{ font-size:18px; }
  .nav .lang-switch select{ font-size:.82rem; } .nav .btn-sm{ font-size:.8rem; }
}
@media (max-width:340px){ .nav-inner{ gap:6px; } .nav-actions{ gap:6px; } .brand span{ font-size:16px; } .nav .lang-switch select{ padding:4px 2px; } .nav .btn-sm{ padding:4px 8px; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero{ position:relative; overflow:hidden; padding:64px 0 56px; background:linear-gradient(180deg,#eef4ff 0%,#fff 62%); }
.hero-bg{ position:absolute; inset:0; pointer-events:none; }
.blob{ position:absolute; border-radius:50%; filter:blur(80px); opacity:.5; }
.b1{ width:560px; height:560px; background:#c4d9ff; top:-220px; right:-120px; }
.b2{ width:420px; height:420px; background:#c7f3ea; top:-120px; left:-160px; }
.hero-copy{ position:relative; text-align:center; max-width:1000px; }
.hero h1{ font-size:clamp(1.95rem,4.3vw,3.3rem); }
.hero h1 .grad-text{ display:block; }
.pill{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:22px;
  padding:7px 14px 7px 12px; border-radius:999px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm);
  font-size:.86rem; font-weight:600; color:var(--text);
}
.pulse{ position:relative; width:8px; height:8px; border-radius:50%; background:var(--live); flex:none; }
.pulse::after{ content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--live); animation:ping 1.8s infinite; }
@keyframes ping{ 0%{ transform:scale(.4); opacity:.8; } 100%{ transform:scale(1.4); opacity:0; } }
.hero .sub{ margin:20px auto 0; max-width:620px; font-size:1.18rem; line-height:1.6; color:var(--muted); }
.hero-ctas{ display:flex; justify-content:center; margin-top:30px; }
.hero-note{ margin-top:12px; font-size:.9rem; color:var(--muted); }
.hero-shot{ position:relative; margin-top:52px; max-width:1260px; }
@media (max-width:767px){
  .hero{ padding:40px 0 48px; }
  .hero-ctas .btn{ width:100%; max-width:420px; }
  .hero-shot{ margin-top:36px; }
}

.proof{
  list-style:none; margin:56px 0 0; padding:26px 0 0; border-top:1px solid var(--line);
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.proof li{ display:flex; flex-direction:column; gap:2px; }
.proof b{ font-size:1.35rem; font-weight:800; letter-spacing:-.02em; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.proof b span{ font-variant-numeric:tabular-nums; }
.proof li > span{ font-size:.9rem; color:var(--muted); }
@media (max-width:767px){ .proof{ grid-template-columns:repeat(2,1fr); margin-top:44px; } }

/* --------------------------------------------------------------------------
   Captures de l'app + bulles
   -------------------------------------------------------------------------- */
.shot{ position:relative; margin:0; border-radius:16px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-lg); }
.shot.frame{ border-radius:18px; }
.shot-img{ position:relative; }
/* Les bulles peuvent sortir du cadre : l'arrondi est sur l'image, pas de overflow:hidden sur la capture */
.shot-img img{ width:100%; height:auto; border-radius:15px; }
.frame .shot-img img{ border-radius:0 0 17px 17px; }
.frame .win-bar{ border-radius:17px 17px 0 0; }
.win-bar{
  height:36px; display:flex; align-items:center; gap:6px; padding:0 14px;
  background:#f3f6fa; border-bottom:1px solid var(--line);
}
.win-bar i{ width:10px; height:10px; border-radius:50%; background:#ff5f57; }
.win-bar i:nth-child(2){ background:#febc2e; }
.win-bar i:nth-child(3){ background:#28c840; }
.win-url{
  margin-inline-start:12px; flex:1; max-width:360px; height:22px; border-radius:6px; background:#fff; border:1px solid var(--line);
  font-size:11px; color:var(--muted); display:flex; align-items:center; padding:0 10px; white-space:nowrap; overflow:hidden;
}

/* Bulle : un point qui pulse sur l'élément, le texte à côté. Apparaît après la capture (--nd). */
.note{
  position:absolute; left:var(--x); top:var(--y); z-index:2; transform:translate(-50%,-50%);
  display:flex; align-items:center; pointer-events:none;
}
.note i{
  position:relative; flex:none; width:14px; height:14px; border-radius:50%;
  background:#ff4d5e; border:3px solid #fff; box-shadow:0 0 0 1px rgba(255,77,94,.4), 0 4px 10px rgba(255,77,94,.45);
}
.note i::after{ content:""; position:absolute; inset:-8px; border-radius:50%; border:2px solid #ff4d5e; opacity:0; animation:ping 2s infinite; }
.note b{
  position:absolute; top:50%; white-space:nowrap;
  padding:7px 12px; border-radius:10px; background:var(--ink); color:#fff;
  font-size:.82rem; font-weight:700; letter-spacing:-.005em; line-height:1.2;
  box-shadow:0 10px 24px -8px rgba(11,19,36,.55);
}
.note.r b{ left:22px; transform:translateY(-50%); }
.note.l b{ right:22px; transform:translateY(-50%); }
.note.t b, .note.tl b, .note.tr b{ top:auto; bottom:20px; }
.note.t b{ left:50%; transform:translateX(-50%); }
.note.tl b{ right:-10px; }
.note.tr b{ left:-10px; }
.js .note{ opacity:0; transition:opacity .45s var(--ease), transform .45s var(--ease); transform:translate(-50%,-50%) scale(.6); }
.js .in .note{ opacity:1; transform:translate(-50%,-50%); transition-delay:var(--nd,0s); }
.notes-m{ display:none; }
@media (max-width:699px){
  .notes-d{ display:none; }
  .notes-m{ display:block; }
  .note b{ font-size:.72rem; padding:5px 9px; }
}

/* --------------------------------------------------------------------------
   Fonctionnalités (texte + capture, en alternance)
   -------------------------------------------------------------------------- */
.features{ padding-top:96px; overflow-x:clip; }
.feat{ display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:64px; align-items:center; }
.feat + .feat{ margin-top:120px; }
.feat.rev{ grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr); }
.feat.rev .feat-copy{ order:2; }
/* Captures larges : le texte au-dessus, les captures sur toute la largeur */
.feat.wide{ grid-template-columns:1fr; gap:40px; }
.feat.wide .feat-copy{ text-align:center; max-width:680px; margin:0 auto; }
.feat.wide .feat-copy p{ margin-left:auto; margin-right:auto; max-width:600px; }
.feat.wide .stack{ max-width:1080px; margin:0 auto; width:100%; }
.feat-copy h2{ font-size:clamp(1.7rem,3vw,2.35rem); }
.feat-copy p{ margin-top:16px; font-size:1.1rem; line-height:1.65; color:var(--muted); max-width:460px; }
.feat-link{ display:inline-flex; align-items:center; gap:8px; margin-top:22px; font-weight:700; color:var(--blue); }
.feat-link svg{ transition:transform .2s var(--ease); }
.feat-link:hover svg{ transform:translateX(3px); }
/* Carte de pub : seulement le haut (dates, prix), l'image est déjà recadrée */
.card-shot{ max-width:400px; justify-self:center; width:100%; }
.card-shot::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:80px; border-radius:0 0 15px 15px; background:linear-gradient(rgba(255,255,255,0),#fff); pointer-events:none; z-index:1; }
.stack{ display:grid; gap:22px; }
@media (max-width:959px){
  .feat, .feat.rev{ grid-template-columns:1fr; gap:32px; }
  .feat.rev .feat-copy{ order:0; }
  .feat + .feat{ margin-top:88px; }
  .feat-copy{ text-align:center; }
  .feat-copy p{ margin-left:auto; margin-right:auto; }
}
@media (max-width:600px){
  .note b{ font-size:.7rem; }
  .shot{ border-radius:12px; }
}

/* --------------------------------------------------------------------------
   Comparatif
   -------------------------------------------------------------------------- */
.diff{ background:var(--bg-soft); }
.vs{ max-width:960px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.vs-head, .vs-row{ display:grid; grid-template-columns:1fr 1.1fr 1.1fr; }
.vs-head span{ padding:18px 22px; font-weight:700; color:var(--muted); font-size:.95rem; }
.vs-head .us{ display:flex; align-items:center; gap:8px; color:var(--ink); background:#f3f7ff; }
.vs-row span{ padding:16px 22px; border-top:1px solid var(--line); font-size:.97rem; }
.vs-row span:first-child{ font-weight:600; color:var(--ink); }
.vs-row .no{ color:#8a96aa; display:flex; gap:10px; align-items:flex-start; }
.vs-row .no::before{ content:"×"; flex:none; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; background:#f1f5f9; color:#94a3b8; font-weight:700; line-height:1; }
.vs-row .yes{ background:#f3f7ff; color:var(--ink); font-weight:600; display:flex; gap:10px; align-items:flex-start; }
.vs-row .yes::before{
  content:""; flex:none; width:20px; height:20px; border-radius:50%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 4.7 9 10 3' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--grad-btn);
  background-size:12px, 100%; background-position:center; background-repeat:no-repeat;
}
@media (max-width:720px){
  .vs-head{ display:none; }
  .vs-row{ grid-template-columns:1fr; padding:16px 18px; border-top:1px solid var(--line); gap:8px; }
  .vs-row:first-of-type{ border-top:0; }
  .vs-row span{ padding:0; border:0; }
  .vs-row .yes{ background:none; }
}

/* --------------------------------------------------------------------------
   Avis
   -------------------------------------------------------------------------- */
.reviews{ overflow:hidden; }
.reviews .section-head{ padding:0 16px; }
.marquee{ -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee-track{ display:flex; width:max-content; animation:marquee 70s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-group{ display:flex; gap:20px; padding-right:20px; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
.review{ margin:0; width:360px; flex:none; background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px 24px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.review .stars{ color:#f5a524; letter-spacing:2px; font-size:.95rem; }
.review blockquote{ margin:10px 0 16px; color:var(--text); font-size:.97rem; line-height:1.6; flex:1; }
.review figcaption{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:.92rem; color:var(--ink); }
.review figcaption img{ width:36px; height:36px; border-radius:50%; object-fit:cover; }
@media (max-width:560px){ .review{ width:290px; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq{ background:var(--bg-soft); }
.faq-list{ display:grid; gap:12px; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:16px; transition:border-color .2s, box-shadow .2s; }
.faq-item[open]{ border-color:#cddaff; box-shadow:var(--shadow-sm); }
.faq-item summary{ list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 22px; font-weight:600; color:var(--ink); font-size:1.03rem; }
.faq-item summary::-webkit-details-marker{ display:none; }
.chev{ flex:none; width:28px; height:28px; border-radius:50%; background:#f1f5f9; position:relative; transition:background .2s; }
.chev::before, .chev::after{ content:""; position:absolute; top:13px; left:8px; width:12px; height:2px; border-radius:2px; background:var(--ink); transition:transform .3s var(--ease); }
.chev::after{ transform:rotate(90deg); }
.faq-item[open] .chev{ background:#eef3ff; }
.faq-item[open] .chev::after{ transform:rotate(0deg); }
.faq-item p{ padding:0 22px 22px; color:var(--muted); line-height:1.7; }

/* --------------------------------------------------------------------------
   Choix « tester maintenant / recevoir le lien » (fenêtre + bas de page)
   -------------------------------------------------------------------------- */
.choice{ display:grid; gap:16px; width:100%; max-width:460px; margin:0 auto; }
.choice > .btn{ width:100%; }
.or{ display:flex; align-items:center; gap:12px; font-size:.86rem; color:var(--muted); }
.or::before, .or::after{ content:""; flex:1; height:1px; background:var(--line); }
.lf-tabs{ display:inline-flex; gap:4px; padding:4px; margin-bottom:10px; border-radius:11px; background:#f1f5f9; }
.lf-tabs button{ border:0; background:none; font:600 .86rem/1 'Inter',sans-serif; color:var(--muted); padding:8px 14px; border-radius:8px; }
.lf-tabs button.on{ background:#fff; color:var(--ink); box-shadow:var(--shadow-sm); }
.lf-row{ display:flex; gap:8px; }
.lf-input{
  flex:1; min-width:0; height:50px; padding:0 14px; border-radius:12px; border:1.5px solid #d6e0f5; background:#fff;
  font:500 1rem 'Inter',sans-serif; color:var(--ink); transition:border-color .2s, box-shadow .2s;
}
.lf-input:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(49,90,231,.12); }
.lf-input[hidden]{ display:none; }
.lf-row .btn{ flex:none; height:50px; }
.lf-msg{ margin-top:8px; font-size:.88rem; font-weight:600; color:#dc2626; }
.lf-msg:empty{ display:none; }
.lf-done{ display:flex; align-items:center; justify-content:center; gap:10px; min-height:50px; font-size:.98rem; color:var(--muted); }
.lf-done[hidden]{ display:none; }
.lf-check{ flex:none; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--grad-btn); }
.lf-check svg{ width:14px; height:14px; fill:none; stroke:#fff; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.lf-to{ word-break:break-all; }
@media (max-width:480px){ .lf-row{ flex-direction:column; } .lf-input{ flex:none; width:100%; } .lf-row .btn{ width:100%; } }

/* Version sur fond sombre (bas de page) */
.choice.dark .or{ color:#94a3b8; }
.choice.dark .or::before, .choice.dark .or::after{ background:rgba(255,255,255,.14); }
.choice.dark .lf-input{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); color:#fff; }
.choice.dark .lf-input::placeholder{ color:#8a98b2; }
.choice.dark .btn-dark{ background:#fff; color:var(--ink); }
.choice.dark .lf-done, .choice.dark .lf-to{ color:#e2e8f0; }
.choice.dark .lf-msg{ color:#fca5a5; }
.choice.dark .lf-tabs{ background:rgba(255,255,255,.08); }
.choice.dark .lf-tabs button{ color:#94a3b8; }
.choice.dark .lf-tabs button.on{ background:#fff; color:var(--ink); }

/* Fenêtre */
.try-modal{
  width:min(480px, calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:34px 28px 28px; border:0; border-radius:24px;
  background:#fff; color:var(--text); box-shadow:0 40px 100px -20px rgba(2,8,23,.5); overflow:auto; text-align:center;
}
.try-modal::backdrop{ background:rgba(11,19,36,.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.try-modal[open]{ animation:modalIn .3s var(--ease); }
@keyframes modalIn{ from{ opacity:0; transform:translateY(16px) scale(.98); } to{ opacity:1; transform:none; } }
.try-modal h2{ font-size:1.6rem; margin-bottom:22px; }
.tm-close{
  position:absolute; top:12px; inset-inline-end:12px; width:36px; height:36px; border-radius:50%; border:0; background:#f1f5f9;
  display:grid; place-items:center;
}
.tm-close svg{ width:16px; height:16px; fill:none; stroke:var(--ink); stroke-width:2.2; stroke-linecap:round; }
.tm-close:hover{ background:#e2e8f0; }
@media (max-width:560px){
  .try-modal{ width:100%; max-width:none; margin:auto 0 0; border-radius:22px 22px 0 0; padding:30px 18px calc(22px + env(safe-area-inset-bottom)); }
  .try-modal[open]{ animation:sheetIn .3s var(--ease); }
}
@keyframes sheetIn{ from{ transform:translateY(100%); } to{ transform:none; } }

/* --------------------------------------------------------------------------
   Bas de page
   -------------------------------------------------------------------------- */
.final{ position:relative; overflow:hidden; background:radial-gradient(ellipse 70% 80% at 50% 0%,#18264a 0%,#0a1120 70%); color:#fff; text-align:center; padding:112px 0; }
.final-inner{ position:relative; max-width:760px; }
.final h2{ color:#fff; font-size:clamp(2rem,4.4vw,3.1rem); margin-bottom:36px; }
@media (max-width:767px){ .final{ padding:84px 0; } }

.footer{ background:#0a1120; color:#9fb0c8; padding:64px 0 32px; border-top:1px solid rgba(255,255,255,.07); }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; }
.footer .about{ margin-top:14px; max-width:320px; font-size:.93rem; line-height:1.6; }
.footer h4{ margin:0 0 14px; color:#fff; font-size:.95rem; }
.footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; font-size:.93rem; }
.footer ul a:hover{ color:#fff; }
.legal{ margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.08); font-size:.8rem; line-height:1.6; color:#7d8ba3; display:grid; gap:8px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; } }

/* Bouton fixe sur mobile */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:60; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.94); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-top:1px solid var(--line);
  transform:translateY(110%); transition:transform .35s var(--ease); display:none;
}
.sticky-cta .btn{ width:100%; }
.sticky-cta.show{ transform:none; }
@media (max-width:767px){ .sticky-cta{ display:block; } .footer{ padding-bottom:100px; } }

/* --------------------------------------------------------------------------
   Mouvements réduits
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .marquee-track{ animation:none; flex-wrap:wrap; width:auto; justify-content:center; }
  .marquee-group[aria-hidden]{ display:none; }
  .marquee-group{ flex-wrap:wrap; justify-content:center; padding:0 16px; }
  .marquee{ -webkit-mask-image:none; mask-image:none; }
}

/* ---------- Sélecteur de langue (layout/_langSwitch.ejs) ---------- */
.lang-switch{ display:inline-flex; align-items:center; gap:6px; color:var(--muted, #64748b); font-size:.9rem; }
.lang-switch select{ border:1px solid var(--line); background:#fff; color:var(--ink); border-radius:8px; padding:5px 8px; font:inherit; cursor:pointer; }
@media (max-width:420px){ .lang-switch svg{ display:none; } }

/* ---------- Arabe (dir="rtl") : police arabe, flèches vers la gauche. Les captures de l'app et leurs bulles restent
   telles quelles (images en anglais, positions en % de l'image) ---------- */
html[lang="ar"] body{ font-family:'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif; }
[dir="rtl"] .btn svg, [dir="rtl"] .feat-link svg{ transform:scaleX(-1); }
[dir="rtl"] .btn-primary:hover svg, [dir="rtl"] .feat-link:hover svg{ transform:scaleX(-1) translateX(3px); }
[dir="rtl"] .shot, [dir="rtl"] .shot-img{ direction:ltr; }
[dir="rtl"] .shot .note b{ direction:rtl; }
/* L'espacement des lettres casse la liaison des lettres arabes */
html[lang="ar"] *{ letter-spacing:0 !important; }
