/*
 * Grenier Premium
 * Couche strictement visuelle : aucune logique applicative n'est modifiee.
 * Direction : luxe lumineux, lisible et tactile, avec icones 3D noir/or/cyan/violet.
 */

:root {
  --fond: #eef8fb;
  --carte: rgba(255, 255, 255, .92);
  --trait: rgba(20, 58, 82, .14);
  --texte: #0d1a2a;
  --texte-doux: #506173;
  --vert: #087f91;
  --vert-fonce: #075a6b;
  --ambre: #b77a18;
  --rouge: #b42332;
  --rayon: 22px;
  --ombre: 0 18px 42px rgba(12, 47, 68, .12), 0 3px 10px rgba(12, 47, 68, .08);
  --marine: #071426;
  --marine-2: #0d2440;
  --cyan: #25d9ff;
  --violet: #8d5cff;
  --or: #e8b957;
  --or-clair: #ffe6a1;
  --verre: rgba(255, 255, 255, .78);
  --icone-taille: 54px;
}

html {
  min-height: 100%;
  background: #071426;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 5%, rgba(37, 217, 255, .22), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(141, 92, 255, .16), transparent 25rem),
    linear-gradient(155deg, #f8fdff 0%, #edf8fb 52%, #f9f4e9 100%);
  color: var(--texte);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(rgba(8, 127, 145, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 145, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

[hidden] {
  display: none !important;
}

/* ---------- En-tete signature ---------- */

.barre {
  position: sticky;
  min-height: 82px;
  padding: 10px max(18px, calc((100vw - 660px) / 2));
  padding-top: calc(10px + env(safe-area-inset-top));
  overflow: visible;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 217, 255, .2), transparent 16rem),
    radial-gradient(circle at 92% 100%, rgba(141, 92, 255, .22), transparent 18rem),
    linear-gradient(135deg, #06111f, #0c2039 58%, #11182f);
  border-bottom: 1px solid rgba(113, 222, 255, .28);
  box-shadow: 0 12px 32px rgba(7, 20, 38, .24);
}

.barre::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: -1px;
  left: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--or), var(--violet), transparent);
  filter: blur(.2px);
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(37, 217, 255, .22);
}

.marque::before {
  content: "";
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  background: url("../icons/icone-192.png") center / cover no-repeat;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(37, 217, 255, .27), 0 0 24px rgba(141, 92, 255, .16);
}

.icone-bouton {
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  font-size: 0;
  background: url("../icons/premium3d/settings.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 226, 154, .6);
  border-radius: 17px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3), 0 0 17px rgba(37, 217, 255, .18);
  transition: transform .16s ease, filter .16s ease;
}

.icone-bouton:active {
  background: url("../icons/premium3d/settings.webp") center / cover no-repeat;
  transform: translateY(2px) scale(.96);
  filter: brightness(1.15);
}

/* ---------- Mise en page ---------- */

#principal {
  max-width: 660px;
  padding: 32px 18px calc(46px + env(safe-area-inset-bottom));
}

.ecran.actif {
  animation: premium-apparition .32s ease-out;
}

@keyframes premium-apparition {
  from { opacity: 0; }
  to { opacity: 1; }
}

.titre-ecran {
  margin-bottom: 10px;
  color: var(--marine);
  font-size: clamp(1.65rem, 5.5vw, 2.05rem);
  letter-spacing: -.025em;
}

.titre-ecran::after {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--or), var(--violet));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(37, 217, 255, .34);
}

.sous-titre {
  margin-bottom: 28px;
  color: var(--texte-doux);
  line-height: 1.55;
}

/* ---------- Icones 3D ---------- */

.gros-bouton-icone {
  width: var(--icone-taille);
  height: var(--icone-taille);
  flex: 0 0 var(--icone-taille);
  font-size: 0;
  background: var(--icone) center / cover no-repeat;
  border-radius: 15px;
  box-shadow: 0 7px 15px rgba(3, 13, 27, .22);
}

