/* =========================================================
   Espace client, support, nouveautés, maintenance
   ========================================================= */
.account-btn { padding: 9px 14px; }
.account-btn.logged { border-color: rgba(127,176,255,.35); background: rgba(26,54,93,.5); }
.muted { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; margin-right: 6px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.07); color: var(--text); border: 1px solid var(--line); vertical-align: middle; }
.pill-new { background: rgba(34,197,94,.14); color: #86efac; border-color: transparent; }
.pill-ai { background: rgba(59,130,246,.15); color: #93c5fd; border-color: transparent; }
.pill-human { background: rgba(197,48,48,.15); color: #fca5a5; border-color: transparent; }
.status { padding: 4px 10px; border-radius: 8px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.st-open { background: rgba(251,191,36,.14); color: #fcd34d; }
.st-answered { background: rgba(34,197,94,.14); color: #86efac; }
.st-closed { background: rgba(255,255,255,.07); color: var(--muted); }

/* Formulaires */
.form { display: grid; gap: 14px; }
.f { display: grid; gap: 6px; }
.f > span { font-size: .82rem; font-weight: 700; color: var(--muted); }
.f input, .f select, .f textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: .95rem; outline: none; transition: border-color .2s;
}
.f textarea { resize: vertical; min-height: 90px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: rgba(127,176,255,.6); }
.f input:disabled { opacity: .6; }
.f select option { background: var(--navy-900); }
.f input[type=file] { padding: 9px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.check small { color: var(--muted); }

/* Connexion */
.auth-wrap { padding: 48px 0 60px; display: grid; justify-items: center; gap: 18px; }
.auth-card { width: min(460px, 100%); padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.auth-logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.04); margin-bottom: 20px; }
.auth-tabs button { padding: 10px; border-radius: 10px; border: none; background: none; color: var(--muted); font-weight: 800; }
.auth-tabs button.active { background: var(--navy-700); color: #fff; }
.auth-link { display: block; text-align: center; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.auth-link:hover { color: #fff; }
.auth-note { max-width: 460px; text-align: center; color: var(--muted); font-size: .85rem; }

/* Tableau de bord client */
.account-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.account-head h1 { margin: 4px 0 0; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.account-head .btn { margin-left: auto; }
.acc-avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 1.4rem; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--navy-600), var(--red)); flex: none; }
.acc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.acc-tabs a { padding: 11px 16px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.acc-tabs a:hover { color: #fff; }
.acc-tabs a.active { color: #fff; border-bottom-color: var(--red); }
.info-line { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); color: #c7d7f0; font-size: .9rem; margin-bottom: 18px; }
.info-line a, .empty a, .muted a { color: #7fb0ff; text-decoration: underline; }
.orders { display: grid; gap: 14px; }
.order { padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.order-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-head strong { color: #fff; font-size: 1.05rem; }
.order-head small, .dl-row small, .ticket-row small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.order-total { text-align: right; font-size: 1.3rem; font-weight: 900; color: #fff; }
.order-total small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.order-lines { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.order-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.03); }
.order-lines em { color: var(--muted); font-style: normal; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.order-actions .btn, .dl-row .btn { padding: 9px 14px; font-size: .85rem; }
.dl-group { margin-bottom: 22px; }
.dl-group h3 { color: #fff; margin: 0 0 10px; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.dl-row strong { color: #fff; margin-right: 8px; }

/* Support */
.support-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.support-head h2, .ticket-form h2, .card-box h2 { margin: 0; color: #fff; font-size: 1.3rem; }
.support-head p { margin: 4px 0 0; }
.tickets { display: grid; gap: 10px; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.ticket-row:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.ticket-row strong { color: #fff; }
.ticket-tags { display: flex; align-items: center; gap: 4px; flex: none; }
.ticket-form { max-width: 760px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.back-link { display: inline-block; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.back-link:hover { color: #fff; }
.ticket-view { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.ticket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ticket-top h2 { margin: 0; font-size: 1.15rem; color: #fff; }
.ticket-top small { color: var(--muted); }
.ai-banner { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: rgba(59,130,246,.08); border-bottom: 1px solid rgba(59,130,246,.2); font-size: .9rem; color: #dbe7fb; }
.ai-banner svg { width: 26px; height: 26px; color: #93c5fd; flex: none; }
.ai-banner small { color: var(--muted); }
.ai-banner .btn { margin-left: auto; padding: 9px 14px; font-size: .85rem; }
.ai-banner.human { background: rgba(197,48,48,.08); border-bottom-color: rgba(197,48,48,.25); }
.ai-banner.human svg { color: #fca5a5; }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 20px; max-height: 60vh; overflow-y: auto; }
.bubble { max-width: min(80%, 620px); padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); align-self: flex-start; }
.bubble .who { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.bubble .who svg { width: 14px; height: 14px; }
.bubble .txt { color: var(--text); overflow-wrap: anywhere; }
.bubble .txt a { color: #7fb0ff; text-decoration: underline; }
.bubble .att { max-width: 240px; max-height: 200px; border-radius: 10px; margin-top: 8px; border: 1px solid var(--line-strong); }
.bubble.me { align-self: flex-end; background: rgba(197,48,48,.16); border-color: rgba(197,48,48,.3); border-bottom-right-radius: 4px; }
.bubble.ai { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.25); border-bottom-left-radius: 4px; }
.bubble.ai .who { color: #93c5fd; }
.bubble.staff { background: rgba(26,54,93,.55); border-color: rgba(127,176,255,.25); border-bottom-left-radius: 4px; }
.bubble.staff .who { color: #fff; }
.bubble.typing { display: flex; gap: 5px; padding: 14px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #93c5fd; animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.reply { display: flex; gap: 10px; align-items: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); }
.reply textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 200px; resize: vertical; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: #fff; font: inherit; outline: none; }
.reply textarea:focus { border-color: rgba(127,176,255,.6); }
.reply .attach { cursor: pointer; height: 46px; width: 46px; flex: none; }
.reply .attach.has-file { border-color: var(--success); color: var(--success); }
.reply .btn { height: 46px; }

/* Profil */
.profile-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.profile-grid > div { display: grid; gap: 18px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.card-box { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; position: relative; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label { font-size: 1.8rem; color: rgba(255,255,255,.18); cursor: pointer; transition: color .15s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #fbbf24; }
.stars-input input:focus-visible + label { outline: 2px solid #7fb0ff; border-radius: 4px; }

/* Nouveautés */
.timeline { display: grid; gap: 18px; max-width: 900px; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.tl-date { color: var(--red-light); font-weight: 800; font-size: .9rem; padding-top: 18px; }
.tl-card { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.tl-card:not(:has(img)) { grid-template-columns: 1fr; }
.tl-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }
.tl-card h3 { margin: 8px 0 6px; color: #fff; }
.tl-card p { margin: 0; color: var(--muted); }
.prose.small { font-size: .9rem; margin-top: 8px; color: var(--text); }

/* Maintenance */
body.maintenance { min-height: 100vh; }
.maint { min-height: calc(100vh - 3px); display: grid; place-content: center; justify-items: center; gap: 16px; padding: 40px 16px; text-align: center; }
.maint-logo { width: 110px; height: 110px; border-radius: 50%; box-shadow: 0 0 60px rgba(197,48,48,.35); }
.maint h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; color: #fff; letter-spacing: -.02em; }
.maint p { margin: 0; max-width: 520px; color: var(--text); }

@media (max-width: 860px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-date { padding-top: 0; }
  .tl-card { grid-template-columns: 1fr; }
  .account-btn span { display: none; }
}
@media (max-width: 560px) {
  .f-row { grid-template-columns: 1fr; }
  .ticket-row { flex-direction: column; align-items: flex-start; }
  .bubble { max-width: 92%; }
  .ai-banner { flex-wrap: wrap; }
  .ai-banner .btn { margin-left: 0; width: 100%; }
  .chat { padding: 14px; }
  .reply { padding: 12px; }
  .auth-card { padding: 22px; }
  .header-actions .btn-discord { display: none; }
}

/* =========================================================
   Pages légales (CGV / CGU, mentions légales)
   ========================================================= */
.legal-hero { padding-bottom: 10px; }
.legal-sub { margin: 6px 0 0; color: var(--muted); }
.legal-tabs { display: inline-flex; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.legal-tabs a { padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.legal-tabs a:hover { color: #fff; }
.legal-tabs a.active { background: var(--navy-700); color: #fff; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 26px; padding-bottom: 60px; }
.legal-layout:not(:has(.legal-toc)) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.legal-toc p { margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-light); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: .86rem; color: var(--muted); line-height: 1.35; transition: background .15s, color .15s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 800; font-size: .74rem; color: rgba(255,255,255,.25); padding-top: 1px; }
.legal-toc a:hover { color: #fff; background: rgba(255,255,255,.04); }
.legal-toc a.active { color: #fff; background: rgba(26,54,93,.6); }
.legal-toc a.active::before { color: var(--red-light); }
.legal-doc { padding: 34px 40px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); font-size: .98rem; line-height: 1.75; color: #d6deea; }
.legal-doc > div > *:first-child { margin-top: 0; }
.legal-doc h2 { display: flex; align-items: center; gap: 12px; margin: 38px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.25rem; color: #fff; scroll-margin-top: 90px; }
.legal-doc h2:first-of-type { border-top: none; padding-top: 0; }
.legal-num { flex: none; display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 9px; background: rgba(197,48,48,.14); color: var(--red-light); font-size: .8rem; font-weight: 900; }
.legal-doc h3 { margin: 22px 0 8px; font-size: 1.02rem; color: #fff; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.legal-doc li::marker { color: var(--red-light); font-weight: 700; }
.legal-doc strong { color: #fff; }
.legal-doc a { color: #7fb0ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-intro { padding: 18px 20px; margin-bottom: 26px; border-radius: 14px; background: linear-gradient(120deg, rgba(26,54,93,.55), rgba(26,54,93,.15)); border: 1px solid rgba(127,176,255,.18); }
.legal-intro p { margin: 0; }
.legal-part { margin: 46px 0 0 !important; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border-left: 4px solid var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.legal-part + h2 { border-top: none; padding-top: 0; margin-top: 22px; }
.legal-doc .callout { margin: 14px 0; padding: 14px 16px; border-radius: 12px; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.22); color: #dbe7fb; }
.legal-doc .callout.warn { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.28); color: #fde9b0; }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 16px; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .legal-doc { padding: 22px 18px; font-size: .94rem; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-doc h2 { font-size: 1.1rem; }
}

/* Panier : mention TVA */
.totals .tax-note { display: block; font-size: .75rem; color: var(--muted); text-align: right; }

/* =========================================================
   Fiche produit : galerie + visionneuse plein écran
   ========================================================= */
.gallery-main { position: relative; }
.gm-photo, .gm-video { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--navy-800); cursor: zoom-in; position: relative; }
.gm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gm-photo:hover img { transform: scale(1.03); }
.gm-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(7,13,26,.78); backdrop-filter: blur(6px); color: #fff; font-size: .82rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.gm-photo:hover .gm-zoom, .gm-photo:focus-visible .gm-zoom { opacity: 1; transform: none; }
.gm-video { cursor: pointer; background-size: cover; background-position: center; }
.gm-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,26,.15), rgba(7,13,26,.6)); }
.gm-video .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 0 0 10px rgba(197,48,48,.25), 0 16px 40px rgba(0,0,0,.5); transition: transform .2s; }
.gm-video .play svg { width: 30px; height: 30px; margin-left: 4px; }
.gm-video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.gm-label { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font-weight: 800; }
.thumbs button { position: relative; }
.thumbs .t-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(7,13,26,.35); }
.thumbs .t-play svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.video-cta { margin-top: 6px; }
.gal-title { display: flex; align-items: baseline; gap: 10px; }
.gal-title span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gal-grid button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--navy-800); cursor: zoom-in; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.gal-grid button:hover img { transform: scale(1.06); }
.gal-grid button:focus-visible { outline: 2px solid #7fb0ff; outline-offset: 2px; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3,6,13,.94); backdrop-filter: blur(6px); display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); animation: lbIn .2s ease-out; }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 64px 80px 12px; min-height: 0; min-width: 0; }
.lb-stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); user-select: none; }
.lb-video { width: min(1200px, 100%, calc((100dvh - 190px) * 16 / 9)); aspect-ratio: 16/9; }
.lb-video iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.lb-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lightbox.single .lb-nav, .lightbox.single .lb-thumbs { display: none; }
.lb-bar { display: flex; align-items: center; gap: 16px; padding: 12px 20px 18px; min-width: 0; }
.lb-count { flex: none; color: #cbd5e1; font-weight: 700; font-size: .9rem; min-width: 56px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; margin: 0 auto; max-width: 100%; }
.lb-thumbs button { flex: none; width: 84px; aspect-ratio: 16/10; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .5; background: var(--navy-800); cursor: pointer; }
.lb-thumbs button.active { border-color: var(--red); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .lb-stage { padding: 64px 8px 8px; }
  .lb-nav { width: 42px; height: 42px; top: auto; bottom: 96px; transform: none; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-thumbs button { width: 64px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Avis clients (accueil + page dédiée)
   ========================================================= */
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; align-items: stretch; }
.rv-grid.home { grid-template-columns: repeat(3, 1fr); }
.rv-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(26,54,93,.45), rgba(19,34,63,.55) 45%, rgba(11,20,38,.7)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.rv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #1a56db 0 33%, #fff 33% 66%, var(--red) 66%); opacity: .7; }
.rv-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.rv-top { display: flex; justify-content: space-between; align-items: center; }
.rv-stars { color: #fbbf24; letter-spacing: 3px; font-size: 1.05rem; }
.rv-stars span { color: rgba(255,255,255,.15); }
.rv-stars.big { font-size: 1.5rem; letter-spacing: 4px; }
.rv-quote { width: 34px; height: 34px; color: rgba(197,48,48,.35); }
.rv-text { margin: 0; flex: 1; color: #e2e8f0; font-size: 1.02rem; line-height: 1.65; }
.rv-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rv-who .avatar { width: 42px; height: 42px; font-size: 1rem; }
.rv-who strong { display: block; color: #fff; }
.rv-who small { display: inline-flex; align-items: center; gap: 5px; color: #86efac; font-size: .78rem; font-weight: 600; }
.rv-who small svg { width: 13px; height: 13px; }
.rv-head-score { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-weight: 700; color: #fff; }
.rv-head-score:hover { border-color: var(--line-strong); background: rgba(255,255,255,.07); }
.rv-head-score .rv-stars { font-size: .9rem; letter-spacing: 1px; }
.rv-head-score svg { width: 16px; height: 16px; }
.rv-more { display: flex; justify-content: center; margin-top: 26px; }
.rv-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.rv-summary { position: sticky; top: 96px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-strong); text-align: center; }
.rv-score strong { font-size: 3.6rem; font-weight: 900; color: #fff; line-height: 1; }
.rv-score span { font-size: 1.2rem; color: var(--muted); font-weight: 700; margin-left: 4px; }
.rv-summary > p.muted { margin: 6px 0 18px; }
.rv-dist { display: grid; gap: 6px; margin-bottom: 20px; }
.rv-bar { display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 10px; padding: 4px 6px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-weight: 700; font-size: .85rem; cursor: pointer; }
.rv-bar:hover { background: rgba(255,255,255,.04); color: #fff; }
.rv-bar i { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.rv-bar b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.rv-bar em { font-style: normal; text-align: right; }
.rv-note { margin: 10px 0 0; font-size: .78rem; color: var(--muted); }
.rv-chips { margin-bottom: 18px; }
@media (max-width: 980px) {
  .rv-grid.home { grid-template-columns: 1fr; }
  .rv-layout { grid-template-columns: 1fr; }
  .rv-summary { position: static; }
}

/* =========================================================
   FAQ (page dédiée + accueil)
   ========================================================= */
.faq-hero .desc { margin-bottom: 18px; }
.faq-search { display: flex; align-items: center; gap: 12px; max-width: 640px; padding: 0 18px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.faq-search:focus-within { border-color: rgba(127,176,255,.6); box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.faq-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 1rem; }
.faq-chips { margin-top: 18px; }
.faq-chips .chip em { font-style: normal; margin-left: 4px; padding: 0 7px; border-radius: 99px; background: rgba(255,255,255,.08); font-size: .75rem; }
.faq-chips .chip.active em { background: rgba(197,48,48,.5); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding-top: 10px; padding-bottom: 60px; }
.faq-group { margin-bottom: 30px; }
.faq-group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.15rem; color: #fff; }
.faq-group-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(197,48,48,.14); color: var(--red-light); }
.faq-group-ico svg { width: 18px; height: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-list.home { max-width: 860px; margin: 0 auto; }
.faq-item { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; overflow: hidden; }
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: rgba(197,48,48,.45); background: linear-gradient(180deg, rgba(26,54,93,.45), rgba(19,34,63,.55)); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid #7fb0ff; outline-offset: -2px; border-radius: 16px; }
.faq-q { font-weight: 700; color: #fff; line-height: 1.4; }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.06); transition: background .2s, transform .25s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--red-light); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--red); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: #cbd5e1; line-height: 1.7; animation: faqIn .25s ease-out; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }
.faq-a p { margin: 0 0 10px; }
.faq-a img { max-width: 100%; border-radius: 12px; }
.faq-tools { display: flex; justify-content: flex-end; margin-top: 6px; }
.faq-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: none; color: var(--muted); font-size: .78rem; font-weight: 700; cursor: pointer; }
.faq-link:hover { color: #fff; border-color: var(--line-strong); }
.faq-link svg { width: 14px; height: 14px; }
.faq-help { position: sticky; top: 96px; display: grid; gap: 14px; }
.faq-help-card { padding: 22px; border-radius: 20px; background: linear-gradient(160deg, rgba(26,54,93,.6), rgba(19,34,63,.6)); border: 1px solid var(--line-strong); display: grid; gap: 10px; }
.faq-help-card h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.faq-help-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.faq-help-card.small { background: var(--card); border-color: var(--line); }
.faq-help-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(197,48,48,.16); color: var(--red-light); }
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-help { position: static; }
}

/* =========================================================
   Espace client : nouvel en-tête + tableau de bord
   ========================================================= */
.empty a.btn, .acc-empty a.btn { color: #fff; text-decoration: none; }
.acc-hero { padding: 36px 0 0; }
.acc-card { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(120deg, rgba(26,54,93,.75), rgba(19,34,63,.7) 55%, rgba(197,48,48,.35)); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.acc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #1a56db 0 33%, #fff 33% 66%, var(--red) 66%); }
.acc-avatar.big { width: 84px; height: 84px; font-size: 2rem; box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.35); }
.acc-id { flex: 1; min-width: 0; }
.acc-id h1 { margin: 4px 0 2px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: #fff; }
.acc-id p { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.acc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acc-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }
.acc-link svg { width: 13px; height: 13px; }
.acc-link.on { background: rgba(34,197,94,.12); color: #86efac; border-color: transparent; }
.acc-actions { display: flex; flex-direction: column; gap: 8px; }
.acc-hero .acc-tabs { margin: 18px 0 26px; padding: 5px; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.acc-hero .acc-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border-bottom: 0; }
.acc-hero .acc-tabs a svg { width: 17px; height: 17px; }
.acc-hero .acc-tabs a.active { background: var(--navy-700); color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.acc-tip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 18px; border-radius: 14px; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); color: #fde68a; font-size: .9rem; }
.acc-tip svg { flex: none; }
.acc-tip span { flex: 1; }
.acc-tip .btn { padding: 8px 14px; font-size: .82rem; }
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.acc-stat { display: grid; gap: 4px; padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.acc-stat:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.acc-stat .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(59,130,246,.12); color: #93c5fd; margin-bottom: 6px; }
.acc-stat strong { font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1.1; }
.acc-stat > span:last-child { color: var(--muted); font-size: .85rem; }
.acc-stat.hot { border-color: rgba(197,48,48,.5); }
.acc-stat.hot .ico { background: rgba(197,48,48,.16); color: var(--red-light); }
.acc-stat b { color: #fca5a5; }
.acc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.acc-quick a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.acc-quick a:hover { background: rgba(255,255,255,.06); border-color: var(--line-strong); }
.acc-quick .ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(197,48,48,.14); color: var(--red-light); }
.acc-quick div { flex: 1; min-width: 0; }
.acc-quick strong { display: block; color: #fff; font-size: .92rem; }
.acc-quick small { color: var(--muted); font-size: .78rem; }
.acc-quick > a > svg:last-child { width: 16px; height: 16px; color: var(--muted); flex: none; }
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acc-panel { padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.acc-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.acc-panel-head h2 { margin: 0; font-size: 1.1rem; color: #fff; }
.acc-panel-head .link-arrow { font-size: .85rem; }
.acc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; transition: background .15s; }
.acc-row + .acc-row { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.acc-row:hover { background: rgba(255,255,255,.04); }
.acc-row strong { display: block; color: #fff; font-size: .92rem; overflow-wrap: anywhere; }
.acc-row small { color: var(--muted); font-size: .78rem; }
.acc-amount { font-weight: 900; color: #fff; white-space: nowrap; }
.acc-empty { display: grid; justify-items: center; gap: 10px; padding: 26px 12px; text-align: center; color: var(--muted); }
.acc-empty > svg { width: 34px; height: 34px; color: rgba(255,255,255,.25); }
.acc-empty p { margin: 0; }
.acc-empty.big { padding: 54px 20px; border-radius: 20px; border: 1px dashed var(--line-strong); }
.acc-empty.big h3 { margin: 0; color: #fff; font-size: 1.2rem; }
@media (max-width: 1000px) {
  .acc-stats, .acc-quick { grid-template-columns: 1fr 1fr; }
  .acc-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acc-card { flex-direction: column; align-items: flex-start; padding: 22px; }
  .acc-actions { flex-direction: row; width: 100%; }
  .acc-actions .btn { flex: 1; }
  .acc-hero .acc-tabs a span { display: none; }
  .acc-hero .acc-tabs a.active span { display: inline; }
  .acc-stats { gap: 10px; }
  .acc-stat { padding: 16px; }
  .acc-quick { grid-template-columns: 1fr; }
}

/* ---- Page « Gratuits » ---- */
.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.free-card { display: flex; flex-direction: column; background: var(--card, #0f1a2e); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; transition: transform .2s, border-color .2s; }
.free-card:hover { transform: translateY(-3px); border-color: rgba(34,197,94,.35); }
.free-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 0; padding: 0; cursor: zoom-in; }
.free-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.free-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.free-body h3 { margin: 0; font-size: 1.15rem; }
.free-desc { color: var(--muted, #94a3b8); font-size: .92rem; line-height: 1.55; }
.free-files { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.free-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.free-files li div { display: flex; flex-direction: column; min-width: 0; }
.free-files strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.free-files span { color: var(--muted, #94a3b8); font-size: .8rem; }
.free-files .btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.free-files .btn svg { width: 16px; height: 16px; }
.free-video { font-size: .88rem; }
.chip-free { border-color: rgba(34,197,94,.45) !important; color: #86efac !important; }
@media (max-width: 420px) { .free-grid { grid-template-columns: 1fr; } }

/* Champs pré-remplis par le navigateur : garder le thème sombre */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: #e2e8f0; caret-color: #e2e8f0;
  -webkit-box-shadow: 0 0 0 1000px #0b1426 inset; box-shadow: 0 0 0 1000px #0b1426 inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* ---- Favoris ---- */
.card-btns { display: flex; gap: 8px; align-items: center; }
.wish-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--muted); cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .15s; }
.wish-btn:hover { color: #fda4af; border-color: rgba(244,63,94,.45); }
.wish-btn:active { transform: scale(.92); }
.wish-btn.on { color: #fb7185; border-color: rgba(244,63,94,.5); background: rgba(244,63,94,.12); }
.wish-btn.on svg { fill: currentColor; }
.wish-btn.wide { width: 100%; height: auto; display: inline-flex; justify-content: center; gap: 8px; }
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.wish-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.wish-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.wish-media img { width: 100%; height: 100%; object-fit: cover; }
.wish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wish-body a { color: #fff; text-decoration: none; }
.wish-price { font-weight: 800; }
.wish-actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }
.wish-actions .btn-red { flex: 1; }

/* ---- Avis sur la fiche produit ---- */
.pr-reviews .section-head { align-items: end; }
.pr-score { display: flex; align-items: center; gap: 10px; }
.pr-score strong { font-size: 1.6rem; }
.pr-score-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: .9rem; text-decoration: none; }
.pr-score-link .rv-stars, .pr-score .rv-stars { color: #fbbf24; letter-spacing: 1px; }
.pr-note { display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); margin: 0 0 18px; }
.pr-note a { color: #fca5a5; }
.pr-form { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 22px; max-width: 720px; }
.pr-form textarea { width: 100%; resize: vertical; border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: #fff; font: inherit; }
.pr-form .btn { align-self: flex-start; }
.rv-verified { color: #4ade80; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.rv-product { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; color: var(--muted); text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.rv-product:hover { color: #fff; border-color: var(--line-strong); }
.rv-product svg { width: 14px; height: 14px; }

/* ---- Panier : remise ---- */
.totals .discount { display: flex; justify-content: space-between; color: #4ade80; font-weight: 700; }
.totals .discount span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.totals .discount svg { width: 16px; height: 16px; }

/* ---- Profil : compte Discord ---- */
.dc-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(88,101,242,.35); background: rgba(88,101,242,.08); }
.dc-link.on { border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.07); }
.dc-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #5865f2; color: #fff; }
.dc-ico svg { width: 24px; height: 24px; }
.dc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dc-text small { color: var(--muted); }
.btn-discord-link { background: #5865f2; color: #fff; border-color: #5865f2; text-decoration: none; white-space: nowrap; }
.btn-discord-link:hover { background: #4752c4; }
@media (max-width: 520px) { .dc-link { flex-wrap: wrap; } .dc-link .btn { width: 100%; } }

/* ---- Sélecteur de langue ---- */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.lang-switch button { border: 0; background: none; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 800; padding: 6px 9px; border-radius: 9px; cursor: pointer; }
.lang-switch button.active { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 640px) { .lang-switch button { padding: 5px 7px; } }

/* Mobile : la fiche produit ne doit jamais dépasser l'écran (miniatures en défilement horizontal) */
.product > * { min-width: 0; }
.thumbs { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }

/* Mobile : barre d'achat fixe en bas de la fiche produit */
.m-buybar { display: none; }
@media (max-width: 1024px) {
  .m-buybar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7,13,26,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line-strong); }
  .m-buybar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .m-buybar-info strong { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-buybar .price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
  .m-buybar .price strong { font-size: 1.1rem; }
  .m-buybar .price s, .m-buybar .price small { font-size: .75rem; }
  .m-buybar .btn { flex-shrink: 0; padding-inline: 22px; }
  body:has(.m-buybar) .footer { padding-bottom: 90px; }
}

/* ---- Page Paiement (Tebex intégré) ---- */
.pay-hero h1 { display: flex; align-items: center; gap: 12px; }
.pay-hero h1 svg { width: 30px; height: 30px; color: #4ade80; }
.pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 60px; }
.pay-frame { min-height: 760px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: #0d0d0d; }
.pay-frame iframe { display: block; width: 100%; border: 0; }
.pay-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.pay-card { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.pay-card h2 { margin: 0 0 12px; font-size: 1.1rem; }
.pay-account { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: 8px 10px; border-radius: 10px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); margin-bottom: 12px; }
.pay-account svg { width: 16px; height: 16px; color: #4ade80; }
.pay-account b { color: #fff; }
.pay-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.pay-line img { width: 52px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #000; }
.pay-total { display: flex; justify-content: space-between; padding-top: 12px; font-size: 1.15rem; font-weight: 900; }
.pay-edit { display: inline-block; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.pay-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pay-perks li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.pay-perks li svg { flex-shrink: 0; width: 18px; height: 18px; color: #fca5a5; margin-top: 1px; }
.pay-perks b { color: #fff; }
@media (max-width: 1024px) { .pay-layout { grid-template-columns: 1fr; } .pay-side { position: static; } }

/* ---- Profil : compte Cfx.re ---- */
.dc-link.cfx { border-color: rgba(249,115,22,.35); background: rgba(249,115,22,.07); }
.dc-link.cfx.on { border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.07); }
.cfx-ico { background: linear-gradient(135deg, #f97316, #ea580c); }
.btn-cfx-link { background: #f97316; border-color: #f97316; color: #fff; white-space: nowrap; }
.btn-cfx-link:hover { background: #ea580c; }
.dc-link + .dc-link { margin-top: 10px; }

/* ---- Page de maintenance ---- */
body.maintenance { min-height: 100vh; overflow-x: hidden; }
body.maintenance .toasts, body.maintenance #toasts { position: fixed; }
.mt-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.mt-bg::before { content: ""; position: absolute; inset: -8%; background: url("../img/banniere.png") center / cover no-repeat; filter: blur(22px) saturate(.9); opacity: .35; transform: scale(1.06); animation: mt-drift 30s ease-in-out infinite alternate; }
.mt-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(197,48,48,.22), transparent 45%), radial-gradient(circle at 15% 60%, rgba(26,86,219,.18), transparent 40%), linear-gradient(180deg, rgba(7,13,26,.55), rgba(7,13,26,.92) 70%); }
@keyframes mt-drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.mt { position: relative; z-index: 1; min-height: calc(100vh - 3px); display: grid; place-items: center; padding: 40px 16px; }
.mt-card { width: min(600px, 100%); text-align: center; padding: 44px 36px 34px; border-radius: 28px; background: rgba(15,26,48,.62); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 30px 90px rgba(0,0,0,.5); animation: mt-in .6s cubic-bezier(.2,.9,.3,1) both; }
@keyframes mt-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.mt-logo { position: relative; width: 104px; height: 104px; margin: 0 auto 20px; }
.mt-logo img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.04), 0 0 60px rgba(197,48,48,.4); animation: mt-glow 3.5s ease-in-out infinite; }
@keyframes mt-glow { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 90px rgba(197,48,48,.6); } }
.mt-gear { position: absolute; right: -4px; bottom: -4px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; border: 3px solid #0f1a30; animation: mt-wrench 2.6s ease-in-out infinite; }
.mt-gear svg { width: 18px; height: 18px; }
@keyframes mt-wrench { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-22deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-6deg); } }
.mt-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fca5a5; background: rgba(197,48,48,.14); border: 1px solid rgba(197,48,48,.35); }
.mt-badge i { width: 7px; height: 7px; border-radius: 50%; background: #f87171; animation: mt-blink 1.4s ease-in-out infinite; }
@keyframes mt-blink { 50% { opacity: .25; } }
.mt h1 { margin: 16px 0 10px; font-size: clamp(2rem, 6.5vw, 3.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.mt h1 span { background: linear-gradient(90deg, #f87171, #e04848); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-msg { margin: 0 auto; max-width: 460px; color: #cbd5e1; font-size: 1.02rem; line-height: 1.6; }
.mt-count { margin: 26px 0 4px; }
.mt-count-label { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.mt-count-label b { color: #fff; }
.mt-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; margin: 0 auto; }
.mt-unit { padding: 14px 6px 10px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.mt-unit b { display: block; font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.mt-unit span { display: block; margin-top: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mt-progress { width: min(320px, 80%); height: 6px; margin: 26px auto 4px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.mt-progress span { display: block; width: 40%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1a56db, #fff, #e04848); animation: mt-load 1.8s ease-in-out infinite; }
@keyframes mt-load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
.mt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 22px; }
.mt-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.mt-actions svg { width: 18px; height: 18px; }
.mt-info { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 10px; text-align: left; }
.mt-info li { display: flex; gap: 10px; align-items: flex-start; color: #cbd5e1; font-size: .9rem; }
.mt-info svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: #4ade80; }
.mt-info a { color: #fff; font-weight: 700; }
.mt-auto { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 18px 0 0; font-size: .78rem; color: var(--muted); }
.mt-auto svg { width: 14px; height: 14px; }
@media (max-width: 520px) { .mt-card { padding: 34px 20px 26px; border-radius: 22px; } .mt-units { gap: 6px; } .mt-actions .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .mt-bg::before, .mt-logo img, .mt-gear, .mt-badge i, .mt-progress span, .mt-card { animation: none; } }

/* ---- Bandeau promo (panel : Réglages > Bandeau promo) ---- */
.promo-bar { position: relative; z-index: 60; color: #fff; font-size: .9rem; animation: promo-in .5s ease both; }
@keyframes promo-in { from { opacity: 0; transform: translateY(-100%); } }
.promo-bar.theme-red { background: linear-gradient(90deg, #7f1d1d, #c53030 50%, #7f1d1d); }
.promo-bar.theme-rose { background: linear-gradient(90deg, #9d174d, #ec4899 50%, #9d174d); }
.promo-bar.theme-blue { background: linear-gradient(90deg, #1e3a8a, #2563eb 50%, #1e3a8a); }
.promo-bar.theme-green { background: linear-gradient(90deg, #14532d, #16a34a 50%, #14532d); }
.promo-bar.theme-gold { background: linear-gradient(90deg, #78350f, #d97706 50%, #78350f); }
.promo-bar.theme-dark { background: linear-gradient(90deg, #0b1426, #1a365d 50%, #0b1426); border-bottom: 1px solid var(--line-strong); }
.promo-bar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); background-size: 250% 100%; animation: promo-shine 6s linear infinite; }
@keyframes promo-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.promo-in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-block: 9px; padding-right: 44px; position: relative; z-index: 1; }
.promo-ico { font-size: 1.1rem; }
.promo-txt { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; justify-content: center; text-align: center; }
.promo-txt b { font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.promo-txt span { opacity: .95; }
.promo-code { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; border: 1.5px dashed rgba(255,255,255,.7); background: rgba(0,0,0,.18); color: #fff; font: inherit; font-weight: 800; letter-spacing: .06em; cursor: pointer; }
.promo-code:hover { background: rgba(0,0,0,.3); }
.promo-code svg { width: 14px; height: 14px; }
.promo-count { font-weight: 800; font-variant-numeric: tabular-nums; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.22); font-size: .82rem; }
.promo-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: #111827; font-weight: 800; font-size: .82rem; text-decoration: none; }
.promo-link svg { width: 14px; height: 14px; }
.promo-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #fff; opacity: .8; cursor: pointer; }
.promo-close:hover { opacity: 1; background: rgba(0,0,0,.2); }
.promo-close svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .promo-bar { font-size: .82rem; } .promo-in { gap: 8px; padding-block: 8px; } .promo-ico { display: none; } }
@media (prefers-reduced-motion: reduce) { .promo-bar, .promo-bar::after { animation: none; } }

/* ---- Miniatures de la fiche produit : flèches + fondu, sans barre de défilement ---- */
.thumbs-wrap { position: relative; margin-top: 12px; }
.thumbs-wrap .thumbs { margin-top: 0; padding: 2px 0; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.thumbs-wrap .thumbs::-webkit-scrollbar { display: none; }
.thumbs-wrap .thumbs button { scroll-snap-align: start; transition: opacity .2s, border-color .2s, transform .2s; }
.thumbs-wrap .thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.thumbs-wrap::before, .thumbs-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .2s; }
.thumbs-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy-950, #070d1a) 15%, transparent); }
.thumbs-wrap::after { right: 0; background: linear-gradient(270deg, var(--navy-950, #070d1a) 15%, transparent); }
.thumbs-wrap.fade-l::before, .thumbs-wrap.fade-r::after { opacity: 1; }
.th-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(11,20,38,.92); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: background .2s, transform .2s; }
.th-nav:hover { background: var(--red); border-color: var(--red); }
.th-nav[hidden] { display: none; }
.th-nav svg { width: 18px; height: 18px; }
.th-prev { left: 4px; }
.th-next { right: 4px; }
@media (max-width: 640px) { .th-nav { display: none; } .thumbs-wrap .thumbs button { width: 84px; } }

/* ---- Nouveautés : « En préparation » ---- */
.roadmap { padding-bottom: 10px; }
.roadmap-title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin: 0 0 14px; }
.roadmap-title svg { width: 22px; height: 22px; color: #fca5a5; }
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 30px; }
.rm-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rm-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.rm-prod { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fca5a5; }
.rm-st { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: rgba(148,163,184,.15); color: #cbd5e1; }
.rm-st.st-in_progress { background: rgba(96,165,250,.15); color: #93c5fd; }
.rm-st.st-testing { background: rgba(245,158,11,.15); color: #fcd34d; }
.rm-card h3 { margin: 0; font-size: 1rem; }
.rm-card h3 small { color: var(--muted); font-weight: 700; }
.rm-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.rm-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: auto; }
.rm-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1a56db, #e04848); }
.rm-meta { color: var(--muted); font-size: .78rem; }

.free-note { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: .82rem; color: #86efac; }
.free-note svg { width: 15px; height: 15px; }
.promo-count { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 10px; background: rgba(0,0,0,.25); font-weight: 800; }
.pc-label { font-size: .78rem; margin-right: 2px; opacity: .9; }
.pc-seg { display: inline-flex; align-items: baseline; gap: 1px; padding: 2px 6px; border-radius: 7px; background: rgba(255,255,255,.16); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.pc-seg[hidden] { display: none; }
.pc-seg b { display: inline-block; min-width: 1.25em; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.pc-seg i { font-style: normal; font-size: .66rem; opacity: .85; }
.pc-seg b.flip { animation: pc-flip .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes pc-flip { 0% { transform: translateY(-55%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.promo-count.urgent .pc-seg[data-k="s"] { background: rgba(255,255,255,.3); animation: pc-pulse 1s ease-in-out infinite; }
@keyframes pc-pulse { 50% { box-shadow: 0 0 0 3px rgba(255,255,255,.25); } }
@media (max-width: 640px) { .pc-label { display: none; } .pc-seg { padding: 1px 4px; } }
@media (prefers-reduced-motion: reduce) { .pc-seg b.flip, .promo-count.urgent .pc-seg[data-k="s"] { animation: none; } }

/* Bandeau promo : une seule ligne sur ordinateur */
@media (min-width: 900px) {
  .promo-in { flex-wrap: nowrap; }
  .promo-txt { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; }
  .promo-txt b { flex: none; }
  .promo-txt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .promo-code, .promo-count, .promo-link { flex: none; }
}
@media (min-width: 900px) and (max-width: 1250px) { .pc-label { display: none; } }

/* Bandeau promo : compact sur téléphone (texte sur une ligne, compteur et bouton à côté) */
@media (max-width: 899px) {
  .promo-in { gap: 6px 8px; padding-block: 6px; padding-right: 34px; }
  .promo-txt { flex-basis: 100%; flex-wrap: nowrap; gap: 6px; min-width: 0; }
  .promo-txt b { flex: none; font-size: .78rem; }
  .promo-txt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
  .promo-count { padding: 2px 4px; }
  .pc-seg { padding: 1px 4px; }
  .pc-seg b { font-size: .78rem; }
  .promo-link { padding: 4px 10px; font-size: .76rem; }
  .promo-close { top: 8px; transform: none; width: 26px; height: 26px; }
}

/* Bandeau promo : utilise toute la largeur de l'écran pour que le texte tienne en entier */
@media (min-width: 900px) {
  .promo-bar .container.promo-in { max-width: 1560px; gap: 10px; padding-left: 24px; padding-right: 48px; }
  .promo-txt { gap: 8px; }
}

/* Guide PDF joint par l'assistant */
.att-pdf { display: flex; align-items: center; gap: 12px; max-width: 420px; margin-top: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: inherit; text-decoration: none; }
.att-pdf:hover { background: rgba(255,255,255,.1); }
.att-pdf .pdf-ic { flex: none; display: grid; place-items: center; width: 40px; height: 48px; border-radius: 6px; background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; font-weight: 900; font-size: .72rem; }
.att-pdf-t { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.att-pdf-t small { opacity: .7; }

/* Paiement : bloc principal + note pour les commandes gratuites */
.pay-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pay-free-note { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); color: #bbf7d0; font-size: .95rem; }
.pay-free-note svg { flex: none; width: 22px; height: 22px; color: #4ade80; }
@media (max-width: 700px) { .pay-frame { min-height: 900px; border-radius: 14px; } .pay-layout { gap: 18px; } }

/* ---- Mes assets Cfx.re ---- */
.assets-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(197,48,48,.16), rgba(26,54,93,.35)); border: 1px solid var(--line-strong); }
.assets-hero h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.2rem; }
.assets-hero p { margin: 0; color: var(--muted, #94a3b8); max-width: 640px; }
.assets-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 16px 0 6px; padding: 0; list-style: none; counter-reset: st; }
.assets-steps li { counter-increment: st; position: relative; padding: 14px 14px 14px 52px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line, rgba(255,255,255,.08)); font-size: .92rem; }
.assets-steps li::before { content: counter(st); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red, #c53030); color: #fff; font-weight: 800; font-size: .85rem; }
.assets-title { margin: 26px 0 12px; font-size: 1.05rem; }
.assets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.asset-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line, rgba(255,255,255,.08)); }
.asset-head { display: flex; align-items: center; gap: 12px; }
.asset-head img, .asset-ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: rgba(0,0,0,.3); display: grid; place-items: center; }
.asset-name { font-size: 1rem; line-height: 1.3; }
.asset-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
.asset-upd-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .86rem; padding: 3px 0; }
.asset-upd-row small { opacity: .65; margin-left: auto; }
.asset-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.asset-actions .btn { padding: 8px 12px; font-size: .85rem; }
.pdf-mini { display: inline-grid; place-items: center; padding: 1px 5px; border-radius: 4px; background: #dc2626; color: #fff; font-size: .62rem; font-weight: 900; }
.assets-faq { display: flex; flex-direction: column; gap: 8px; }
.assets-faq details { border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line, rgba(255,255,255,.08)); }
.assets-faq summary { cursor: pointer; padding: 13px 16px; font-weight: 700; }
.assets-faq details > div { padding: 0 16px 14px; line-height: 1.6; opacity: .9; }
.assets-faq code, .assets-steps code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 5px; font-size: .85em; }
/* ---- Tickets : formulaires guidés, logs, vidéos ---- */
.guided { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(96,165,250,.07); border: 1px solid rgba(96,165,250,.25); }
.guided p { display: flex; gap: 8px; margin: 0; font-size: .9rem; }
.att-video { display: block; max-width: 100%; max-height: 360px; margin-top: 8px; border-radius: 12px; background: #000; }
.pdf-ic.txt { background: linear-gradient(135deg, #475569, #1e293b); }
/* ---- Profil : société, sécurité, données ---- */
.company-box { border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: 12px; padding: 10px 14px; }
.company-box summary { cursor: pointer; font-weight: 700; }
.company-box[open] summary { margin-bottom: 10px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.danger { color: #fca5a5; border-color: rgba(248,113,113,.4); }
.del-confirm { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.35); }
.del-confirm p { margin: 0; }
.del-confirm[hidden], .guided:empty { display: none; }

.pill-req { background: rgba(220,38,38,.18); color: #fca5a5; border: 1px solid rgba(220,38,38,.4); }

/* ---- Fiche technique ---- */
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.spec { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.spec-ic { grid-row: span 2; font-size: 1.3rem; align-self: center; }
.spec-k { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; opacity: .6; }
.spec-v { font-weight: 700; display: flex; flex-wrap: wrap; gap: 5px; }
.spec-chip { padding: 1px 8px; border-radius: 99px; background: rgba(197,48,48,.18); border: 1px solid rgba(197,48,48,.4); font-size: .8rem; }
.spec-notes { margin: 14px 0 0; padding-left: 20px; line-height: 1.7; opacity: .9; }
/* ---- Panier : suggestions ---- */
.cart-sug:empty { display: none; }
.cart-sug { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.12); }
.sug-title { font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; opacity: .65; margin-bottom: 8px; }
.sug { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.sug img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sug strong { display: block; font-size: .86rem; line-height: 1.3; }
.sug small { opacity: .7; }
.sug .btn { padding: 8px 10px; }
/* ---- Discord en direct, avis ---- */
.dc-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px !important; padding: 6px 12px; border-radius: 99px; background: rgba(88,101,242,.16); border: 1px solid rgba(88,101,242,.4); font-size: .9rem; }
.dc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.rv-method { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.rv-method svg { flex: none; margin-top: 3px; color: #4ade80; }
/* ---- Accessibilité ---- */
:focus-visible { outline: 2px solid #7fb0ff; outline-offset: 2px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #7fb0ff; outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: #c53030; color: #fff; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Note de satisfaction d'un ticket ---- */
.rate-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: rgba(250,204,21,.07); border: 1px solid rgba(250,204,21,.3); }
.rate-box input[name=comment] { flex: 1; min-width: 200px; }
.rate-done { margin: 14px 0; color: #facc15; font-weight: 700; }

/* ---- Parrainage et avantages ---- */
.rw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.rw-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.rw-card h2 { margin: 0; font-size: 1.1rem; } .rw-card p { margin: 0; opacity: .9; }
.rw-ref { background: linear-gradient(135deg, rgba(197,48,48,.16), rgba(26,54,93,.3)); }
.rw-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rw-code span { padding: 10px 16px; border-radius: 12px; border: 2px dashed rgba(248,113,113,.6); font: 800 1.1rem ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.rw-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .rw-bar span { display: block; height: 100%; background: linear-gradient(90deg, #c53030, #f59e0b); }
.rw-list { display: flex; flex-direction: column; gap: 8px; }
.rw-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.rw-item > div { flex: 1; display: flex; flex-direction: column; } .rw-item strong { font-family: ui-monospace, Consolas, monospace; letter-spacing: .05em; }
.rw-badge { flex: none; padding: 8px 10px; border-radius: 10px; background: rgba(34,197,94,.15); color: #86efac; font-weight: 800; }
.or-sep { display: flex; align-items: center; gap: 10px; opacity: .6; font-size: .85rem; } .or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.15); }

/* ---- Tickets : modifier un message, correction ---- */
.msg-edit { border: 0; background: none; cursor: pointer; padding: 0 2px; font-size: .8rem; opacity: .7; }
.msg-edit:hover { opacity: 1; }
.msg-edit-form { display: flex; flex-direction: column; gap: 8px; }
.msg-edit-form textarea { width: 100%; }

/* ---- Connexion : Discord en premier, se souvenir de moi ---- */
#f-login .btn-discord-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }

/* =================== Cloche de notifications (espace client) =================== */
.bell-wrap { position: relative; }
.bell-btn { position: relative; }
.bell-btn .cart-count { background: var(--red); }
.bell-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 95; width: min(380px, calc(100vw - 24px)); background: var(--navy-900); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); overflow: hidden; }
.bell-panel[hidden] { display: none; }
.bell-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.bell-head strong { color: #fff; }
.bell-read { background: none; border: 0; color: #fca5a5; font: 700 .78rem var(--font); cursor: pointer; }
.bell-list { max-height: min(420px, 60vh); overflow-y: auto; padding: 6px; }
.bell-item { display: flex; gap: 10px; padding: 10px; border-radius: 12px; color: var(--text); }
.bell-item:hover { background: rgba(255,255,255,.05); }
.bell-item.unread { background: rgba(197,48,48,.08); }
.bell-item.unread strong::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red-light); margin-left: 6px; vertical-align: middle; }
.bell-ico { font-size: 1.1rem; line-height: 1.4; }
.bell-txt { display: grid; gap: 2px; min-width: 0; }
.bell-txt strong { color: #fff; font-size: .86rem; }
.bell-txt span { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bell-txt em { font-style: normal; font-size: .7rem; color: #64748b; }
.bell-empty { margin: 0; padding: 18px 12px; color: var(--muted); font-size: .85rem; text-align: center; }
.bell-foot { padding: 10px 14px; border-top: 1px solid var(--line); font-size: .8rem; }
.bell-foot .btn { width: 100%; justify-content: center; }
@media (max-width: 640px) { .bell-panel { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; } }
/* Téléchargements : historique ; commandes : correction de facture */
.dl-history { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; background: rgba(255,255,255,.02); }
.dl-history summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dl-history ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.dl-history li { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; padding: 6px 0; border-top: 1px solid var(--line); }
.dl-history time { color: var(--muted); white-space: nowrap; }
.fix-box { margin-top: 12px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.fix-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0; }

/* =================== Avis : chiffres clés, outils, mosaïque =================== */
.rv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; max-width: 760px; }
.rv-kpis div { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.rv-kpis strong { font-size: 1.6rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.rv-kpis strong small { font-size: .9rem; color: var(--muted); font-weight: 700; margin-left: 2px; }
.rv-kpis span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.rv-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.rv-tools .chips { flex: 1 1 100%; }
.rv-tools .field { flex: 1 1 200px; }
.rv-count { margin: 0 0 10px; font-size: .85rem; min-height: 1em; }
.rv-masonry { column-count: 2; column-gap: 18px; }
.rv-masonry > .rv-card { break-inside: avoid; margin-bottom: 18px; display: flex; }
.rv-masonry > .empty { column-span: all; }
.rv-more { text-align: center; margin-top: 8px; }
.rv-summary .rv-method { margin-top: 14px; font-size: .78rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .rv-kpis { grid-template-columns: repeat(2, 1fr); } .rv-masonry { column-count: 1; } }

/* =================== Nouveautés : mois, cartes, listes =================== */
.upd-wrap { max-width: 980px; }
.upd-tools { margin-bottom: 8px; }
.upd-month { font-size: 1.05rem; color: var(--red-light); text-transform: none; margin: 26px 0 12px; font-weight: 800; letter-spacing: .01em; }
.upd-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; padding: 20px; margin-bottom: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.upd-card:hover { border-color: var(--line-strong); }
.upd-day { display: grid; place-items: center; align-self: start; padding: 10px 0; border-radius: 14px; background: rgba(197,48,48,.1); border: 1px solid rgba(224,72,72,.25); }
.upd-day strong { font-size: 1.5rem; line-height: 1; color: #fff; font-weight: 900; }
.upd-day span { font-size: .72rem; text-transform: uppercase; color: #fca5a5; font-weight: 800; letter-spacing: .05em; }
.upd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.upd-body h3 { margin: 8px 0 4px; color: #fff; font-size: 1.12rem; }
.upd-sum { margin: 0 0 10px; color: var(--muted); }
.upd-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.upd-lines li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--text); }
.upd-lines li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: rgba(34,197,94,.15); color: #4ade80; font-size: .7rem; font-weight: 900; display: grid; place-items: center; margin-top: 2px; }
.upd-lines.clamp li:nth-child(n+6) { display: none; }
.upd-toggle { margin-top: 6px; background: none; border: 0; color: #fca5a5; font: 700 .85rem var(--font); cursor: pointer; padding: 0; }
.upd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.upd-img { width: 180px; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; align-self: start; }
@media (max-width: 720px) { .upd-card { grid-template-columns: 52px minmax(0, 1fr); } .upd-img { grid-column: 1 / -1; width: 100%; order: -1; } }

/* =================== Profil =================== */
.card-box h2 { display: flex; align-items: center; gap: 10px; }
.cb-ico { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; background: rgba(255,255,255,.06); font-size: 1rem; flex: none; }
.cb-danger { border-color: rgba(239,68,68,.25); }

/* Cartes produits sur téléphone (2 colonnes) : prix sur une ligne, boutons en dessous (le « + » ne déborde plus) */
@media (max-width: 560px) {
  .card-foot { flex-wrap: wrap; align-items: center; gap: 8px; }
  .card-foot .price { flex: 1 1 100%; }
  .card-btns { flex: 1 1 100%; }
  .card-btns .wish-btn { width: 38px; height: 38px; flex: none; }
  .card-btns .add-btn { flex: 1; width: auto; height: 38px; }
  .card-foot > .add-btn { margin-left: auto; }
}

/* Fiche produit sur tablette et téléphone : le prix et le bouton d'achat juste sous les photos (plus besoin de descendre tout en bas) */
@media (max-width: 1024px) {
  .product { gap: 0; }
  .product > div:first-child { display: contents; }
  .product > div:first-child > * { order: 4; min-width: 0; }
  .product > div:first-child > .gallery-main { order: 1; }
  .product > div:first-child > .thumbs-wrap { order: 2; }
  .product > .buy-box { order: 3; margin-top: 18px; }
}
@media (max-width: 1024px) {
  .m-buybar { transition: transform .25s ease; }
  .m-buybar.off { transform: translateY(110%); }
}


/* Cloche : supprimer une notification ou tout effacer */
.bell-acts { display: flex; gap: 10px; align-items: center; }
.bell-clear { color: var(--muted) !important; }
.bell-clear:hover { color: #fca5a5 !important; }
.bell-row { position: relative; }
.bell-row .bell-item { padding-right: 38px; }
.bell-del { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted);
  font-size: .75rem; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.bell-row:hover .bell-del, .bell-del:focus-visible { opacity: 1; }
.bell-del:hover { background: rgba(239,68,68,.2); color: #fecaca; }
@media (hover: none) { .bell-del { opacity: .8; } }

/* Liens dans les messages des tickets */
.bubble .txt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; overflow-wrap: anywhere; }

/* ================= Retexture IA ================= */
.rx-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.rx-prices > div { padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.rx-prices > div.hot { border-color: var(--red); box-shadow: 0 0 0 1px var(--red-glow) inset; }
.rx-prices b { display: block; font-size: 1.35rem; color: #fff; }
.rx-prices span { color: var(--muted); font-size: .88rem; }
.rx-prices p { grid-column: 1 / -1; margin: 0; text-align: center; }
.rx-row { justify-content: flex-start; }
.rx-row > div:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rx-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-mini { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #6e6e78; flex: none; }
.rx-st { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(148,163,184,.14); color: #cbd5e1; white-space: nowrap; }
.rx-st.rx-ready { background: rgba(34,197,94,.15); color: #86efac; }
.rx-st.rx-processing, .rx-st.rx-paid, .rx-st.rx-revision { background: rgba(59,130,246,.15); color: #93c5fd; }
.rx-st.rx-review { background: rgba(234,179,8,.15); color: #fde047; }
.rx-st.rx-awaiting_payment { background: rgba(249,115,22,.15); color: #fdba74; }
.rx-st.rx-failed { background: rgba(239,68,68,.15); color: #fca5a5; }
.rx-form { display: grid; gap: 16px; }
.rx-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rx-how > div { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: .88rem; color: #cbd5e1; }
.rx-how .rx-n { font-style: normal; font-weight: 800; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: .85rem; }
.rx-drop { display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed var(--line-strong); border-radius: 16px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.rx-drop .i { width: 28px; height: 28px; color: var(--red-light); }
.rx-drop span { color: var(--muted); font-size: .86rem; }
.rx-drop:hover, .rx-drop:focus-visible, .rx-drop.over { border-color: var(--red); background: rgba(197,48,48,.06); outline: none; }
.rx-drop.small { padding: 14px; grid-auto-flow: column; justify-content: center; align-items: center; margin-top: 10px; }
.rx-drop.small .i { width: 18px; height: 18px; }
.rx-files { display: grid; gap: 8px; }
.rx-files:empty { display: none; }
.rx-file { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.rx-file img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #6e6e78; flex: none; }
.rx-file div { flex: 1; min-width: 0; display: grid; }
.rx-file b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.rx-file small { color: var(--muted); }
.rx-refs summary { cursor: pointer; color: #cbd5e1; font-weight: 600; font-size: .92rem; }
.rx-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.rx-total b { font-size: 1.4rem; color: #fff; }
.rx-progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.rx-progress span, .rx-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-light)); transition: width .3s; }
.rx-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 4px 0 18px; overflow-x: auto; }
.rx-steps li { flex: 1; min-width: 92px; display: grid; justify-items: center; gap: 6px; font-size: .8rem; color: var(--muted); text-align: center; position: relative; }
.rx-steps li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-strong); font-weight: 800; color: var(--muted); background: var(--navy-900); position: relative; z-index: 1; }
.rx-steps li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--line-strong); }
.rx-steps li.done span { background: var(--success); border-color: var(--success); color: #04220f; }
.rx-steps li.done::after { background: var(--success) !important; }
.rx-steps li.on { color: #fff; font-weight: 700; }
.rx-steps li.on span { border-color: var(--red); color: #fff; box-shadow: 0 0 0 4px var(--red-glow); }
.rx-box { padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 16px; }
.rx-box.warn { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.07); }
.rx-box p { margin: 0 0 12px; }
.rx-live-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rx-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 8px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rx-brief { margin-bottom: 16px; }
.rx-brief p { margin: 6px 0 0; white-space: pre-wrap; color: #cbd5e1; }
.rx-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.rx-texs { display: grid; gap: 18px; }
.rx-tex { padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.rx-tex-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rx-tex-h b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rx-src { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #6e6e78; }
.rx-compare { --pos: 50%; position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: #6e6e78; user-select: none; margin: 0 auto; touch-action: pan-y; }
.rx-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rx-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.rx-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 18px rgba(0,0,0,.45); pointer-events: none; z-index: 2; }
.rx-handle i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: #0b1426; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.45); transition: transform .2s; }
.rx-handle i svg { width: 22px; height: 22px; }
.rx-compare:hover .rx-handle i { transform: scale(1.08); }
.rx-compare:not(.touched) .rx-handle i { animation: rxNudge 2.4s ease-in-out 1s 2; }
@keyframes rxNudge { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-8px); } 60% { transform: translateX(8px); } }
.rx-compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.rx-compare input:focus-visible ~ .rx-handle i, .rx-compare:focus-within .rx-handle i { outline: 3px solid var(--red-light); outline-offset: 2px; }
.rx-lbl { position: absolute; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 99px; background: rgba(7,13,26,.78); backdrop-filter: blur(6px); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.rx-lbl.l { left: 12px; } .rx-lbl.r { right: 12px; background: var(--red); }
.rx-warn { color: #fde047; }
.rx-tex p { margin: 0; }
.rx-rev textarea { min-height: 0; }
@media (max-width: 720px) {
  .rx-prices, .rx-how { grid-template-columns: 1fr; }
  .rx-steps li { min-width: 70px; font-size: .72rem; }
  .rx-row { flex-direction: row; align-items: center; }
}

/* ================= Retexture IA : page publique ================= */
.rxp-hero { position: relative; overflow: hidden; padding: 34px 0 56px; }
.rxp-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 520px; background: radial-gradient(600px 300px at 78% 40%, rgba(197,48,48,.22), transparent 70%), radial-gradient(500px 320px at 12% 10%, rgba(36,71,122,.45), transparent 70%); pointer-events: none; }
.rxp-hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.rxp-tag { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 14px; padding: 5px 14px 5px 5px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: #cbd5e1; font-size: .85rem; font-weight: 600; }
.rxp-tag b { padding: 3px 10px; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.rxp-copy h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; font-weight: 900; letter-spacing: -.035em; color: #fff; }
.rxp-copy h1 em { font-style: normal; background: linear-gradient(90deg, #ff6b6b, var(--red-light) 40%, #fca5a5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rxp-lead { margin: 0 0 26px; max-width: 520px; color: #b6c3d6; font-size: 1.08rem; line-height: 1.6; }
.rxp-lead b { color: #fff; }
.rxp-trust { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 22px; margin: 26px 0 0; padding: 0; color: #cbd5e1; font-size: .9rem; font-weight: 600; }
.rxp-trust li { display: flex; align-items: center; gap: 8px; }
.rxp-trust svg, .rxp-plan li svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(34,197,94,.16); color: #4ade80; }
.rxp-visual { position: relative; }
.rxp-frame { border-radius: 20px; padding: 10px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.2); }
.rxp-frame-bar { display: flex; align-items: center; gap: 6px; padding: 2px 6px 10px; }
.rxp-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3b4560; }
.rxp-frame-bar span:first-child { background: #e04848; }
.rxp-frame-bar b { margin-left: 8px; color: var(--muted); font-size: .76rem; font-weight: 600; font-family: ui-monospace, Consolas, monospace; }
.rxp-bubble { position: absolute; left: -26px; bottom: 34px; max-width: 290px; padding: 12px 14px; border-radius: 14px; background: rgba(11,20,38,.92); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: #e2e8f0; font-size: .84rem; line-height: 1.45; z-index: 4; }
.rxp-bubble span { display: block; margin-bottom: 4px; color: var(--red-light); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rxp-hint { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: .82rem; }
.rxp-sec { padding: 28px 0 44px; }
.rxp-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.rxp-head h2, .rxp-split h2, .rxp-final h2 { margin: 8px 0 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; }
.rxp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rxp-feat { padding: 22px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.rxp-feat:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.rxp-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(197,48,48,.12); border: 1px solid rgba(197,48,48,.3); font-size: 1.35rem; margin-bottom: 14px; }
.rxp-feat h3 { margin: 0 0 6px; color: #fff; font-size: 1.02rem; }
.rxp-feat p { margin: 0; color: #a7b4c8; font-size: .9rem; line-height: 1.55; }
.rxp-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.rxp-split p { margin: 14px 0 0; line-height: 1.65; }
.rxp-split-vis { padding: 10px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.rxp-split-vis .rx-compare { background: #fff; }
.rxp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; position: relative; }
.rxp-steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent); }
.rxp-steps li { position: relative; text-align: center; padding: 0 8px; }
.rxp-steps li span { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--red); color: #fff; font-weight: 900; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--navy-950), 0 0 24px var(--red-glow); }
.rxp-steps h3 { margin: 0 0 6px; color: #fff; font-size: 1.02rem; }
.rxp-steps p { margin: 0; color: #a7b4c8; font-size: .9rem; line-height: 1.5; }
.rxp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1020px; margin: 0 auto; align-items: stretch; }
.rxp-plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.rxp-plan.hot { background: linear-gradient(180deg, rgba(197,48,48,.16), rgba(19,34,63,.7) 55%); border-color: rgba(224,72,72,.55); box-shadow: 0 24px 60px -24px var(--red-glow); transform: translateY(-8px); }
.rxp-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px var(--red-glow); }
.rxp-plan h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.rxp-plan > p { margin: 4px 0 18px; font-size: .88rem; }
.rxp-price { display: grid; gap: 2px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.rxp-price b { color: #fff; font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; }
.rxp-price span { color: var(--muted); font-size: .85rem; }
.rxp-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; color: #cbd5e1; font-size: .9rem; flex: 1; }
.rxp-plan li { display: flex; align-items: center; gap: 10px; }
.rxp-plan .btn { width: 100%; justify-content: center; }
.rxp-note { max-width: 680px; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: .86rem; }
.rxp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.rxp-faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.rxp-faq details[open] { border-color: var(--line-strong); }
.rxp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; color: #fff; font-weight: 700; }
.rxp-faq summary::-webkit-details-marker { display: none; }
.rxp-faq summary i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.06); font-style: normal; font-size: 1.1rem; transition: transform .25s, background .25s; }
.rxp-faq details[open] summary i { transform: rotate(45deg); background: var(--red); }
.rxp-faq p { margin: 0; padding: 0 20px 18px; color: #b6c3d6; line-height: 1.6; }
.rxp-final { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 36px; border-radius: 24px; background: linear-gradient(120deg, rgba(197,48,48,.28), rgba(26,54,93,.55)); border: 1px solid rgba(224,72,72,.35); }
.rxp-final p { margin: 8px 0 0; color: #cbd5e1; }
@media (max-width: 1000px) {
  .rxp-hero-in, .rxp-split { grid-template-columns: 1fr; gap: 30px; }
  .rxp-feats { grid-template-columns: repeat(2, 1fr); }
  .rxp-bubble { left: 12px; bottom: 54px; }
}
@media (max-width: 720px) {
  .rxp-hero { padding: 18px 0 30px; }
  .rxp-trust { grid-template-columns: 1fr; }
  .rxp-feats, .rxp-plans { grid-template-columns: 1fr; }
  .rxp-plan.hot { transform: none; }
  .rxp-steps { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .rxp-steps::before { display: none; }
  .rxp-bubble { position: static; max-width: none; margin-top: 12px; }
  .rxp-final { padding: 26px 22px; }
  .rxp-final .btn { width: 100%; justify-content: center; }
  .rx-handle i { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
}

/* ---------- Onglets de l'espace client ---------- */
.acc-tabs-wrap { position: relative; margin: 18px 0 26px; }
.acc-hero .acc-tabs-wrap .acc-tabs { margin: 0; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; padding: 5px; }
.acc-hero .acc-tabs::-webkit-scrollbar { display: none; }
.acc-hero .acc-tabs a { flex: 1 0 auto; justify-content: center; transition: background .2s, color .2s; }
.acc-hero .acc-tabs a:hover:not(.active) { background: rgba(255,255,255,.05); }
.acc-tabs-wrap.can-l .acc-tabs { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px); mask-image: linear-gradient(90deg, transparent 0, #000 64px); }
.acc-tabs-wrap.can-r .acc-tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
.acc-tabs-wrap.can-l.can-r .acc-tabs { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent); }
.acc-tabs-arr { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--navy-800); color: #fff; font-size: 1.3rem; line-height: 1; display: none; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.4); transition: background .2s; }
.acc-tabs-arr:hover { background: var(--red); }
.acc-tabs-arr.l { left: -6px; } .acc-tabs-arr.r { right: -6px; }
.acc-tabs-wrap.can-l .acc-tabs-arr.l, .acc-tabs-wrap.can-r .acc-tabs-arr.r { display: grid; }
@media (hover: none) { .acc-tabs-arr { display: none !important; } }

/* ---------- Retexture IA : espace client ---------- */
.rxa-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center; padding: 28px; border-radius: 22px; margin-bottom: 26px; background: radial-gradient(500px 220px at 100% 0%, rgba(197,48,48,.2), transparent 70%), linear-gradient(135deg, rgba(26,54,93,.55), rgba(15,27,50,.7)); border: 1px solid var(--line-strong); }
.rxa-hero h2 { margin: 6px 0 8px; color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 900; letter-spacing: -.02em; }
.rxa-hero p { margin: 0 0 18px; color: #b6c3d6; max-width: 560px; }
.rxa-mini-prices { display: grid; gap: 8px; }
.rxa-mini-prices > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(7,13,26,.45); border: 1px solid var(--line); }
.rxa-mini-prices > div.hot { border-color: rgba(224,72,72,.55); background: rgba(197,48,48,.12); }
.rxa-mini-prices span { color: #cbd5e1; font-weight: 600; font-size: .9rem; }
.rxa-mini-prices b { color: #fff; font-size: 1.15rem; }
.rxa-mini-prices small { color: var(--muted); text-align: center; }
.rxa-list-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rxa-list-h h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.rxa-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rxa-order { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); color: inherit; transition: transform .2s, border-color .2s, box-shadow .2s; }
.rxa-order:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.rxa-thumb { position: relative; aspect-ratio: 16 / 10; background: #6e6e78; }
.rxa-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rxa-thumb .rx-st { position: absolute; top: 10px; left: 10px; backdrop-filter: blur(6px); background: rgba(7,13,26,.8); }
.rxa-order-b { padding: 14px 16px 16px; display: grid; gap: 6px; }
.rxa-order-t { display: flex; justify-content: space-between; color: #fff; }
.rxa-order-b p { margin: 0; color: #a7b4c8; font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rxa-order-b small { color: var(--muted); }
.rx-bar.sm { height: 6px; margin: 2px 0; }
.rxa-empty { display: grid; justify-items: center; gap: 6px; padding: 40px 20px; border-radius: 18px; border: 1px dashed var(--line-strong); text-align: center; }
.rxa-empty span { font-size: 2.2rem; }
.rxa-empty b { color: #fff; }
.rxa-empty p { margin: 0; color: var(--muted); }
.rx-new { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.rx-new-main { display: grid; gap: 16px; min-width: 0; }
.rx-card { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 14px; }
.rx-card-h { display: flex; gap: 14px; align-items: flex-start; }
.rx-card-h h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.rx-card-h p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; }
.rx-card-h .rx-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; }
.rx-card textarea { width: 100%; min-height: 150px; padding: 14px 16px; border-radius: 14px; background: rgba(7,13,26,.5); border: 1px solid var(--line-strong); color: #fff; font: inherit; line-height: 1.6; resize: vertical; }
.rx-card textarea:focus { outline: none; border-color: var(--red-light); box-shadow: 0 0 0 3px var(--red-glow); }
.rx-drop { padding: 34px 18px; background: rgba(7,13,26,.35); }
.rx-drop-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(197,48,48,.14); border: 1px solid rgba(197,48,48,.35); margin-bottom: 4px; }
.rx-drop-ic .i { width: 26px; height: 26px; }
.rx-drop b { color: #fff; font-size: 1.02rem; }
.rx-drop u { color: #fca5a5; text-underline-offset: 3px; }
.rx-refs summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.rx-refs summary::-webkit-details-marker { display: none; }
.rx-refs summary .i { width: 16px; height: 16px; }
.rx-refs p { margin: 8px 0 0; }
.rx-sum { position: sticky; top: 90px; display: grid; gap: 14px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(26,54,93,.55), rgba(15,27,50,.8)); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.rx-sum h3 { margin: 0; color: #fff; font-size: 1.1rem; }
.rx-sum-row { display: flex; justify-content: space-between; color: #cbd5e1; font-size: .92rem; }
.rx-sum-tip { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(34,197,94,.1); color: #86efac; font-size: .82rem; }
.rx-sum-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rx-sum-price span { color: var(--muted); font-weight: 600; }
.rx-sum-price b { color: #fff; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.rx-sum-empty { margin: 0; color: var(--muted); font-size: .9rem; }
.rx-sum-list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; color: #cbd5e1; font-size: .88rem; }
.rx-sum-list li { display: flex; gap: 8px; align-items: center; }
.rx-sum-list .i { width: 16px; height: 16px; color: #4ade80; flex: none; }
.rx-sum .btn { width: 100%; justify-content: center; }
.rx-secure { margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.rx-secure .i { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .rxa-hero { grid-template-columns: 1fr; padding: 22px; }
  .rx-new { grid-template-columns: 1fr; }
  .rx-sum { position: static; }
}

/* Onglets : tous visibles sur ordinateur */
.acc-hero .acc-tabs-wrap .acc-tabs { gap: 2px; }
.acc-hero .acc-tabs a { padding: 10px 12px; font-size: .9rem; gap: 7px; }
.acc-hero .acc-tabs a svg { width: 16px; height: 16px; }
.rxa-thumb img { object-fit: contain; }
@media (max-width: 1260px) {
  .acc-hero .acc-tabs a span { display: none; }
  .acc-hero .acc-tabs a.active span { display: inline; }
  .acc-hero .acc-tabs a { padding: 10px 14px; }
  .acc-hero .acc-tabs a svg { width: 18px; height: 18px; }
}
.rxp-plans.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 720px) { .rxp-plans.two { grid-template-columns: 1fr; } }

/* ---------- Retexture : livraison, tableau à valider ---------- */
.rx-deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rx-opt { position: relative; display: grid; gap: 4px; padding: 14px 14px 14px 42px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(7,13,26,.35); cursor: pointer; transition: border-color .2s, background .2s; }
.rx-opt input { position: absolute; left: 14px; top: 16px; accent-color: var(--red); width: 16px; height: 16px; }
.rx-opt b { color: #fff; display: flex; justify-content: space-between; gap: 8px; }
.rx-opt b em { font-style: normal; color: #fca5a5; white-space: nowrap; }
.rx-opt span { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.rx-opt.on { border-color: var(--red); background: rgba(197,48,48,.1); box-shadow: 0 0 0 1px var(--red-glow) inset; }
.rx-risk { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.35); color: #fde68a; font-size: .88rem; cursor: pointer; }
.rx-risk input { margin-top: 3px; accent-color: #f59e0b; }
.rx-todo { color: #fde047 !important; font-weight: 700; }
.rx-table { display: grid; gap: 8px; }
.rx-line { display: grid; grid-template-columns: minmax(80px, 200px) 1fr 1.1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(7,13,26,.35); border: 1px solid var(--line); }
.rx-line img { width: 100%; max-height: 56px; object-fit: contain; border-radius: 8px; background: #6e6e78; }
.rx-line small { display: block; color: var(--muted); font-size: .74rem; }
.rx-line b { color: #fff; overflow-wrap: anywhere; }
.rx-line.replace { border-color: rgba(197,48,48,.45); }
.rx-line.erase { border-color: rgba(245,158,11,.45); }
.rx-line.erase .rx-line-old b { text-decoration: line-through; color: #fcd34d; }
.rx-line-new { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rx-line-new > small, .rx-line-new > b { flex-basis: 100%; }
.rx-line-new select, .rx-line-new input { padding: 9px 10px; border-radius: 10px; background: rgba(7,13,26,.6); border: 1px solid var(--line-strong); color: #fff; font: inherit; }
.rx-line-new input { flex: 1; min-width: 120px; }
.rx-line-new input:focus, .rx-line-new select:focus { outline: none; border-color: var(--red-light); box-shadow: 0 0 0 3px var(--red-glow); }
.rx-q { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.25); color: #c7d7f0; font-size: .88rem; }
.rx-q.warn { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.3); color: #fde68a; }
.rx-q .i { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.rx-q ul { margin: 6px 0 0; padding-left: 18px; }
.rx-validate { border-color: rgba(234,179,8,.4); background: rgba(234,179,8,.07); }
.rx-validate p { margin: 6px 0 8px; }
.rx-showall { display: inline-flex; gap: 8px; align-items: center; color: #cbd5e1; font-size: .88rem; cursor: pointer; }
.rx-validate-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rx-rev em { font-style: normal; font-weight: 600; margin-left: 6px; }
.rx-st.rx-analyzing { background: rgba(59,130,246,.15); color: #93c5fd; }
.rx-st.rx-validate { background: rgba(234,179,8,.15); color: #fde047; }
.rx-st.rx-refused { background: rgba(239,68,68,.15); color: #fca5a5; }
@media (max-width: 720px) {
  .rx-deliv { grid-template-columns: 1fr; }
  .rx-line { grid-template-columns: 1fr; }
}

/* Retexture : paiement (récapitulatif + bouton) */
.rx-pay { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; padding: 18px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(229,57,53,.08), rgba(255,255,255,.02)); border: 1px solid rgba(229,57,53,.28); }
.rx-pay-h { display: block; font-size: 15px; margin-bottom: 10px; }
.rx-pay-row, .rx-pay-tot { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.rx-pay-row span { color: var(--muted); }
.rx-pay-tot { border-bottom: 0; padding-top: 10px; font-size: 17px; }
.rx-pay-tot b { color: #fff; }
.rx-pay-inc { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.rx-pay-inc li { display: flex; align-items: center; gap: 7px; }
.rx-pay-inc svg { width: 14px; height: 14px; color: #4ade80; flex: none; }
.rx-pay-act { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; text-align: center;
  padding-left: 18px; border-left: 1px solid var(--line); }
.rx-pay-act .btn { justify-content: center; }
.rx-pay-cancel { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px; }
.rx-pay-cancel:hover { color: #fff; }
@media (max-width: 760px) {
  .rx-pay { grid-template-columns: 1fr; }
  .rx-pay-act { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}

/* Connexions récentes (Profil) et page « Ce n'était pas moi » */
.lg-h { margin: 18px 0 2px; font-size: 1rem; color: #fff; }
.lg-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.lg-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.lg-list li.lg-new { border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.06); }
.lg-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); flex: none; }
.lg-main { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.lg-main b { color: #fff; }
.lg-main small { flex-basis: 100%; color: var(--muted); }
.lg-pill { background: rgba(245,158,11,.15); color: #fcd34d; border-color: transparent; }
.sec-card { text-align: center; }
.sec-card h1 { margin: 6px 0 6px; font-size: 1.6rem; }
.sec-ic { font-size: 2.6rem; line-height: 1; }
.sec-facts { list-style: none; padding: 0; margin: 14px 0; text-align: left; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sec-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.sec-facts li + li { border-top: 1px solid var(--line); }
.sec-facts span { color: var(--muted); }
.sec-facts b { color: #fff; text-align: right; }
/* Étape suivante d'un formulaire (code reçu…) : cachée tant qu'elle n'est pas demandée */
.form[hidden], form[hidden] { display: none !important; }
.gc-badge { background: linear-gradient(135deg, #C53030, #7f1d1d) !important; color: #fff !important; }

/* ---------- Licences FPhone / FTablet ---------- */
.lic-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 0; }
.lic-stats > div { padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.lic-stats span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.lic-stats b { font-size: 24px; font-weight: 800; color: #fff; } .lic-stats b.ok { color: #4ade80; } .lic-stats b.sm { font-size: 16px; padding-top: 6px; }
.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; margin: 14px 0 0; }
.lic-card { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)) , var(--card); border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.lic-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #38bdf8, #6366f1); }
.lic-card.ftablet::before { background: linear-gradient(90deg, #6366f1, #c53030); }
.lic-head { display: flex; align-items: center; gap: 12px; }
.lic-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.25); flex: none; }
.lic-logo.ftablet { background: rgba(99,102,241,.16); border-color: rgba(99,102,241,.3); }
.lic-title { flex: 1; display: grid; } .lic-title b { font-size: 17px; color: #fff; } .lic-title small { color: var(--muted); font-size: 12.5px; }
.lic-state { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: rgba(148,163,184,.15); color: #cbd5e1; white-space: nowrap; }
.lic-state.ok { background: rgba(34,197,94,.15); color: #4ade80; } .lic-state.wait { background: rgba(245,158,11,.15); color: #fbbf24; } .lic-state.bad { background: rgba(239,68,68,.15); color: #f87171; }
.lic-key { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; }
.lic-key code { flex: 1; font-size: 14.5px; letter-spacing: .05em; overflow-wrap: anywhere; color: #e2e8f0; }
.lic-copy { border: 1px solid var(--line-strong); background: rgba(255,255,255,.06); color: #fff; font: 600 13px var(--font); padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: background .15s; }
.lic-copy:hover { background: rgba(255,255,255,.12); }
.lic-left { display: grid; gap: 6px; } .lic-left-t { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); } .lic-left-t b { color: #fff; } .lic-left-t b.warn { color: #fbbf24; }
.lic-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .lic-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #4ade80); } .lic-bar i.warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.lic-info { display: grid; gap: 9px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.lic-info div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.lic-info dt { color: var(--muted); font-size: 13px; } .lic-info dd { margin: 0; font-size: 14px; }
.lic-ip { font-size: 13px; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.06); }
.lic-old { color: #fbbf24; font-size: 12px; font-weight: 700; }
.lic-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .lic-actions .small { font-size: 12.5px; }
.lic-empty { margin-top: 18px; padding: 34px 24px; border-radius: 20px; border: 1px dashed var(--line-strong); text-align: center; display: grid; justify-items: center; gap: 8px; background: radial-gradient(70% 90% at 50% 0%, rgba(99,102,241,.10), transparent); }
.lic-empty-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); color: #cbd5e1; }
.lic-empty-ico svg { width: 26px; height: 26px; }
.lic-empty h3 { margin: 6px 0 0; color: #fff; font-size: 1.15rem; } .lic-empty p { margin: 0; color: var(--muted); max-width: 560px; }
.lic-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 620px; margin-top: 14px; }
.lic-promo { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-strong); color: #fff; text-decoration: none; text-align: left; transition: transform .15s, border-color .15s; }
.lic-promo:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.lic-promo img { width: 64px; height: 48px; object-fit: cover; border-radius: 9px; flex: none; }
.lic-promo div { flex: 1; display: grid; } .lic-promo b { font-size: 15px; } .lic-promo span { font-size: 12.5px; color: var(--muted); }
.lic-promo-go { color: var(--muted); } .lic-promo-go svg { width: 18px; height: 18px; }
.lic-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.lic-box, .lic-panel { background: var(--card); border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.lic-box-h, .lic-panel-h { display: flex; align-items: center; gap: 12px; }
.lic-box-h > div, .lic-panel-h > div { display: grid; gap: 2px; } .lic-box-h b, .lic-panel-h b { color: #fff; font-size: 15.5px; } .lic-box-h small, .lic-panel-h small { color: var(--muted); font-size: 13px; }
.lic-box-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: rgba(197,48,48,.16); color: #fca5a5; border: 1px solid rgba(197,48,48,.3); font-weight: 800; }
.lic-box-ico svg { width: 18px; height: 18px; }
.lic-box-ico.gift { background: rgba(245,158,11,.14); color: #fcd34d; border-color: rgba(245,158,11,.3); }
.lic-box-ico.star { background: rgba(250,204,21,.12); color: #fde047; border-color: rgba(250,204,21,.28); }
.lic-box-ico.api { background: rgba(56,189,248,.12); color: #7dd3fc; border-color: rgba(56,189,248,.28); font-family: Consolas, monospace; font-size: 13px; }
.lic-field { display: flex; gap: 8px; }
.lic-field input, .lic-input, .lic-select { width: 100%; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.25); color: #fff; font: inherit; font-size: .95rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.lic-field input { flex: 1; font-family: Consolas, monospace; letter-spacing: .05em; }
#lic-knew input { font-family: inherit; letter-spacing: 0; }
.lic-field input:focus, .lic-input:focus, .lic-select:focus { border-color: rgba(127,176,255,.6); box-shadow: 0 0 0 3px rgba(127,176,255,.12); }
.lic-field input::placeholder, .lic-input::placeholder { color: rgba(148,163,184,.6); }
.lic-select option { background: var(--navy-900); }
.lic-field .btn { flex: none; }
.lic-apps { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0 0; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(197,48,48,.10)); border: 1px solid var(--line-strong); }
.lic-apps h3 { margin: 0 0 4px; } .lic-apps p { margin: 0; }
.lic-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; align-items: start; }
.lic-note { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; }
.lic-reviews { display: grid; gap: 12px; }
.lic-rev { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.lic-rev + .lic-rev { border-top: 1px solid var(--line); padding-top: 14px; }
.lic-rev-h { display: flex; align-items: center; gap: 10px; } .lic-rev-h b { font-size: 15px; }
.lic-rev .btn { align-self: flex-start; }
.lic-input { font-family: inherit; } textarea.lic-input { resize: vertical; min-height: 84px; }
.lic-stars { display: flex; gap: 2px; flex-direction: row-reverse; justify-content: flex-end; }
.lic-stars input { display: none; }
.lic-stars span { font-size: 26px; color: #475569; cursor: pointer; transition: color .1s; }
.lic-stars label:has(input:checked) span, .lic-stars label:has(input:checked) ~ label span, .lic-stars:hover label span { color: #475569; }
.lic-stars label:has(input:checked) span, .lic-stars label:has(input:checked) ~ label span { color: #fbbf24; }
.lic-stars:hover label:hover span, .lic-stars:hover label:hover ~ label span { color: #fcd34d; }
.lic-reply { background: rgba(255,255,255,.04); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; } .lic-reply b { display: block; font-size: 12px; color: var(--muted); }
.lic-code { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--line); overflow: hidden; }
.lic-code span { font: 700 11px Consolas, monospace; color: #7dd3fc; background: rgba(56,189,248,.12); padding: 3px 7px; border-radius: 6px; flex: none; }
.lic-code code { font-size: 12.5px; color: #e2e8f0; overflow-wrap: anywhere; }
.lic-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lic-keys li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.lic-keys li > div { flex: 1; display: grid; gap: 2px; } .lic-keys small { color: var(--muted); font-size: 12.5px; }
.lic-newkey { padding: 12px 14px; border-radius: 12px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) { .lic-cols, .lic-forms { grid-template-columns: 1fr; } .lic-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lic-info div { grid-template-columns: 1fr; gap: 2px; } .lic-grid { grid-template-columns: 1fr; } .lic-promos { grid-template-columns: 1fr; } .lic-apps { flex-direction: column; align-items: flex-start; } .lic-field { flex-wrap: wrap; } .lic-field .btn { width: 100%; } }

/* ---------------------------------------------------------------- Licences : en-tête, cartes de licence (refonte) */
.lic-hero { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: 22px; align-items: center; padding: 24px 26px; border-radius: 22px;
  background: radial-gradient(70% 140% at 100% 0%, rgba(99,102,241,.2), transparent 60%), linear-gradient(135deg, rgba(197,48,48,.16), rgba(26,54,93,.4)); border: 1px solid var(--line-strong); }
.lic-hero-k { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #93c5fd; }
.lic-hero h2 { margin: 6px 0 4px; font-size: 1.3rem; color: #fff; } .lic-hero p { margin: 0; color: var(--muted); font-size: 14px; }
.lic-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lic-steps li { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(7,13,26,.45); border: 1px solid var(--line); }
.lic-steps li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 900; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--red), #6366f1); }
.lic-steps li > div { display: grid; gap: 3px; min-width: 0; } .lic-steps b { color: #fff; font-size: 14.5px; } .lic-steps small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.lic-steps code { font-size: 11.5px; } .lic-steps a { font-size: 12.5px; font-weight: 700; color: #93c5fd; text-decoration: none; }
.lic-card { padding: 0; gap: 0; }
.lic-card::before { display: none; }
.lic-banner { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px; min-height: 88px; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, rgba(10,18,36,.96) 35%, rgba(10,18,36,.55)), var(--shot) right -10px top 18% / 46% auto no-repeat, linear-gradient(135deg, #0ea5e9, #6366f1); }
.lic-card.ftablet .lic-banner { background: linear-gradient(100deg, rgba(10,18,36,.96) 38%, rgba(10,18,36,.5)), var(--shot) right -20px top 30% / 60% auto no-repeat, linear-gradient(135deg, #1e3a8a, #c53030); }
.lic-banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, #38bdf8, #a78bfa); }
.lic-card.ftablet .lic-banner::after { background: linear-gradient(90deg, #3b82f6, #fff, #ef4444); }
.lic-body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.lic-key code { font-family: Consolas, monospace; }
.lic-ic { border: 0; background: none; cursor: pointer; font-size: 15px; opacity: .55; padding: 6px; border-radius: 8px; } .lic-ic:hover, .lic-ic.on { opacity: 1; background: rgba(255,255,255,.06); }
.lic-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lic-tile { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.lic-tile > span { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lic-tile b { font-size: 14.5px; color: #fff; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lic-tile b.warn { color: #fbbf24; }
.lic-tile small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lic-tile code { font-size: 11px; }
.lic-dot { width: 8px; height: 8px; border-radius: 50%; background: #64748b; flex: none; } .lic-dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.lic-upd { padding: 9px 12px; border-radius: 10px; font-size: 13px; color: #fcd34d; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); }
.lic-actions { padding-top: 12px; border-top: 1px solid var(--line); }
.lic-actions .btn { text-decoration: none; }
@media (max-width: 900px) { .lic-hero { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .lic-steps { grid-template-columns: 1fr; } .lic-tiles { grid-template-columns: 1fr 1fr; } .lic-tile:last-child { grid-column: 1 / -1; } .lic-hero { padding: 18px; } }
.lic-key code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; border: 0; padding: 0; font-size: 13.5px; letter-spacing: .03em; }
.lic-ic { opacity: .8; font-size: 16px; }
.lic-banner .lic-state { background: rgba(10,18,36,.88); box-shadow: inset 0 0 0 1px currentColor; }
.lic-tile b, .lic-tile small { white-space: normal; overflow: visible; }
.lic-actions .btn { padding: 8px 12px; font-size: 13px; }
.lic-grid { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
.lic-card, .lic-body, .lic-key code, .lic-tiles > * { min-width: 0; }
.lic-body { grid-template-columns: minmax(0, 1fr); }
