/* =====================================================
   Musicrea — Thème « Studio Session »
   Papier chaud · Élégance musicale · Clair & professionnel
   Instrument Serif (titres) · Plus Jakarta Sans (corps)
   ===================================================== */

/* ── Variables ── */
:root {
    --paper: #FAF8F5;
    --ink: #14121C;
    --muted: #5C5868;
    --amber: #C9922A;
    --rose: #C43D6B;
    --violet: #5B3CC4;
    --surface: #FFFFFF;
    --line: rgba(20, 18, 28, 0.08);

    /* Dérivées */
    --amber-soft: rgba(201, 146, 42, 0.12);
    --rose-soft: rgba(196, 61, 107, 0.1);
    --violet-soft: rgba(91, 60, 196, 0.08);
    --ink-soft: rgba(20, 18, 28, 0.04);

    /* Ombres douces */
    --shadow-sm: 0 2px 8px rgba(20, 18, 28, 0.04);
    --shadow-md: 0 8px 24px rgba(20, 18, 28, 0.07);
    --shadow-lg: 0 16px 48px rgba(20, 18, 28, 0.1);
    --shadow-card: 0 4px 20px rgba(20, 18, 28, 0.06);

    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);

    /* Typographie fluide */
    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --fs-hero: clamp(2rem, 4vw + 0.5rem, 3.25rem);
    --fs-section: clamp(1.625rem, 2.5vw + 0.5rem, 2.375rem);
    --fs-lead: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);

    /* Layout */
    --top-bar-h: 38px;
    --header-h: 68px;
    --header-offset: calc(var(--top-bar-h) + var(--header-h));
    --scroll-anchor-gap: 0.25rem;
    --scroll-padding: calc(var(--header-offset) + var(--scroll-anchor-gap));
    --container-pad: clamp(1rem, 3vw, 1.5rem);
    --container-max: 1140px;
}

/* ── Keyframes ── */
@keyframes eqPulse {
    0%, 100% { transform: scaleY(0.35); opacity: 0.55; }
    50%      { transform: scaleY(1);    opacity: 1; }
}

@keyframes vinylSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ── Reset & base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: var(--header-offset);
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ── Typographie ── */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.card-title {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
}

p {
    color: var(--muted);
}

strong {
    font-weight: 600;
    color: var(--ink);
}

.text-accent {
    color: var(--amber);
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ── Utilitaires ── */
.hidden {
    display: none !important;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Boutons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose) 0%, var(--violet) 100%);
    color: var(--surface);
    box-shadow: 0 4px 16px rgba(196, 61, 107, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 60, 196, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-soft);
}

.btn-light {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Barre supérieure ── */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--top-bar-h);
    background: var(--ink);
    color: rgba(250, 248, 245, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.top-bar-yt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(250, 248, 245, 0.9);
    transition: color var(--transition);
}

.top-bar-yt:hover {
    color: var(--amber);
}

.top-bar-yt svg {
    flex-shrink: 0;
}

.top-bar-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: right;
}

.top-bar-sep {
    opacity: 0.4;
}

/* ── En-tête & navigation ── */
.header {
    position: fixed;
    top: var(--top-bar-h);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(250, 248, 245, 0.92);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
    overflow: visible;
}

/* Flou isolé : évite de piéger le menu mobile (fixed/absolute) */
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header.is-scrolled {
    background: rgba(250, 248, 245, 0.97);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header:has(.nav.is-open) {
    z-index: 1200;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--amber) 0%, var(--rose) 100%);
    color: var(--surface);
    font-size: 1rem;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* Burger menu */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1202;
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--ink-soft);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navigation mobile — panneau pleine largeur sous l'en-tête */
.nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1201;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 0 var(--container-pad);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transition:
        max-height 0.4s var(--ease),
        opacity 0.25s var(--ease),
        visibility 0s linear 0.4s,
        padding 0.3s var(--ease);
}

.nav.is-open {
    max-height: min(85dvh, 32rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem var(--container-pad) 1.5rem;
    transition:
        max-height 0.4s var(--ease),
        opacity 0.25s var(--ease),
        visibility 0s,
        padding 0.3s var(--ease);
}

/* Fond assombri derrière le menu (mobile) — sous le panneau nav */
.nav-backdrop {
    position: fixed;
    inset: var(--header-offset) 0 0 0;
    z-index: 1190;
    background: rgba(20, 18, 28, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s var(--ease), visibility 0s;
}

.nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover {
    background: var(--ink-soft);
    color: var(--rose);
}

.nav-cta {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

/* Sélecteur de langue */
.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0 0.25rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--line);
}

.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    opacity: 0.65;
}

