/* ============================================================================
   DALINKY · SITE VITRINE (dalinky.com) — novembre 2026
   Une seule feuille, aucun framework. Toutes les couleurs, tailles et rayons
   passent par les jetons ci-dessous, repris de l'app (`socle/styles/jetons.css`).

   Squircles partout (Enzo, 6 novembre 2026 : « c'est notre direction
   artistique »). Chrome et Edge connaissent `corner-shape: squircle` ; Safari
   reçoit la même forme par `assets/js/squircle.js`. À rayon égal, un squircle
   paraît moins arrondi : les rayons valent ceux du design system × 1,7.
   Exceptions voulues : `.rond` (flèches rondes, puces) reste un vrai rond.
   ========================================================================= */

@font-face {
  font-family: 'Alan Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/alan-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alan Sans';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/alan-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marque — identique à l'app */
  --brand-50: #f6f2ff;
  --brand-100: #ece6ff;
  --brand-200: #cfc0fe;
  --brand-300: #ac8cfe;
  --brand-400: #8b60fd;
  --brand-500: #6d37fc;
  --brand-600: #5b2cd6;
  --brand-700: #4a24a8;
  --brand-800: #351b7a;
  --brand-900: #22124f;

  /* Encre du logotype, textes, lignes */
  --encre: #16124d;
  --texte: #2a2647;
  --muet: #615e7c;
  --ligne: #ebe7f6;
  --page: #ffffff;
  --doux: #f7f5fe;
  --vert: #12a150;
  --vert-fond: #e6f6ec;
  --turquoise: #0e9f8f;
  --turquoise-fond: #e3f5f3;
  --ambre: #b06e00;
  --ambre-fond: #fdf4e3;
  --rouge: #e5484d;
  --rouge-fond: #fdecec;

  /* Rayons squircle (design system × 1,7) */
  --r-xs: 10px;
  --r-sm: 15px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 27px;
  --r-2xl: 34px;
  --r-3xl: 41px;
  --r-4xl: 48px;
  --r-5xl: 64px;
  --r-6xl: 88px;

  /* Ombres — celles de l'app voyageur */
  --ombre-carte: 0 6px 20px rgb(27 22 34 / 0.08), 0 1px 2px rgb(27 22 34 / 0.04);
  --ombre-flottant: 0 18px 50px -12px rgb(22 18 77 / 0.28), 0 4px 12px rgb(22 18 77 / 0.06);
  --ombre-bombe: inset 0 1px 0 rgb(255 255 255 / 0.95), inset 0 -2px 3px rgb(27 22 34 / 0.08), 0 0 0 0.5px rgb(27 22 34 / 0.05), 0 1px 2px rgb(27 22 34 / 0.1), 0 4px 10px rgb(27 22 34 / 0.07);
  --ombre-creuse: inset 0 2px 4px rgb(27 22 34 / 0.18), inset 0 0 0 0.5px rgb(27 22 34 / 0.08), 0 0 0 1.5px rgb(255 255 255 / 0.85);
  --ombre-violette: 0 10px 28px -6px rgb(109 55 252 / 0.45);
  --decoupe: drop-shadow(0 18px 30px rgb(22 18 77 / 0.16)) drop-shadow(0 2px 6px rgb(22 18 77 / 0.06));

  /* Mise en page */
  --large: 1240px;
  --gouttiere: 24px;
  --entete: 72px;
  --section: clamp(80px, 11vw, 136px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 600px) {
  :root { --gouttiere: 16px; --entete: 64px; }
}

/* --- Squircles ------------------------------------------------------------ */
@supports (corner-shape: squircle) {
  *, ::before, ::after { corner-shape: squircle; }
  /* Les vraies pilules et les vrais ronds (Enzo, 6 novembre) : puces, flèches rondes, pastilles. */
  .rond, .rond::before, .rond::after,
  .puce, .fleche-ronde, .types span, .etape .numero, .question summary .plus, .modale .fermer,
  .lien-fleche .pastille-lecture, .navigateur .feux i, .telephone .ile, .progression, .progression i, .langues-mobile a,
  .barre-flottante .bouton-langue {
    corner-shape: round;
  }
}

/* --- Base ------------------------------------------------------------------ */
*, ::before, ::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
}
body {
  margin: 0;
  background: var(--page);
  color: var(--texte);
  font-family: 'Alan Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brand-200); color: var(--encre); }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: var(--r-xs); }
[hidden] { display: none !important; }

.enveloppe { width: 100%; max-width: calc(var(--large) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--section); position: relative; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top 0.2s; }
.lien-evitement:focus { top: 12px; }

/* --- Typographie ------------------------------------------------------------ */
.titre-ecran {
  font-size: clamp(44px, 8vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: var(--encre);
  text-wrap: balance;
}
.titre-section {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 650;
  color: var(--encre);
  text-wrap: balance;
}
.titre-bloc {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--encre);
  text-wrap: balance;
}
.titre-carte {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--encre);
}
.point { color: var(--brand-500); }
.chapeau {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muet);
  text-wrap: pretty;
}
.texte { color: var(--muet); text-wrap: pretty; }
.centre { text-align: center; margin-inline: auto; }
.tete { max-width: 780px; display: grid; gap: 20px; }
.tete.centre { justify-items: center; }
.tete + * { margin-top: clamp(40px, 6vw, 72px); }