label[for="fichier-photo"] { --icone: url("../icons/premium3d/camera.webp"); }
label[for="fichier-galerie"] { --icone: url("../icons/premium3d/gallery.webp"); }
a[href="envoyer.html"] { --icone: url("../icons/premium3d/computer-upload.webp"); }
#btn-mes-objets { --icone: url("../icons/premium3d/package.webp"); }
#btn-vendre { --icone: url("../icons/premium3d/moneywings.webp"); }
#btn-cest-en-ligne { --icone: url("../icons/premium3d/check.webp"); }
#btn-objet-suivant { --icone: url("../icons/premium3d/plus.webp"); }
#btn-envoyer { --icone: url("../icons/premium3d/computer-upload.webp"); }
#btn-valider-code { --icone: url("../icons/premium3d/upload.webp"); }
#btn-nouveau-lot { --icone: url("../icons/premium3d/camera.webp"); }

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

.gros-bouton {
  position: relative;
  gap: 16px;
  min-height: 78px;
  padding: 11px 18px;
  overflow: hidden;
  border-radius: 21px;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.gros-bouton::after,
.bouton-copier::after,
.plateforme::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 28%, transparent 72%, rgba(255, 255, 255, .08));
}

.gros-bouton.principal {
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 217, 255, .18), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(141, 92, 255, .2), transparent 45%),
    linear-gradient(135deg, #071426, #102a49);
  border: 1px solid rgba(102, 222, 255, .42);
  box-shadow: 0 13px 26px rgba(7, 20, 38, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.gros-bouton.secondaire {
  color: var(--marine);
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(238, 248, 251, .9));
  border: 1px solid rgba(24, 93, 119, .2);
  box-shadow: var(--ombre), inset 0 1px 0 #fff;
}

.gros-bouton.discret {
  min-height: 64px;
  color: #253a4d;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(36, 88, 112, .14);
  box-shadow: 0 8px 18px rgba(12, 47, 68, .07);
}

.gros-bouton:active,
.bouton-copier:active,
.plateforme:active,
.prix-raccourcis button:active,
.lien-retirer:active {
  transform: translateY(2px) scale(.985);
  filter: brightness(.97);
}

.gros-bouton:disabled,
.bouton-copier:disabled {
  filter: grayscale(.7);
  opacity: .52;
  box-shadow: none;
}

/* Petites actions sans span d'icone. */
.gros-bouton.discret:not(#btn-mes-objets)::before,
.bouton-copier::before,
.lien-retirer::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: var(--icone, url("../icons/premium3d/copy.webp")) center / cover no-repeat;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(7, 20, 38, .18);
}

.gros-bouton.discret:not(#btn-mes-objets),
.bouton-copier,
.lien-retirer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#btn-annuler-analyse,
#btn-retour-accueil,
#btn-retour-resultat,
#btn-objets-retour,
#btn-reglages-retour,
#btn-retour-lot {
  --icone: url("../icons/premium3d/back.webp");
}

#btn-vider,
.lien-retirer {
  --icone: url("../icons/premium3d/trash.webp");
}

#btn-tester-cle,
#btn-tester-cle-groq {
  --icone: url("../icons/premium3d/key.webp");
}

#btn-envoyer-photo { --icone: url("../icons/premium3d/upload.webp"); }
#lien-deposer,
#lien-verifier { --icone: url("../icons/premium3d/search.webp"); }

.bouton-copier {
  position: relative;
  min-height: 62px;
  color: #13263a;
  background: linear-gradient(145deg, #fff, #eaf4f7);
  border: 1px solid rgba(25, 88, 111, .2);
  border-radius: 17px;
  box-shadow: 0 9px 20px rgba(12, 47, 68, .1), inset 0 1px 0 #fff;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.bouton-copier.grand {
  min-height: 70px;
}

.bouton-copier.accent {
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 217, 255, .2), transparent 38%),
    linear-gradient(135deg, #071426, #123252);
  border-color: rgba(91, 214, 255, .42);
}

