/* Maquette « Bienvenue sur Klintt » (06/12/2026) : l'arrivée d'un nouveau client, au rythme de l'onboarding de
   Lovable (moitié verre / moitié champs, puis petites cartes sur fond sombre, puis l'outil, champ prêt), avec la DA
   de Klintt : le verre cannelé de la porte (lib/porte/verre.ts), les jetons --porte-* de app/globals.css, Inter, le
   bleu de l'interface pour la seule action principale. Rien de codé dans l'appli. */

@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: block; }

:root {
  --porte-fond: #FFFFFF;
  --porte-encre: #18181B;
  --porte-encre-2: #52525B;
  --porte-doux: #71717A;
  --porte-pale: #A1A1AA;
  --porte-champ: #F4F5F8;
  --porte-champ-focus: #FFFFFF;
  --porte-anneau: #4190F9;
  --porte-lien: #2D6FF4;
  --porte-trait: #E4E4E7;
  --porte-carte: #F4F5F8;
  --porte-segment: #E8E9ED;
  --porte-fait-fond: #E7F6EE;
  --porte-fait: #12A150;
  --porte-courbe: cubic-bezier(0.22, 1, 0.36, 1);
  --bleu: #4190F9;
  --bleu-fonce: #2D7BEF;
  --otto-fond: #0e0d0c;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px; line-height: 1.5; letter-spacing: -0.154px;
  color: var(--porte-encre); background: #fff;
  font-synthesis: none; -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font: inherit; letter-spacing: inherit; color: inherit; }
.chiffre, .roule { font-variant-numeric: tabular-nums; }

/* ── La scène : un seul verre, monté une fois, qui passe du panneau de gauche au plein écran ─────── */
#scene { position: fixed; inset: 0; overflow: hidden; background: #fff; }
#verre {
  position: absolute; left: 12px; top: 12px; width: clamp(360px, 44.45vw, 860px); height: calc(100% - 24px);
  border-radius: 28px; overflow: hidden;
  background: #050608 url("img/verre.jpg") center / cover no-repeat;
  transition: left .8s var(--porte-courbe), top .8s var(--porte-courbe), width .8s var(--porte-courbe), height .8s var(--porte-courbe), border-radius .8s var(--porte-courbe), opacity .6s;
}
#verre .porte-verre { position: absolute; inset: 0; border-radius: inherit; }
#voile { position: absolute; inset: 0; background: rgba(5, 7, 12, .5); opacity: 0; pointer-events: none; transition: opacity .8s; }
#trame { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s; background: var(--otto-fond); }
#scene[data-mode="carte"] { background: #050608; }
#scene[data-mode="carte"] #verre { left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; }
#scene[data-mode="carte"] #voile { opacity: 1; }
#scene[data-mode="otto"] { background: var(--otto-fond); }
#scene[data-mode="otto"] #verre { opacity: 0; left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; }
#scene[data-mode="otto"] #trame { opacity: 1; }
#ecran { position: absolute; inset: 0; }

