/* Questionnaire Menubut : la mise en page de MenuFit (cartes pilules, rond à
   droite, barre de progression, gros titre centré, bouton en bas), aux
   couleurs de la landing (fond sombre, vert). */
:root {
  --fond: #060608;
  --encre: #f4efe9;
  --gris: #a39d97;
  --meta: #8a847e;
  --carte: rgba(255,255,255,0.05);
  --carte-bord: rgba(255,255,255,0.07);
  --marque: #34d27b;
  --marque-clair: #6ff0a4;
  --marque-fonce: #12a150;
  --sur-marque: #04150b;
  --bleu: #38bdf8;
  --orange: #fb923c;
  --violet: #a78bfa;
  --rouge: #ff5d5d;
  --texte: 'Inter', system-ui, -apple-system, sans-serif;
  --titre-police: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--fond); color: var(--encre); font-family: var(--texte); }
body { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }

#app { position: relative; max-width: 480px; height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; background: radial-gradient(120% 50% at 50% -10%, rgba(52,210,123,0.10), transparent 60%), var(--fond); }

/* ---------- En-tête : retour + barre ---------- */
.entete { display: flex; align-items: center; gap: 16px; padding: calc(12px + env(safe-area-inset-top)) 20px 8px; flex-shrink: 0; }
.retour { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--gris); flex-shrink: 0; }
.retour:active { transform: scale(.94); }
.progres { flex: 1; height: 5px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
#progres { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--marque-clair), var(--marque)); transition: width .5s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 10px rgba(52,210,123,.5); }

/* ---------- Zone qui défile ---------- */
.zone { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.zone::-webkit-scrollbar { display: none; }
.ecran { min-height: 100%; display: flex; flex-direction: column; padding: 0 20px 24px; }
.depuis-droite { animation: depuisDroite .38s cubic-bezier(.2,.8,.2,1); }
.depuis-gauche { animation: depuisGauche .38s cubic-bezier(.2,.8,.2,1); }
@keyframes depuisDroite { from { opacity: 0; transform: translateX(28px); } }
@keyframes depuisGauche { from { opacity: 0; transform: translateX(-28px); } }

.titre { margin: 28px 0 0; text-align: center; font-family: var(--titre-police); font-weight: 800; font-size: 31px; line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; }
.sous { margin: 12px auto 0; max-width: 22rem; text-align: center; font-size: 16px; line-height: 1.5; color: var(--gris); text-wrap: balance; }

/* ---------- Bas : bouton Continuer ---------- */
.bas { flex-shrink: 0; padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--fond) 70%, transparent); }
.continuer, .bouton-plein { width: 100%; min-height: 58px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--marque-clair), var(--marque-fonce)); color: var(--sur-marque); font-weight: 800; font-size: 18px; box-shadow: 0 0 26px rgba(52,210,123,.35); transition: transform .12s, background .25s, box-shadow .25s, color .25s; }
.continuer:active:not(:disabled), .bouton-plein:active { transform: scale(.97); }
.continuer:disabled { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.35); box-shadow: none; cursor: default; }

