/* Kana Music — site de présentation, connexion et pages légales */
@font-face { font-family: "Outfit"; src: url("/polices/outfit-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/polices/outfit-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/polices/outfit-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Syne"; src: url("/polices/syne-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --fond: #0b0b14; --s1: #12121e; --s2: #191927; --s3: #232336; --bord: #2a2a3f;
  --t: #f3f2fa; --t2: #a9a8c0; --t3: #7c7b95;
  --bleu: #5e7dff; --violet: #7b3cf4; --rose: #ff4fa6;
  --degrade: linear-gradient(100deg, #5e7dff 0%, #7b3cf4 52%, #ff4fa6 100%);
  --large: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--t); font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: "Syne", "Outfit", sans-serif; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.conteneur { width: min(var(--large), 100% - 40px); margin: 0 auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }

/* boutons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; transition: transform .12s, box-shadow .2s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-plein { background: var(--degrade); color: #fff; box-shadow: 0 10px 30px rgba(123, 60, 244, .35); }
.btn-plein:hover { box-shadow: 0 14px 38px rgba(123, 60, 244, .5); }
.btn-clair { background: rgba(255, 255, 255, .08); color: var(--t); }
.btn-clair:hover { background: rgba(255, 255, 255, .14); }
.btn-petit { padding: 9px 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* barre du haut */
.nav { position: sticky; top: 0; z-index: 20; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.opaque { background: rgba(11, 11, 20, .86); backdrop-filter: blur(16px); border-color: var(--bord); }
.nav .conteneur { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav .logo img { height: 30px; }
.nav-liens { display: flex; gap: 26px; color: var(--t2); font-weight: 500; }
.nav-liens a:hover { color: var(--t); }
.nav-droite { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-droite .connexion { color: var(--t2); font-weight: 600; font-size: 15px; }
.nav-droite .connexion:hover { color: var(--t); }

/* accroche */
.hero { position: relative; overflow: hidden; padding: 60px 0 90px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background: radial-gradient(40% 50% at 20% 30%, rgba(94, 125, 255, .35), transparent 70%), radial-gradient(40% 50% at 80% 40%, rgba(255, 79, 166, .28), transparent 70%), radial-gradient(30% 40% at 50% 80%, rgba(123, 60, 244, .3), transparent 70%); }
.hero .conteneur { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.etiquette { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--bord); color: var(--t2); font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.etiquette b { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px var(--rose); }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); margin-bottom: 22px; }
.hero h1 span { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sous { font-size: clamp(17px, 2vw, 20px); color: var(--t2); max-width: 520px; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .prix-mini { color: var(--t3); font-size: 14px; margin-top: 16px; }

/* mur de pochettes */
.mur { position: relative; height: 520px; }
.mur .p { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); background: var(--s2); animation: flotte 7s ease-in-out infinite; }
.mur .p img { width: 100%; height: 100%; object-fit: cover; }
.mur .p:nth-child(1) { width: 46%; aspect-ratio: 1; left: 4%; top: 6%; }
.mur .p:nth-child(2) { width: 38%; aspect-ratio: 1; right: 2%; top: 0; animation-delay: -2s; }
.mur .p:nth-child(3) { width: 34%; aspect-ratio: 1; left: 30%; top: 50%; animation-delay: -4s; z-index: 2; }
.mur .p:nth-child(4) { width: 30%; aspect-ratio: 1; right: 4%; top: 52%; animation-delay: -1s; }
.mur .p:nth-child(5) { width: 24%; aspect-ratio: 1; left: 0; top: 62%; animation-delay: -5s; }
.mur .lecture { position: absolute; z-index: 3; left: 14%; bottom: 2%; right: 18%; background: rgba(25, 25, 39, .86); backdrop-filter: blur(14px); border: 1px solid var(--bord); border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.mur .lecture .mini { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; flex: none; background: var(--degrade); }
.mur .lecture .mini img { width: 100%; height: 100%; object-fit: cover; }
.mur .lecture strong { display: block; font-size: 14px; }
.mur .lecture small { color: var(--t3); font-size: 12px; }
.mur .lecture .ondes { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.mur .lecture .ondes i { width: 4px; border-radius: 2px; background: var(--degrade); animation: onde 1s ease-in-out infinite; }
.mur .lecture .ondes i:nth-child(2) { animation-delay: -.3s; } .mur .lecture .ondes i:nth-child(3) { animation-delay: -.6s; } .mur .lecture .ondes i:nth-child(4) { animation-delay: -.15s; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes onde { 0%, 100% { height: 6px; } 50% { height: 22px; } }

/* chiffres */
.chiffres { border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); background: var(--s1); }
.chiffres .conteneur { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 30px 0; }
.chiffres b { display: block; font-family: "Syne", sans-serif; font-size: clamp(30px, 4vw, 44px); background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffres span { color: var(--t2); font-weight: 500; }

/* sections */
section.bloc { padding: 100px 0; }
.titre-section { max-width: 680px; margin-bottom: 46px; }
.titre-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.titre-section .sur { color: var(--rose); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; display: block; }
.titre-section h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.titre-section p { color: var(--t2); font-size: 18px; margin: 0; }

/* genres */
.genres { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.genre { position: relative; overflow: hidden; border-radius: 16px; padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s; }
.genre:hover { transform: translateY(-4px); }
.genre h3 { font-size: 22px; position: relative; z-index: 1; max-width: 80%; }
.genre p { margin: 0; font-size: 14px; opacity: .9; position: relative; z-index: 1; }
.genre::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .18); }

/* étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: e; }
.etape { background: var(--s1); border: 1px solid var(--bord); border-radius: 18px; padding: 28px; }
.etape::before { counter-increment: e; content: counter(e); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--degrade); font-family: "Syne", sans-serif; font-size: 20px; margin-bottom: 18px; }
.etape h3 { font-size: 21px; margin-bottom: 8px; }
.etape p { color: var(--t2); margin: 0; }

/* atouts */
.atouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.atout { background: var(--s1); border: 1px solid var(--bord); border-radius: 18px; padding: 28px; display: flex; gap: 18px; }
.atout .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(123, 60, 244, .18); display: grid; place-items: center; }
.atout .ic svg { width: 24px; height: 24px; fill: #c4a6ff; }
.atout h3 { font-size: 19px; margin-bottom: 6px; }
.atout p { color: var(--t2); margin: 0; }

/* tarif */
.tarif { max-width: 480px; margin: 0 auto; background: var(--s1); border: 1px solid var(--bord); border-radius: 24px; padding: 34px; position: relative; overflow: hidden; }
.tarif::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--degrade); }
.tarif .badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 79, 166, .15); color: #ff8cc6; font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.tarif .prix { font-family: "Syne", sans-serif; font-size: 54px; line-height: 1; }
.tarif .prix small { font-family: "Outfit", sans-serif; font-size: 18px; color: var(--t2); font-weight: 500; }
.tarif .apres { color: var(--t2); margin: 10px 0 24px; }
.tarif ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.tarif li { display: flex; gap: 12px; }
.tarif li svg { flex: none; width: 22px; height: 22px; fill: #c4a6ff; }
.tarif .btn { width: 100%; padding: 16px; font-size: 17px; }
.tarif .note { color: var(--t3); font-size: 13px; text-align: center; margin: 14px 0 0; }

/* questions */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--s1); border: 1px solid var(--bord); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--t3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--t2); margin: 0 0 20px; }

/* appel final */
.final { text-align: center; padding: 90px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(123, 60, 244, .35), transparent 70%); }
.final h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; }
.final p { color: var(--t2); font-size: 18px; margin: 0 0 30px; }

/* pied */
.pied { border-top: 1px solid var(--bord); padding: 36px 0 50px; color: var(--t3); font-size: 14px; }
.pied .conteneur { display: flex; gap: 20px 40px; flex-wrap: wrap; align-items: center; }
.pied img { height: 24px; }
.pied nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pied nav a:hover { color: var(--t); }
.pied .ia { width: 100%; margin: 0; }

/* appli mobile */
.appli-mobile { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: var(--s1); border: 1px solid var(--bord); border-radius: 24px; padding: 44px; position: relative; overflow: hidden; }
.appli-mobile::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 60, 244, .35), transparent 70%); }
.appli-mobile > * { position: relative; }
.appli-mobile .sur-titre { color: var(--rose); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: 12px; }
.appli-mobile h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.sous-appli { color: var(--t2); font-size: 18px; margin: 0 0 22px; }
.etapes-appli { margin: 0 0 24px; padding-left: 22px; color: var(--t2); display: flex; flex-direction: column; gap: 10px; }
.etapes-appli b { color: var(--t); }
.carte-qr { justify-self: center; background: #fff; border-radius: 22px; padding: 20px 20px 12px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.qr-appli { width: 220px; height: 220px; }
.qr-appli svg { width: 100%; height: 100%; display: block; }
.carte-qr p { color: #0b0b14; font-weight: 600; margin: 8px 0 0; letter-spacing: .04em; }
.seulement-mobile { display: none; }
@media (max-width: 920px) {
  .appli-mobile { grid-template-columns: 1fr; padding: 28px 22px; }
  .seulement-ordi { display: none; }
  .seulement-mobile { display: inline-flex; }
}

/* page connexion */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .cote-visuel { position: relative; overflow: hidden; padding: 50px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(60% 60% at 20% 20%, rgba(94, 125, 255, .5), transparent 70%), radial-gradient(60% 60% at 80% 80%, rgba(255, 79, 166, .45), transparent 70%), #15122a; }
.auth .cote-visuel img.logo { height: 34px; align-self: flex-start; }
.auth .cote-visuel h2 { font-size: clamp(32px, 3.6vw, 48px); max-width: 460px; }
.auth .cote-visuel p { color: var(--t2); max-width: 420px; margin: 14px 0 0; }
.auth .cote-form { display: grid; place-items: center; padding: 40px 24px; }
.form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.form .logo-mobile { display: none; height: 32px; margin: 0 auto 6px; }
.form h1 { font-size: 34px; }
.form .sous { color: var(--t2); margin: -6px 0 6px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 14px; }
.form label small { font-weight: 500; color: var(--t3); }
.form input[type=email], .form input[type=password], .form input[type=text] { padding: 14px 15px; border-radius: 12px; border: 1px solid var(--bord); background: var(--s2); color: var(--t); font: inherit; font-size: 16px; outline: none; }
.form input:focus { border-color: var(--bleu); }
.form .case { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--t2); }
.form .case input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.form .case a, .form .bascule a { color: var(--t); text-decoration: underline; }
.form .bascule { text-align: center; color: var(--t2); font-size: 15px; }
.form .note { color: var(--t3); font-size: 13px; text-align: center; margin: 0; }
.erreur { background: rgba(255, 79, 100, .12); color: #ff9aa8; border-radius: 12px; padding: 11px 13px; font-size: 14px; }
.retour { color: var(--t2); font-size: 14px; font-weight: 600; }
.retour:hover { color: var(--t); }

/* pages légales */
.legal { padding: 50px 0 80px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); margin: 20px 0 26px; }
.legal .texte { white-space: pre-wrap; color: var(--t2); max-width: 760px; font-size: 16px; line-height: 1.7; }

@media (max-width: 920px) {
  .nav-liens { display: none; }
  .hero { padding: 30px 0 60px; }
  .hero .conteneur { grid-template-columns: 1fr; gap: 30px; }
  .mur { height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .etapes, .atouts { grid-template-columns: 1fr; }
  section.bloc { padding: 70px 0; }
  .auth { grid-template-columns: 1fr; }
  .auth .cote-visuel { display: none; }
  .form .logo-mobile { display: block; }
}
@media (max-width: 520px) {
  .nav .conteneur { gap: 12px; height: 62px; }
  .nav .logo img { height: 20px; }
  .nav-droite { gap: 10px; }
  .nav-droite .connexion { font-size: 14px; }
  .nav-droite .btn-petit { padding: 8px 12px; font-size: 13px; }
  .chiffres .conteneur { padding: 22px 0; }
  .chiffres span { font-size: 13px; }
  .tarif { padding: 26px 22px; }
  .tarif .prix { font-size: 46px; }
  .hero .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