.lang-flag:hover {
    opacity: 1;
    transform: scale(1.05);
}

.lang-flag.is-active {
    opacity: 1;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-soft);
}

.lang-flag-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* ── Hero ── */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
}

.hero--compact {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(
        90deg,
        var(--amber-soft) 0%,
        var(--rose-soft) 35%,
        var(--violet-soft) 70%,
        var(--amber-soft) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 8s ease-in-out infinite;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120 Z' fill='white'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120 Z' fill='white'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    opacity: 0.7;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    animation: fadeUp 0.8s var(--ease) both;
}

.hero-logo {
    width: clamp(100px, 18vw, 160px);
    height: auto;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-lg);
    filter: drop-shadow(var(--shadow-md));
}

.hero-title {
    font-size: var(--fs-hero);
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: var(--fs-lead);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Barres égaliseur */
.eq-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 32px;
}

.eq-bars span {
    display: block;
    width: 4px;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(to top, var(--amber), var(--rose));
    transform-origin: bottom center;
    animation: eqPulse 1.2s ease-in-out infinite;
}

.eq-bars span:nth-child(1) { animation-delay: 0s;    height: 60%; }
.eq-bars span:nth-child(2) { animation-delay: 0.15s; height: 80%; }
.eq-bars span:nth-child(3) { animation-delay: 0.3s;  height: 45%; }
.eq-bars span:nth-child(4) { animation-delay: 0.1s;  height: 90%; }
.eq-bars span:nth-child(5) { animation-delay: 0.25s; height: 55%; }
.eq-bars span:nth-child(6) { animation-delay: 0.05s; height: 70%; }
.eq-bars span:nth-child(7) { animation-delay: 0.35s; height: 50%; }

.eq-bars--hero {
    position: absolute;
    bottom: 28%;
    right: 8%;
    height: 48px;
    opacity: 0.35;
}

/* ── En-têtes de section ── */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: var(--fs-section);
    margin-bottom: 0.85rem;
}

.section-lead {
    font-size: var(--fs-lead);
}

/* ── Sections générales ── */
.concept,
.offres,
.exemples,
.processus,
.temoignages,
.contact {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.concept {
    background: var(--surface);
}

.offres {
    background: var(--paper);
}

.exemples {
    background: var(--surface);
}

.processus {
    background: var(--paper);
}

.temoignages {
    background: var(--surface);
}

.contact {
    background: var(--paper);
}

/* ── Grilles de cartes ── */
.cards-grid {
    display: grid;
    gap: 1.25rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(201, 146, 42, 0.2);
}

.card--feature {
    text-align: center;
}

.card--feature h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.card--feature p {
    font-size: 0.9375rem;
}

.card-emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Cartes offres */
.card--offer {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 2.25rem;
}

.card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--surface);
    background: linear-gradient(135deg, var(--amber), var(--rose));
    border-radius: var(--radius-full);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.card-kicker {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--amber);
    margin-bottom: 0.75rem;
}

.card-price {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.card-price span {
    font-size: inherit;
}

.card-body {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    flex-grow: 0;
}

.card-list {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.card-list li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-size: 0.75rem;
}

.card--offer .btn {
    margin-top: auto;
}

/* ── Processus ── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(91, 60, 196, 0.15);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--surface);
    background: linear-gradient(135deg, var(--violet), var(--rose));
    border-radius: var(--radius-full);
}

.step-body h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.step-body p {
    font-size: 0.9375rem;
}

.step-icon {
    font-size: 1.75rem;
    line-height: 1;
    opacity: 0.85;
}

.process-cta {
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, var(--violet-soft), var(--rose-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
}

.process-cta h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.process-cta p {
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-inline: auto;
}

.process-cta .btn {
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    text-align: center;
}

/* ── Lecteur audio ── */
.player-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.player-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.vinyl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.vinyl-disc {
    position: relative;
    width: clamp(140px, 30vw, 180px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, var(--ink) 8%, transparent 8.5%),
        repeating-radial-gradient(circle at 50% 50%, var(--ink) 0, var(--ink) 1px, #2a2835 1px, #2a2835 3px);
    box-shadow: var(--shadow-md), inset 0 0 0 3px rgba(201, 146, 42, 0.3);
    transition: box-shadow var(--transition);
}

.vinyl-disc.is-playing {
    animation: vinylSpin 4s linear infinite;
    box-shadow: var(--shadow-lg), inset 0 0 0 3px var(--amber);
}

.vinyl-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--amber);
}