.bouton-copier.fait {
  color: #075c4a;
  background: linear-gradient(145deg, #edfff8, #c9f7e8);
  border-color: rgba(8, 127, 112, .42);
}

/* ---------- Cartes ---------- */

.carte,
.guide-pas,
.objet {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(239, 248, 251, .88));
  border: 1px solid rgba(22, 91, 116, .15);
  box-shadow: var(--ombre), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.carte::before,
.guide-pas::before,
.objet::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 217, 255, .62), rgba(232, 185, 87, .7), transparent);
  border-radius: 999px;
}

.carte {
  padding: 21px;
  border-radius: 23px;
}

.carte-prix {
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 217, 255, .12), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(232, 185, 87, .14), transparent 45%),
    linear-gradient(145deg, #fff, #f0f9fb);
}

.etiquette {
  color: #526678;
  font-size: .86rem;
  letter-spacing: .12em;
}

.prix-principal {
  color: #087f91;
  text-shadow: 0 5px 22px rgba(37, 217, 255, .2);
}

.mon-prix {
  border-top-color: rgba(18, 108, 132, .2);
}

.prix-saisie input,
.champ {
  background: rgba(255, 255, 255, .86);
  border: 2px solid rgba(20, 103, 132, .28);
  box-shadow: inset 0 2px 8px rgba(7, 31, 48, .05), 0 3px 0 rgba(255, 255, 255, .9);
}

.prix-saisie input {
  border-color: #13a6bc;
  box-shadow: 0 0 0 4px rgba(37, 217, 255, .1), inset 0 2px 8px rgba(7, 31, 48, .05);
}

.prix-raccourcis button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #123f51;
  background: linear-gradient(145deg, #fff, #e7f5f8);
  border: 1px solid rgba(20, 103, 132, .25);
  box-shadow: 0 7px 16px rgba(12, 47, 68, .1);
}

.prix-raccourcis button::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("../icons/premium3d/tag.webp") center / cover no-repeat;
  border-radius: 8px;
}

.texte-annonce,
.annonces-vues li,
.sources a {
  background: rgba(233, 245, 248, .72);
  border-color: rgba(20, 103, 132, .18);
}

.lien-verif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #093c4c;
  background: linear-gradient(145deg, #f7feff, #ddf3f7);
  border-color: rgba(10, 143, 166, .45);
  box-shadow: 0 8px 18px rgba(12, 47, 68, .09);
}

.lien-verif::before {
  content: "";
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: url("../icons/premium3d/search.webp") center / cover no-repeat;
  border-radius: 12px;
}

/* ---------- Choix de plateforme ---------- */

.plateforme {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 13px 16px;
  background: linear-gradient(145deg, #fff, #eaf5f7);
  border: 1px solid rgba(25, 88, 111, .18);
  border-radius: 19px;
  box-shadow: 0 9px 20px rgba(12, 47, 68, .09);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.plateforme::before {
  content: "";
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  background: var(--icone) center / cover no-repeat;
  border-radius: 16px;
  box-shadow: 0 7px 15px rgba(7, 20, 38, .2);
}

.plateforme[data-plateforme="leboncoin"] { --icone: url("../icons/premium3d/cart.webp"); }
.plateforme[data-plateforme="vinted"] { --icone: url("../icons/premium3d/coat.webp"); }

.plateforme-nom,
.plateforme-quoi {
  grid-column: 2;
}

.plateforme[aria-checked="true"] {
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 217, 255, .12), transparent 45%),
    #fff;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(37, 217, 255, .11), 0 12px 24px rgba(12, 47, 68, .13);
}

/* ---------- Analyse, progression et messages ---------- */

.apercu,
.vignette {
  background: #dcecf1;
  border: 1px solid rgba(22, 91, 116, .16);
  box-shadow: 0 14px 30px rgba(12, 47, 68, .13);
}

