/* L'application (PWA) — page à partager pour installer le site sur son téléphone */
.appli { padding-top: 56px; }

/* Héros : coucher de soleil + maquette d'écran verrouillé */
.ap-heros { position: relative; border-radius: 32px; background: var(--degrade-soleil); overflow: hidden; padding: 56px 56px 0; box-shadow: var(--ombre-forte); }
.ap-rayons { position: absolute; right: -420px; top: -520px; width: 1300px; height: 1300px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .2) 0deg 5deg, rgba(255, 255, 255, 0) 5deg 15deg); animation: v2-tourne 90s linear infinite; pointer-events: none; }
.ap-grille { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; }
.ap-gauche { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 56px; }
.ap-heros h1 { margin: 0; font-weight: 400; font-size: clamp(44px, 5.6vw, 84px); line-height: .98; color: var(--nuit); }
.ap-intro { margin: 0; font-size: 19px; line-height: 1.6; color: #2A3544; max-width: 620px; }
.ap-intro strong { color: var(--nuit); }
.ap-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-gros { min-height: 60px; padding: 0 30px; font-size: 17px; }
.ap-conseil { margin: -6px 0 0; font-size: 14px; color: var(--nuit); opacity: .85; }
.ap-deja { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, .85); color: var(--nuit); font-weight: 700; font-size: 17px; }

.ap-droite { position: relative; display: flex; justify-content: center; }
.ap-vinyle { position: absolute; width: 230px; height: 230px; left: -40px; bottom: 120px; opacity: .95; animation-duration: 7s; z-index: 0; }
.ap-tel { position: relative; z-index: 1; width: 300px; height: 470px; border-radius: 46px 46px 0 0; background: var(--nuit-2); padding: 12px 12px 0; box-shadow: 0 30px 60px rgba(14, 36, 64, .45); }
.ap-ecran { position: relative; height: 100%; border-radius: 36px 36px 0 0; overflow: hidden; padding: 18px 16px 0; background: linear-gradient(170deg, #27558D 0%, #143052 55%, #0E2440 100%); color: #fff; text-align: center; font-family: Roboto, Arial, sans-serif; }
.ap-ecran::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 105%, rgba(238, 138, 87, .55), transparent 55%); pointer-events: none; }
.ap-ilot { width: 96px; height: 28px; margin: 0 auto; border-radius: 16px; background: #000; }
.ap-heure { position: relative; margin: 18px 0 0; font: 300 64px/1 Roboto, Arial, sans-serif; letter-spacing: -.02em; }
.ap-date { position: relative; margin: 4px 0 0; font-size: 15px; opacity: .85; }
.ap-notif { position: relative; margin-top: 26px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); text-align: left; }
.ap-notif-haut { display: flex; align-items: center; gap: 10px; }
.ap-notif-haut img { width: 44px; height: 44px; border-radius: 10px; }
.ap-notif-haut div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ap-notif-haut strong { font-size: 15px; }
.ap-notif-haut div span { font-size: 13px; opacity: .8; }
.ap-notif .eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; color: var(--soleil); }
.ap-notif .eq span { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: v2-eq 1s ease-in-out infinite; }
.ap-notif .eq span:nth-child(2) { animation-delay: .2s; } .ap-notif .eq span:nth-child(3) { animation-delay: .4s; } .ap-notif .eq span:nth-child(4) { animation-delay: .1s; }
.ap-barre { margin: 14px 0 0; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.ap-barre span { display: block; width: 38%; height: 100%; background: #fff; animation: ap-avance 30s linear infinite; }
@keyframes ap-avance { from { width: 20%; } to { width: 90%; } }
.ap-commandes { display: flex; justify-content: center; align-items: center; gap: 34px; margin-top: 10px; }
.ap-icones { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.ap-icones span { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.ap-icones .moi { background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 0 3px var(--soleil); animation: v2-pop 2.6s ease-out infinite; }
.ap-icones .moi img { width: 100%; height: 100%; object-fit: cover; }

/* Avantages */
.ap-avantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.ap-carte { background: rgba(255, 255, 255, .94); border-radius: 26px; padding: 28px; box-shadow: var(--ombre); }
.ap-puce { width: 56px; height: 56px; border-radius: 28px; background: #FDE9C9; color: var(--nuit); display: flex; align-items: center; justify-content: center; }
.ap-carte h2 { margin: 16px 0 8px; font-weight: 700; font-size: 26px; line-height: 1.1; }
.ap-carte p { margin: 0; font-size: 16px; line-height: 1.55; color: #3B4654; }

/* Mode d'emploi */
.ap-guide { margin-top: 56px; }
.ap-guide-intro { margin: 10px 0 0; font-size: 17px; color: var(--nuit); background: rgba(255, 255, 255, .8); display: inline-block; padding: 8px 14px; border-radius: 12px; }
.ap-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.ap-etapes { background: var(--nuit); color: #fff; border-radius: 26px; padding: 28px; }
.ap-etapes h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 32px; color: #fff; }
.ap-etapes h3 svg { color: var(--soleil); }
.ap-qui { margin: 6px 0 0; font-size: 14px; color: #9FB0C4; }
.ap-etapes ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: etape; display: flex; flex-direction: column; gap: 14px; }
.ap-etapes li { counter-increment: etape; position: relative; min-height: 36px; padding: 6px 0 0 50px; font-size: 16px; line-height: 1.5; color: #DCE6F2; }
.ap-etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 18px; background: var(--soleil); color: var(--nuit); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ap-etapes strong { color: #fff; }
.ap-astuce { margin-top: 20px; padding: 18px 22px; border-radius: 20px; background: var(--creme); border: 1px solid #F1E3CB; font-size: 15px; line-height: 1.55; color: #3B4654; }
.ap-astuce strong { display: block; color: var(--nuit); margin-bottom: 4px; }

/* Questions */
.ap-faq { margin-top: 56px; display: flex; flex-direction: column; gap: 10px; }
.ap-faq .titre-section { margin-bottom: 8px; }
.ap-faq details { background: rgba(255, 255, 255, .94); border-radius: 18px; box-shadow: var(--ombre); }
.ap-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; color: var(--nuit); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--orange-fonce); }
.ap-faq details[open] summary::after { content: '–'; }
.ap-faq details p { margin: 0; padding: 0 22px 18px; font-size: 16px; line-height: 1.55; color: #3B4654; }

@media (max-width: 1200px) {
  .appli { padding-top: 28px; }
  .ap-heros { padding: 40px 32px 0; }
  .ap-grille { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .ap-tel { transform: scale(.88); transform-origin: bottom center; margin-top: -40px; }
}
@media (max-width: 860px) {
  .ap-grille { grid-template-columns: 1fr; }
  .ap-gauche { padding-bottom: 8px; }
  .ap-avantages, .ap-colonnes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .appli { padding-top: 16px; }
  .ap-heros { padding: 28px 18px 0; border-radius: 24px; }
  .ap-heros h1 { font-size: 44px; }
  .ap-intro { font-size: 16px; }
  .ap-btns, .ap-btns .btn { width: 100%; }
  .ap-tel { transform: scale(.8); margin-top: -60px; }
  .ap-vinyle { width: 160px; height: 160px; left: -10px; bottom: 90px; }
  .ap-avantages { margin-top: 16px; gap: 12px; }
  .ap-carte, .ap-etapes { padding: 22px 18px; border-radius: 22px; }
  .ap-guide, .ap-faq { margin-top: 36px; }
  .ap-etapes h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ap-rayons, .ap-vinyle, .ap-barre span, .ap-icones .moi, .ap-notif .eq span { animation: none; } }
