/* Page « Application mobile Jestion » (/application-mobile/). Couleurs : variables du site (--ca… --ch). */

.appmob-hero { padding-top: 9rem; padding-bottom: 4rem; }
.appmob-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin: .75rem 0 1rem; }
.appmob-plateformes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.appmob-plateformes span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 50px; background: var(--ca); border: 1px solid var(--cd); color: var(--ce); font-size: .88rem; font-weight: 500; }
.appmob-plateformes i { color: var(--ch); }
.appmob-deja { margin-top: 1.25rem; font-weight: 600; color: seagreen; }

/* Téléphone d'illustration */
.appmob-telephone { display: inline-block; width: 270px; max-width: 100%; padding: 12px; border-radius: 44px; background: #1b1d2a; box-shadow: 0 30px 60px -20px rgba(72, 61, 139, .55); }
.appmob-ecran { position: relative; height: 500px; border-radius: 34px; overflow: hidden; padding: 56px 18px 18px; background: linear-gradient(160deg, #8b7cf6 0%, #5d4fc4 45%, #2c2470 100%); }
.appmob-ecran::before { content: ""; position: absolute; top: 10px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #1b1d2a; }
.appmob-notif { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .88); color: #1f2433; font-size: .78rem; line-height: 1.35; animation: appmob-notif 6s ease-in-out infinite; }
.appmob-notif img { border-radius: 9px; flex: 0 0 36px; }
.appmob-notif b { display: block; font-size: .82rem; }
.appmob-icones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 10px; margin-top: 34px; }
.appmob-icone { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.appmob-icone i { display: block; width: 50px; height: 50px; border-radius: 13px; background: rgba(255, 255, 255, .22); }
.appmob-icone small { display: block; height: 8px; width: 34px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.appmob-icone-j img { width: 50px; height: 50px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.appmob-icone-j small { height: auto; width: auto; background: none; color: #fff; font-size: .7rem; font-weight: 600; }
@keyframes appmob-notif { 0%, 12% { opacity: 0; transform: translateY(-14px); } 20%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .appmob-notif { animation: none; } }

/* Avantages */
.appmob-avantage-icone { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 14px; background: rgba(72, 61, 139, .1); color: var(--ch); font-size: 1.4rem; }
[data-bs-theme="dark"] .appmob-avantage-icone { background: rgba(129, 140, 248, .15); color: #a5b4fc; }

/* Pas de store */
.appmob-store { display: flex; gap: 1.5rem; align-items: flex-start; max-width: 900px; margin: 0 auto; padding: 2rem; border-radius: 20px; background: var(--ca); border: 1px solid var(--cd); }
.appmob-store-icone { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, darkslateblue, #a997ff); color: #fff; font-size: 1.8rem; }
.appmob-store p { color: var(--cf); }
@media (max-width: 575px) { .appmob-store { flex-direction: column; padding: 1.5rem; } }

/* Guide */
.appmob-guide { max-width: 860px; margin: 0 auto; padding: 2rem; border-radius: 24px; background: var(--ca); border: 1px solid var(--cd); box-shadow: 0 20px 50px -30px rgba(72, 61, 139, .45); }
@media (max-width: 575px) { .appmob-guide { padding: 1.25rem; } }
.appmob-etape-titre { display: flex; align-items: center; gap: .6rem; margin: 1.5rem 0 .9rem; font-weight: 700; font-size: 1.1rem; color: var(--ce); }
.appmob-guide > .appmob-etape-titre:first-child { margin-top: 0; }
.appmob-etape-titre > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: darkslateblue; color: #fff; font-size: .9rem; }
.appmob-choix { display: flex; flex-wrap: wrap; gap: .6rem; }
.appmob-bouton { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 14px; border: 2px solid var(--cd); background: var(--cb); color: var(--ce); font-weight: 600; font-size: .95rem; cursor: pointer; transition: border-color .15s, background .15s; }
.appmob-bouton:hover { border-color: #a997ff; }
.appmob-bouton.actif { border-color: darkslateblue; background: rgba(72, 61, 139, .08); color: darkslateblue; }
[data-bs-theme="dark"] .appmob-bouton.actif { border-color: #a5b4fc; background: rgba(129, 140, 248, .15); color: #c7d2fe; }
.appmob-bouton i { font-size: 1.15rem; }
.appmob-detecte { margin-bottom: 1rem; padding: .7rem 1rem; border-radius: 12px; background: rgba(46, 139, 87, .1); color: seagreen; font-size: .9rem; font-weight: 500; }
.appmob-etapes { counter-reset: etape; list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.appmob-etapes li { counter-increment: etape; position: relative; padding: .9rem 1rem .9rem 3.4rem; border-radius: 14px; background: var(--cb); border: 1px solid var(--cd); color: var(--ce); line-height: 1.55; }
.appmob-etapes li::before { content: counter(etape); position: absolute; left: 1rem; top: .85rem; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(72, 61, 139, .12); color: darkslateblue; font-weight: 700; font-size: .9rem; }
[data-bs-theme="dark"] .appmob-etapes li::before { background: rgba(129, 140, 248, .2); color: #c7d2fe; }
.appmob-etapes li i { color: var(--ch); font-size: 1.05em; vertical-align: -1px; }
.appmob-note { margin-bottom: 1.25rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(255, 165, 0, .1); color: var(--ce); font-size: .9rem; }
.appmob-apres { padding: 1.1rem 1.2rem; border-radius: 14px; background: linear-gradient(135deg, rgba(72, 61, 139, .08), rgba(169, 151, 255, .12)); }
.appmob-apres h5 { font-size: 1rem; font-weight: 700; }
.appmob-apres p { color: var(--cf); }
.appmob-aide { margin: 1.5rem 0 0; text-align: center; color: var(--cf); font-size: .92rem; }
.appmob-aide a { color: var(--ch); font-weight: 600; }

/* Encart de la page d'accueil (index.php, section #application) */
.appmob-accueil { display: flex; align-items: center; gap: 2rem; padding: 2.25rem; border-radius: 24px; background: var(--ca); border: 1px solid var(--cd); }
.appmob-accueil-icone { flex: 0 0 96px; }
.appmob-accueil-icone img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 30px -10px rgba(72, 61, 139, .6); }
.appmob-accueil h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.appmob-accueil p { color: var(--cf); }
.appmob-accueil .appmob-plateformes { margin-top: .75rem; }
@media (max-width: 767px) { .appmob-accueil { flex-direction: column; text-align: center; padding: 1.5rem; } .appmob-accueil .appmob-plateformes, .appmob-accueil .hero-actions { justify-content: center; } }