.player-main {
    flex: 1;
    text-align: center;
}

.player-main h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.player-main p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--line);
    border-radius: var(--radius-full);
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--amber), var(--rose));
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 1rem;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.pc-btn:hover {
    border-color: var(--amber);
    background: var(--amber-soft);
}

.pc-btn--play {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--rose), var(--violet));
    border: none;
    color: var(--surface);
    box-shadow: 0 4px 16px rgba(196, 61, 107, 0.3);
}

.pc-btn--play:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, var(--rose), var(--violet));
}

/* Playlist */
.playlist {
    padding: 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.playlist h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}

.playlist-item:hover {
    background: var(--ink-soft);
}

.playlist-item.is-active {
    background: var(--violet-soft);
    border-color: rgba(91, 60, 196, 0.2);
}

.pl-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pl-text {
    flex: 1;
    min-width: 0;
}

.pl-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-text small {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

.pl-dur {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* ── Bandeau CTA ── */
.cta-band {
    padding: clamp(3rem, 7vw, 4.5rem) 0;
    background: linear-gradient(135deg, var(--ink) 0%, #2a2540 100%);
    color: var(--paper);
}

.cta-band-inner {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
}

.cta-band-inner h2 {
    font-family: var(--font-serif);
    font-size: var(--fs-section);
    color: var(--paper);
    margin-bottom: 0.75rem;
}

.cta-band-inner p {
    color: rgba(250, 248, 245, 0.75);
    margin-bottom: 1.75rem;
    font-size: var(--fs-lead);
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    gap: 2.5rem;
}

.contact-intro .section-title {
    text-align: left;
}

.contact-intro .section-lead {
    margin-bottom: 1.5rem;
}

.contact-facts li {
    font-size: 0.9375rem;
    color: var(--muted);
    margin-bottom: 0.65rem;
    padding-left: 0;
}

.contact-facts strong {
    display: inline-block;
    min-width: 5.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px var(--violet-soft);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235C5868' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-msg {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-msg--ok {
    background: rgba(6, 148, 90, 0.1);
    color: #059669;
    border: 1px solid rgba(6, 148, 90, 0.2);
}

.form-msg--err {
    background: rgba(196, 61, 107, 0.08);
    color: var(--rose);
    border: 1px solid rgba(196, 61, 107, 0.2);
}

.form-privacy-notice {
    font-size: 0.75rem;
    line-height: 1.55;
    color: rgba(20, 18, 28, 0.58);
    margin: 0;
}

.form-privacy-notice a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy-notice a:hover {
    color: var(--rose);
}

/* ── Témoignages ── */
.testimonial-slider {
    position: relative;
    min-height: 220px;
    margin-bottom: 1.5rem;
}

.testimonial-card {
    display: none;
    flex-direction: column;
    padding: 2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    animation: fadeUp 0.5s var(--ease);
}

.testimonial-card.is-active {
    display: flex;
}

.testimonial-card .stars {
    color: var(--amber);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--surface);
    background: linear-gradient(135deg, var(--violet), var(--rose));
    border-radius: 50%;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink);
}

.testimonial-card footer span:last-child {
    display: block;
    font-size: 0.8125rem;
    color: var(--muted);
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.slider-arrow:hover {
    border-color: var(--amber);
    background: var(--amber-soft);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}

.slider-dot.is-active {
    background: var(--amber);
    transform: scale(1.3);
}

/* ── Pied de page ── */
.footer {
    padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
    background: var(--ink);
    color: rgba(250, 248, 245, 0.75);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo-name {
    color: var(--paper);
}

.footer-brand p {
    margin: 0.85rem 0 1rem;
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.6);
    max-width: 280px;
}

.footer-publisher {
    margin: -0.5rem 0 1rem;
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.5);
    line-height: 1.5;
    max-width: 280px;
}

.footer-publisher a {
    color: rgba(250, 248, 245, 0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-publisher a:hover {
    color: var(--amber);
}

.footer-yt {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber);
    transition: opacity var(--transition);
}

.footer-yt:hover {
    opacity: 0.8;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--paper);
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.65);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--amber);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(250, 248, 245, 0.1);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.45);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.55);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--amber);
}

/* ── Pages légales ── */
.legal-page {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem);
    background: var(--surface);
    min-height: 60vh;
}

.legal-container {
    max-width: 780px;
}

.legal-page .section-head {
    text-align: center;
}

.legal-page .section-lead {
    font-size: 0.875rem;
    color: var(--muted);
}

.legal-content {
    margin-top: 2rem;
}