/* --- Boutons ------------------------------------------------------------------ */
.bouton {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.bouton:active { transform: scale(0.97); }
.bouton svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.bouton:hover svg.fleche { transform: translateX(3px); }
.bouton-principal { background: var(--brand-500); color: #fff; box-shadow: var(--ombre-violette); }
.bouton-principal:hover { background: var(--brand-600); }
.bouton-clair { background: #fff; color: var(--encre); box-shadow: var(--ombre-bombe); }
.bouton-clair:hover { background: var(--brand-50); }
.bouton-blanc { background: #fff; color: var(--brand-600); }
.bouton-blanc:hover { background: var(--brand-50); }
.bouton-fantome { color: var(--encre); padding: 0 16px; }
.bouton-fantome:hover { background: var(--brand-50); }
.bouton-petit { --h: 42px; padding: 0 18px; font-size: 15px; border-radius: var(--r-sm); }
.bouton-grand { --h: 58px; padding: 0 28px; font-size: 17px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--encre); }
.lien-fleche .pastille-lecture { width: 22px; height: 22px; border-radius: 999px; background: var(--brand-500); display: grid; place-items: center; color: #fff; transition: transform 0.25s var(--ease); }
.lien-fleche:hover .pastille-lecture { transform: translateX(3px); }
.lien-fleche svg { width: 12px; height: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.actions.centre { justify-content: center; }

/* --- En-tête ------------------------------------------------------------------ */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--entete);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.entete.defile, .entete.menu-ouvert {
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgb(22 18 77 / 0.06);
}
.entete .enveloppe { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 30px; width: auto; }
.navigation { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.navigation a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--texte);
  transition: background-color 0.2s, color 0.2s;
}
.navigation a:hover { background: rgb(109 55 252 / 0.07); color: var(--encre); }
.navigation a[aria-current='page'] { color: var(--brand-600); font-weight: 600; }
.entete-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); place-items: center; color: var(--encre); }
.burger:hover { background: var(--brand-50); }
.burger svg { width: 24px; height: 24px; }
.burger .icone-fermer { display: none; }
.entete.menu-ouvert .burger .icone-ouvrir { display: none; }
.entete.menu-ouvert .burger .icone-fermer { display: block; }

.menu-mobile {
  position: fixed;
  inset: var(--entete) 0 0 0;
  z-index: 49;
  background: rgb(255 255 255 / 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 24px var(--gouttiere) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.menu-mobile.ouvert { opacity: 1; visibility: visible; transform: none; }
.menu-mobile a.lien-menu {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--encre);
  padding: 10px 4px;
  border-bottom: 1px solid var(--ligne);
}
.menu-mobile .actions { margin-top: 24px; flex-direction: column; align-items: stretch; }
.menu-mobile .bouton { width: 100%; }

/* Le menu des langues */
.choix-langues { position: relative; }
.bouton-langue {
  height: 42px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--encre);
  transition: background-color 0.2s;
}
.bouton-langue:hover, .bouton-langue[aria-expanded='true'] { background: rgb(109 55 252 / 0.08); }
.bouton-langue svg { width: 18px; height: 18px; }
.liste-langues {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 60;
  min-width: 190px;
  padding: 6px;
  display: grid;
  gap: 2px;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 0 0 1px var(--ligne), var(--ombre-flottant);
}
.liste-langues[hidden] { display: none; }
.liste-langues a { padding: 10px 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--texte); }
.liste-langues a:hover { background: var(--brand-50); color: var(--encre); }
.liste-langues a[aria-current] { color: var(--brand-600); font-weight: 600; background: var(--brand-50); }
.langues-mobile { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.langues-mobile a { height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--ombre-bombe); font-size: 15px; font-weight: 500; color: var(--encre); display: inline-flex; align-items: center; }
.langues-mobile a[aria-current] { background: #ebe8f3; box-shadow: var(--ombre-creuse); font-weight: 600; }

@media (max-width: 980px) {
  .navigation, .entete-actions .masque-mobile { display: none; }
  .burger { display: grid; }
  .entete-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .entete-actions .bouton-principal { padding: 0 14px; font-size: 14px; }
  .logo img { height: 26px; }
}

/* --- La barre flottante : la langue partout, la démo au téléphone ---------------
   Au bureau, un petit bouton de langue posé en bas à gauche. Au téléphone, une barre
   collée en bas de l'écran, à portée de pouce : la langue et « Demander une démo ». */
.barre-flottante { position: fixed; left: 20px; bottom: 20px; z-index: 45; display: flex; align-items: center; gap: 10px; }
.barre-flottante .bouton-langue { height: 44px; padding: 0 14px; border-radius: 999px; background: rgb(255 255 255 / 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--ombre-bombe), 0 8px 24px -8px rgb(22 18 77 / 0.25); }
.barre-flottante .bouton-langue:hover, .barre-flottante .bouton-langue[aria-expanded='true'] { background: #fff; }
.barre-flottante .barre-demo { display: none; }
@media (max-width: 760px) {
  .barre-flottante {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 0.9);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    box-shadow: 0 -1px 0 rgb(22 18 77 / 0.07), 0 -12px 30px -18px rgb(22 18 77 / 0.25);
  }
  .barre-flottante .bouton-langue { height: 50px; box-shadow: var(--ombre-bombe); }
  .barre-flottante .barre-demo { display: inline-flex; flex: 1; height: 50px; }
  .cta-entete { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* --- Héros ------------------------------------------------------------------ */
.heros {
  position: relative;
  padding-top: calc(var(--entete) + clamp(40px, 7vw, 88px));
  background:
    radial-gradient(900px 520px at 50% 0%, rgb(172 140 254 / 0.32), transparent 70%),
    radial-gradient(700px 500px at 0% 40%, rgb(236 230 255 / 0.9), transparent 70%),
    radial-gradient(700px 500px at 100% 50%, rgb(236 230 255 / 0.9), transparent 70%),
    linear-gradient(180deg, var(--brand-50) 0%, #fbf9ff 100%);
  overflow: hidden;
  isolation: isolate;
}
.heros-texte { display: grid; justify-items: center; text-align: center; gap: 28px; }
.heros-texte .chapeau { max-width: 660px; }
.heros h1 { max-width: 13ch; }
.heros h1 .ligne { display: block; }

/* Le mot qui tourne, dans sa pastille — à la manière de dishop.co */
.mot-tournant {
  display: inline-flex;
  align-items: center;
  gap: 0.16em;
  vertical-align: bottom;
  height: 1.08em;
  padding: 0 0.26em 0 0.14em;
  margin-top: 0.06em;
  border-radius: 0.28em;
  background: #fff;
  color: var(--brand-500);
  box-shadow: 0 0.12em 0.4em -0.1em rgb(109 55 252 / 0.35), inset 0 0 0 1px rgb(109 55 252 / 0.1);
  overflow: hidden;
  transition: width 0.5s var(--ease);
  position: relative;
}
.mot-tournant .avatar-mot { width: 0.82em; height: 0.82em; flex: none; transition: transform 0.5s var(--ease), opacity 0.3s; }
.mot-tournant .mots { position: relative; display: inline-block; height: 1.08em; line-height: 1.08; transition: width 0.45s var(--ease); }
/* En ligne, et non en bloc : un mot en bloc prend la largeur de la pastille au lieu de
   la sienne, et la pastille restait alors à la taille du premier mot (« clients. »). */
.mot-tournant .mot { display: inline-block; vertical-align: top; white-space: nowrap; transition: transform 0.55s var(--ease), opacity 0.4s; }
.mot-tournant .mot:not(.actif) { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(70%); }
.mot-tournant .mot.sortant { opacity: 0; transform: translateY(-70%); }

.heros-actions { margin-top: 8px; }

/* La scène : le téléphone au centre, les morceaux d'app autour */
.scene {
  position: relative;
  margin-top: clamp(48px, 7vw, 80px);
  height: clamp(460px, 56vw, 700px);
  display: flex;
  justify-content: center;
}
.scene .telephone { --l: clamp(270px, 25vw, 340px); position: relative; z-index: 3; }
.scene .flottant {
  position: absolute;
  z-index: 4;
  filter: var(--decoupe);
}
.scene .legende {
  position: absolute;
  z-index: 4;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.scene .legende svg { width: 34px; height: 22px; color: var(--brand-300); }
.flottant-1 { width: clamp(220px, 24vw, 320px); left: max(0px, calc(50% - var(--l-scene, 340px) / 2 - 360px)); top: 9%; transform: rotate(-3deg); }
.flottant-2 { width: clamp(200px, 21vw, 290px); left: max(0px, calc(50% - 560px)); top: 58%; transform: rotate(2deg); }
.flottant-3 { width: clamp(300px, 30vw, 420px); right: max(0px, calc(50% - 600px)); top: 7%; transform: rotate(2deg); }
.flottant-4 { width: clamp(220px, 22vw, 300px); right: max(0px, calc(50% - 520px)); top: 52%; transform: rotate(-2deg); }
.legende-1 { left: max(4px, calc(50% - 530px)); top: 1%; }
.legende-3 { right: max(4px, calc(50% - 560px)); top: -1%; }

@media (max-width: 1100px) {
  .flottant-2, .flottant-4 { display: none; }
  .flottant-1 { left: 2vw; width: 30vw; }
  .flottant-3 { right: 2vw; width: 32vw; }
  .legende-1 { left: 3vw; }
  .legende-3 { right: 3vw; }
}
@media (max-width: 760px) {
  .scene { height: auto; padding-bottom: 0; }
  .scene .telephone { --l: min(78vw, 320px); }
  .flottant-1 { left: -10px; top: 30%; width: 46vw; max-width: 220px; }
  .flottant-3 { display: none; }
  .flottant-4 { display: block; right: -10px; left: auto; top: 62%; width: 46vw; max-width: 220px; }
  .scene .legende { display: none; }
}

/* --- La feuille blanche qui monte sur le héros --------------------------------- */
.feuille {
  position: relative;
  z-index: 5;
  background: var(--page);
  border-radius: var(--r-6xl) var(--r-6xl) 0 0;
  margin-top: calc(-1 * clamp(80px, 9vw, 130px));
  box-shadow: 0 -30px 60px -40px rgb(22 18 77 / 0.25);
}
@media (max-width: 600px) { .feuille { border-radius: var(--r-4xl) var(--r-4xl) 0 0; margin-top: -120px; } }

/* --- Maquette de téléphone ---------------------------------------------------- */
.telephone {
  --l: 320px;
  width: var(--l);
  flex: none;
  padding: calc(var(--l) * 0.032);
  border-radius: calc(var(--l) * 0.2);
  background: linear-gradient(145deg, #2c2748, #0f0c22 45%, #1d1838);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.06) inset,
    0 2px 0 rgb(255 255 255 / 0.12) inset,
    0 50px 80px -30px rgb(22 18 77 / 0.5),
    0 20px 40px -20px rgb(22 18 77 / 0.35);
}
.telephone .ecran {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--l) * 0.17);
  background: #fff;
  aspect-ratio: 402 / 926;
  isolation: isolate;
}
.telephone .barre-etat {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5.6%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9% 0 10.5%;
  font-size: calc(var(--l) * 0.042);
  font-weight: 600;
  color: #000;
  background: #fff;
}
.telephone .barre-etat .ile {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 30%;
  height: 58%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
}
.telephone .barre-etat .icones { display: flex; gap: 0.3em; align-items: center; }
.telephone .barre-etat svg { height: 0.82em; width: auto; }
.telephone .vues { position: absolute; inset: 5.6% 0 0 0; }
.telephone .vues img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.telephone .vues img:not(.active):not(:only-child) { opacity: 0; transform: scale(1.02); }
.telephone.tout-petit { --l: 230px; }

/* --- Maquette de navigateur (Dalinky Pro) -------------------------------------- */
.navigateur {
  border-radius: var(--r-2xl);
  background: #fff;
  box-shadow: 0 0 0 1px rgb(22 18 77 / 0.08), 0 40px 90px -30px rgb(22 18 77 / 0.35), 0 12px 30px -12px rgb(22 18 77 / 0.15);
  overflow: hidden;
}
.navigateur .barre {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: var(--doux);
  border-bottom: 1px solid var(--ligne);
}
.navigateur .feux { display: flex; gap: 7px; }
.navigateur .feux i { width: 11px; height: 11px; border-radius: 999px; background: #ddd8ee; display: block; }
.navigateur .adresse {
  flex: 1;
  max-width: 360px;
  margin-inline: auto;
  height: 28px;
  border-radius: var(--r-xs);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ligne);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muet);
}
.navigateur .adresse svg { width: 12px; height: 12px; }
.navigateur .vues { position: relative; aspect-ratio: 1512 / 945; background: #fff; }
.navigateur .vues img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity 0.5s var(--ease); }
.navigateur .vues img:not(.active):not(:only-child) { opacity: 0; }
@media (max-width: 600px) {
  .navigateur { border-radius: var(--r-lg); }
  .navigateur .barre { height: 34px; padding: 0 12px; }
  .navigateur .feux i { width: 8px; height: 8px; }
  .navigateur .adresse { height: 22px; font-size: 11px; }
}

/* --- Recadrage d'une capture : montrer une zone précise d'un écran ----------
   --iw : largeur de l'écran capturé ; --rx, --ry, --rw, --rh : la zone, dans ses unités. */
.recadre { position: relative; overflow: hidden; aspect-ratio: var(--rw) / var(--rh); background: #fff; }
.recadre img { position: absolute; max-width: none; height: auto; width: calc(100% * var(--iw) / var(--rw)); left: calc(-100% * var(--rx) / var(--rw)); top: calc(-100% * var(--ry) / var(--rh)); }

/* --- Bandeau des langues ------------------------------------------------------- */
.langues { padding-block: 28px 8px; overflow: hidden; }
.langues .defilant { display: flex; width: max-content; animation: defiler 38s linear infinite; }
.langues .serie { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.langues .salut { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em; color: var(--encre); white-space: nowrap; }
.langues .salut small { font-size: 0.42em; font-weight: 500; color: var(--muet); letter-spacing: 0; margin-left: 10px; vertical-align: middle; }
.langues .avatar { width: 40px; height: 40px; flex: none; }
.langues:hover .defilant { animation-play-state: paused; }
@keyframes defiler { to { transform: translateX(-50%); } }

/* --- Le constat : avant / avec ----------------------------------------------- */
.constat { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.constat .recit { display: grid; gap: 22px; }
.constat .recit p { font-size: 18px; }
.duo { display: grid; gap: 16px; }
.colonne {
  border-radius: var(--r-3xl);
  padding: 28px 30px 30px;
  display: grid;
  gap: 18px;
  position: relative;
}
.colonne h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; display: flex; align-items: center; gap: 10px; }
.colonne ul { display: grid; gap: 12px; }
.colonne li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; }
.colonne li svg { width: 22px; height: 22px; margin-top: 1px; }
.colonne-avant { background: var(--doux); color: var(--muet); }
.colonne-avant h3 { color: var(--muet); }
.colonne-avant li svg { color: #b4b0c8; }
.colonne-avec { background: var(--brand-500); color: #fff; box-shadow: var(--ombre-violette); }
.colonne-avec h3 { color: #fff; }
.colonne-avec li svg { color: var(--brand-200); }
.colonne .mascotte-coin { position: absolute; right: 18px; top: -46px; width: 96px; }
@media (max-width: 900px) { .constat { grid-template-columns: 1fr; } }

/* --- Les étapes ------------------------------------------------------------------ */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etape {
  background: var(--doux);
  border-radius: var(--r-4xl);
  padding: 14px 14px 30px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 22px;
}
.etape .vignette {
  position: relative;
  border-radius: var(--r-3xl);
  background: linear-gradient(160deg, #fff, var(--brand-50));
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgb(109 55 252 / 0.06);
}
.etape .numero {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ombre-bombe);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
}
.etape .corps { padding: 0 14px; display: grid; gap: 10px; align-content: start; }
.etape .corps p { font-size: 16px; }
.vignette-qr { position: relative; width: 54%; translate: -22% -4%; }
.vignette-qr .carton {
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 14% 14% 10%;
  box-shadow: var(--ombre-flottant);
  display: grid;
  gap: 8px;
  justify-items: center;
  transform: rotate(-4deg);
}
.vignette-qr .carton img { width: 100%; }
.vignette-qr .carton span { font-size: 12px; font-weight: 600; color: var(--encre); letter-spacing: -0.01em; }
.vignette-qr .telephone { --l: clamp(110px, 10vw, 136px); position: absolute; left: 78%; top: 22%; transform: rotate(6deg); }
.vignette .decoupe { filter: var(--decoupe); }
.vignette-espace { width: 92%; translate: 4% 6%; border-radius: var(--r-lg); box-shadow: var(--ombre-flottant); overflow: hidden; }
.vignette-fil { width: 84%; display: grid; gap: 10px; }
.vignette-fil img:nth-child(2) { margin-left: 12%; width: 88%; }
@media (max-width: 960px) { .etapes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* --- Vitrine voyageur : onglets + téléphone -------------------------------------- */
.vitrine { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vitrine-liste { display: grid; gap: 6px; }
.onglet-vitrine {
  text-align: left;
  border-radius: var(--r-2xl);
  padding: 18px 22px;
  display: grid;
  gap: 4px;
  position: relative;
  transition: background-color 0.3s;
}
.onglet-vitrine:hover { background: rgb(109 55 252 / 0.04); }
.onglet-vitrine .nom { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--muet); display: flex; align-items: center; gap: 12px; transition: color 0.3s; }
.onglet-vitrine .nom .icone { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--doux); color: var(--muet); transition: background-color 0.3s, color 0.3s; flex: none; }
.onglet-vitrine .nom .icone svg { width: 20px; height: 20px; }
.onglet-vitrine .detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.onglet-vitrine .detail > p { overflow: hidden; color: var(--muet); font-size: 16px; padding-left: 48px; }
.onglet-vitrine[aria-selected='true'] { background: #fff; box-shadow: var(--ombre-carte); }
.onglet-vitrine[aria-selected='true'] .nom { color: var(--encre); }
.onglet-vitrine[aria-selected='true'] .nom .icone { background: var(--brand-500); color: #fff; }
.onglet-vitrine[aria-selected='true'] .detail { grid-template-rows: 1fr; }
.onglet-vitrine[aria-selected='true'] .detail > p { padding-top: 6px; }
.onglet-vitrine .progression { position: absolute; left: 22px; right: 22px; bottom: 8px; height: 3px; border-radius: 999px; background: var(--brand-100); overflow: hidden; opacity: 0; }
.onglet-vitrine[aria-selected='true'] .progression { opacity: 1; }
.onglet-vitrine .progression i { display: block; height: 100%; width: 0; background: var(--brand-500); border-radius: inherit; }
.vitrine-scene {
  position: relative;
  border-radius: var(--r-5xl);
  background: radial-gradient(circle at 50% 40%, var(--brand-100), var(--brand-50) 70%);
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  overflow: hidden;
}
.vitrine-scene .telephone { --l: min(310px, 72vw); }
.vitrine-scene .mascotte-scene { position: absolute; width: 132px; bottom: -8px; right: 18px; transition: opacity 0.4s, transform 0.5s var(--ease); }
@media (max-width: 960px) {
  .vitrine { grid-template-columns: 1fr; }
  .vitrine-scene { min-height: 0; order: -1; padding: 36px 16px; border-radius: var(--r-4xl); }
  .vitrine-scene .mascotte-scene { width: 96px; }
}

/* --- Traduction ------------------------------------------------------------------- */
.traduction {
  border-radius: var(--r-5xl);
  background: var(--doux);
  padding: clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.traduction .tete + * { margin-top: 0; }
.choix-langue { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.puce {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ombre-bombe);
  font-size: 15px;
  font-weight: 500;
  color: var(--encre);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.puce:hover { background: var(--brand-50); }
.puce[aria-pressed='true'] { background: #ebe8f3; box-shadow: var(--ombre-creuse); color: #000; font-weight: 600; }
.fil-demo {
  background: #fff;
  border-radius: var(--r-4xl);
  padding: 22px 22px 26px;
  box-shadow: var(--ombre-flottant);
  display: grid;
  gap: 16px;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
.fil-demo .bandeau {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--ombre-carte);
  font-size: 14px;
  font-weight: 600;
  color: var(--encre);
}
.fil-demo .bandeau svg { width: 20px; height: 20px; color: var(--brand-500); }
.fil-demo .bandeau .drapeaux { margin-left: auto; font-weight: 500; color: var(--muet); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }
.drapeau { display: inline-block; width: 18px; height: 13px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.14); vertical-align: -1px; }
.message { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: end; }
.message .avatar { width: 34px; height: 34px; }
.message .bulle {
  background: #f9f6ff;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px;
  padding: 10px 14px 8px;
  display: grid;
  gap: 2px;
  max-width: 400px;
}
.message .auteur { font-size: 13px; font-weight: 600; color: var(--encre); display: flex; gap: 6px; align-items: center; }
.message .contenu { font-size: 16px; line-height: 1.45; color: #252525; transition: opacity 0.25s; }
.message .contenu.change { opacity: 0; }
.message .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; color: #707070; }
.message .meta .original { font-weight: 600; color: var(--brand-600); }
.message.hotel { grid-template-columns: 1fr; }
.message.hotel .bulle { background: var(--brand-500); color: #fff; border-radius: var(--r-lg) var(--r-lg) 8px var(--r-lg); justify-self: end; }
.message.hotel .auteur, .message.hotel .contenu, .message.hotel .meta, .message.hotel .meta .original { color: #fff; }
.message.hotel .meta .original { opacity: 0.8; }
@media (max-width: 900px) { .traduction { grid-template-columns: 1fr; border-radius: var(--r-4xl); } }

/* --- Dalinky Pro ------------------------------------------------------------------- */
.pro-onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.pro-onglets .puce { height: 42px; }
.pro-scene { position: relative; }
.pro-scene .navigateur { position: relative; z-index: 1; }
.pro-scene .flottant { position: absolute; z-index: 2; filter: var(--decoupe); }
.pro-scene .flottant-gauche { width: clamp(220px, 24vw, 330px); left: -4%; bottom: -12%; transform: rotate(-2deg); }
.pro-scene .mascotte-pro { position: absolute; z-index: 2; width: clamp(110px, 12vw, 168px); right: -2%; bottom: -9%; }
.pro-scene .flottant-droite { width: clamp(220px, 24vw, 330px); right: -3%; top: 12%; }
.pro-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 7vw, 88px); }
.pro-points > div { display: grid; gap: 10px; align-content: start; }
.pro-points .icone { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.pro-points .icone svg { width: 22px; height: 22px; }
.pro-points h3 { font-size: 19px; font-weight: 600; color: var(--encre); letter-spacing: -0.02em; }
.pro-points p { font-size: 16px; color: var(--muet); }
@media (max-width: 960px) {
  .pro-points { grid-template-columns: 1fr; }
  .pro-scene .flottant { display: none; }
  .pro-scene .mascotte-pro { width: 92px; bottom: -40px; }
  .pro-onglets { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere)); padding: 4px var(--gouttiere) 10px; scrollbar-width: none; }
  .pro-onglets::-webkit-scrollbar { display: none; }
  .pro-onglets .puce { flex: none; }
}

/* --- Carrousel ------------------------------------------------------------------------- */
.carrousel-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.fleches { display: flex; gap: 10px; flex: none; }
.fleche-ronde {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ombre-bombe);
  display: grid;
  place-items: center;
  color: var(--encre);
  transition: opacity 0.2s, background-color 0.2s;
}
.fleche-ronde:hover { background: var(--brand-50); }
.fleche-ronde:disabled { opacity: 0.35; cursor: default; }
.fleche-ronde svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .fleches { display: none; } }
.piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 360px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  padding: 8px var(--gouttiere) 28px;
  margin-inline: calc(-1 * var(--gouttiere));
  scrollbar-width: none;
}
.piste::-webkit-scrollbar { display: none; }
.carte-fonction {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--r-4xl);
  box-shadow: 0 0 0 1px var(--ligne), var(--ombre-carte);
  padding: 12px 12px 26px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}
.carte-fonction .visuel {
  border-radius: var(--r-3xl);
  aspect-ratio: 1 / 0.92;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
}
.carte-fonction .visuel img { filter: var(--decoupe); max-height: 100%; width: auto; object-fit: contain; }
.carte-fonction .visuel.vert { background: var(--vert-fond); }
.carte-fonction .visuel.turquoise { background: var(--turquoise-fond); }
.carte-fonction .visuel.ambre { background: var(--ambre-fond); }
.carte-fonction .visuel.rose { background: var(--rouge-fond); }
.carte-fonction .corps { padding: 0 12px; display: grid; gap: 8px; align-content: start; }
.carte-fonction .corps p { font-size: 15.5px; color: var(--muet); }
.carte-fonction .visuel.ecran-entier { padding: 0; align-items: start; }
.carte-fonction .visuel.ecran-entier img { width: 100%; height: auto; filter: none; }

/* --- Bénéfices ------------------------------------------------------------------------- */
.benefices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefice {
  border-radius: var(--r-4xl);
  background: var(--doux);
  padding: 26px 26px 30px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.benefice img { width: 110px; height: 110px; object-fit: contain; margin: -4px 0 6px -6px; }
.benefice p { font-size: 15.5px; color: var(--muet); }
@media (max-width: 1100px) { .benefices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefices { grid-template-columns: 1fr; } .benefice { grid-template-columns: 84px 1fr; column-gap: 16px; } .benefice img { width: 84px; height: 84px; grid-row: span 2; margin: 0; } }

/* --- Pour qui ------------------------------------------------------------------------- */
.publics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.public {
  position: relative;
  border-radius: var(--r-5xl);
  padding: 32px 32px 0;
  min-height: 420px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  overflow: hidden;
}
.public:nth-child(1) { background: var(--brand-50); }
.public:nth-child(2) { background: var(--turquoise-fond); }
.public:nth-child(3) { background: var(--ambre-fond); }
.public .corps { display: grid; gap: 10px; align-content: start; max-width: 320px; }
.public .corps p { font-size: 16px; color: var(--muet); }
.public img { align-self: end; justify-self: center; width: 78%; max-width: 260px; margin-bottom: -6%; transition: transform 0.5s var(--ease); }
.public:hover img { transform: translateY(-8px) rotate(-2deg); }
@media (max-width: 960px) { .publics { grid-template-columns: 1fr; } .public { min-height: 0; grid-template-columns: 1fr 140px; grid-template-rows: auto; padding: 28px 24px; align-items: center; } .public img { width: 140px; margin: -10px 0; } }
@media (max-width: 420px) { .public { grid-template-columns: 1fr 96px; } .public img { width: 96px; } }

/* --- Confiance ------------------------------------------------------------------------- */
.confiance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--r-4xl); overflow: hidden; background: var(--ligne); box-shadow: 0 0 0 1px var(--ligne); }
.confiance > div { background: #fff; padding: 28px 26px; display: grid; gap: 8px; align-content: start; }
.confiance svg { width: 26px; height: 26px; color: var(--brand-500); margin-bottom: 6px; }
.confiance h3 { font-size: 17px; font-weight: 600; color: var(--encre); letter-spacing: -0.01em; }
.confiance p { font-size: 15px; color: var(--muet); line-height: 1.5; }
@media (max-width: 960px) { .confiance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .confiance { grid-template-columns: 1fr; } }

/* --- FAQ ------------------------------------------------------------------------------ */
.faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .cote { position: sticky; top: calc(var(--entete) + 32px); display: grid; gap: 22px; }
.faq .cote .actions { flex-direction: column; align-items: stretch; max-width: 320px; gap: 10px; margin-top: 8px; }
.faq-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.questions { display: grid; gap: 10px; }
.question { border-radius: var(--r-2xl); background: var(--doux); transition: background-color 0.25s, box-shadow 0.25s; }
.question[open] { background: #fff; box-shadow: 0 0 0 1px var(--ligne), var(--ombre-carte); }
.question summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--encre);
  letter-spacing: -0.01em;
}
.question summary::-webkit-details-marker { display: none; }
.question summary .plus { width: 30px; height: 30px; flex: none; border-radius: 999px; background: #fff; box-shadow: var(--ombre-bombe); display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.question summary .plus svg { width: 14px; height: 14px; }
.question[open] summary .plus { transform: rotate(45deg); }
.question .reponse { padding: 0 22px 22px; color: var(--muet); font-size: 16px; display: grid; gap: 10px; }
.question .reponse a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .cote { position: static; } }

/* --- Appel final ------------------------------------------------------------------------ */
.appel {
  position: relative;
  border-radius: var(--r-5xl);
  background:
    radial-gradient(420px 380px at 78% 78%, rgb(255 255 255 / 0.32), transparent 70%),
    radial-gradient(600px 400px at 85% 10%, rgb(255 255 255 / 0.14), transparent 70%),
    linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  padding: clamp(36px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.appel .titre-section { color: #fff; }
.appel .chapeau { color: rgb(255 255 255 / 0.82); }
.appel .contenu { display: grid; gap: 24px; position: relative; z-index: 1; }
.appel .mascotte-appel { width: min(360px, 100%); justify-self: center; margin-bottom: calc(-1 * clamp(36px, 6vw, 80px)); align-self: end; }
.appel .courriel { color: rgb(255 255 255 / 0.9); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; border-radius: var(--r-4xl); } .appel .mascotte-appel { width: 220px; } }

/* --- Pied de page ---------------------------------------------------------------------- */
.pied { padding-top: clamp(64px, 9vw, 112px); overflow: hidden; }
.pied-grille { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.pied-marque { display: grid; gap: 16px; align-content: start; max-width: 320px; }
.pied-marque img { height: 30px; width: auto; }
.pied-marque p { font-size: 15px; color: var(--muet); }
.pied h2 { font-size: 14px; font-weight: 600; color: var(--encre); margin-bottom: 14px; }
.pied ul { display: grid; gap: 10px; }
.pied li a { font-size: 15px; color: var(--muet); transition: color 0.2s; }
.pied li a:hover { color: var(--brand-600); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--muet); }
.pied-bas a:hover { color: var(--brand-600); }
.signature-geante {
  margin-top: clamp(32px, 5vw, 56px);
  width: 100%;
  aspect-ratio: 69.4 / 20.66;
  background: linear-gradient(180deg, var(--brand-200), var(--brand-50) 85%);
  -webkit-mask: url('../img/marque/logo-mot.svg') center / contain no-repeat;
  mask: url('../img/marque/logo-mot.svg') center / contain no-repeat;
  margin-bottom: -3.2%;
}
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } }

/* --- Fenêtre « Demander une démo » ------------------------------------------------------ */
.modale {
  border: 0;
  padding: 0;
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: var(--r-4xl);
  background: #fff;
  color: var(--texte);
  box-shadow: 0 40px 120px -20px rgb(22 18 77 / 0.5);
  overflow: auto;
}
.modale::backdrop { background: rgb(15 13 33 / 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modale[open] { animation: monter 0.35s var(--ease); }
@keyframes monter { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modale .interieur { padding: 30px; display: grid; gap: 20px; }
.modale .haut { display: flex; align-items: flex-start; gap: 16px; }
.modale .haut img { width: 64px; height: 64px; flex: none; }
.modale .haut h2 { font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 650; color: var(--encre); }
.modale .haut p { font-size: 15px; color: var(--muet); margin-top: 4px; }
.modale .fermer { margin-left: auto; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--doux); }
.modale .fermer:hover { background: var(--brand-50); }
.modale .fermer svg { width: 18px; height: 18px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: grid; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label, .champ .libelle { font-size: 14px; font-weight: 600; color: var(--encre); }
.champ input, .champ textarea {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--brand-100);
  border-radius: var(--r-md);
  padding: 0 14px;
  background: #fff;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgb(109 55 252 / 0.12); }
.champ input::placeholder, .champ textarea::placeholder { color: #8c89a3; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types label { cursor: pointer; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--ombre-bombe); font-size: 15px; font-weight: 500; color: var(--encre); transition: background-color 0.2s, box-shadow 0.2s; }
.types input:checked + span { background: #ebe8f3; box-shadow: var(--ombre-creuse); font-weight: 600; }
.types input:focus-visible + span { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.modale .note { font-size: 13px; color: var(--muet); }
.modale .note a { color: var(--brand-600); text-decoration: underline; }
.modale .envoye { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 20px 0 6px; }
.modale .envoye img { width: 140px; }
.modale .envoye h2 { font-size: 26px; letter-spacing: -0.03em; font-weight: 650; color: var(--encre); }
.modale .envoye p { color: var(--muet); max-width: 400px; }
@media (max-width: 520px) { .champs { grid-template-columns: 1fr; } .modale .interieur { padding: 22px 18px; } .modale .haut img { width: 48px; height: 48px; } }

/* --- Pages intérieures ------------------------------------------------------------------- */
.heros-page {
  padding-top: calc(var(--entete) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(800px 420px at 50% 0%, rgb(172 140 254 / 0.28), transparent 70%),
    linear-gradient(180deg, var(--brand-50), #fff);
}
.heros-page .tete { gap: 22px; }
.heros-page .titre-ecran { font-size: clamp(40px, 6.4vw, 80px); }
.deux-colonnes { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.deux-colonnes.inverse > :first-child { order: 2; }
.deux-colonnes .tete + * { margin-top: 0; }
.liste-points { display: grid; gap: 14px; margin-top: 8px; }
.liste-points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muet); font-size: 16.5px; line-height: 1.5; }
.liste-points li strong { color: var(--encre); font-weight: 600; }
.liste-points svg { width: 22px; height: 22px; color: var(--brand-500); margin-top: 2px; }
.scene-duo { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 32px 0; }
.scene-duo .telephone:nth-child(1) { --l: min(290px, 60vw); z-index: 2; }
.scene-duo .telephone:nth-child(2) { --l: min(250px, 50vw); margin-left: -60px; margin-bottom: 40px; transform: rotate(4deg); z-index: 1; }
.scene-duo .flottant { position: absolute; z-index: 3; filter: var(--decoupe); }
.fond-scene { border-radius: var(--r-5xl); background: radial-gradient(circle at 50% 40%, var(--brand-100), var(--brand-50) 70%); overflow: hidden; }
@media (max-width: 600px) {
  .scene-duo .telephone:nth-child(1) { --l: 58vw; }
  .scene-duo .telephone:nth-child(2) { --l: 44vw; margin-left: -48px; }
  .fond-scene { border-radius: var(--r-4xl); }
}
@media (max-width: 960px) { .deux-colonnes { grid-template-columns: 1fr; } .deux-colonnes.inverse > :first-child { order: 0; } }

.message-copie {
  border-radius: var(--r-4xl);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ligne), var(--ombre-carte);
  padding: 28px;
  display: grid;
  gap: 14px;
  font-size: 16px;
  color: var(--texte);
}
.message-copie p { color: var(--texte); }

/* Légal */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal nav { position: sticky; top: calc(var(--entete) + 24px); display: grid; gap: 4px; }
.legal nav a { padding: 10px 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--muet); }
.legal nav a:hover, .legal nav a.actif { background: var(--brand-50); color: var(--brand-600); }
.document { display: grid; gap: 14px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--ligne); max-width: 760px; }
.document:last-child { border-bottom: 0; }
.document h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 650; color: var(--encre); }
.document .resume { font-size: 18px; color: var(--muet); }
.document .maj { font-size: 13px; color: var(--muet); }
.document h3 { font-size: 19px; font-weight: 600; color: var(--encre); margin-top: 14px; letter-spacing: -0.01em; }
.document p, .document li { font-size: 16px; color: var(--texte); line-height: 1.65; }
.document ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.document a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal nav { position: static; display: flex; flex-wrap: wrap; } }

/* Erreur 404 */
.erreur { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: calc(var(--entete) + 40px) var(--gouttiere) 60px; background: linear-gradient(180deg, var(--brand-50), #fff); }
.erreur .tete { justify-items: center; }
.erreur img { width: min(260px, 60vw); }

/* --- Apparitions au défilement ------------------------------------------------------------ */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delai, 0s); }
.js .apparait.vu { opacity: 1; transform: none; }
.flotte { animation: flotter 7s ease-in-out infinite; }
.flotte-lent { animation: flotter 9s ease-in-out infinite reverse; }
@keyframes flotter { 50% { translate: 0 -10px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .apparait { opacity: 1; transform: none; }
}