/* ---------- Cartes de choix (pilules MenuFit) ---------- */
.choix { display: grid; gap: 12px; margin: auto 0; padding: 36px 0 8px; }
.choix.haut { margin: 0; padding-top: 32px; }
.option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 78px; padding: 14px 20px 14px 22px; border-radius: 40px; border: 1.5px solid var(--carte-bord); background: var(--carte); text-align: left; transition: border-color .2s, background .2s, transform .12s; }
.choix.serre .option { min-height: 64px; }
.option:active { transform: scale(.98); }
.option-icone { width: 34px; display: grid; place-items: center; font-size: 26px; line-height: 1; flex-shrink: 0; }
.option-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.option-label { font-size: 17px; font-weight: 600; line-height: 1.3; }
.option-sous { font-size: 14.5px; color: var(--meta); }
.radio { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.05); flex-shrink: 0; position: relative; transition: background .2s, border-color .2s; }
.option.actif { border-color: var(--marque); background: rgba(52,210,123,0.09); }
.option.actif .radio { background: var(--marque); border-color: var(--marque); animation: pop .32s cubic-bezier(.3,1.6,.5,1); }
.option.actif .radio::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--sur-marque); }
.option.actif .radio.coche::after { inset: 0; border-radius: 0; background: none; border: solid var(--sur-marque); border-width: 0 2.5px 2.5px 0; width: 7px; height: 12px; left: 8.5px; top: 4.5px; transform: rotate(45deg); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

/* Badges des réseaux */
.badge-reseau { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff; }
.badge-reseau.grand { width: 84px; height: 84px; border-radius: 50%; font-size: 44px; }

/* ---------- Grille de cartes (écran « précision ») ---------- */
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: auto 0; padding: 32px 0 8px; }
.carte-choix { position: relative; min-height: 172px; border-radius: 24px; border: 1.5px solid var(--carte-bord); background: var(--carte); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px 10px; transition: border-color .2s, background .2s, transform .12s; }
.carte-choix:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
.carte-choix:active { transform: scale(.97); }
.carte-choix .radio { position: absolute; top: 12px; right: 12px; }
.carte-choix.actif { border-color: var(--marque); background: rgba(52,210,123,0.09); }
.carte-choix.actif .radio { background: var(--marque); border-color: var(--marque); }
.carte-choix.actif .radio::after { content: ""; position: absolute; left: 8.5px; top: 4.5px; width: 7px; height: 12px; border: solid var(--sur-marque); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.carte-choix-label { font-weight: 800; font-size: 17px; text-align: center; }
.emoji-geant { font-size: 64px; line-height: 1; }
.mini-carrousel { display: flex; gap: 4px; }
.mini-carrousel span { width: 42px; height: 54px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(160deg, #2a3a30, #15201a); border: 1px solid rgba(255,255,255,.08); }

/* ---------- Roues (date, taille) ---------- */
.roues { display: flex; justify-content: center; gap: 6px; margin: auto 0; padding: 40px 0 8px; position: relative; }
.roue-titre { text-align: center; font-size: 18px; font-weight: 600; margin-top: auto; padding-top: 40px; }
.roue-titre + .roues { margin-top: 0; padding-top: 14px; }
.roue { position: relative; height: 220px; width: 84px; }
.roue.large { width: 138px; }
.roue.moyen { width: 96px; }
.roue.cm { width: 150px; }
/* Une seule bande sous toutes les roues, comme le sélecteur de l'iPhone. */
.roue-bande { display: none; }
.roues::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: min(100%, 340px); bottom: 96px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.07); pointer-events: none; }
.roues:has(.roue.cm)::before { width: 170px; }
.roue-liste { position: relative; height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; padding: 88px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.roue-liste::-webkit-scrollbar { display: none; }
.roue-item { height: 44px; line-height: 44px; text-align: center; font-size: 22px; scroll-snap-align: center; color: var(--encre); user-select: none; cursor: pointer; transition: color .15s; }
.roue-item.centre { font-weight: 600; }

/* ---------- Règle graduée (poids) ---------- */
.mesure { margin: auto 0; padding: 40px 0 8px; text-align: center; }
.mesure-label { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.mesure-valeur { font-weight: 800; font-size: 58px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mesure-valeur small { font-size: .62em; margin-left: 6px; }
.mesure-ecart { height: 28px; margin-top: 4px; font-weight: 800; font-size: 20px; color: var(--meta); transition: color .2s; }
.mesure-ecart.bon { color: var(--marque); }
.regle { position: relative; height: 112px; margin: 18px -20px 0; }
.regle-defile { height: 100%; overflow-x: scroll; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.regle-defile::-webkit-scrollbar { display: none; }
.regle-ticks { display: inline-flex; align-items: flex-end; height: 100%; padding: 0 calc(50% - 5px); padding-bottom: 6px; }
.tick { width: 10px; height: 100%; flex: none; position: relative; }
.tick::before { content: ""; position: absolute; bottom: 0; left: 4.25px; width: 1.5px; height: 30px; background: rgba(255,255,255,0.25); border-radius: 2px; }
.tick.moyen::before { height: 46px; background: rgba(255,255,255,0.45); }
.tick.long::before { height: 70px; background: rgba(255,255,255,0.75); }
.regle-aiguille { position: absolute; left: 50%; bottom: 6px; width: 4px; height: 100px; margin-left: -2px; border-radius: 4px; background: var(--marque); box-shadow: 0 0 14px rgba(52,210,123,.7); pointer-events: none; }

/* ---------- Choix malins ---------- */
.malins { position: relative; height: 340px; margin: auto 0; }
.plat-carte { position: absolute; top: 60px; width: 52%; padding: 14px 14px 18px; border-radius: 28px; background: #f7f5f1; color: #111; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.plat-carte .plat-photo { height: 120px; border-radius: 18px; background: linear-gradient(160deg, #fff, #ece7df); display: grid; place-items: center; font-size: 38px; letter-spacing: -8px; white-space: nowrap; padding-right: 8px; }
.plat-carte strong { display: block; margin-top: 10px; font-size: 22px; font-weight: 800; }
.plat-carte span { display: block; font-size: 15px; line-height: 1.35; color: #333; }
.plat-carte.a { left: 2%; transform: rotate(-4deg); animation: entreCarteA .7s cubic-bezier(.2,.8,.2,1) both; }
.plat-carte.b { right: 2%; top: 92px; transform: rotate(3deg); animation: entreCarteB .7s .15s cubic-bezier(.2,.8,.2,1) both; z-index: 1; }
@keyframes entreCarteA { from { opacity: 0; transform: translate(40px, 30px) rotate(0); } }
@keyframes entreCarteB { from { opacity: 0; transform: translate(-40px, 30px) rotate(0); } }
.etiquette-plat { position: absolute; padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: 15px; white-space: nowrap; color: #08130c; box-shadow: 0 8px 20px rgba(0,0,0,.35); animation: tombe .55s cubic-bezier(.3,1.5,.5,1) both; }
.etiquette-plat.a { left: 0; top: 14px; background: #86e0a8; transform: rotate(-4deg); animation-delay: .9s; }
.etiquette-plat.b { right: 0; top: 44px; background: #7cc8f0; transform: rotate(3deg); animation-delay: 1.15s; z-index: 2; }
@keyframes tombe { from { opacity: 0; transform: translateY(-30px) scale(.7) rotate(-12deg); } }
.note-bas { margin: 18px auto 0; max-width: 21rem; text-align: center; font-size: 16px; line-height: 1.5; color: var(--gris); }

/* ---------- Devantures (tous les restos) ---------- */
.devanture { position: relative; height: 300px; margin: auto 0; perspective: 900px; }
.devanture-svg { position: absolute; inset: 0; margin: auto; width: 100%; max-width: 300px; height: 100%; }
.devanture-svg.entre { animation: devantureEntre .6s cubic-bezier(.2,.8,.2,1) both; }
.devanture-svg.sort { animation: devantureSort .45s ease both; }
@keyframes devantureEntre { from { opacity: 0; transform: rotateY(-50deg) translateX(40px) scale(.9); } }
@keyframes devantureSort { to { opacity: 0; transform: rotateY(50deg) translateX(-40px) scale(.9); } }
.devanture-nom { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-family: 'Syne', sans-serif; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }

/* ---------- Favoris ---------- */
.recherche { display: flex; align-items: center; gap: 12px; margin-top: 22px; height: 58px; padding: 0 20px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1.5px solid transparent; }
.recherche:focus-within { border-color: rgba(52,210,123,.6); }
.recherche input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--encre); font-size: 17px; outline: none; }
.recherche input::placeholder { color: var(--meta); }
.petite-note { margin: 12px 0 0; text-align: center; font-size: 14.5px; color: var(--meta); line-height: 1.5; }
.restos { display: grid; gap: 10px; padding: 18px 0 8px; }
.logo-resto { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -0.02em; flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.restos .option { min-height: 70px; padding-left: 12px; }
.vide { text-align: center; color: var(--meta); padding: 24px 10px; font-size: 15px; }

/* ---------- Ce n'est pas où tu manges ---------- */
.duel { position: relative; margin-top: 26px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.07); }
.duel-photos { display: grid; grid-template-columns: 1fr 1fr; height: 200px; }
.duel-photos > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.duel-photos .mauvais { background: linear-gradient(160deg, #3a1d1d, #1b1010); }
.duel-photos .bon { background: linear-gradient(160deg, #173a26, #0d1b13); }
.duel-visage { font-size: 50px; animation: flotte 3s ease-in-out infinite; }
.duel-photos .bon .duel-visage { animation-delay: -1.5s; }
.duel-plateau { font-size: 30px; letter-spacing: 2px; }
.duel-photos small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@keyframes flotte { 50% { transform: translateY(-6px); } }
.duel-texte { margin-top: -18px; position: relative; padding: 20px 20px 22px; border-radius: 26px 26px 0 0; background: rgba(140,118,90,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.duel-texte b { display: block; font-size: 18px; line-height: 1.4; }
.duel-texte b .chiffre { color: var(--marque-clair); font-variant-numeric: tabular-nums; }
.duel-texte p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.88); }
.duel-texte .source { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------- Pilules des plats ---------- */
.section-plats { margin-top: 22px; }
.section-plats:first-of-type { margin-top: 18px; }
.section-haut { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 12px; }
.section-haut h2 { margin: 0; font-size: 19px; font-weight: 800; }
.tout { border: 0; background: none; color: var(--meta); font-size: 15px; padding: 8px 0 8px 12px; }
.tout.actif { color: var(--marque); }
.pilules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pilule { min-height: 56px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.1); background: var(--carte); font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; line-height: 1.2; transition: border-color .2s, background .2s, transform .12s; }
.pilule:active { transform: scale(.96); }
.pilule.actif { border-color: var(--marque); background: rgba(52,210,123,0.12); animation: pop .3s cubic-bezier(.3,1.6,.5,1); }
.pilules-non .pilule.actif { border-color: var(--rouge); background: rgba(255,93,93,0.1); }
.pilule.part { animation: part .3s ease both; }
@keyframes part { to { opacity: 0; transform: scale(.8); } }

/* ---------- Prêt ---------- */
.pret { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 30px; padding-top: 30px; }
.pret svg { width: 150px; height: 150px; }
.pret .cercle { stroke-dasharray: 440; stroke-dashoffset: 440; animation: trace 1s .2s ease-out forwards; }
.pret .coche { stroke-dasharray: 90; stroke-dashoffset: 90; animation: trace .45s 1.1s ease-out forwards; }
.pret svg { animation: respire 2.4s 1.6s ease-in-out infinite; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes respire { 50% { transform: scale(1.05); filter: drop-shadow(0 0 18px rgba(52,210,123,.45)); } }
.pret p { margin: 0; text-align: center; font-size: 17px; line-height: 1.55; color: var(--gris); max-width: 21rem; }

/* ---------- L'e-mail, facultatif (29/11/2026) ---------- */
.bloc-email { margin: 32px auto 0; width: 100%; max-width: 24rem; display: flex; flex-direction: column; gap: 16px; }
.champ-email { width: 100%; min-height: 58px; padding: 0 18px; border-radius: 18px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--encre); font: inherit; font-size: 18px; font-weight: 600; outline: none; transition: border-color .2s, background .2s; }
.champ-email::placeholder { color: rgba(255,255,255,.32); font-weight: 500; }
.champ-email:focus { border-color: var(--marque, #34d27b); background: rgba(52,210,123,.07); }
.accord-email { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--gris); cursor: pointer; }
.accord-email input { flex-shrink: 0; width: 22px; height: 22px; margin: 0; accent-color: #34d27b; }
.petit-email { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.42); text-align: center; }
.petit-email a { color: inherit; }

/* ---------- Chargement ---------- */
.chargement { margin: auto 0; text-align: center; padding-top: 40px; }
.chargement .pct { font-weight: 800; font-size: 84px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.chargement h2 { margin: 18px auto 0; max-width: 18rem; font-size: 25px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.charge-barre { margin: 28px 8px 0; height: 14px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.charge-barre div { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--marque)); position: relative; }
.charge-barre div::after { content: ""; position: absolute; right: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--marque-clair); box-shadow: 0 0 12px var(--marque); }
.etape { margin-top: 26px; font-size: 17px; min-height: 26px; }
.etape span { display: inline-block; animation: etape .35s ease; }
@keyframes etape { from { opacity: 0; transform: translateY(8px); } }
.avertissement { margin-top: auto; padding-top: 30px; font-size: 13px; line-height: 1.55; color: var(--meta); text-align: center; }
.avertissement b { color: var(--gris); }

/* ---------- Félicitations ---------- */
.bravo { padding-top: calc(20px + env(safe-area-inset-top)); }
.confettis { position: relative; height: 120px; margin: 0 -20px; overflow: visible; pointer-events: none; }
.confettis .cotillon { position: absolute; left: 50%; top: 30px; font-size: 64px; transform: translateX(-50%); animation: cotillon .7s cubic-bezier(.3,1.6,.5,1) both; }
.confetti { position: absolute; left: 50%; top: 60px; width: 8px; height: 14px; border-radius: 3px; opacity: 0; animation: confetti 1.4s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes cotillon { from { transform: translateX(-50%) scale(0) rotate(-40deg); } }
@keyframes confetti { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
.bravo h1 { margin: 8px 0 0; text-align: center; font-weight: 800; font-size: 36px; letter-spacing: -0.035em; }
.bravo h2 { margin: 10px auto 0; max-width: 20rem; text-align: center; font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; }
.telephone-bravo { position: relative; margin: 30px 26px 0; height: 330px; border-radius: 44px 44px 0 0; border: 10px solid #1b1c20; border-bottom: 0; background: #f7f5f1; color: #111; box-shadow: 0 0 0 2px #3a3b40; }
.telephone-bravo .ile { position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #050506; }
.telephone-bravo .heure { position: absolute; left: 26px; top: 14px; font-size: 13px; font-weight: 700; }
.telephone-bravo .accroche { position: absolute; top: 70px; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 17px; }
.pile-cartes { position: absolute; top: 110px; left: -44px; right: -44px; }
.carte-repas { position: relative; display: flex; gap: 14px; padding: 12px; border-radius: 22px; background: #fff; color: #111; box-shadow: 0 14px 40px rgba(0,0,0,.25); text-align: left; animation: carteMonte .7s .5s cubic-bezier(.2,.8,.2,1) both; }
.carte-repas.derriere { position: absolute; left: 10px; right: 10px; top: 14px; height: 100%; opacity: .7; animation-delay: .35s; z-index: -1; }
.carte-repas.derriere.deux { left: 20px; right: 20px; top: 26px; opacity: .45; animation-delay: .2s; }
@keyframes carteMonte { from { opacity: 0; transform: translateY(40px) scale(.95); } }
.repas-photo { width: 104px; height: 104px; border-radius: 16px; background: linear-gradient(160deg, #fff, #ece7df); display: grid; place-items: center; font-size: 28px; letter-spacing: -7px; white-space: nowrap; padding-right: 7px; flex-shrink: 0; position: relative; }
.repas-photo .chaine { position: absolute; left: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; font-size: 9px; letter-spacing: 0; font-weight: 800; display: grid; place-items: center; }
.carte-repas h3 { margin: 4px 0 0; font-size: 19px; font-weight: 800; line-height: 1.2; }
.carte-repas p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: #6b6b6b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-repas .chaine-nom { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--marque-fonce); }
.panneau { position: relative; margin-top: -40px; padding: 22px 18px; border-radius: 28px; background: rgba(22,24,26,0.94); border: 1px solid var(--carte-bord); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: center; }
.panneau + .panneau { margin-top: 18px; }
.panneau h3 { margin: 0; font-size: 21px; font-weight: 800; }
.panneau .petit { margin: 6px 0 0; color: var(--meta); font-size: 15px; }
.anneaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.anneau { position: relative; display: grid; place-items: center; }
.anneau svg { width: 100%; max-width: 104px; transform: rotate(-90deg); }
.anneau .piste { stroke: rgba(255,255,255,0.08); }
.anneau .arc { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.anneau .centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; color: var(--gris); }
.anneau .centre b { font-size: 19px; color: var(--encre); font-variant-numeric: tabular-nums; }
.dans-objectif { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--gris); font-size: 16px; }
.dans-objectif i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(52,210,123,0.15); color: var(--marque); font-style: normal; font-weight: 800; }
.objectif-repas { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.objectif-repas .grand { position: relative; width: 150px; flex-shrink: 0; }
.objectif-repas .grand svg { width: 150px; transform: rotate(-90deg); }
.objectif-repas .grand .centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 15px; color: var(--gris); }
.objectif-repas .grand .centre b { font-size: 40px; font-weight: 800; color: var(--encre); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.macros-liste { display: grid; gap: 14px; text-align: left; }
.macro { display: flex; align-items: center; gap: 12px; }
.macro svg { width: 40px; transform: rotate(-90deg); flex-shrink: 0; }
.macro span { font-size: 16px; line-height: 1.25; }
.macro span b { display: block; color: var(--gris); font-weight: 600; }
.aide-titre { margin: 30px 0 14px; text-align: center; font-size: 19px; font-weight: 800; }
.aide { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; border: 1px solid var(--carte-bord); background: var(--carte); margin-bottom: 12px; text-align: left; }
.aide .rond { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,0.07); flex-shrink: 0; }
.aide span { font-size: 17px; font-weight: 700; line-height: 1.35; }
.bravo .bouton-plein { margin: 18px 0 calc(10px + env(safe-area-inset-bottom)); }
.fleche-bas { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; border: 0; background: var(--encre); color: #111; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5); z-index: 5; transition: opacity .25s, transform .25s; animation: rebond 1.8s ease-in-out infinite; }
.fleche-bas.cache { opacity: 0; pointer-events: none; transform: translateY(20px); animation: none; }
@keyframes rebond { 50% { transform: translateY(5px); } }

/* ---------- Paywall ---------- */
.paywall { padding: 0 20px calc(18px + env(safe-area-inset-bottom)); }
.paywall-haut { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 0 6px; }
.paywall-marque { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.04em; }
.paywall-marque i { width: 36px; height: 36px; border-radius: 10px; background: var(--marque); display: grid; place-items: center; }
.lien-texte { border: 0; background: none; color: var(--encre); font-size: 16px; font-weight: 600; padding: 10px 0; }
.mur-logos { position: absolute; left: 0; right: 0; top: 70px; height: 390px; overflow: hidden; opacity: .32; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); pointer-events: none; }
.rangee-logos { display: flex; gap: 14px; width: max-content; margin-bottom: 14px; animation: glisse 40s linear infinite; }
.rangee-logos:nth-child(even) { animation-direction: reverse; margin-left: -50px; }
.rangee-logos .logo-resto { width: 82px; height: 82px; font-size: 22px; }
@keyframes glisse { to { transform: translateX(-50%); } }
.telephone-pay { position: relative; z-index: 1; margin: 18px auto 0; width: 76%; height: 300px; border-radius: 40px 40px 0 0; border: 9px solid #1b1c20; border-bottom: 0; background: #f7f5f1; color: #111; box-shadow: 0 0 0 2px #3a3b40, 0 30px 60px rgba(0,0,0,.5); }
.telephone-pay .ile { position: absolute; left: 50%; top: 8px; width: 84px; height: 24px; margin-left: -42px; border-radius: 99px; background: #050506; }
.app-barre { display: flex; justify-content: space-between; align-items: center; padding: 46px 14px 0; }
.app-barre b { font-family: 'Syne', sans-serif; font-size: 17px; letter-spacing: -0.04em; }
.bascule { display: flex; padding: 3px; border-radius: 99px; background: #e9e6e0; font-size: 11px; font-weight: 600; }
.bascule span { padding: 5px 9px; border-radius: 99px; }
.bascule span:first-child { background: #111; color: #fff; }
.app-recherche { margin: 10px 14px 0; height: 32px; border-radius: 10px; background: #e9e6e0; color: #888; font-size: 13px; display: flex; align-items: center; padding: 0 10px; }
.carte-pay { position: absolute; z-index: 2; left: -14%; right: -14%; top: 128px; padding: 14px; border-radius: 22px; background: #fff; color: #111; box-shadow: 0 18px 50px rgba(0,0,0,.35); animation: flottePay 4s ease-in-out infinite; }
@keyframes flottePay { 50% { transform: translateY(-6px); } }
.carte-pay-haut { display: flex; gap: 12px; }
.carte-pay .repas-photo { width: 92px; height: 92px; }
.carte-pay h3 { margin: 6px 0 0; font-size: 18px; font-weight: 800; line-height: 1.15; padding-right: 50px; }
.carte-pay p { margin: 4px 0 0; font-size: 13px; color: #6b6b6b; line-height: 1.35; padding-right: 50px; } /* ne passe plus sous la note (30/11) */
.note-pay { position: absolute; right: 12px; top: 10px; width: 48px; height: 48px; }
.note-pay svg { width: 48px; transform: rotate(-90deg); }
.note-pay span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: var(--marque-fonce); line-height: 1; }
.note-pay span small { font-size: 7px; letter-spacing: .08em; margin-top: 2px; }
.chiffres-pay { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee; text-align: center; }
.chiffres-pay div + div { border-left: 1px solid #e3e3e3; }
.chiffres-pay b { display: block; font-size: 16px; }
.chiffres-pay small { font-size: 11px; color: #777; }
.carte-pay-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.carte-pay-bas .chaine-nom { font-weight: 800; font-size: 15px; color: #c8102e; }
.carte-pay-bas button { border: 0; border-radius: 99px; background: #111; color: #fff; font-size: 14px; font-weight: 700; padding: 10px 18px; }
.atouts { position: relative; z-index: 3; margin: 96px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.atouts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.atouts li i { width: 24px; height: 24px; border-radius: 50%; background: var(--marque); color: var(--sur-marque); display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.sans-engagement { margin: 18px 0 0; text-align: center; font-weight: 700; font-size: 16px; }
.offres { display: grid; gap: 12px; margin-top: 16px; }
.offre { width: 100%; border-radius: 22px; border: 2px solid rgba(255,255,255,0.12); background: var(--carte); padding: 0; overflow: hidden; text-align: left; transition: border-color .2s, background .2s, transform .12s; }
.offre:active { transform: scale(.98); }
.offre .bandeau { display: block; padding: 8px; text-align: center; font-weight: 800; font-size: 14px; letter-spacing: .06em; background: rgba(255,255,255,0.12); }
.offre .ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 20px; }
.offre .ligne b { font-size: 21px; }
.offre .ligne span { font-size: 16px; color: var(--gris); }
.offre.actif { border-color: var(--marque); background: rgba(52,210,123,0.1); }
.offre.actif .bandeau { background: var(--marque); color: var(--sur-marque); }
.offre.actif .ligne span { color: var(--encre); }
.paywall .bouton-plein { margin-top: 16px; }
.petites-lignes { margin: 16px 0 0; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--meta); }
.liens-legaux { display: flex; justify-content: center; gap: 10px; margin-top: 10px; font-size: 13.5px; color: var(--meta); }
.liens-legaux a { color: inherit; }
.toast { position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: #1f2a23; border: 1px solid rgba(52,210,123,.4); font-size: 14px; z-index: 99; animation: depuisDroite .3s ease; max-width: 90vw; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Ajouts du 22/11 (vrais plats) : un seul emoji, plus gros ; la source des deux cartes ; le lien « Mon espace ». */
.repas-photo .emoji-plat { font-size: 50px; letter-spacing: 0; padding-left: 7px; }
.source-malins { margin: 10px auto 0; max-width: 21rem; text-align: center; font-size: 12px; line-height: 1.45; color: var(--meta); }
a.lien-texte { text-decoration: none; }
span.lien-texte { min-width: 44px; }

/* Le choix de la langue, sous le premier écran (03/12/2026) : un sélecteur à trois cases. */
.choix-langue { display: flex; width: fit-content; gap: 2px; margin: 24px auto 4px; padding: 3px; border-radius: 99px; border: 1px solid var(--carte-bord); background: var(--carte); }
.choix-langue button { border: 0; background: transparent; color: var(--gris); border-radius: 99px; padding: 8px 15px; font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.choix-langue button[aria-pressed="true"] { color: var(--sur-marque); background: linear-gradient(150deg, var(--marque-clair), var(--marque-fonce)); }