.apercu { border-radius: 24px; }
.vignette { border-radius: 20px; }

.etapes {
  padding: 12px 18px;
  background: var(--verre);
  border: 1px solid rgba(22, 91, 116, .14);
  border-radius: 22px;
  box-shadow: var(--ombre);
}

.etapes li + li {
  border-top: 1px solid rgba(22, 91, 116, .1);
}

.puce {
  background: #f9fdff;
  border-color: #b7cbd3;
}

.etapes li.en-cours .puce {
  border-color: var(--cyan);
  border-top-color: transparent;
  box-shadow: 0 0 12px rgba(37, 217, 255, .42);
}

.etapes li.faite .puce {
  background: linear-gradient(145deg, #17a9bd, #087688);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(37, 217, 255, .3);
}

.avert {
  padding-left: 82px;
  background:
    url("../icons/premium3d/warning.webp") 16px center / 52px 52px no-repeat,
    linear-gradient(145deg, #fffaf0, #fff0c8);
  border: 1px solid rgba(183, 122, 24, .4);
  box-shadow: 0 12px 26px rgba(116, 76, 16, .12);
}

.jauge {
  height: 20px;
  padding: 3px;
  background: #d6e7eb;
  border: 1px solid rgba(22, 91, 116, .14);
  box-shadow: inset 0 2px 5px rgba(7, 31, 48, .12);
}

.jauge-remplie {
  background: linear-gradient(90deg, #13bcd6, #7d5fff, #e5b451);
  box-shadow: 0 0 15px rgba(37, 217, 255, .42);
}

.reussite-icone {
  width: 112px;
  height: 112px;
  font-size: 0;
  background: url("../icons/premium3d/check.webp") center / cover no-repeat;
  border: 1px solid rgba(37, 217, 255, .42);
  border-radius: 30px;
  box-shadow: 0 14px 30px rgba(7, 20, 38, .2), 0 0 25px rgba(37, 217, 255, .18);
}

.toast {
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 217, 255, .18), transparent 40%),
    linear-gradient(135deg, #06111f, #102a49);
  border: 1px solid rgba(89, 218, 255, .38);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(3, 13, 27, .34), 0 0 18px rgba(37, 217, 255, .15);
}

/* ---------- Guide et objets ---------- */

.guide-pas {
  padding: 20px;
  border-radius: 23px;
}

.guide-num {
  width: 52px;
  height: 52px;
  color: #fff6d9;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(145deg, #172a43, #071426);
  border: 2px solid var(--or);
  box-shadow: 0 8px 17px rgba(7, 20, 38, .2), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.objet {
  overflow: hidden;
  border-radius: 21px;
  transition: transform .16s ease, box-shadow .16s ease;
}

.objet::after {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: url("../icons/premium3d/search.webp") center / cover no-repeat;
  border-radius: 11px;
}

.objet:active { transform: translateY(2px) scale(.99); }

.badge {
  border: 1px solid rgba(22, 91, 116, .12);
}

.article-en-cours {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 217, 255, .12), var(--ombre);
}

.photo-case img {
  border: 1px solid rgba(22, 91, 116, .14);
  box-shadow: 0 7px 16px rgba(12, 47, 68, .12);
}

.photo-retirer {
  width: 46px;
  height: 46px;
  font-size: 0;
  background: url("../icons/premium3d/trash.webp") center / cover no-repeat;
  border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 7px 15px rgba(7, 20, 38, .28);
}

.lien-retirer {
  color: #8b2030;
  background: linear-gradient(145deg, #fff, #fff0f2);
  border-color: rgba(180, 35, 50, .22);
}

/* ---------- Barre principale collee ---------- */

.barre-action {
  margin-right: -18px;
  margin-left: -18px;
  background: linear-gradient(to bottom, rgba(238, 248, 251, 0), rgba(238, 248, 251, .95) 26%, #eef8fb 100%);
}

/* ---------- Focus, installation et adaptation ---------- */

button:focus-visible,
a:focus-visible,
label:focus-visible,
input:focus-visible {
  outline: 3px solid #0aa8c2;
  outline-offset: 3px;
}

#zone-install {
  margin-top: 18px;
}

/* Le module d'installation injecte son propre style apres la feuille principale.
   Ces selecteurs volontairement plus precis l'habillent sans toucher a son code. */
body #pwaic-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 2147483000;
  width: calc(100% - 24px);
  max-width: 430px;
  transform: translateX(-50%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  animation: premium-pwa-in .35s ease;
}

@keyframes premium-pwa-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

body #pwaic-wrap .pwaic-card {
  position: relative;
  padding: 16px 16px 14px;
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 217, 255, .18), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(141, 92, 255, .2), transparent 45%),
    linear-gradient(135deg, #06111f, #102a49);
  border: 1px solid rgba(89, 218, 255, .4);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(3, 13, 27, .42), 0 0 22px rgba(37, 217, 255, .14);
}

body #pwaic-wrap .pwaic-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
}

