/*
Theme Name: Nonvi Chill
Theme URI: https://nonvichill.bj
Author: Groupe Nonvi
Author URI: https://nonvichill.bj
Description: Thème dédié à la billetterie en ligne de l'événement Nonvi Chill (Groupe Nonvi — House Event, Dimanche 20 décembre 2026, HECM Bohicon). Comprend une page unique avec hero animé, programme de la soirée, billetterie VIP (25 000 FCFA) et VVIP (50 000 FCFA), aperçu du billet électronique avec QR code, et gestion complète des états (commande, paiement vérifié, paiement non vérifié). Paiement par Mobile Money.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nonvi-chill
Tags: event, ticketing, dark, one-page, custom-colors, custom-logo
*/

/* ==================== SCOPED STYLES (.nvc-*) ==================== */
#nvc-app, #nvc-app *, #nvc-app *::before, #nvc-app *::after { box-sizing: border-box; }
#nvc-app { margin:0; background:#0d0418; color:#f4eef7; font-family:'Inter',system-ui,sans-serif; -webkit-font-smoothing:antialiased; line-height:1.4; }
#nvc-app a { color:#ffd60a; text-decoration:none; }
#nvc-app a:hover { color:#ffe55c; }
#nvc-app h1, #nvc-app h2, #nvc-app h3 { margin:0; font-weight:400; }
#nvc-app button { font-family:inherit; }
#nvc-app p { margin:0; }

