/* Deskies — site. Page claire, titres en deux temps, visuels de l'app en grand. */

:root {
  --paper: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --soft: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.09);
  --red: #d3222b;
  --red-deep: #b01a22;
  --night: #0e1330;
  --gold: #f2a93b;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 28px;
  --nav-h: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, canvas { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid #1f70e0; outline-offset: 3px; border-radius: 8px; }

/* ---------- Titres : une phrase forte, une phrase en retrait ---------- */

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.015em; line-height: 1.22; }
.dim { color: var(--faint); }
.warm {
  background: linear-gradient(100deg, #f2994a 0%, #e8502f 45%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.label { font-size: 0.95rem; font-weight: 600; color: var(--red); letter-spacing: 0.01em; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.45; color: var(--soft); max-width: 40em; text-wrap: pretty; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1.06rem/1 var(--text); letter-spacing: -0.01em; text-decoration: none; color: #fff;
  background: var(--red);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 24px -10px rgba(211, 34, 43, 0.75);
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark:hover { background: #000; }
.btn-small { padding: 9px 16px; font-size: 0.9rem; gap: 7px; box-shadow: none; }
.btn-small svg { width: 15px; height: 15px; }
.btn-wide { width: 100%; padding-block: 17px; font-size: 1.1rem; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light:hover { background: #f0f0f3; }

.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: #1f70e0; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more svg { width: 14px; height: 14px; }

/* ---------- Barre du haut ---------- */

/* Part of the opening at the top of the page (transparent over its sky, the page slides under
   it); once the page scrolls, it floats as a frosted pill. */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); margin-bottom: calc(-1 * var(--nav-h));
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav-inner {
  display: flex; align-items: center; gap: 22px;
  max-width: 1200px; height: 66px; margin-inline: auto; padding: 0 12px 0 16px;
  border-radius: 999px; border: 1px solid transparent; pointer-events: auto;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 14px 34px -16px rgba(20, 30, 80, 0.32);
}
.brand { flex: none; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.5rem/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 8px 16px -8px rgba(20, 30, 80, 0.5); }
.nav nav { display: flex; gap: 4px; margin-inline: auto; }
.nav nav a {
  padding: 11px 17px; border-radius: 999px; text-decoration: none; font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); opacity: 0.8; transition: opacity 0.15s, background 0.15s;
}
.nav nav a:hover { opacity: 1; background: rgba(20, 30, 80, 0.06); }
.nav-end { flex: none; display: flex; align-items: center; gap: 12px; }
.btn-nav { padding: 13px 22px; font-size: 1rem; gap: 8px; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55); }
.btn-nav svg { width: 17px; height: 17px; }

/* Choix de la langue */
.lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(20, 30, 80, 0.07); }
.lang button {
  min-width: 42px; padding: 8px 11px; border: 0; border-radius: 999px; cursor: pointer; background: transparent;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--soft); transition: background 0.15s, color 0.15s;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }

/* ---------- Ouverture ---------- */