.legal-block {
    margin-bottom: 2rem;
}

.legal-block h2 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
}

.legal-block p {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-block a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-block a:hover {
    color: var(--rose);
}

.legal-list {
    margin: 0.75rem 0 1rem 1.25rem;
    padding-left: 1rem;
}

.legal-list li {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.35rem;
    color: var(--muted);
}

.legal-list li::marker {
    color: var(--amber);
}

.legal-highlight {
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    background: var(--rose-soft);
    border-left: 3px solid var(--rose);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.legal-box {
    padding: 1.25rem 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--amber);
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.legal-box p {
    margin-bottom: 0.35rem;
}

.legal-back {
    margin-top: 2.5rem;
    text-align: center;
}

/* Classes héritées des pages légales */
.section-header.center {
    text-align: center;
}

.section-description {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ── Intégration vidéo ── */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 1.5rem auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Accessibilité ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
}

/* =====================================================
   Responsive — tablette (≥ 768px)
   ===================================================== */
@media (min-width: 768px) {
    :root {
        --header-h: 72px;
    }

    /* Top-bar simplifiée masquée partiellement sur mobile, complète sur tablette */
    .top-bar-meta {
        font-size: 0.8125rem;
    }

    /* Navigation horizontale */
    .nav-toggle {
        display: none;
    }

    .nav-backdrop {
        display: none !important;
    }

    .nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
        width: auto;
        z-index: auto;
        max-height: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0;
        background: transparent;
        border-bottom: none;
        box-shadow: none;
        transition: none;
    }

    .nav.is-open {
        max-height: none;
        padding: 0;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .nav-cta {
        margin-top: 0;
        margin-left: 0.5rem;
        width: auto;
        padding: 0.55rem 1.1rem;
        font-size: 0.8125rem;
    }

    .lang-switcher {
        margin-top: 0;
        margin-left: 0.35rem;
        padding: 0;
        border-top: none;
        justify-content: flex-start;
    }

    .lang-flag {
        width: 2rem;
        height: 2rem;
    }

    /* Grilles 2 colonnes */
    .cards-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero — reste centré (structure single-column) */
    .eq-bars--hero {
        height: 56px;
    }

    .eq-bars--hero {
        right: 5%;
        bottom: 20%;
        opacity: 0.45;
    }

    /* Lecteur audio côte à côte */
    .player-wrap {
        flex-direction: row;
        align-items: stretch;
    }

    .player-card {
        flex: 1.2;
        flex-direction: row;
        align-items: center;
    }

    .vinyl {
        flex-shrink: 0;
    }

    .player-main {
        text-align: left;
    }

    .playlist {
        flex: 0.8;
    }

    /* Contact 2 colonnes */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Processus */
    .step {
        padding: 1.75rem 2rem;
    }
}

/* =====================================================
   Responsive — desktop (≥ 1024px)
   ===================================================== */
@media (min-width: 1024px) {
    :root {
        --container-max: 1200px;
    }

    /* Grille 3 colonnes */
    .cards-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid {
        gap: 1.5rem;
    }

    /* Hero pleine largeur visuelle */
    .hero {
        padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
    }

    .hero-inner {
        max-width: 640px;
    }

    .eq-bars--hero {
        height: 64px;
        opacity: 0.5;
    }

    /* Cartes offres plus spacieuses */
    .card--offer {
        padding: 2.25rem;
    }

    /* Témoignages plus larges */
    .testimonial-card {
        padding: 2.5rem 3rem;
    }

    .testimonial-card p {
        font-size: 1.0625rem;
    }

    /* Processus en grille si beaucoup d'étapes */
    .steps {
        gap: 1.25rem;
    }
}

/* =====================================================
   Mobile — ajustements ≤ 767px
   ===================================================== */
@media (max-width: 767px) {
    /* Top-bar simplifiée */
    .top-bar-meta span:not(:first-child) {
        display: none;
    }

    .top-bar-sep {
        display: none;
    }

    .top-bar-meta {
        font-size: 0.6875rem;
    }

    /* Menu mobile : liens plus grands, zone tactile confortable */
    .nav-link {
        padding: 0.9rem 0.75rem;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
    }

    .nav-link:active {
        background: var(--amber-soft);
    }

    /* CTA processus — bouton contenu dans l'écran */
    .process-cta {
        padding: 1.5rem 1rem;
    }

    .process-cta .btn {
        width: 100%;
        padding-inline: 1rem;
        font-size: 0.9375rem;
    }

    /* Hero centré sur mobile */
    .hero-inner {
        align-items: center;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Step en colonne sur petit écran */
    .step {
        grid-template-columns: auto 1fr;
    }

    .step-icon {
        display: none;
    }

    /* Vinyl plus petit */
    .vinyl-disc {
        width: 120px;
    }

    /* Footer compact */
    .footer-grid {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* ── Bannière cookies (RGPD) ── */
.cookie-banner {
    position: fixed;
    inset: auto var(--container-pad) calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 1300;
    pointer-events: none;
    animation: cookieSlideUp 0.5s var(--ease);
}

.cookie-banner.is-hidden {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.98);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner-deco {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.cookie-note {
    position: absolute;
    width: 1.1rem;
    height: auto;
    color: var(--rose);
    opacity: 0.45;
    animation: cookieFloat 4s ease-in-out infinite;
}

.cookie-note--1 {
    top: -0.5rem;
    right: 12%;
    animation-delay: 0s;
}

.cookie-note--2 {
    top: 0.25rem;
    right: 4%;
    width: 0.85rem;
    color: var(--amber);
    animation-delay: 1.2s;
}

.cookie-note--3 {
    bottom: 1.5rem;
    left: 6%;
    width: 0.9rem;
    animation-delay: 2.4s;
}

@keyframes cookieFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.35; }
    50% { transform: translateY(-6px) rotate(4deg); opacity: 0.65; }
}

.cookie-banner-panel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem 1.5rem;
    max-width: min(920px, 100%);
    margin-inline: auto;
    padding: 1.15rem 1.35rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid rgba(20, 18, 28, 0.08);
    border-radius: 1.25rem;
    box-shadow:
        0 4px 6px rgba(20, 18, 28, 0.04),
        0 16px 40px rgba(20, 18, 28, 0.14),
        0 0 0 1px rgba(250, 248, 245, 0.6) inset;
    pointer-events: auto;
}

.cookie-banner-vinyl {
    flex-shrink: 0;
}

.cookie-vinyl {
    display: block;
    width: 4.25rem;
    height: 4.25rem;
    animation: vinylSpin 12s linear infinite;
}

@keyframes vinylSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cookie-banner-text {
    min-width: 0;
}

.cookie-banner-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.cookie-banner-text p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(20, 18, 28, 0.78);
    margin-bottom: 0.35rem;
}

.cookie-detail {
    font-size: 0.8125rem !important;
    color: rgba(20, 18, 28, 0.62) !important;
    padding-left: 0.75rem;
    border-left: 3px solid var(--amber);
    margin-top: 0.5rem !important;
}

.cookie-note {
    font-size: 0.75rem !important;
    color: rgba(20, 18, 28, 0.5) !important;
    margin-bottom: 0 !important;
}

.legal-block code {
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(20, 18, 28, 0.06);
}

.cookie-banner-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 10.5rem;
}

.cookie-banner .btn-primary {
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(212, 86, 122, 0.25);
}

.cookie-policy-link {
    font-size: 0.8125rem;
    color: rgba(20, 18, 28, 0.62);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-align: center;
    padding: 0.25rem;
}

.cookie-policy-link:hover {
    color: var(--rose);
}

@media (max-width: 767px) {
    .cookie-banner {
        inset: auto 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-banner-panel {
        grid-template-columns: 4.25rem 1fr;
        grid-template-rows: auto auto auto auto;
        padding: 1rem 1.1rem;
        gap: 0.55rem 0.85rem;
        align-items: start;
    }

    .cookie-banner-text {
        display: contents;
    }

    .cookie-banner-vinyl {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    .cookie-vinyl {
        width: 3.25rem;
        height: 3.25rem;
        margin-inline: auto;
    }

    .cookie-banner-title {
        grid-column: 2;
        grid-row: 1;
    }

    #cookieBannerDesc {
        grid-column: 2;
        grid-row: 2;
    }

    .cookie-detail {
        grid-column: 2;
        grid-row: 3;
        margin-bottom: 0 !important;
    }

    .cookie-banner-text .cookie-note {
        grid-column: 1;
        grid-row: 2 / 4;
        align-self: end;
        text-align: center;
        font-size: 0.625rem !important;
        line-height: 1.35;
        margin-top: 0.25rem !important;
        padding: 0 0.1rem;
    }

    .cookie-banner-actions {
        grid-column: 1 / -1;
        grid-row: 4;
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        margin-top: 0.15rem;
    }

    .cookie-banner-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .cookie-note--3 {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-vinyl {
        animation: none;
    }

    .cookie-note {
        animation: none;
        opacity: 0.4;
    }
}