/* Le champ d'Otto posé sur le verre (le champ flottant de Lovable sur son dégradé) */
.verre-champ {
  position: absolute; left: 50%; top: 50%; width: min(400px, calc(100% - 64px)); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 15px; line-height: 22px; color: var(--porte-encre);
}
.verre-champ .ecrit { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.verre-champ .envoi { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: #fff; }
.curseur { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: currentColor; animation: clignote 1.1s steps(1, end) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.fige .curseur { animation: none; }

/* ── Écrans « porte » : le verre à gauche, la colonne à droite (app/globals.css · .porte-*) ──────── */
.porte-cote {
  position: absolute; top: 0; right: 0; bottom: 0; left: calc(clamp(360px, 44.45vw, 860px) + 24px);
  display: flex; flex-direction: column; padding: 52px 52px 40px 84px; overflow: auto;
}
.porte-haut { display: flex; align-items: center; justify-content: space-between; min-height: 20px; }
.porte-retour { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-weight: 500; font-size: 16px; line-height: 20px; cursor: pointer; }
.porte-marque { display: block; height: 18px; width: auto; }
.porte-centre { flex: 1; display: flex; align-items: center; padding: 64px 0 40px; }
.porte-colonne { width: min(560px, 100%); }
.tirets { display: flex; gap: 6px; }
.tirets span { width: 36px; height: 4px; border-radius: 2px; background: var(--porte-trait); }
.tirets span.fait { background: var(--porte-encre); }
.porte-colonne > .tirets { margin-bottom: 22px; }
.porte-amorce { margin: 0 0 10px; font-size: 24px; line-height: 30px; letter-spacing: -0.015em; font-weight: 400; }
.porte-titre { margin: 0 0 48px; font-size: 56px; line-height: 62px; letter-spacing: -0.04em; font-weight: 400; }
.porte-champs { display: grid; gap: 12px; }
.porte-saisie {
  position: relative; display: flex; align-items: center; width: 100%; height: 54px; padding: 0 18px; border-radius: 12px;
  background: var(--porte-champ); font-size: 16px; letter-spacing: -0.005em; color: var(--porte-encre);
}
.porte-saisie.vide { color: var(--porte-pale); }
.porte-saisie.focus { background: var(--porte-champ-focus); box-shadow: 0 0 0 1.5px var(--porte-anneau), 0 0 0 5px color-mix(in srgb, var(--porte-anneau) 16%, transparent); }
.porte-saisie .oeil { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--porte-doux); display: grid; }
.points { letter-spacing: 2px; font-size: 18px; }
.porte-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; padding: 0 20px;
  border: 0; border-radius: 12px; font-weight: 500; font-size: 16px; letter-spacing: -0.008em; cursor: pointer;
  background: linear-gradient(180deg, #4c98fa, var(--bleu)); color: #fff;
  box-shadow: 0 6px 16px -4px rgba(65, 144, 249, .45), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: filter .15s, transform .12s;
}
.porte-bouton:hover { filter: brightness(1.06); }
.porte-bouton:active { transform: scale(.985); }
.porte-bouton.clair { background: var(--porte-champ); color: var(--porte-encre); box-shadow: none; }
.porte-bouton.eteint { opacity: .42; cursor: default; }
.porte-champs + .porte-bouton, .porte-code6 + .porte-bouton { margin-top: 28px; }
.porte-actions { display: grid; gap: 10px; }
.porte-bas { margin-top: 24px; padding-left: 0; font-size: 16px; line-height: 20px; color: var(--porte-doux); }
.lien { color: var(--porte-lien); font-weight: 500; text-decoration: none; cursor: pointer; }
.porte-rappel {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 27px; border-radius: 14px;
  background: var(--porte-carte); font-size: 16px; line-height: 20px;
}
.porte-rappel b { font-weight: 500; }
.porte-code {
  display: grid; place-items: center; height: 76px; margin: 0 0 22px; border-radius: 14px; background: var(--porte-carte);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 30px; font-weight: 500; letter-spacing: .28em; text-indent: .28em;
}
.porte-code6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 32px repeat(3, minmax(0, 1fr)); column-gap: 12px; margin-top: 24px; }
.porte-code6-case { display: grid; place-items: center; height: 80px; border-radius: 14px; background: var(--porte-champ); font-size: 34px; line-height: 40px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.porte-code6-case.actif { background: #fff; box-shadow: 0 0 0 1.5px var(--porte-anneau), 0 0 0 5px color-mix(in srgb, var(--porte-anneau) 16%, transparent); }
.porte-code6-case .curseur { width: 2px; height: 34px; }
.porte-code6-tiret { align-self: center; justify-self: center; width: 12px; height: 2px; border-radius: 1px; background: var(--porte-pale); }

/* ── Écrans « carte » : petites cartes blanches sur le verre assombri (le rythme de Lovable) ────── */
.centre-carte { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.carte {
  position: relative; width: 480px; max-width: 100%; padding: 26px 28px 24px; border-radius: 28px; background: #fff;
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .5);
  animation: monte .6s var(--porte-courbe) both;
}
.carte.large { width: 760px; }
.carte.moyenne { width: 560px; }
@keyframes monte { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.fige .carte { animation: none; }
.carte-haut { display: flex; align-items: center; justify-content: space-between; height: 24px; margin-bottom: 26px; }
.carte-haut img { height: 22px; display: block; }
.carte-amorce { margin: 0 0 4px; font-size: 16px; line-height: 22px; font-weight: 500; color: var(--porte-encre-2); letter-spacing: -0.01em; }
.carte-titre { margin: 0 0 24px; font-size: 32px; line-height: 38px; font-weight: 400; letter-spacing: -0.035em; }
.carte-pied { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 28px; }
.carte-pied .tirets { justify-self: center; }
.carte-pied .tirets span { width: 28px; }
.carte-pied .gauche { justify-self: start; }
.carte-pied .droite { justify-self: end; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 12px;
  font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap;
  background: linear-gradient(180deg, #4c98fa, var(--bleu)); color: #fff;
  box-shadow: 0 6px 16px -4px rgba(65, 144, 249, .45), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.bouton.clair { background: var(--porte-champ); color: var(--porte-encre); box-shadow: none; }
.bouton.nu { background: none; box-shadow: none; color: var(--porte-encre-2); padding: 0 4px; }
.bouton.eteint { opacity: .42; cursor: default; }
.carte .porte-saisie { height: 50px; font-size: 15px; }
.carte .porte-champs { gap: 10px; }

/* pastilles (les choix en pastilles de Lovable) */
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
  background: var(--porte-champ); font-weight: 500; font-size: 15px; color: var(--porte-encre); cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
}
.pastille.choisie { background: color-mix(in srgb, var(--bleu) 10%, #fff); color: #1f63d6; box-shadow: inset 0 0 0 1.5px var(--bleu); }
.pastille .prix { font-weight: 400; color: var(--porte-doux); font-variant-numeric: tabular-nums; }
.pastille.choisie .prix { color: #3b7ee6; }
.pastille-info { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--porte-champ); font-size: 13px; font-weight: 500; color: var(--porte-encre-2); }
.pastille-info.vert { background: var(--porte-fait-fond); color: var(--porte-fait); }
.pastille-info.bleu { background: color-mix(in srgb, var(--bleu) 12%, #fff); color: #1f63d6; }

/* segment Au mois / À l'année */
.segment { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--porte-segment); }
.segment span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--porte-doux); }
.segment span.choisi { background: #fff; color: var(--porte-encre); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.remise { padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, #16a34a 14%, transparent); color: #15803d; font-size: 12px; font-weight: 600; }

/* l'offre */
.offre-corps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.offre-prix { padding: 22px 24px; border-radius: 20px; background: var(--porte-carte); display: flex; flex-direction: column; }
.offre-nom { font-size: 17px; font-weight: 500; color: var(--porte-encre-2); letter-spacing: -0.01em; }
.offre-profil { margin-top: 4px; font-size: 15px; color: var(--porte-doux); }
.offre-montant { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 22px; }
.offre-montant .roule { font-size: 44px; line-height: 53px; font-weight: 600; letter-spacing: -0.035em; }
.offre-montant .per { font-size: 16px; color: var(--porte-doux); }
.offre-note { margin-top: 6px; font-size: 14px; color: var(--porte-pale); }
.inclus { padding: 22px 24px; border-radius: 20px; background: var(--porte-carte); }
.inclus p { margin: 0 0 12px; font-size: 15px; font-weight: 500; }
.inclus ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px; color: var(--porte-encre-2); }
.inclus li { display: flex; align-items: center; gap: 10px; }
.inclus li svg { flex: none; color: var(--porte-pale); }
.inclus li.plus svg { color: var(--bleu); }
.offre-choix { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* tuiles « On prépare ta place » */
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tuile { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; border-radius: 16px; background: var(--porte-carte); font-size: 15px; font-weight: 500; }
.tuile .etat { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tuile .etat.fait { background: var(--porte-fait); color: #fff; }
.tuile .etat.attente { box-shadow: inset 0 0 0 1.5px var(--porte-trait); }
.tuile .ic { color: var(--porte-encre-2); display: grid; flex: none; }
.tuile.pale { color: var(--porte-pale); }
.tuile.pale .ic { color: var(--porte-pale); }
.roue { animation: roue .85s linear infinite; color: var(--bleu); }
.fige .roue { animation: none; }
@keyframes roue { to { rotate: 360deg; } }
.cadenas { margin-top: 14px; }

/* la boutique connectée */
.boutique { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--porte-carte); }
.boutique img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.boutique .nom { font-size: 16px; font-weight: 500; }
.boutique .sous { display: flex; gap: 6px; margin-top: 4px; }
.boutique .pastille-info { height: 24px; font-size: 12.5px; }

/* le fichier */
.depot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 184px; border-radius: 20px;
  border: 1.5px dashed #C9CBD3; background: #FAFAFB; text-align: center;
}
.depot .ic-fichier { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04); color: var(--porte-encre-2); }
.depot .titre { font-size: 16px; font-weight: 500; }
.depot.plein { border-style: solid; border-color: transparent; background: var(--porte-carte); }
.fichier-lu { display: flex; align-items: center; gap: 12px; width: calc(100% - 40px); padding: 12px 14px; border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.fichier-lu .ic-xls { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #E7F6EE; color: #12A150; flex: none; }
.fichier-lu .n { font-size: 15px; font-weight: 500; }
.fichier-lu .pastille-info { margin-left: auto; }

/* l'import */
.import-chiffre { display: flex; align-items: baseline; gap: 4px; font-size: 64px; line-height: 72px; font-weight: 600; letter-spacing: -0.04em; }
.import-chiffre .pc { font-size: 32px; font-weight: 500; color: var(--porte-doux); letter-spacing: -0.02em; }
.barre { height: 8px; margin-top: 18px; border-radius: 4px; background: var(--porte-segment); overflow: hidden; }
.barre i { display: block; height: 100%; border-radius: 4px; background: var(--bleu); transition: width 1s var(--porte-courbe); }
.import-lignes { display: grid; gap: 10px; margin-top: 22px; }
.import-ligne { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.import-ligne .etat { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.import-ligne .etat.fait { background: var(--porte-fait); color: #fff; }
.import-ligne.pale { color: var(--porte-pale); }
.import-ligne .etat.attente { box-shadow: inset 0 0 0 1.5px var(--porte-trait); }

/* le petit avis « E-mail vérifié » (le toast de Lovable) */
.avis {
  position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 16px;
  background: #fff; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5); font-size: 15px; font-weight: 500; animation: monte .6s .4s var(--porte-courbe) both;
}
.fige .avis { animation: none; }
.avis .rond { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--porte-fait); color: #fff; }

#confettis { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── Otto : la page de l'outil, champ prêt (lib/shopify/maquette/otto-devin.js, décalqué) ────────── */
.otto { position: absolute; inset: 0; display: grid; grid-template-columns: 236px 1fr; color: #fff; }
.otto-col { display: flex; flex-direction: column; padding: 14px 10px; background: rgba(14, 13, 12, .92); font-size: 13.5px; }
.otto-col .ligne { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 9px; color: rgba(255, 255, 255, .9); font-weight: 500; }
.otto-col .ligne svg { flex: none; color: rgba(255, 255, 255, .8); }
.otto-col .retour { font-weight: 600; margin-bottom: 8px; }
.otto-col .cherche { height: 34px; margin-bottom: 10px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55); font-weight: 400; }
.otto-col .boutiques { display: flex; align-items: center; gap: 10px; padding: 6px 8px 12px; }
.otto-col .boutiques img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.otto-col .boutiques b { display: block; font-weight: 600; font-size: 13.5px; line-height: 17px; }
.otto-col .boutiques span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.otto-col .actif { background: rgba(255, 255, 255, .1); }
.otto-col .titre-sec { margin: 16px 8px 6px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.otto-col .bas { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .08); }
.otto-col .bas .av { width: 28px; height: 28px; border-radius: 50%; background: var(--bleu); display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.otto-col .bas span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.otto-page { position: relative; overflow: hidden; border-radius: 16px; margin: 4px 4px 4px 0; }
.otto-centre { position: absolute; left: 50%; top: 118px; width: 740px; transform: translateX(-50%); }
.otto-titre { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; font-size: 26px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; }
.otto-titre svg { display: block; }
.otto-champ {
  position: relative; height: 124px; padding: 18px 18px 14px; border-radius: 20px;
  background: rgba(24, 24, 27, .62); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 1.5px rgba(65, 144, 249, .75), 0 0 0 6px rgba(65, 144, 249, .16), 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.otto-champ .invite { font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .5); }
.otto-champ .invite .curseur { color: #fff; margin: 0 1px 0 0; }
.otto-outils { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; }
.otto-outils .rond { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
.otto-outils .pil { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 10px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.otto-outils .esp { flex: 1; }
.otto-outils .envoi { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .55); }
.otto-idees { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.otto-idees span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; background: rgba(30, 30, 32, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.reste {
  margin-top: 26px; padding: 16px 16px 10px; border-radius: 18px;
  background: rgba(22, 22, 24, .62); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px -20px rgba(0, 0, 0, .6);
  animation: monte .7s .3s var(--porte-courbe) both;
}
.fige .reste { animation: none; }
.reste-tete { display: flex; align-items: center; gap: 8px; padding: 0 4px 8px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .78); }
.reste-tete .compte { margin-left: auto; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .55); }
.reste-ligne { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 10px; border-radius: 12px; font-size: 15px; font-weight: 500; color: #fff; }
.reste-ligne:hover { background: rgba(255, 255, 255, .06); }
.reste-ligne .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); font-size: 12.5px; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; flex: none; }
.reste-ligne .pil { margin-left: auto; height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.reste-ligne .pil.bleu { background: rgba(65, 144, 249, .22); color: #9cc6ff; }
.reste-ligne .pil .point { width: 6px; height: 6px; border-radius: 50%; background: #5aa2ff; box-shadow: 0 0 0 3px rgba(90, 162, 255, .25); }
.reste-ligne .chev { color: rgba(255, 255, 255, .4); display: grid; }

/* ── Le petit sélecteur d'écran (absent des captures : ?nu=1) ─────────────────────────────────── */
#nav {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(24, 24, 27, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 13px; font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
#nav button { height: 30px; min-width: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; }
#nav button:hover { background: rgba(255, 255, 255, .12); }
#nav .ou { padding: 0 6px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }
.nu #nav { display: none; }

/* roule (app/globals.css · .porte-roule) */
.porte-roule { display: inline-flex; font-variant-numeric: tabular-nums; white-space: nowrap; }
.porte-roule-interne { display: inline-flex; }
.porte-roule-lu { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.porte-roule-chiffre { position: relative; display: inline-block; height: 1.2em; overflow: hidden; transition: width .6s var(--porte-courbe), opacity .45s; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.porte-roule-colonne { display: flex; flex-direction: column; transition: transform .75s cubic-bezier(0.25, 1.15, 0.4, 1); }
.porte-roule-colonne > span { display: block; height: 1.2em; line-height: 1.2em; text-align: center; }
.porte-roule-signe { display: inline-block; height: 1.2em; line-height: 1.2em; white-space: pre; overflow: hidden; }
.offre-montant .porte-roule-chiffre, .offre-montant .porte-roule-signe, .offre-montant .porte-roule-colonne > span { height: 53px; line-height: 53px; }
.import-chiffre .porte-roule-chiffre, .import-chiffre .porte-roule-signe, .import-chiffre .porte-roule-colonne > span { height: 72px; line-height: 72px; }

/* ═══ TÉLÉPHONE (390 de large) ═══════════════════════════════════════════════════════════════ */
.tel #verre { left: 8px; top: 8px; width: calc(100% - 16px); height: 232px; border-radius: 26px; }
.tel .porte-cote { left: 0; top: 240px; padding: 26px 22px 28px; }
.tel .porte-haut { display: none; }
.tel .porte-centre { align-items: flex-start; padding: 0; }
.tel .porte-colonne > .tirets { margin-bottom: 18px; }
.tel .porte-amorce { font-size: 20px; line-height: 26px; margin-bottom: 6px; }
.tel .porte-titre { font-size: 36px; line-height: 42px; margin-bottom: 26px; }
.tel .porte-saisie { height: 52px; }
.tel .porte-bas { padding-left: 0; text-align: center; font-size: 15px; }
.tel .porte-rappel { padding: 14px 16px; font-size: 15px; flex-wrap: wrap; row-gap: 2px; }
.tel .porte-code6 { column-gap: 7px; grid-template-columns: repeat(3, minmax(0, 1fr)) 16px repeat(3, minmax(0, 1fr)); }
.tel .porte-code6-case { height: 60px; font-size: 26px; border-radius: 12px; }
.tel .porte-code6-case .curseur { height: 26px; }
.tel .porte-code { font-size: 24px; height: 66px; }
.tel .verre-champ { width: calc(100% - 40px); padding: 8px 8px 8px 16px; font-size: 14px; }
.tel .verre-champ .envoi { width: 30px; height: 30px; }
.tel .marque-tel { position: absolute; left: 22px; top: 22px; height: 17px; z-index: 2; }

.tel .centre-carte { place-items: end center; padding: 8px; }
.tel .carte, .tel .carte.large, .tel .carte.moyenne { width: 100%; padding: 22px 20px 20px; border-radius: 32px; }
.tel .carte-haut { margin-bottom: 18px; }
.tel .carte-titre { font-size: 28px; line-height: 34px; margin-bottom: 20px; }
.tel .carte-pied { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.tel .carte-pied .tirets { order: -1; }
.tel .carte-pied .gauche, .tel .carte-pied .droite { justify-self: stretch; }
.tel .carte-pied .bouton { width: 100%; height: 50px; font-size: 16px; }
.tel .carte-pied .bouton.nu { height: 24px; }
.tel .carte-pied .vide { display: none; }
.tel .offre-corps { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.tel .offre-prix, .tel .inclus { padding: 16px 18px; border-radius: 18px; }
.tel .offre-montant { padding-top: 12px; }
.tel .offre-montant .roule { font-size: 36px; }
.tel .offre-montant .porte-roule-chiffre, .tel .offre-montant .porte-roule-signe, .tel .offre-montant .porte-roule-colonne > span { height: 44px; line-height: 44px; }
.tel .inclus ul { gap: 6px; font-size: 14.5px; }
.tel .inclus p { margin-bottom: 8px; }
.tel .pastille { height: 38px; padding: 0 14px; font-size: 14.5px; }
.tel .offre-choix { flex-direction: column; align-items: stretch; gap: 10px; }
.tel .offre-choix .segment { align-self: flex-start; }
.tel .pastilles { flex-wrap: nowrap; }
.tel .tuiles { grid-template-columns: 1fr; gap: 8px; }
.tel .tuile { height: 54px; }
.tel .depot { height: 160px; }
.tel .avis { left: 50%; right: auto; bottom: auto; top: 14px; transform: translateX(-50%); white-space: nowrap; }

.tel .otto { grid-template-columns: 1fr; }
.tel .otto-col { display: none; }
.tel .otto-page { margin: 0; border-radius: 0; }
.tel .otto-centre { left: 16px; right: 16px; top: 108px; width: auto; transform: none; }
.tel .otto-titre { font-size: 30px; line-height: 36px; margin-bottom: 22px; }
.tel .otto-champ-tel { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 112px; }
.tel .reste { margin-top: 0; }
.tel .reste-ligne { height: 50px; padding: 0 6px; font-size: 14.5px; }
.tel .otto-haut { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; }
.tel .otto-haut span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(30, 30, 32, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; }
.tel .otto-idees { justify-content: flex-start; margin-top: 12px; }
.reste-ligne .pil, .pastille-info, .pastille, .bouton { white-space: nowrap; flex: none; }
.reste-ligne > span.txt { min-width: 0; }
.quitter { margin-top: 18px; }
/* centrage mesuré de l'encre (outils/centrage.cjs, à ×3) : les capitales d'Inter tombent 0,6 à 0,8 px trop haut
   dans les boutons de 44 et les pastilles de 28 ; la coche a du blanc à gauche dans sa boîte */
.bouton { padding-top: 1px; }
.pastille-info { padding-top: 1px; }
.pastille-info.vert svg { margin-left: -1.3px; }
.tel .carte-pied .bouton { padding-top: 0; }
.cadenas .pastille-info { padding-top: 0; }
.fichier-lu .n { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