.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 84px)) 0 clamp(40px, 6vw, 80px); text-align: center; background: linear-gradient(180deg, #eaf1ff 0%, #f6f9ff 34%, #fff 70%); overflow: hidden; }
.flakes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero > .wrap { position: relative; }
.hero h1 { margin: 0 auto 22px; max-width: 12.5em; }
.hero .lede { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 34px; }
.fineprint { margin-top: 16px; font-size: 0.88rem; color: var(--faint); }

/* Le cadre où passent les vidéos */
.screen {
  position: relative; margin: clamp(52px, 7vw, 84px) auto 0;
  border-radius: var(--radius); background: var(--night);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 50px 90px -36px rgba(24, 32, 90, 0.5), 0 24px 40px -24px rgba(24, 32, 90, 0.3);
}
.screen video, .screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--night); }
.caption { margin-top: 16px; font-size: 0.84rem; color: var(--faint); text-align: center; }
/* The opening film, in a laptop drawn in CSS: dark bezel, a camera dot, a light base */
.laptop { position: relative; width: min(1060px, 100%); margin: clamp(52px, 7vw, 84px) auto 0; }
.laptop-lid {
  position: relative; padding: 2.1% 2.1% 2.4%; border-radius: clamp(14px, 2.4vw, 28px) clamp(14px, 2.4vw, 28px) 8px 8px;
  background: #0e0f13;
  box-shadow: inset 0 0 0 2px #2a2c33, 0 0 0 1px rgba(0, 0, 0, 0.22), 0 50px 90px -36px rgba(24, 32, 90, 0.5), 0 24px 40px -24px rgba(24, 32, 90, 0.3);
}
.laptop-lid::before {
  content: ""; position: absolute; top: 0.85%; left: 50%; width: 6px; height: 6px; transform: translateX(-50%);
  border-radius: 50%; background: #23252c; box-shadow: inset 0 0 0 1.5px #34373f;
}
.laptop-screen { position: relative; overflow: hidden; border-radius: clamp(4px, 0.8vw, 9px); background: #000; }
.laptop-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--night); }
.laptop-base {
  position: relative; height: clamp(10px, 1.7vw, 20px); margin: 0 -5%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #eceef1 0%, #cfd2d8 55%, #a8acb4 100%);
  box-shadow: 0 22px 34px -20px rgba(20, 24, 60, 0.5);
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%);
  border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #b9bcc3, #d6d9de);
}
/* The button that starts it */
.play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px 17px 22px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 16px 36px -12px rgba(8, 12, 40, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.play:hover { transform: translate(-50%, -50%) scale(1.04); background: #fff; }
.play:focus-visible { outline: 3px solid #1f70e0; outline-offset: 3px; }
.play svg { width: 20px; height: 20px; color: var(--red); }
.play .again { display: none; }
.laptop.ended .play .first { display: none; }
.laptop.ended .play .again { display: inline; }
.laptop.playing .play { opacity: 0; pointer-events: none; }

/* Filmed on the Mac with a phone: upright (4:5) */
.screen.tall { width: min(420px, 100%); }
.screen.tall video, .screen.tall img { aspect-ratio: 4 / 5; }

/* La neige qui s'amasse sur un cadre (dessinée par app.js) */
.snowcap { position: absolute; left: 0; pointer-events: none; z-index: 3; max-width: none; }

/* ---------- Sections ---------- */

section { position: relative; }
.band { padding: clamp(68px, 9vw, 128px) 0; }
.band.mist { background: var(--mist); }
.head { max-width: 820px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.head .label { margin-bottom: 12px; }
.head .lede { margin: 18px auto 0; }

/* Compagnons */
.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 104px; }
.buddy {
  position: relative; padding: 148px 24px 30px; border-radius: var(--radius); text-align: center; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 22px 40px -30px rgba(20, 30, 80, 0.3);
}
.buddy::before { content: ""; position: absolute; inset: 0 0 46% 0; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 24%, #fff), #fff); }
.buddy > * { position: relative; }
.buddy img { position: absolute; left: 50%; top: -98px; width: min(232px, 76%); transform: translateX(-50%); filter: drop-shadow(0 18px 18px rgba(30, 30, 60, 0.22)); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.buddy:hover img { transform: translateX(-50%) translateY(-10px) rotate(-2deg); }
.buddy .role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 72%, #3a2a1a); }
.buddy h3 { margin: 8px 0 8px; font-size: 1.7rem; }
.buddy p { color: var(--soft); font-size: 0.98rem; }

/* Two clips side by side, under the cards */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: clamp(18px, 3vw, 36px); margin-top: clamp(52px, 7vw, 80px); }
.clip video {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--night);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 34px 60px -30px rgba(24, 32, 90, 0.45);
}
.clip figcaption { margin-top: 14px; text-align: center; color: var(--soft); font-size: 0.95rem; }

.habits { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 40px; }
.habits li { padding: 9px 15px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 0.93rem; color: #3a3a3f; }

/* Vidéo en grand, trois points dessous */
.show .screen { margin-top: 0; }
.trio-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 34px; margin-top: clamp(30px, 4vw, 48px); }
.trio-points li { color: var(--soft); }
.trio-points strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; }
.trio-points.numbered { counter-reset: step; }
.trio-points.numbered li { counter-increment: step; }
.trio-points.numbered li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%;
  font-weight: 700; color: #fff; background: var(--red);
}
.after { max-width: 44em; margin: 26px auto 0; text-align: center; color: var(--soft); }

/* Upright clip on one side, words on the other */
.split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 560px); justify-content: center; align-items: center; gap: clamp(36px, 7vw, 96px); }
.split.flip > .screen { order: 2; }
.split > .screen { margin: 0; }
.split .head { max-width: none; margin: 0 0 clamp(26px, 3vw, 36px); text-align: left; }
.split .head .lede { margin-left: 0; }
.split .after { margin: 26px 0 0; text-align: left; }
.trio-points.stacked { grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
.trio-points.stacked li { padding-left: 18px; border-left: 2px solid var(--line); }
.trio-points.stacked.numbered li { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding-left: 0; border-left: 0; }
.trio-points.stacked.numbered li::before { grid-row: span 2; margin: 0; }

/* Mosaïque de Noël */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; }
.band.mist .tile { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.tile.wide { grid-column: span 4; }
.tile.slim { grid-column: span 2; justify-content: flex-end; background: var(--night); color: #fff; }
.band.mist .tile.slim { background: var(--night); box-shadow: none; }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.tile.wide img { aspect-ratio: 2 / 1; }
.tile:hover img { transform: scale(1.03); }
.tile .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.tile .pair img { aspect-ratio: 1 / 1; }
.tile-text { padding: 22px 24px 26px; }
.tile-text p { margin-top: 7px; color: var(--soft); font-size: 0.98rem; }
.tile.slim .tile-text p { color: rgba(255, 255, 255, 0.72); }
.tile.slim { justify-content: space-between; background: linear-gradient(180deg, #1c2456, var(--night)); }
.tile.slim img.cut { flex: 1; min-height: 0; aspect-ratio: auto; object-fit: contain; object-position: center bottom; padding: 22px 16px 0; }
.tile.slim img.cut.top { object-position: center top; padding: 0 14px; }
.tile.slim:hover img.cut { transform: none; }
/* Fills what the row leaves, without making the row taller */
.tile.slim img.photo { flex: 1 1 0; height: 0; min-height: 180px; aspect-ratio: auto; object-fit: cover; object-position: center 36%; }
.tile video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--night); }
.tile.wide video { aspect-ratio: 2 / 1; }
.tile.full { grid-column: 1 / -1; }
.tile.full .pair img { aspect-ratio: 16 / 10; }

/* Cadeaux */
.gift { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.gift h2 { margin: 12px 0 16px; }
.gift p { color: var(--soft); }
.gift .note { margin-top: 16px; font-size: 0.92rem; color: var(--faint); }
.wraps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wraps span { padding: 7px 12px; border-radius: 999px; background: var(--mist); font-size: 0.86rem; color: #3a3a3f; }
.band.mist .wraps span { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.link-card { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -34px rgba(20, 30, 80, 0.4); }
.link-card .to { font-size: 0.84rem; color: var(--faint); }
.link-card .bubble { margin-top: 12px; padding: 13px 16px; border-radius: 20px 20px 20px 6px; background: #1f8bff; color: #fff; font-size: 0.97rem; line-height: 1.4; }
.link-card .bubble code { display: block; margin-top: 6px; font: 500 0.8rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; opacity: 0.86; word-break: break-all; }
.link-card .reply { margin: 10px 0 0 auto; width: fit-content; padding: 11px 15px; border-radius: 20px 20px 6px 20px; background: var(--mist); font-size: 0.97rem; }

/* Trois étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { padding: 28px 26px 30px; border-radius: var(--radius); background: var(--mist); counter-increment: step; }
.band.mist .steps li { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.steps li::before { content: counter(step); display: block; margin-bottom: 18px; font: 700 2.6rem/1 var(--display); letter-spacing: -0.04em; color: var(--red); }
.steps p { margin-top: 8px; color: var(--soft); font-size: 0.98rem; }

/* Légèreté */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: var(--mist); }
.band.mist .stat { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.stat b { display: block; font: 700 clamp(2.3rem, 4.4vw, 3.2rem)/1 var(--display); letter-spacing: -0.04em; }
.stat p { margin-top: 12px; color: var(--soft); font-size: 0.98rem; }
.aside { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--faint); font-size: 0.95rem; }

/* Prix */
.price-zone { display: grid; place-items: center; padding-top: 140px; }
.price-card {
  position: relative; width: min(500px, 100%); padding: 44px clamp(22px, 5vw, 42px) 34px; text-align: center; color: #fff;
  border-radius: 32px; background: linear-gradient(180deg, #1a2150, var(--night));
  box-shadow: 0 50px 90px -40px rgba(20, 28, 90, 0.75);
}
.price-card .trio { position: absolute; left: 50%; bottom: calc(100% - 26px); width: min(420px, 88%); max-width: none; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 14px 14px rgba(20, 20, 50, 0.3)); }
.price-card .edition { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.amount { margin: 16px 0 2px; font: 700 clamp(4rem, 11vw, 5.4rem)/1 var(--display); letter-spacing: -0.05em; }
.once { color: rgba(255, 255, 255, 0.72); }
.includes { display: grid; gap: 12px; margin: 28px 0; text-align: left; }
.includes li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, 0.86); }
.includes li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(242, 169, 59, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23f2a93b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.price-card .needs { margin-top: 16px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }
.below-price { margin-top: 26px; text-align: center; font-size: 0.92rem; color: var(--faint); }
.below-price a { color: #1f70e0; text-decoration: none; }
.below-price a:hover { text-decoration: underline; }

/* Questions : une simple liste */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 4px; cursor: pointer; list-style: none; font: 600 1.1rem/1.3 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-right: 6px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 40px 22px 4px; color: var(--soft); }

/* Fin */
.closing { text-align: center; }
.closing h2 { margin-bottom: 28px; }

footer { padding: 46px 0 40px; background: var(--mist); color: var(--soft); font-size: 0.86rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot .brand { font-size: 1.02rem; color: var(--ink); }
.foot .brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot .tag { margin-top: 12px; max-width: 26em; }
.foot h3 { font: 600 0.8rem/1 var(--text); letter-spacing: 0.02em; color: var(--ink); margin-bottom: 14px; }
.foot li { margin-bottom: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--faint); }
.legal p { max-width: 64em; }

/* Fenêtres : téléchargement lancé, vente pas encore ouverte */
dialog { width: min(470px, calc(100% - 32px)); padding: 30px 28px 26px; border: 0; border-radius: 26px; color: var(--ink); background: #fff; box-shadow: 0 40px 100px rgba(10, 14, 40, 0.4); }
dialog::backdrop { background: rgba(20, 22, 40, 0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog h3 { font-size: 1.5rem; text-align: center; }
dialog > p { margin: 10px 0 20px; color: var(--soft); text-align: center; }
dialog form { text-align: center; margin-top: 22px; }
.install { display: grid; gap: 13px; margin: 22px 0 0; text-align: left; counter-reset: step; }
.install li { position: relative; padding: 4px 0 4px 48px; color: var(--soft); counter-increment: step; }
.install li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--red); }
.install strong { color: var(--ink); font-weight: 600; }
.heads-up { margin-top: 20px; padding: 14px 16px; border-radius: 16px; text-align: left; font-size: 0.92rem; color: #5b4a1c; background: #fff6e0; }
.heads-up strong { color: #8a5a00; }

/* Apparition au défilement */
.rise { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rise.seen { opacity: 1; transform: none; }

/* ---------- Page de remerciement ---------- */

.thanks { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 150px var(--gutter) 70px; background: linear-gradient(180deg, #eaf1ff 0%, #fff 60%); }
.thanks-card { position: relative; width: min(620px, 100%); padding: 46px clamp(22px, 5vw, 48px) 38px; text-align: center; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(20, 28, 90, 0.4); }
.thanks-card .trio { position: absolute; left: 50%; bottom: calc(100% - 26px); width: min(400px, 86%); max-width: none; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 14px 14px rgba(20, 20, 50, 0.22)); }
.thanks-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.thanks-card .lede { margin: 0 auto 26px; }
.thanks-card .needs { margin-top: 14px; font-size: 0.86rem; color: var(--faint); }
.thanks-card .keep { margin: 22px auto 0; max-width: 31em; font-size: 0.9rem; color: var(--soft); text-wrap: pretty; }
.thanks-card .keep strong { color: var(--ink); font-weight: 600; }
.back { display: inline-block; margin-top: 22px; color: #1f70e0; font-size: 0.93rem; text-decoration: none; }
.back:hover { text-decoration: underline; }

/* ---------- Page légale (un bloc par langue, choisi par EN/FR) ---------- */

html[lang="fr"] [data-only="en"],
html:not([lang="fr"]) [data-only="fr"] { display: none; }
.legal-page { padding: calc(var(--nav-h) + 44px) 0 80px; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-toc a { padding: 8px 15px; border-radius: 999px; background: var(--mist); color: #3a3a3f; font-size: 0.92rem; text-decoration: none; }
.legal-toc a:hover { background: #e8e8ed; color: var(--ink); }
.legal-text { max-width: 46em; margin-top: 46px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.legal-text h3 { font-size: 1.06rem; letter-spacing: -0.01em; line-height: 1.3; margin: 26px 0 6px; }
.legal-text p { color: #3a3a3f; font-size: 0.98rem; text-wrap: pretty; }
.legal-text .updated { color: var(--faint); font-size: 0.88rem; }
.legal-text a { color: #1f70e0; }
mark.todo { padding: 0 4px; border-radius: 4px; color: #7a5200; background: #ffefb8; }
.legal-page .back { margin-top: 50px; }

/* ---------- Petits écrans ---------- */

@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav-end { margin-left: auto; }
  .gift { grid-template-columns: 1fr; }
  .tile, .tile.wide, .tile.slim { grid-column: span 6; }
  .tile.slim img.cut { flex: none; aspect-ratio: 16 / 9; }
  .tile.slim img.photo { flex: none; height: auto; aspect-ratio: 4 / 3; }
  .stats, .steps, .trio-points { grid-template-columns: 1fr; }
  .split { grid-template-columns: minmax(0, 560px); }
  .split.flip > .screen { order: 0; }
  .split > .screen { margin-inline: auto; }
  .split .head, .split .after { text-align: center; }
  .split .head .lede { margin-inline: auto; }
  .cast { grid-template-columns: 1fr; gap: 120px; max-width: 420px; margin-inline: auto; }
  .foot { grid-template-columns: repeat(3, 1fr); }
  .foot > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --nav-h: 74px; }
  body { font-size: 16px; }
  .nav { padding-top: 10px; }
  .nav-inner { height: 54px; gap: 10px; padding: 0 7px 0 10px; }
  .brand { gap: 9px; font-size: 1.22rem; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .nav-end { gap: 7px; }
  .btn-nav { width: 40px; height: 40px; padding: 0; }
  .btn-nav span { display: none; }
  .btn-nav svg { width: 17px; height: 17px; }
  .lang { padding: 3px; }
  .lang button { min-width: 34px; padding: 6px 8px; font-size: 0.74rem; }
  .cta-row .btn { width: 100%; }
  .screen, .screen video, .screen img, .clip video { border-radius: 18px; }
  .duo { grid-template-columns: minmax(0, 340px); }
  .play { gap: 9px; padding: 12px 18px 12px 15px; font-size: 0.95rem; }
  .play svg { width: 16px; height: 16px; }
  .tile .pair { grid-template-columns: 1fr; }
  .tile .pair img { aspect-ratio: 16 / 10; }
  .price-zone { padding-top: 116px; }
  .faq details p { padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .btn, .buddy img, .tile img { transition: none; }
  .flakes { display: none; }
}
