/* VIA website: the app's colours (night violet, gold, ivory) and its font (Nunito). */
:root {
  --night: #1c1540;
  --night2: #34267f;
  --deep: #0e0a24;
  --gold: #ffbc32;
  --gold-ink: #2a1d05;
  --gold-soft: #ffe3a3;
  --ivory: #fbf6ee;
  --cream: #fffaf2;
  --ink: #1e1838;
  --muted: #5e5878;
  --violet: #4b32c3;
  --lav: #dcd3ff;
  --lav2: #c9c0ee;
  --line: #ede6da;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; font-size: 0.85rem; color: var(--violet); margin-bottom: 0.6em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 246, 238, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top.on-dark { background: rgba(28, 21, 64, 0.88); border-bottom-color: rgba(255, 255, 255, 0.08); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 900; font-size: 1.35rem; letter-spacing: 0.04em; }
.brand img { border-radius: 10px; }
.on-dark .brand, .on-dark .nav a, .on-dark .langs a { color: #fff; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
.nav a:hover { color: var(--violet); }
.on-dark .nav a:hover { color: var(--gold); }
/* Language switch: FR / EN / IT, the current one filled. */
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1.5px solid rgba(30, 24, 56, 0.25); }
.on-dark .langs { border-color: rgba(255, 255, 255, 0.3); }
.langs a { text-decoration: none; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 999px; color: var(--ink); opacity: 0.75; }
.langs a:hover { opacity: 1; }
.langs a.on { background: var(--ink); color: #fff; opacity: 1; }
.on-dark .langs a.on { background: #fff; color: var(--night); }
@media (max-width: 760px) { .nav { display: none; } .langs { margin-left: auto; } }

/* App Store button */
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 14px; font-weight: 800; font-size: 0.95rem; border: 1.5px solid rgba(255, 255, 255, 0.25); }
.store.big { padding: 14px 24px; font-size: 1.05rem; border-radius: 16px; }
.store:hover { background: #222; }
.store.soon { background: rgba(0, 0, 0, 0.75); cursor: default; }
.button { display: inline-block; background: var(--gold); color: var(--gold-ink); text-decoration: none; font-weight: 900; padding: 13px 24px; border-radius: 16px; box-shadow: 0 4px 0 #d99a12; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 35%, rgba(255, 188, 50, 0.22), transparent 42%), linear-gradient(180deg, var(--night) 0%, var(--night2) 100%); padding: 56px 0 72px; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0.5; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.1; } }
@media (prefers-reduced-motion: reduce) { .stars i { animation: none; } html { scroll-behavior: auto; } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero .kicker { color: var(--gold); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--lav2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.free { color: var(--gold-soft); font-weight: 700; }
.hero-phone { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .cta { justify-content: center; }
}

/* Phone frame */
.phone { margin: 0; width: min(300px, 78vw); aspect-ratio: 780 / 1588; border-radius: 44px; padding: 10px; background: var(--deep); box-shadow: 0 30px 60px rgba(14, 10, 36, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.08); position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: var(--deep); z-index: 1; }
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; background: #33267e; }
/* Hero: Home behind, the road sliding in front. */
.hero-phone.duo { display: grid; justify-items: center; align-items: center; padding: 8px 0 18px; }
.duo .phone { grid-area: 1 / 1; width: min(262px, 44vw); }
.duo .back { transform: translateX(32%) rotate(7deg) scale(0.9); filter: brightness(0.82); }
.duo .front { z-index: 1; transform: translateX(-24%) rotate(-3deg); box-shadow: 0 30px 80px rgba(255, 188, 50, 0.2), 0 30px 60px rgba(0, 0, 0, 0.5); }
@media (max-width: 860px) { .hero-phone.duo { margin-top: 12px; } .duo .phone { width: min(230px, 44vw); border-radius: 30px; padding: 7px; } .duo .phone img, .duo .phone video { border-radius: 24px; } .duo .phone::before { top: 12px; width: 54px; height: 16px; } }
.phone.tilt { transform: rotate(3deg); box-shadow: 0 30px 80px rgba(255, 188, 50, 0.18), 0 30px 60px rgba(0, 0, 0, 0.5); }

/* Sections */
section { padding: 84px 0; }
.how { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(30, 24, 56, 0.06); }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--gold-ink); font-weight: 900; margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.paint { background: var(--night); color: #fff; overflow: hidden; }
.paint .lead { color: var(--lav2); }
.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 34px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 auto; width: 220px; scroll-snap-align: center; }
.gallery img { width: 220px; height: 330px; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4); }
.gallery figcaption { margin-top: 10px; font-weight: 700; color: var(--lav); font-size: 0.95rem; }
@media (min-width: 1200px) { .gallery { justify-content: center; } .gallery figure { width: 160px; } .gallery img { width: 160px; height: 240px; } }

.feature-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature:nth-of-type(odd) { background: #fff; }
.feature-phone { display: flex; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 32px; margin: 10px 0; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-size: 0.8rem; display: grid; place-items: center; font-weight: 900; }
@media (max-width: 860px) { .feature-in { grid-template-columns: 1fr; gap: 32px; } .feature.flip .feature-text { order: 0; } }

.stories { background: var(--cream); }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.story-col { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(30, 24, 56, 0.06); }
.story-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story-col li { background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.95rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.dot.gold { background: var(--gold); }
.dot.violet { background: var(--violet); }
.note { margin-top: 24px; color: var(--muted); font-style: italic; }
@media (max-width: 760px) { .story-cols { grid-template-columns: 1fr; } }

.duo-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-dark, .card-light { border-radius: 28px; padding: 36px; }
.card-dark { background: linear-gradient(160deg, var(--night), var(--night2)); color: #fff; }
.card-dark .kicker { color: var(--gold); }
.card-dark p { color: var(--lav2); }
.card-light { background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(30, 24, 56, 0.06); }
.card-light p { color: var(--muted); }
@media (max-width: 760px) { .duo-in { grid-template-columns: 1fr; } }

.plus { background: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.plan { border-radius: var(--radius); padding: 28px; background: var(--ivory); border: 1px solid var(--line); }
.plan.gold { background: linear-gradient(160deg, #fff4d6, #ffe3a3); border-color: #f2c96a; }
.fine { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.faq { background: var(--cream); }
details { background: #fff; border-radius: 18px; padding: 18px 22px; margin: 12px 0; box-shadow: 0 1px 0 var(--line); }
summary { font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--violet); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

.final { background: linear-gradient(180deg, var(--night2), var(--night)); color: #fff; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final img { border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }

/* Documents: support, deletion, legal */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc p, .doc li { color: #3a3456; }
.nf-other { font-size: 0.95rem; margin: 0.4em 0 0; }
.contact { background: #fff; border-radius: var(--radius); padding: 24px 26px; margin: 28px 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(30, 24, 56, 0.06); }
.contact h2 { margin-top: 0; }
.numbered { padding-left: 1.3em; }
.numbered li { margin: 8px 0; font-weight: 700; }
.hint { background: var(--cream); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 10px; }
.more { margin-top: 24px; font-weight: 800; }
.draft { background: #fff1d6; color: #6b4a00; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 0.95rem; }
.updated { color: var(--muted); font-weight: 600; }
.docs { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
.docs h2 { width: 100%; font-size: 1rem; margin: 0 0 4px; color: var(--muted); }
.docs a { font-weight: 700; }

/* Footer */
.foot { background: var(--deep); color: var(--lav2); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot p { margin: 12px 0 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.foot-cols a { display: block; color: var(--lav2); text-decoration: none; margin: 8px 0; font-weight: 600; }
.foot-cols a:hover { color: var(--gold); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
.foot-base a { color: var(--lav2); }
.foot-langs span { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-base { flex-direction: column; } }