.nvc-display { font-family:'Anton',system-ui,sans-serif; font-weight:400; letter-spacing:.015em; text-transform:uppercase; line-height:.92; }
.nvc-eyebrow { font-size:11px; font-weight:700; letter-spacing:.28em; text-transform:uppercase; color:#ffd60a; }
.nvc-btn { display:inline-block; padding:16px 30px; background:#e63946; color:#fff; border:none; border-radius:4px; font-weight:700; font-size:14px; cursor:pointer; letter-spacing:.08em; text-transform:uppercase; transition:background .2s, transform .2s, box-shadow .3s; position:relative; }
.nvc-btn:hover { background:#ff4d5c; color:#fff; transform:translateY(-2px); box-shadow:0 10px 30px rgba(230,57,70,.4); }
.nvc-btn:active { transform:translateY(0); }
.nvc-btn-y { background:#ffd60a; color:#1a0533; }
.nvc-btn-y:hover { background:#ffe55c; color:#1a0533; box-shadow:0 10px 30px rgba(255,214,10,.4); }
.nvc-btn-ghost { background:transparent; color:#ffd60a; border:1px solid rgba(255,214,10,.3); }
.nvc-btn-ghost:hover { background:rgba(255,214,10,.1); color:#ffd60a; }
.nvc-card { background:#1a0a2e; border:1px solid rgba(255,214,10,.12); border-radius:8px; padding:28px; }
.nvc-chip { display:inline-flex; align-items:center; gap:10px; padding:10px 18px; background:rgba(255,255,255,.05); border:1px solid rgba(255,214,10,.18); border-radius:4px; font-size:13px; font-weight:500; letter-spacing:.04em; }
.nvc-chip b { color:#ffd60a; font-weight:700; }
#nvc-app input { font-family:inherit; font-size:15px; padding:14px 16px; border-radius:4px; border:1px solid rgba(255,214,10,.2); background:rgba(255,255,255,.04); color:#f4eef7; width:100%; transition:all .2s; }
#nvc-app input:focus { outline:none; border-color:#ffd60a; background:rgba(255,255,255,.07); box-shadow:0 0 0 3px rgba(255,214,10,.1); }
#nvc-app input::placeholder { color:#6d5a92; }
#nvc-app label { display:block; font-size:11px; font-weight:700; margin-bottom:8px; color:#b9a8d4; letter-spacing:.14em; text-transform:uppercase; }
.nvc-qbtn { width:46px; height:46px; border-radius:4px; border:1px solid rgba(255,214,10,.25); background:transparent; color:#ffd60a; font-size:22px; cursor:pointer; transition:all .2s; }
.nvc-qbtn:hover { background:rgba(255,214,10,.15); transform:scale(1.08); }
.nvc-qbtn:active { transform:scale(.95); }
.nvc-num { font-family:'Anton',sans-serif; font-size:22px; color:#e63946; line-height:1; }

.nvc-state { display:none; }
.nvc-state.nvc-on { display:block; animation:nvc-fadeup .5s ease both; }

/* Tier cards */
.nvc-tier { position:relative; cursor:pointer; transition:transform .3s, border-color .3s, box-shadow .3s; overflow:hidden; }
.nvc-tier::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,214,10,0),rgba(255,214,10,.08)); opacity:0; transition:opacity .3s; pointer-events:none; }
.nvc-tier:hover { transform:translateY(-6px); border-color:rgba(255,214,10,.45); box-shadow:0 25px 55px rgba(255,214,10,.12); }
.nvc-tier:hover::before { opacity:1; }
.nvc-tier.nvc-sel { border-color:#ffd60a; box-shadow:0 20px 50px rgba(255,214,10,.2), 0 0 0 1px #ffd60a; }
.nvc-tier .nvc-mark { position:absolute; top:18px; right:18px; width:26px; height:26px; border-radius:50%; border:2px solid rgba(255,214,10,.3); display:flex; align-items:center; justify-content:center; transition:all .3s; }
.nvc-tier.nvc-sel .nvc-mark { background:#ffd60a; border-color:#ffd60a; color:#1a0533; font-weight:800; font-size:14px; line-height:1; animation:nvc-pop .4s ease; }
.nvc-tier.nvc-sel .nvc-mark::before { content:'✓'; }

/* ==================== ANIMATIONS ==================== */
@keyframes nvc-fadeup { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes nvc-fadein { from { opacity:0; } to { opacity:1; } }
@keyframes nvc-scalein { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }
@keyframes nvc-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes nvc-shimmer { 0% { background-position:0% 50%; } 100% { background-position:200% 50%; } }
@keyframes nvc-pulse-glow { 0%,100% { box-shadow:0 0 0 0 rgba(230,57,70,.4); } 50% { box-shadow:0 0 0 12px rgba(230,57,70,0); } }
@keyframes nvc-breathe { 0%,100% { opacity:.5; transform:scale(1); } 50% { opacity:.75; transform:scale(1.1); } }
@keyframes nvc-shake { 0%,100% { transform:translateX(0); } 15%,45%,75% { transform:translateX(-10px); } 30%,60%,90% { transform:translateX(10px); } }
@keyframes nvc-spin { to { transform:rotate(360deg); } }
@keyframes nvc-pop { 0% { transform:scale(0); } 70% { transform:scale(1.2); } 100% { transform:scale(1); } }
@keyframes nvc-draw { from { stroke-dashoffset:60; } to { stroke-dashoffset:0; } }
@keyframes nvc-fall { 0% { transform:translateY(-40px) rotate(0); opacity:1; } 100% { transform:translateY(600px) rotate(720deg); opacity:0; } }
@keyframes nvc-glow-text { 0%,100% { filter:drop-shadow(0 0 20px rgba(255,214,10,.2)); } 50% { filter:drop-shadow(0 0 40px rgba(230,57,70,.4)); } }

/* Hero intro */
.nvc-anim-1 { animation:nvc-fadeup .7s ease .1s both; }
.nvc-anim-2 { animation:nvc-fadeup .7s ease .25s both; }
.nvc-anim-3 { animation:nvc-fadeup .7s ease .4s both; }
.nvc-anim-4 { animation:nvc-fadeup .7s ease .55s both; }
.nvc-anim-5 { animation:nvc-fadeup .7s ease .7s both; }
.nvc-hero-title { background-size:200% 200%; animation:nvc-fadeup .8s ease .2s both, nvc-shimmer 8s linear 1s infinite, nvc-glow-text 5s ease-in-out infinite; }
.nvc-hero-ticket { animation:nvc-scalein .9s cubic-bezier(.2,.8,.2,1) .6s both, nvc-float 7s ease-in-out infinite 1.5s; }
.nvc-hero-cta { animation:nvc-fadeup .7s ease .7s both, nvc-pulse-glow 2.5s ease-in-out 2s infinite; }

/* Decorative circles */
.nvc-circle-a { animation:nvc-breathe 5s ease-in-out infinite; }
.nvc-circle-b { animation:nvc-breathe 6s ease-in-out .5s infinite; }

/* Scroll reveal */
.nvc-reveal { opacity:0; transform:translateY(30px); transition:opacity .7s ease, transform .7s ease; }
.nvc-reveal.nvc-in { opacity:1; transform:translateY(0); }
.nvc-reveal-d1 { transition-delay:.05s; }
.nvc-reveal-d2 { transition-delay:.12s; }
.nvc-reveal-d3 { transition-delay:.19s; }
.nvc-reveal-d4 { transition-delay:.26s; }
.nvc-reveal-d5 { transition-delay:.33s; }
.nvc-reveal-d6 { transition-delay:.4s; }

/* Spinner */
.nvc-spin { display:inline-block; width:16px; height:16px; border:2px solid rgba(26,5,51,.3); border-top-color:#1a0533; border-radius:50%; animation:nvc-spin .7s linear infinite; vertical-align:middle; margin-right:8px; }

/* Success state animations */
.nvc-check-icon { animation:nvc-pop .6s cubic-bezier(.2,.8,.2,1) both; }
.nvc-check-svg path { stroke-dasharray:60; stroke-dashoffset:60; animation:nvc-draw .5s ease .3s forwards; }

/* Error shake */
.nvc-err-icon { animation:nvc-pop .5s ease both, nvc-shake .5s ease .4s; }

/* Confetti */
.nvc-confetti { position:fixed; top:0; left:0; width:100%; height:100vh; pointer-events:none; z-index:100; overflow:hidden; }
.nvc-confetti i { position:absolute; width:10px; height:16px; opacity:0; animation:nvc-fall 2.5s ease-out forwards; }

/* Responsive */
@media (max-width:720px) {
  .nvc-hero-title { font-size:88px !important; }
  .nvc-sec-title { font-size:44px !important; }
}

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

/* Masque la barre d'admin WP sur la billetterie */
body.home.logged-in { padding-top:0 !important; }
#wpadminbar { opacity:.3; transition:opacity .2s; }
#wpadminbar:hover { opacity:1; }