body #pwaic-wrap .pwaic-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  background: url("../icons/icone-192.png") center / cover no-repeat;
  border: 1px solid rgba(255, 226, 154, .54);
  border-radius: 15px;
  box-shadow: 0 7px 15px rgba(0, 0, 0, .28);
}

body #pwaic-wrap .pwaic-ico svg {
  display: none;
}

body #pwaic-wrap .pwaic-ttl {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

body #pwaic-wrap .pwaic-sub,
body #pwaic-wrap .pwaic-steps {
  color: #dceaf3;
}

body #pwaic-wrap .pwaic-sub {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

body #pwaic-wrap .pwaic-close {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 0;
  background: url("../icons/premium3d/back.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 226, 154, .42);
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .28);
}

body #pwaic-wrap .pwaic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  width: 100%;
  margin-top: 12px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #0a8297, #124d78 58%, #493b91);
  border: 1px solid rgba(111, 228, 255, .5);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(2, 12, 25, .3), inset 0 1px 0 rgba(255, 255, 255, .16);
}

body #pwaic-wrap .pwaic-btn::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: url("../icons/premium3d/download.webp") center / cover no-repeat;
  border-radius: 11px;
}

body #pwaic-wrap .pwaic-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}

body #pwaic-wrap .pwaic-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

body #pwaic-wrap .pwaic-num,
body #pwaic-wrap .pwaic-chip {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(112, 220, 255, .18);
}

body #pwaic-wrap .pwaic-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

body #pwaic-wrap .pwaic-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 7px;
  font-weight: 700;
}

body #pwaic-wrap .pwaic-chip svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 430px) {
  :root { --icone-taille: 50px; }

  .barre {
    min-height: 76px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .marque { font-size: 1.4rem; }

  .marque::before {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .icone-bouton {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
  }

  #principal {
    padding-top: 26px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .gros-bouton {
    gap: 13px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 1.08rem;
  }

  .plateforme {
    grid-template-columns: 52px 1fr;
    padding-right: 13px;
    padding-left: 13px;
  }

  .plateforme::before {
    width: 52px;
    height: 52px;
  }

  .guide-pas {
    gap: 11px;
    padding: 16px 14px;
  }

  .guide-num {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 350px) {
  :root { --icone-taille: 46px; }

  html, body { font-size: 17px; }

  .gros-bouton {
    min-height: 72px;
    padding: 10px 12px;
  }

  .bouton-copier::before,
  .gros-bouton.discret:not(#btn-mes-objets)::before {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

@media (min-width: 760px) {
  #principal {
    padding-top: 42px;
  }

  .carte,
  .guide-pas {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecran.actif { animation: none; }
  .gros-bouton,
  .bouton-copier,
  .plateforme,
  .objet,
  .icone-bouton { transition: none; }
}
