/* ==================================================
   Le Fabuleux Monde de Faël — Feuille de style unifiée
   Générée depuis le monolithique V9 → éclatement V10
   ================================================== */


/* ========== 01-base.css ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --yarn-purple: #d4a5d4;
            --yarn-pink: #f5b5d6;
            --yarn-peach: #f0c5a8;
            --yarn-cream: #fef5e7;
            --yarn-sage: #a8c9a8;
            --yarn-lavender: #dcc9e0;
            --yarn-coral: #f5a6a3;
            --dark-purple: #6b4c6b;
            --text: #5a4a5a;
        }

        body {
            font-family: 'Nunito', sans-serif;
            background: linear-gradient(135deg, var(--yarn-cream) 0%, #fef0f5 50%, #f5e6f0 100%);
            color: var(--text);
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(212,165,212,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(245,181,214,0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(168,201,168,0.06) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        /* ── Header ── */
        header {
            position: fixed;
            top: 0; width: 100%;
            backdrop-filter: blur(15px);
            background: linear-gradient(135deg, rgba(107,76,107,0.85), rgba(212,165,212,0.75));
            z-index: 1000;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 8px 30px rgba(107,76,107,0.2);
            border-bottom: 3px solid var(--yarn-pink);
        }

        .logo {
            font-size: 1.5rem; font-weight: 700;
            color: white;
            display: flex; align-items: center; gap: 0.8rem;
            text-decoration: none;
            font-family: 'Fredoka', sans-serif;
            letter-spacing: 0.5px;
            cursor: pointer;
            /* Reset styles natifs du <button> */
            background: none;
            border: none;
            padding: 0;
            line-height: inherit;
        }
        .logo:focus-visible {
            outline: 3px solid rgba(255,255,255,0.8);
            border-radius: 8px;
            outline-offset: 4px;
        }

        /* ── Contraste WCAG sur theme-btn.active en mode high-contrast ── */
        body.a11y-high-contrast .theme-btn.active {
            background: #1a1a1a !important;
            color: #ffffff !important;
            border: 2px solid #ffffff !important;
            box-shadow: none !important;
        }

        .logo-icon {
            font-size: 2rem;
            animation: bobbing 3s ease-in-out infinite;
            filter: drop-shadow(0 4px 8px rgba(255,255,255,0.3));
        }

        @keyframes bobbing {
            0%,100% { transform: translateY(0) rotateZ(0deg); }
            50% { transform: translateY(-12px) rotateZ(-5deg); }
        }

        nav { display: flex; gap: 0.5rem; align-items: center; }

        nav a, nav button {
            color: white;
            background: none; border: none;
            text-decoration: none;
            margin: 0 1rem;
            font-weight: 600;
            font-size: 1rem;
            font-family: 'Nunito', sans-serif;
            transition: all 0.3s;
            position: relative;
            cursor: pointer;
            padding: 0;
        }

        nav a::after, nav button::after {
            content: '';
            position: absolute;
            bottom: -5px; left: 0;
            width: 0; height: 2px;
            background: var(--yarn-pink);
            transition: width 0.3s;
            border-radius: 1px;
        }

        nav a:hover::after, nav button:hover::after { width: 100%; }
        #nav-back { display: none; }

        /* ── Pages ── */
        .page { display: none; }
        .page.active { display: block; }

        /* ── Hero ── */
        .hero {
            margin-top: 80px;
            min-height: 60vh;
            display: flex; align-items: center; justify-content: center;
            text-align: center;
            padding: 2rem;
            position: relative; overflow: hidden;
        }

        .hero.tall { min-height: 90vh; }

        .hero::before {
            content: '';
            position: absolute;
            width: 150%; height: 150%;
            background:
                radial-gradient(circle at 15% 45%, rgba(212,165,212,0.15) 0%, transparent 40%),
                radial-gradient(circle at 85% 70%, rgba(245,181,214,0.15) 0%, transparent 40%),
                radial-gradient(circle at 50% 15%, rgba(240,197,168,0.12) 0%, transparent 50%);
            animation: softFloat 12s ease-in-out infinite;
        }

        @keyframes softFloat {
            0%,100% { transform: translate(0,0); }
            25% { transform: translate(30px,-20px); }
            50% { transform: translate(-20px,30px); }
            75% { transform: translate(10px,-10px); }
        }

        .hero-content {
            position: relative; z-index: 2;
            animation: fadeInScale 0.9s ease-out;
        }

        @keyframes fadeInScale {
            from { opacity: 0; transform: scale(0.95) translateY(30px); }
            to   { opacity: 1; transform: scale(1)    translateY(0); }
        }

        h1 {
            font-size: clamp(2.5rem, 10vw, 4.5rem);
            color: var(--dark-purple);
            margin-bottom: 1rem;
            font-weight: 700;
            font-family: 'Fredoka', sans-serif;
            letter-spacing: -0.5px;
            text-shadow: 0 4px 10px rgba(212,165,212,0.2);
        }

        .subtitle {
            font-size: 1.4rem;
            color: var(--yarn-purple);
            margin-bottom: 2.5rem;
            font-weight: 400;
        }

        .hero-buttons {
            display: flex; gap: 1.2rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        /* ── Buttons ── */
        .btn-cozy {
            padding: 1rem 2.8rem;
            border: none; border-radius: 50px;
            font-size: 1rem; font-weight: 700;
            font-family: 'Fredoka', sans-serif;
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
            position: relative; overflow: hidden;
        }

        .btn-cozy::before {
            content: '';
            position: absolute; top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(255,255,255,0.3);
            transform: translateX(-100%);
            transition: transform 0.5s ease;
        }

        .btn-cozy:hover::before { transform: translateX(100%); }

        .btn-primary-cozy {
            background: linear-gradient(135deg, var(--yarn-purple) 0%, var(--yarn-lavender) 100%);
            color: white;
        }
        .btn-primary-cozy:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 35px rgba(212,165,212,0.35);
        }

        .btn-secondary-cozy {
            background: linear-gradient(135deg, var(--yarn-pink) 0%, var(--yarn-coral) 100%);
            color: white;
        }
        .btn-secondary-cozy:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 35px rgba(245,181,214,0.35);
        }

        /* ── Index: Albums Grid ── */
        .albums-section {
            padding: 4rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .albums-intro {
            text-align: center;
            color: var(--text);
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }

        .albums-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
        }

        .album-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,197,168,0.08));
            border-radius: 25px;
            padding: 2.5rem;
            border: 2px solid rgba(212,165,212,0.3);
            transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
            box-shadow: 0 12px 35px rgba(0,0,0,0.08);
            text-align: center;
        }

        .album-card.clickable { cursor: pointer; }
        .album-card.clickable:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 50px rgba(212,165,212,0.25);
        }

        /* Carte grisée "À venir" */
        .album-card.coming-soon {
            cursor: pointer;
            opacity: 0.72;
            filter: grayscale(30%);
            position: relative;
            transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
        }

        .album-card.coming-soon:hover {
            opacity: 0.92;
            filter: grayscale(0%);
            transform: translateY(-8px);
            box-shadow: 0 18px 45px rgba(212,165,212,0.22);
        }

        .album-card.coming-soon::after {
            content: '🌙 En rêverie ✦';
            position: absolute;
            top: 1.2rem; right: 1.2rem;
            background: linear-gradient(135deg, var(--yarn-lavender), var(--yarn-purple));
            color: white;
            font-family: 'Fredoka', sans-serif;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 0.3rem 0.9rem;
            border-radius: 20px;
            letter-spacing: 0.5px;
            box-shadow: 0 3px 10px rgba(212,165,212,0.3);
        }

        .coming-soon .btn-coming-soon {
            background: linear-gradient(135deg, var(--yarn-lavender), var(--yarn-purple));
            color: white;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(212,165,212,0.25);
            width: 100%;
            transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
        }

        .coming-soon .btn-coming-soon:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 28px rgba(212,165,212,0.4);
        }

        .album-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            animation: gentle-spin 4s ease-in-out infinite;
            display: block;
        }

        .album-card.clickable:hover .album-icon { animation-duration: 2s; }

        @keyframes gentle-spin {
            0%,100% { transform: rotateZ(0deg) scale(1); }
            50%      { transform: rotateZ(8deg) scale(1.05); }
        }

        .album-card h3 {
            color: var(--dark-purple);
            font-family: 'Fredoka', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 0.8rem;
            font-weight: 700;
        }

        .album-card p {
            color: var(--text);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        /* ── Album pages sections ── */
        section.content-section {
            padding: 8rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            font-size: 2.8rem;
            color: var(--dark-purple);
            margin-bottom: 3.5rem;
            text-align: center;
            font-family: 'Fredoka', sans-serif;
            position: relative;
            padding-bottom: 1.5rem;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: 0; left: 50%;
            transform: translateX(-50%);
            width: 100px; height: 4px;
            background: linear-gradient(90deg, var(--yarn-pink), var(--yarn-purple));
            border-radius: 2px;
            box-shadow: 0 4px 10px rgba(212,165,212,0.3);
        }

        /* Spotify grid */
        .spotify-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-bottom: 3rem;
        }

        .spotify-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(254,245,231,0.8));
            border-radius: 25px;
            padding: 2.5rem;
            text-align: center;
            border: 2px solid rgba(212,165,212,0.3);
            transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
            position: relative; overflow: hidden;
            box-shadow: 0 12px 35px rgba(0,0,0,0.08);
            backdrop-filter: blur(10px);
        }

        .spotify-card::before {
            content: '';
            position: absolute;
            top: -50%; right: -50%;
            width: 200px; height: 200px;
            background: radial-gradient(circle, var(--yarn-pink) 0%, transparent 70%);
            opacity: 0; transition: opacity 0.4s ease;
        }

        .spotify-card:hover {
            transform: translateY(-12px) rotateX(5deg);
            border-color: var(--yarn-pink);
            box-shadow: 0 20px 50px rgba(212,165,212,0.25);
        }

        .spotify-card:hover::before { opacity: 0.08; }

        .spotify-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            animation: gentle-spin 4s ease-in-out infinite;
            display: block;
        }

        .spotify-card:hover .spotify-icon { animation-duration: 2s; }

        .spotify-card h3 {
            color: var(--dark-purple);
            margin-bottom: 0.8rem;
            font-size: 1.4rem;
            font-weight: 700;
            font-family: 'Fredoka', sans-serif;
        }

        .spotify-card p {
            color: var(--text);
            margin-bottom: 1.8rem;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        /* Product section */
        .product-section {
            background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,181,214,0.08));
            border-radius: 30px;
            padding: 4rem 3rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3.5rem;
            align-items: center;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            border: 2px solid rgba(212,165,212,0.2);
            position: relative; overflow: hidden;
        }

        .product-section::before {
            content: '';
            position: absolute;
            top: -50%; right: -50%;
            width: 500px; height: 500px;
            background: radial-gradient(circle, var(--yarn-pink) 0%, transparent 70%);
            opacity: 0.08;
            animation: slowFloat 15s ease-in-out infinite;
        }

        @keyframes slowFloat {
            0%,100% { transform: translate(0,0); }
            50%      { transform: translate(100px,100px); }
        }

        .product-image {
            position: relative;
            display: flex; align-items: center; justify-content: center;
            z-index: 1;
        }

        .album-cover {
            width: 100%; max-width: 380px; aspect-ratio: 1;
            background: linear-gradient(135deg, var(--yarn-purple) 0%, var(--yarn-pink) 50%, var(--yarn-peach) 100%);
            border-radius: 20px;
            display: flex; align-items: center; justify-content: center;
            font-size: 6rem;
            box-shadow: 0 25px 70px rgba(212,165,212,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
            animation: cozyRock 5s ease-in-out infinite;
            position: relative;
            border: 3px solid rgba(255,255,255,0.4);
        }

        @keyframes cozyRock {
            0%,100% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
            25%      { transform: perspective(1000px) rotateY(3deg) rotateX(-2deg); }
            75%      { transform: perspective(1000px) rotateY(-3deg) rotateX(2deg); }
        }

        .album-cover::after {
            content: '';
            position: absolute;
            width: 90%; height: 90%;
            border: 2px solid rgba(255,255,255,0.35);
            border-radius: 15px;
        }

        .product-info { z-index: 1; }

        .product-info h3 {
            font-size: 2.3rem;
            color: var(--dark-purple);
            margin-bottom: 1.2rem;
            font-family: 'Fredoka', sans-serif;
            font-weight: 700;
        }

        .product-description {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 2rem;
            font-size: 1rem;
        }

        .track-list {
            background: linear-gradient(135deg, rgba(212,165,212,0.1), rgba(245,181,214,0.08));
            border-radius: 18px;
            padding: 1.8rem;
            margin: 2rem 0;
            max-height: 320px;
            overflow-y: auto;
            border: 2px solid rgba(212,165,212,0.2);
        }

        .track-item {
            display: flex; align-items: center;
            padding: 0.9rem 0;
            border-bottom: 1px solid rgba(212,165,212,0.15);
            color: var(--text);
            transition: all 0.2s;
        }

        .track-item:last-child { border-bottom: none; }

        .track-item:hover {
            padding-left: 0.5rem;
            color: var(--dark-purple);
        }

        .track-number {
            font-weight: 700;
            color: var(--yarn-purple);
            margin-right: 1rem;
            min-width: 30px;
        }

        /* Price section */
        .price-section {
            display: flex; flex-direction: column; gap: 1.5rem;
            margin: 2.5rem 0;
            background: linear-gradient(135deg, rgba(245,181,214,0.15), rgba(240,197,168,0.1));
            padding: 2rem;
            border-radius: 18px;
            border: 2px solid rgba(212,165,212,0.2);
        }

        .price-info { text-align: center; }

        .price-label {
            color: var(--yarn-purple);
            font-size: 0.9rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
        }

        .price {
            font-size: 3rem; font-weight: 800;
            color: var(--yarn-pink);
            font-family: 'Fredoka', sans-serif;
            text-shadow: 0 2px 4px rgba(212,165,212,0.2);
        }

        .price-description {
            color: var(--text);
            font-size: 0.95rem;
            margin-top: 0.8rem;
            line-height: 1.6;
        }

        /* Features */
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .feature {
            text-align: center;
            padding: 2.5rem 2rem;
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,197,168,0.08));
            border-radius: 22px;
            box-shadow: 0 12px 35px rgba(0,0,0,0.07);
            border: 2px solid rgba(212,165,212,0.15);
            transition: all 0.35s ease;
            position: relative; overflow: hidden;
        }

        .feature::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
            transition: left 0.6s ease;
        }

        .feature:hover {
            transform: translateY(-10px);
            box-shadow: 0 18px 50px rgba(212,165,212,0.2);
        }

        .feature:hover::before { left: 100%; }

        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1.2rem;
            animation: bounce 2s ease-in-out infinite;
            display: block;
        }

        .feature:nth-child(2) .feature-icon { animation-delay: 0.2s; }
        .feature:nth-child(3) .feature-icon { animation-delay: 0.4s; }
        .feature:nth-child(4) .feature-icon { animation-delay: 0.6s; }
        .feature:nth-child(5) .feature-icon { animation-delay: 0.8s; }
        .feature:nth-child(6) .feature-icon { animation-delay: 1s; }

        @keyframes bounce {
            0%,100% { transform: translateY(0); }
            50%      { transform: translateY(-10px); }
        }

        .feature h4 {
            color: var(--dark-purple);
            margin-bottom: 0.8rem;
            font-size: 1.2rem; font-weight: 700;
            font-family: 'Fredoka', sans-serif;
        }

        .feature p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }

        /* ── Footer ── */
        footer {
            background: linear-gradient(135deg, var(--dark-purple) 0%, rgba(107,76,107,0.9) 100%);
            color: white;
            text-align: center;
            padding: 3.5rem 2rem;
            margin-top: 5rem;
            position: relative; overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 2px;
            background: linear-gradient(90deg, var(--yarn-pink), var(--yarn-purple), var(--yarn-peach));
        }

        footer p { opacity: 0.9; margin: 0.5rem 0; }

        footer a {
            color: var(--yarn-pink);
            text-decoration: none;
            transition: opacity 0.3s;
            font-weight: 600;
        }

        footer a:hover { opacity: 0.7; text-decoration: underline; }

        /* ── Modal ── */
        .modal {
            display: none;
            position: fixed; z-index: 2000;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background-color: rgba(107,76,107,0.6);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease;
            overflow-y: auto; overflow-x: hidden;
        }

        @keyframes fadeIn {
            from { opacity: 0; } to { opacity: 1; }
        }

        .modal-content {
            background: linear-gradient(135deg, var(--yarn-cream) 0%, #fef5e7 100%);
            margin: 1.5rem auto;
            padding: 3rem;
            border-radius: 25px;
            width: 90%; max-width: 550px;
            box-shadow: 0 25px 70px rgba(107,76,107,0.3);
            animation: slideIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
            border: 3px solid var(--yarn-pink);
            position: relative;
        }

        @keyframes slideIn {
            from { transform: translateY(-80px) scale(0.9); opacity: 0; }
            to   { transform: translateY(0)      scale(1);   opacity: 1; }
        }

        .close {
            color: var(--yarn-purple);
            float: right;
            font-size: 2.2rem; font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            line-height: 1;
        }

        .close:hover { color: var(--yarn-coral); transform: rotate(90deg); }

        .modal h2 {
            text-align: left;
            margin-bottom: 1.8rem;
            margin-top: 1rem;
            font-size: 2rem;
        }

        .modal h2::after { display: none; }

        .form-group { margin-bottom: 1.8rem; }

        label {
            display: block;
            margin-bottom: 0.6rem;
            color: var(--dark-purple);
            font-weight: 700;
            font-size: 0.95rem;
            font-family: 'Fredoka', sans-serif;
        }

        input[type="email"],
        input[type="text"],
        textarea {
            width: 100%;
            padding: 0.95rem 1.2rem;
            border: 2px solid rgba(212,165,212,0.4);
            border-radius: 15px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s;
            background: rgba(255,255,255,0.8);
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: var(--yarn-pink);
            box-shadow: 0 0 0 3px rgba(245,181,214,0.2);
            background: white;
        }

        input[type="range"] {
            width: 100%; height: 8px;
            border-radius: 10px;
            background: linear-gradient(90deg, var(--yarn-purple), var(--yarn-pink));
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 26px; height: 26px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--yarn-pink), var(--yarn-coral));
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(245,181,214,0.4);
            transition: all 0.2s;
        }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 6px 18px rgba(245,181,214,0.6);
        }

        input[type="range"]::-moz-range-thumb {
            width: 26px; height: 26px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--yarn-pink), var(--yarn-coral));
            cursor: pointer; border: none;
            box-shadow: 0 4px 12px rgba(245,181,214,0.4);
        }

        .price-display {
            text-align: center;
            font-size: 2rem; font-weight: 800;
            color: var(--yarn-pink);
            margin: 1.5rem 0;
            font-family: 'Fredoka', sans-serif;
        }

        /* ── Boutons thèmes message cadeau ── */
        .themes-grid {
            margin-bottom: 0.8rem;
        }
        .theme-btn {
            display: inline-block;
            margin: 0.25rem;
            padding: 0.4rem 0.9rem;
            border: 2px solid rgba(212,165,212,0.4);
            border-radius: 20px;
            background: rgba(255,255,255,0.85);
            color: var(--text);
            font-family: 'Nunito', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .theme-btn:hover {
            border-color: var(--yarn-pink);
            background: rgba(245,181,214,0.1);
            transform: translateY(-1px);
        }
        .theme-btn.active {
            background: linear-gradient(135deg, var(--yarn-pink), var(--yarn-coral));
            color: white;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(245,166,163,0.35);
        }

        /* ── Feedback email ── */
        .email-feedback {
            font-size: 0.88rem;
            font-weight: 600;
            margin-top: 0.5rem;
            min-height: 1.2em;
            transition: all 0.3s;
        }
        .email-feedback.ok    { color: #5a9e6f; }
        .email-feedback.error { color: var(--yarn-coral); }

        /* ── Toggle Pour moi / Cadeau ── */
        .pour-qui-toggle {
            display: flex;
            gap: 0.8rem;
            margin-top: 0.4rem;
        }
        .pour-qui-btn {
            flex: 1;
            padding: 0.9rem 1rem;
            border: 2px solid rgba(212,165,212,0.35);
            border-radius: 14px;
            background: rgba(255,255,255,0.8);
            color: var(--text);
            font-family: 'Fredoka', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .pour-qui-btn:hover {
            border-color: var(--yarn-pink);
            background: rgba(245,181,214,0.08);
        }
        .pour-qui-btn.active {
            background: linear-gradient(135deg, var(--yarn-purple), var(--yarn-lavender));
            color: white;
            border-color: transparent;
            box-shadow: 0 6px 18px rgba(212,165,212,0.35);
        }

        /* ── Cartes café ── */
        .cafe-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,197,168,0.12));
            border: 2px solid rgba(240,197,168,0.35);
            border-radius: 20px;
            padding: 1.4rem 1rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
            text-align: center;
            box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        }
        .cafe-card:hover, .cafe-card.selected {
            transform: translateY(-8px);
            border-color: var(--yarn-coral);
            box-shadow: 0 14px 35px rgba(245,166,163,0.3);
            background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,166,163,0.15));
        }
        .cafe-card.selected {
            border-width: 3px;
        }
        .cafe-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
        .cafe-name  { font-family: 'Fredoka', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark-purple); margin-bottom: 0.3rem; }
        .cafe-desc  { font-size: 0.78rem; color: var(--text); opacity: 0.8; margin-bottom: 0.6rem; line-height: 1.4; }
        .cafe-price { font-family: 'Fredoka', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--yarn-coral); }

        /* ── Modal album badge ── */
        .modal-album-badge {
            display: inline-block;
            color: white;
            font-family: 'Fredoka', sans-serif;
            font-size: 0.85rem;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            margin-bottom: 1rem;
        }

        /* ── Skip link (invisible sauf focus clavier) ── */
        .skip-link {
            position: absolute;
            left: -9999px;          /* hors écran par défaut */
            top: 1rem;
            background: var(--dark-purple);
            color: white;
            padding: 0.7rem 1.4rem;
            border-radius: 10px;
            font-weight: 700;
            font-family: 'Fredoka', sans-serif;
            text-decoration: none;
            z-index: 9999;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        .skip-link:focus {
            left: 1rem;             /* visible seulement au focus clavier */
            outline: 3px solid var(--yarn-pink);
        }

        /* ── Panneau accessibilité ── */
        #a11y-panel {
            position: fixed;
            top: 0; right: -340px;
            width: 320px;
            height: 100vh;
            background: linear-gradient(180deg, var(--yarn-cream) 0%, #fef0f5 100%);
            box-shadow: -8px 0 30px rgba(107,76,107,0.2);
            z-index: 3000;
            transition: right 0.35s cubic-bezier(0.34,1.56,0.64,1);
            overflow-y: auto;
            border-left: 3px solid var(--yarn-pink);
            padding: 1.5rem 1.2rem 2rem;
        }
        #a11y-panel.open { right: 0; }
        .a11y-title {
            font-family: 'Fredoka', sans-serif;
            color: var(--dark-purple);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }
        .a11y-subtitle {
            font-size: 0.8rem;
            color: var(--text);
            opacity: 0.75;
            margin-bottom: 1.5rem;
            line-height: 1.4;
        }
        .a11y-section {
            margin-bottom: 1.4rem;
        }
        .a11y-section-title {
            font-family: 'Fredoka', sans-serif;
            color: var(--dark-purple);
            font-size: 0.88rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.6rem;
            padding-bottom: 0.3rem;
            border-bottom: 2px solid rgba(212,165,212,0.3);
        }
        .a11y-btn-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }
        .a11y-btn {
            padding: 0.6rem 0.5rem;
            border: 2px solid rgba(212,165,212,0.35);
            border-radius: 12px;
            background: rgba(255,255,255,0.85);
            color: var(--text);
            font-family: 'Nunito', sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            line-height: 1.3;
        }
        .a11y-btn:hover { border-color: var(--yarn-pink); background: rgba(245,181,214,0.1); transform: translateY(-1px); }
        .a11y-btn.active { background: linear-gradient(135deg, var(--yarn-purple), var(--yarn-lavender)); color: white; border-color: transparent; box-shadow: 0 4px 12px rgba(212,165,212,0.4); }
        .a11y-btn .a11y-icon { font-size: 1.2rem; display: block; margin-bottom: 0.2rem; }
        .a11y-reset {
            width: 100%;
            margin-top: 1rem;
            padding: 0.7rem;
            border: 2px solid rgba(212,165,212,0.4);
            border-radius: 12px;
            background: transparent;
            color: var(--text);
            font-family: 'Nunito', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .a11y-reset:hover { background: rgba(212,165,212,0.1); }
        .a11y-close-btn {
            position: absolute;
            top: 1rem; right: 1rem;
            background: none; border: none;
            font-size: 1.5rem; cursor: pointer;
            color: var(--yarn-purple);
            transition: transform 0.2s;
        }
        .a11y-close-btn:hover { transform: rotate(90deg); }
        .a11y-overlay {
            display: none;
            position: fixed; inset: 0;
            background: rgba(0,0,0,0.3);
            z-index: 2999;
        }
        .a11y-overlay.open { display: block; }
        .a11y-font-controls {
            display: flex; align-items: center; gap: 0.6rem;
            margin-top: 0.4rem;
        }
        .a11y-font-btn {
            width: 36px; height: 36px;
            border-radius: 50%;
            border: 2px solid rgba(212,165,212,0.4);
            background: rgba(255,255,255,0.85);
            font-family: 'Fredoka', sans-serif;
            font-size: 1rem; font-weight: 700;
            cursor: pointer; transition: all 0.2s;
            display: flex; align-items: center; justify-content: center;
        }
        .a11y-font-btn:hover { border-color: var(--yarn-pink); background: rgba(245,181,214,0.15); }
        .a11y-font-size-label {
            flex: 1; text-align: center;
            font-size: 0.85rem; font-weight: 600;
            color: var(--dark-purple);
        }

        /* ── Modes accessibilité appliqués au body ── */
        body.a11y-large-text { font-size: 120%; }
        body.a11y-large-text h1 { font-size: clamp(2.8rem, 10vw, 5rem); }
        body.a11y-large-text h2 { font-size: 3.2rem; }

        body.a11y-high-contrast {
            --text: #1a0a1a;
            --dark-purple: #2a002a;
            --yarn-cream: #ffffff;
            --yarn-purple: #6600aa;
            --yarn-pink: #cc0055;
            --yarn-lavender: #8800cc;
            filter: contrast(1.4);
        }

        body.a11y-daltonien-deuteranopia {
            filter: url('#deuteranopia');
        }
        body.a11y-daltonien-protanopia {
            filter: url('#protanopia');
        }
        body.a11y-daltonien-tritanopia {
            filter: url('#tritanopia');
        }

        body.a11y-no-anim *, body.a11y-no-anim *::before, body.a11y-no-anim *::after {
            animation: none !important;
            transition: none !important;
        }

        /* ── Mode lecteur d'écran : masque les emojis décoratifs ── */
        body.a11y-screen-reader span.emoji {
            display: none;
        }

        body.a11y-dyslexia {
            font-family: Arial, Helvetica, sans-serif !important;
            letter-spacing: 0.05em;
            word-spacing: 0.15em;
            line-height: 1.9 !important;
        }
        body.a11y-dyslexia p, body.a11y-dyslexia li, body.a11y-dyslexia label, body.a11y-dyslexia small {
            line-height: 1.9;
            letter-spacing: 0.05em;
        }

        body.a11y-dark {
            background: #1a0f1a !important;
            --yarn-cream: #1a0f1a;
            --text: #e8d5e8;
            --dark-purple: #d4a5d4;
        }
        body.a11y-dark .album-card, body.a11y-dark .feature,
        body.a11y-dark .spotify-card, body.a11y-dark .modal-content {
            background: #2a1a2a !important;
            border-color: rgba(212,165,212,0.3) !important;
        }

        body.a11y-focus-visible *:focus {
            outline: 4px solid #ff6600 !important;
            outline-offset: 4px !important;
        }

/* ========== 02-theme-night.css ========== */
/* ══════════════════════════════════════════
           🌙 THÈME NUIT
        ══════════════════════════════════════════ */
        body.theme-night {
            --yarn-cream: #0d0d1a;
            --text: #c8b8d8;
            --dark-purple: #e8d5a0;
            --yarn-purple: #b08fd0;
            --yarn-pink: #c8789a;
            --yarn-lavender: #a088c0;
            --yarn-coral: #c87060;
            --yarn-peach: #c09060;
            background: linear-gradient(135deg, #0d0d1a 0%, #12102a 60%, #0a0820 100%) !important;
            color: #c8b8d8 !important;
        }
        body.theme-night header {
            background: linear-gradient(135deg, rgba(10,8,25,0.98), rgba(40,25,70,0.95)) !important;
            border-bottom-color: #b08fd0 !important;
            box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
        }
        body.theme-night h1, body.theme-night h2,
        body.theme-night h3, body.theme-night h4 { color: #e8d5a0 !important; }
        body.theme-night .album-card, body.theme-night .spotify-card,
        body.theme-night .feature, body.theme-night .product-section,
        body.theme-night .price-section, body.theme-night .cafe-card {
            background: linear-gradient(135deg, #1a1830, rgba(30,20,50,0.9)) !important;
            border-color: rgba(180,150,220,0.2) !important;
            box-shadow: 0 12px 35px rgba(0,0,0,0.4) !important;
        }
        body.theme-night .modal-content {
            background: linear-gradient(135deg, #1a1530, #12102a) !important;
            border-color: #b08fd0 !important;
        }
        body.theme-night .track-list {
            background: rgba(20,15,40,0.8) !important;
            border-color: rgba(180,150,220,0.2) !important;
        }
        body.theme-night .track-item { color: #c8b8d8 !important; }
        body.theme-night .track-item:hover { color: #e8d5a0 !important; }
        body.theme-night footer {
            background: linear-gradient(135deg, #0a0818, #0d0d20) !important;
        }
        body.theme-night input[type="email"],
        body.theme-night input[type="text"],
        body.theme-night textarea {
            background: rgba(25,20,45,0.8) !important;
            border-color: rgba(150,100,200,0.3) !important;
            color: #c8b8d8 !important;
        }
        body.theme-night input:focus, body.theme-night textarea:focus {
            border-color: #b08fd0 !important;
            background: rgba(30,25,55,0.9) !important;
        }
        body.theme-night .faq-question {
            background: rgba(20,15,40,0.8) !important;
            color: #e8d5a0 !important;
        }
        body.theme-night .faq-answer {
            background: rgba(15,12,30,0.6) !important;
            color: #c8b8d8 !important;
        }
        body.theme-night .temoignage-card, body.theme-night .recommande-card {
            background: linear-gradient(135deg, rgba(25,20,45,0.9), rgba(30,20,50,0.8)) !important;
            border-color: rgba(150,100,200,0.2) !important;
        }
        body.theme-night .temoignage-text,
        body.theme-night .recommande-desc { color: #c8b8d8 !important; }
        body.theme-night label { color: #b08fd0 !important; }
        body.theme-night .a11y-btn {
            background: rgba(25,20,45,0.85) !important;
            color: #c8b8d8 !important;
        }
        body.theme-night .btn-primary-cozy {
            background: linear-gradient(135deg, #7a5aa0, #9a78b0) !important;
        }
        /* OS dark mode */
        @media (prefers-color-scheme: dark) {
            body:not(.theme-forced) {
                background: linear-gradient(135deg, #0d0d1a, #12102a, #0a0820);
                color: #c8b8d8;
            }
        }

        /* ── Micro-animation price-display ── */
        .price-display { transition: transform 0.15s ease-out, color 0.2s; }
        .price-display.bump { transform: scale(1.18); color: var(--yarn-coral) !important; }


        @media (max-width: 768px) {
            header { flex-direction: column; gap: 1rem; padding: 0.8rem; }
            nav a, nav button { margin: 0 0.5rem; font-size: 0.9rem; }
            h1 { font-size: 2rem; }
            h2 { font-size: 2rem; }
            .product-section { grid-template-columns: 1fr; padding: 2rem; }
            .hero-buttons { flex-direction: column; align-items: center; }
            .btn-cozy { width: 100%; max-width: 320px; }
            .modal-content { margin: 20% auto 2rem auto; width: 95%; padding: 2rem; }
            .modal { padding: 1rem 0; }
        }
    
        
        /* ── Accessibilité : no-scroll quand modal ouverte ── */
        body.modal-open { overflow: hidden; }

        /* ── Focus visible amélioré (accessibilité clavier) ── */
        :focus-visible {
            outline: 3px solid var(--yarn-purple);
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* ── Skeleton loader pour album cover ── */
        .album-cover {
            position: relative;
        }
        .album-cover.loading {
            background: linear-gradient(90deg, #e8d5e8 25%, #f0e0f0 50%, #e8d5e8 75%);
            background-size: 200% 100%;
            animation: skeleton-pulse 1.5s ease-in-out infinite;
        }
        @keyframes skeleton-pulse {
            0%   { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ── Contraste renforcé sur textes importants ── */
        .price-label { color: #7a5a8a; } /* plus sombre que --yarn-purple */
        .track-number { color: #9a6a9a; }

        /* ── Bouton close accessible ── */
        button.close {
            background: none;
            border: none;
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
        }
        button.close:focus-visible {
            outline: 3px solid var(--yarn-purple);
        }

        /* ── High contrast media query ── */
        @media (prefers-contrast: high) {
            :root {
                --text: #2a1a2a;
                --dark-purple: #3a1a3a;
                --yarn-purple: #8a3a8a;
                --yarn-pink: #c04070;
            }
            .album-card, .feature, .spotify-card {
                border-width: 3px;
            }
        }

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

/* ========== 03-tabs.css ========== */
/* ══════════════════════════════════════════
           🧭 SYSTÈME D'ONGLETS — VERTICAL (défaut PC)
        ══════════════════════════════════════════ */
        .tabs-container {
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 0;
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 1.5rem 3rem;
            min-height: 60vh;
        }

        .tabs-nav {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            padding: 1.5rem 0.8rem 1.5rem 0;
            position: sticky;
            top: 100px;
            align-self: start;
            border-right: 2px solid rgba(212,165,212,0.2);
        }

        .tab-btn {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 1rem 1.4rem;
            border: 2px solid rgba(212,165,212,0.25);
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(254,245,231,0.7));
            color: var(--dark-purple);
            font-family: 'Fredoka', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease-out;
            text-align: left;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.06);
            will-change: transform, box-shadow;
        }

        .tab-btn::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 4px; height: 100%;
            background: linear-gradient(180deg, var(--yarn-pink), var(--yarn-purple));
            border-radius: 0 4px 4px 0;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .tab-btn:hover {
            transform: translateY(-3px);
            border-color: var(--yarn-pink);
            box-shadow: 0 8px 25px rgba(212,165,212,0.25);
            background: linear-gradient(135deg, rgba(255,255,255,1), rgba(245,181,214,0.12));
        }

        .tab-btn:hover::before {
            transform: scaleY(0.6);
        }

        .tab-btn.active {
            background: linear-gradient(135deg, var(--yarn-purple), var(--yarn-lavender));
            color: white;
            border-color: transparent;
            box-shadow: 0 8px 25px rgba(212,165,212,0.4);
        }

        .tab-btn.active::before {
            transform: scaleY(1);
            background: white;
            opacity: 0.5;
        }

        .tab-emoji {
            font-size: 1.3rem;
            transition: transform 0.3s ease;
        }

        .tab-btn:hover .tab-emoji {
            transform: scale(1.2) rotate(-5deg);
        }

        .tabs-panels {
            padding: 1.5rem 0 1.5rem 2.5rem;
            min-width: 0;
        }

        .tab-panel {
            display: none !important;
        }

        .tab-panel.active {
            display: block !important;
            animation: tabFadeIn 0.3s ease-out;
        }

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

        .tab-intro {
            margin-bottom: 2.5rem;
        }

        .tab-intro h2 {
            text-align: left;
            font-size: 2rem;
            margin-bottom: 0.8rem;
            padding-bottom: 1rem;
        }

        .tab-intro p {
            color: var(--text);
            font-size: 1.05rem;
            line-height: 1.6;
        }

        /* ── Bouton toggle orientation ── */
        #tabs-orient-btn {
            display: none;
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 900;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid rgba(212,165,212,0.5);
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(254,245,231,0.9));
            color: var(--dark-purple);
            font-size: 1.3rem;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(107,76,107,0.2);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        #tabs-orient-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(212,165,212,0.4);
            border-color: var(--yarn-pink);
        }

        /* Afficher le bouton toggle uniquement quand on est sur une page album */
        body.on-album-page #tabs-orient-btn {
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* ========== 04-modals.css ========== */
/* ══════════════════════════════════════════
           🧭 MODE HORIZONTAL (mobile + toggle)
        ══════════════════════════════════════════ */
        body.tabs-horizontal .tabs-container {
            grid-template-columns: 1fr;
            gap: 0;
        }

        body.tabs-horizontal .tabs-nav {
            flex-direction: row;
            overflow-x: auto;
            overflow-y: hidden;
            gap: 0.5rem;
            padding: 0.8rem 0.5rem;
            border-right: none;
            border-bottom: 2px solid rgba(212,165,212,0.2);
            position: sticky;
            top: 75px;
            z-index: 50;
            background: linear-gradient(180deg, rgba(254,245,231,0.97), rgba(254,240,245,0.95));
            backdrop-filter: blur(12px);
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        body.tabs-horizontal .tabs-nav::-webkit-scrollbar {
            display: none;
        }

        body.tabs-horizontal .tab-btn {
            flex-shrink: 0;
            padding: 0.7rem 1.2rem;
            font-size: 0.88rem;
            gap: 0.5rem;
            border-radius: 25px;
            white-space: nowrap;
        }

        body.tabs-horizontal .tab-btn::before {
            width: 100%; height: 3px;
            top: auto; bottom: 0; left: 0;
            border-radius: 3px 3px 0 0;
            transform: scaleX(0);
        }

        body.tabs-horizontal .tab-btn:hover::before {
            transform: scaleX(0.6);
        }

        body.tabs-horizontal .tab-btn.active::before {
            transform: scaleX(1);
        }

        body.tabs-horizontal .tab-btn:hover {
            transform: translateY(-2px);
        }

        body.tabs-horizontal .tab-btn .tab-emoji {
            font-size: 1.1rem;
        }

        body.tabs-horizontal .tabs-panels {
            padding: 1.5rem 0.5rem;
        }

        body.tabs-horizontal .tab-intro h2 {
            text-align: center;
        }

        .recommande-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2rem;
        }

        /* ── Recommandations cards ── */
        .recommande-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(168,201,168,0.08));
            border: 2px solid rgba(168,201,168,0.3);
            border-radius: 22px;
            padding: 2rem 1.8rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.06);
            transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
        }

        .recommande-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 45px rgba(168,201,168,0.2);
            border-color: var(--yarn-sage);
        }

        .recommande-icon {
            font-size: 2.5rem;
            margin-bottom: 0.8rem;
        }

        .recommande-title {
            font-family: 'Fredoka', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark-purple);
            margin-bottom: 0.3rem;
        }

        .recommande-tag {
            font-size: 0.82rem;
            color: var(--yarn-sage);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.8rem;
        }

        .recommande-desc {
            color: var(--text);
            font-size: 0.92rem;
            line-height: 1.7;
            margin-bottom: 1.2rem;
        }

        .recommande-btn {
            font-size: 0.88rem !important;
            padding: 0.7rem 1.8rem !important;
        }

        /* ── Témoignages ── */
        .temoignage-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,181,214,0.06));
            border: 2px solid rgba(212,165,212,0.2);
            border-radius: 20px;
            padding: 2rem 1.5rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
            position: relative;
        }

        .temoignage-stars {
            color: #f5c842;
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
            letter-spacing: 2px;
        }

        .temoignage-text {
            color: var(--text);
            font-style: italic;
            line-height: 1.7;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .temoignage-auteur {
            color: var(--dark-purple);
            font-weight: 700;
            font-size: 0.88rem;
            font-family: 'Fredoka', sans-serif;
        }

        /* ── FAQ ── */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .faq-question {
            width: 100%;
            text-align: left;
            padding: 1.2rem 1.5rem;
            background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(212,165,212,0.08));
            border: 2px solid rgba(212,165,212,0.2);
            border-radius: 15px;
            font-family: 'Nunito', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark-purple);
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-question:hover {
            border-color: var(--yarn-pink);
            background: linear-gradient(135deg, rgba(255,255,255,1), rgba(245,181,214,0.1));
        }

        .faq-arrow {
            transition: transform 0.3s;
            font-size: 1.2rem;
        }

        .faq-question.open .faq-arrow {
            transform: rotate(180deg);
        }

        .faq-answer {
            display: none;
            padding: 1.2rem 1.5rem;
            background: rgba(254,245,231,0.5);
            border-radius: 0 0 15px 15px;
            margin-top: -2px;
            border: 2px solid rgba(212,165,212,0.15);
            border-top: none;
            color: var(--text);
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .faq-answer.open {
            display: block;
        }

        .faq-answer p { margin-bottom: 0.8rem; }
        .faq-answer ul, .faq-answer ol { margin: 0.8rem 0; padding-left: 1.5rem; }
        .faq-answer li { margin-bottom: 0.5rem; }
        .faq-answer a { color: var(--yarn-purple); font-weight: 600; }

        /* ── Mobile responsive pour onglets ── */
        @media (max-width: 768px) {
            .tabs-container {
                grid-template-columns: 1fr;
                padding: 0 0.5rem 2rem;
            }

            .tabs-nav {
                flex-direction: row;
                overflow-x: auto;
                overflow-y: hidden;
                gap: 0.5rem;
                padding: 0.8rem 0.5rem;
                border-right: none;
                border-bottom: 2px solid rgba(212,165,212,0.2);
                position: sticky;
                top: 75px;
                z-index: 50;
                background: linear-gradient(180deg, rgba(254,245,231,0.97), rgba(254,240,245,0.95));
                backdrop-filter: blur(12px);
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .tabs-nav::-webkit-scrollbar { display: none; }

            .tab-btn {
                flex-shrink: 0;
                padding: 0.7rem 1.2rem;
                font-size: 0.88rem;
                gap: 0.5rem;
                border-radius: 25px;
                white-space: nowrap;
            }

            .tab-btn::before {
                width: 100%; height: 3px;
                top: auto; bottom: 0; left: 0;
                border-radius: 3px 3px 0 0;
                transform: scaleX(0);
            }

            .tab-btn:hover::before { transform: scaleX(0.6); }
            .tab-btn.active::before { transform: scaleX(1); }

            .tabs-panels {
                padding: 1.5rem 0.5rem;
            }

            .tab-intro h2 {
                text-align: center;
                font-size: 1.6rem;
            }
        }

        /* ── Night mode overrides pour onglets ── */
        body.theme-night .tabs-nav {
            border-color: rgba(180,150,220,0.15);
        }

        body.theme-night .tab-btn {
            background: linear-gradient(135deg, #1a1830, rgba(30,20,50,0.9));
            border-color: rgba(180,150,220,0.2);
            color: #c8b8d8;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        body.theme-night .tab-btn:hover {
            background: linear-gradient(135deg, #22203a, rgba(40,30,60,0.95));
            border-color: #b08fd0;
            box-shadow: 0 8px 25px rgba(150,100,200,0.25);
        }

        body.theme-night .tab-btn.active {
            background: linear-gradient(135deg, #7a5aa0, #9a78b0);
            color: white;
            border-color: transparent;
        }

        body.tabs-horizontal.theme-night .tabs-nav {
            background: linear-gradient(180deg, rgba(13,13,26,0.97), rgba(18,16,42,0.95));
            border-color: rgba(180,150,220,0.15);
        }

        /* ══════════════════════════════════════════
           🌊 SÉPARATEURS ORGANIQUES (vagues SVG)
        ══════════════════════════════════════════ */
        .wave-separator {
            width: 100%;
            line-height: 0;
            overflow: hidden;
            margin: 0;
            padding: 0;
        }

        .wave-separator svg {
            display: block;
            width: 100%;
            height: 60px;
        }

        .wave-separator.wave-flip svg {
            transform: scaleY(-1);
        }

        @media (max-width: 768px) {
            .wave-separator svg { height: 35px; }
        }

/* ========== 05-layout.css ========== */
/* ══════════════════════════════════════════
           🎨 FONDS ALTERNÉS POUR TAB PANELS
        ══════════════════════════════════════════ */
        .tab-panel.active {
            border-radius: 20px;
            padding: 2.5rem 2rem;
            margin-bottom: 1rem;
        }

        #tab-ecouter {
            background: linear-gradient(135deg, rgba(254,245,231,0.4), rgba(212,165,212,0.06));
        }

        #tab-album {
            background: linear-gradient(135deg, rgba(245,181,214,0.06), rgba(240,197,168,0.08));
        }

        #tab-magie {
            background: linear-gradient(135deg, rgba(220,201,224,0.08), rgba(254,245,231,0.4));
        }

        #tab-recommande {
            background: linear-gradient(135deg, rgba(168,201,168,0.06), rgba(254,245,231,0.3));
        }

        #tab-cafe {
            background: linear-gradient(135deg, rgba(240,197,168,0.08), rgba(245,181,214,0.05));
        }

        body.theme-night #tab-ecouter,
        body.theme-night #tab-album,
        body.theme-night #tab-magie,
        body.theme-night #tab-recommande,
        body.theme-night #tab-cafe {
            background: rgba(20,15,35,0.3);
        }

        /* ══════════════════════════════════════════
           💕 ENCART BIENVEILLANCE DISTINCT
        ══════════════════════════════════════════ */
        .bienveillance-encart {
            max-width: 700px;
            margin: 3rem auto 0;
            padding: 1.5rem 2rem;
            background: linear-gradient(135deg, rgba(168,201,168,0.1), rgba(254,245,231,0.5));
            border: 2px solid rgba(168,201,168,0.25);
            border-radius: 18px;
            position: relative;
            overflow: hidden;
        }

        .bienveillance-encart::before {
            content: '🌱';
            position: absolute;
            top: -8px; right: 12px;
            font-size: 2rem;
            opacity: 0.15;
            transform: rotate(15deg);
        }

        .bienveillance-encart p {
            font-size: 0.85rem;
            color: var(--text);
            font-style: italic;
            line-height: 1.8;
            margin: 0;
        }

        body.theme-night .bienveillance-encart {
            background: linear-gradient(135deg, rgba(25,35,25,0.4), rgba(20,15,35,0.3));
            border-color: rgba(168,201,168,0.15);
        }

        /* ══════════════════════════════════════════
           🎵 SECTION TEMOIGNAGES — FOND DISTINCT
        ══════════════════════════════════════════ */
        .temoignages-section {
            padding: 5rem 2rem;
            max-width: 1100px;
            margin: 0 auto;
            position: relative;
        }

        /* ══════════════════════════════════════════
           📱 ALBUMS SECTION — PLUS D'ESPACE
        ══════════════════════════════════════════ */
        .albums-section {
            padding: 5rem 2rem 3rem;
        }

/* ========== 06-faq.css ========== */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
    .faq-item { border: 2px solid rgba(212,165,212,0.25); border-radius: 14px; overflow: hidden; }
    .faq-question {
        width: 100%; text-align: left;
        background: rgba(255,255,255,0.8);
        border: none; padding: 0.95rem 1.1rem;
        font-family: 'Nunito', sans-serif;
        font-size: 0.92rem; font-weight: 700;
        color: var(--dark-purple); cursor: pointer;
        display: flex; justify-content: space-between; align-items: center;
        transition: background 0.2s;
    }
    .faq-question:hover { background: rgba(212,165,212,0.1); }
    .faq-question.open  { background: rgba(212,165,212,0.12); }
    .faq-arrow { font-size: 1.1rem; transition: transform 0.25s; flex-shrink: 0; margin-left: 0.5rem; }
    .faq-question.open .faq-arrow { transform: rotate(180deg); }
    .faq-answer {
        display: none;
        padding: 0.9rem 1.1rem 1.1rem;
        background: rgba(255,255,255,0.6);
        font-size: 0.88rem; line-height: 1.7; color: var(--text);
    }
    .faq-answer.open { display: block; }
    .faq-answer ol { padding-left: 1.3rem; margin: 0.5rem 0; }
    .faq-answer ol li { margin-bottom: 0.4rem; }
    .faq-answer a { color: var(--yarn-purple); font-weight: 600; }

/* ========== 07-lang.css ========== */
.lang-card {
        background: linear-gradient(135deg,rgba(255,255,255,0.9),rgba(240,197,168,0.06));
        border: 2px solid rgba(212,165,212,0.25);
        border-radius: 16px;
        padding: 1rem 0.6rem;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
        font-family: 'Fredoka', sans-serif;
        font-size: 0.9rem;
        color: var(--dark-purple);
        font-weight: 600;
        display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
        min-width: 80px;
    }
    .lang-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(212,165,212,0.25); border-color: var(--yarn-purple); }
    .lang-card.active { background: linear-gradient(135deg,var(--yarn-lavender),var(--yarn-purple)); color: white; border-color: var(--yarn-purple); }
    .lang-flag { display:flex; align-items:center; justify-content:center; line-height:1; }
    .lang-flag img { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; }
    body.theme-night .lang-card { background: rgba(30,20,45,0.7); border-color: rgba(212,165,212,0.2); color: #e8d8e8; }
    body.theme-night .lang-card.active { background: linear-gradient(135deg,var(--yarn-purple),var(--dark-purple)); }

/* ========== 08-forge.css ========== */
/* ── Forge modal extras ── */
    body.theme-night #forge-email,
    body.theme-night #forge-email2 {
        background: rgba(30,20,45,0.8) !important;
        border-color: rgba(212,165,212,0.25) !important;
        color: #e8d8e8 !important;
    }

/* ========== 09-legal.css ========== */
.legal-body { font-size: 0.92rem; line-height: 1.75; color: var(--text); }
    .legal-body h3 {
        font-family: 'Fredoka', sans-serif;
        color: var(--dark-purple);
        font-size: 1.05rem;
        margin: 1.4rem 0 0.5rem 0;
    }
    .legal-body p { margin-bottom: 0.8rem; }
    .legal-body ul { padding-left: 1.4rem; margin-bottom: 0.8rem; }
    .legal-body ul li { margin-bottom: 0.4rem; }
    .legal-body a { color: var(--yarn-purple); font-weight: 600; }
/* ══════════════════════════════════════════════════════════════════════
   10-mobile-fix.css — Patch anti-tremblement icônes sur mobile (V11)
   ──────────────────────────────────────────────────────────────────────
   Problème : sur mobile, les animations infinies (bobbing, gentle-spin,
   bounce, cozyRock, softFloat, slowFloat) donnent un effet de
   tremblement sub-pixel dû au rendu CPU.
   Solution 1 : forcer l'accélération GPU via transform-3d hack
   Solution 2 : désactiver les animations infinies sur écrans tactiles
                ET en cas de prefers-reduced-motion
   ══════════════════════════════════════════════════════════════════════ */

/* ─── 1. Force l'accélération GPU sur tous les éléments animés ─── */
.hero-icon,
.album-icon,
.spotify-icon,
.feature-icon,
.tab-btn .emoji,
.cafe-card .emoji,
.lang-flag,
.recommande-icon,
.nav-link .emoji {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    perspective: 1000px;
}

/* ─── 2. Désactive les animations infinies sur mobile (écrans tactiles sans hover fiable) ─── */
@media (hover: none) and (pointer: coarse) {
    .hero-icon,
    .album-icon,
    .spotify-icon,
    .feature-icon,
    .floating-decor,
    .yarn-decor {
        animation: none !important;
        -webkit-animation: none !important;
    }
}

/* ─── 3. Respect strict de prefers-reduced-motion (accessibilité) ─── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════
   11-chansons.css — Page détail chanson
   Le Fabuleux Monde de Faël
   ═══════════════════════════════════════════════════════ */

/* ─── Track items cliquables ─────────────────────────── */
.track-item--clickable {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 10px;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.track-item--clickable:hover,
.track-item--clickable:focus-visible {
    background: rgba(212,165,212,0.18);
    transform: translateX(4px);
    box-shadow: 0 2px 10px rgba(212,165,212,0.2);
    outline: none;
}
.track-item--clickable:focus-visible {
    outline: 2px solid var(--yarn-purple);
    outline-offset: 2px;
}
.track-arrow {
    font-size: 1.3rem;
    color: var(--yarn-purple);
    opacity: 0.6;
    margin-left: auto;
    transition: opacity 0.18s, transform 0.18s;
    flex-shrink: 0;
}
.track-item--clickable:hover .track-arrow,
.track-item--clickable:focus-visible .track-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ─── Page chanson — wrapper ─────────────────────────── */
#page-chanson {
    min-height: 100vh;
    margin-top: 80px;   /* compense le header fixed */
    background: var(--bg, #faf8ff);
}
.theme-night #page-chanson {
    background: var(--dark-bg, #1a1025);
}

.chanson-page-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.2rem 4rem;  /* margin-top de #page-chanson prend en charge le header */
}

/* ─── Bouton retour ──────────────────────────────────── */
.chanson-back-btn {
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

/* ─── En-tête (image + infos côte à côte sur desktop) ── */
.chanson-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* ─── Image / placeholder ────────────────────────────── */
.chanson-image-zone {
    flex-shrink: 0;
    width: 220px;
}
.chanson-cover-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: block;
}
.chanson-cover-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--yarn-lavender, #d8c8e8), var(--yarn-pink, #f0b8c8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.theme-night .chanson-cover-placeholder {
    background: linear-gradient(135deg, #2d1f45, #3d2255);
}
.chanson-cover-emoji {
    font-size: 4rem;
    line-height: 1;
    animation: float 3s ease-in-out infinite;
}
.chanson-cover-placeholder-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    opacity: 0.65;
    color: var(--text);
    text-align: center;
    padding: 0 1rem;
}

/* ─── Infos titre ────────────────────────────────────── */
.chanson-infos {
    flex: 1;
    min-width: 220px;
}

.chanson-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.chanson-badge {
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}
.chanson-badge--album {
    background: linear-gradient(135deg, var(--yarn-purple, #d4a5d4), var(--yarn-lavender, #d8c8e8));
    color: #fff;
}
.theme-night .chanson-badge--album {
    background: linear-gradient(135deg, #7b4fa0, #5a3580);
}
.chanson-badge--num {
    background: rgba(212,165,212,0.2);
    color: var(--text);
    border: 1px solid rgba(212,165,212,0.4);
}
.chanson-badge--duree {
    background: rgba(212,165,212,0.1);
    color: var(--text);
    border: 1px solid rgba(212,165,212,0.3);
}

.chanson-titre {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.3rem;
}
.chanson-sous-titre {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    opacity: 0.6;
    margin-bottom: 1.2rem;
    font-style: italic;
}

/* ─── Boutons streaming ──────────────────────────────── */
.chanson-stream-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 0.7rem;
}
.chanson-stream-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.chanson-stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    border: 2px solid color-mix(in srgb, var(--stream-color, #888) 40%, transparent);
    background: color-mix(in srgb, var(--stream-color, #888) 10%, transparent);
    color: var(--text);
    cursor: pointer;
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
    position: relative;
}
.chanson-stream-btn:hover:not(:disabled) {
    background: color-mix(in srgb, var(--stream-color, #888) 20%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--stream-color, #888) 30%, transparent);
}
.chanson-stream-btn--coming {
    opacity: 0.5;
    cursor: default;
}
.chanson-coming-badge {
    font-size: 0.68rem;
    background: rgba(150,150,150,0.2);
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ─── Zone embed ─────────────────────────────────────── */
.chanson-embed-zone {
    margin-top: 1rem;
}
.chanson-embed-container {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.chanson-embed-frame {
    width: 100%;
    height: 152px;
    display: block;
    border: none;
}
.chanson-embed-close {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s;
}
.chanson-embed-close:hover { background: rgba(0,0,0,0.8); }

/* ─── Sections (paroles / à propos) ─────────────────── */
.chanson-section {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(212,165,212,0.25);
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.theme-night .chanson-section {
    background: rgba(255,255,255,0.04);
    border-color: rgba(212,165,212,0.12);
}
.chanson-section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Paroles ────────────────────────────────────────── */
.chanson-paroles {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}
.chanson-strophe {
    margin-bottom: 1.2rem;
}
.chanson-strophe:last-child { margin-bottom: 0; }

/* ─── À propos ───────────────────────────────────────── */
.chanson-apropos {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}
.chanson-apropos p {
    margin-bottom: 1rem;
}
.chanson-apropos p:last-child { margin-bottom: 0; }

/* ─── Placeholder text ───────────────────────────────── */
.chanson-placeholder-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    opacity: 0.55;
    font-style: italic;
}

/* ─── Footer nav ─────────────────────────────────────── */
.chanson-footer-nav {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* ─── Responsive mobile ──────────────────────────────── */
@media (max-width: 600px) {
    #page-chanson { margin-top: 120px; }
    .chanson-header {
        flex-direction: column;
        align-items: center;
    }
    .chanson-image-zone {
        width: 180px;
    }
    .chanson-cover-placeholder {
        width: 180px;
        height: 180px;
    }
    .chanson-infos {
        width: 100%;
        text-align: center;
    }
    .chanson-badges {
        justify-content: center;
    }
    .chanson-stream-btns {
        justify-content: center;
    }
    .chanson-section {
        padding: 1.2rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════
   12-votes.css — Système de votes des chansons
   Le Fabuleux Monde de Faël
   ═══════════════════════════════════════════════════════ */

/* ─── Bouton vote sur les track-items ────────────────────────── */
.track-item { display: flex; align-items: center; gap: 0.5rem; }
.track-title { flex: 1; min-width: 0; }

.track-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: none;
    border: 1.5px solid rgba(212,165,212,0.25);
    border-radius: 99px;
    padding: 0.18rem 0.55rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text);
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    flex-shrink: 0;
    line-height: 1;
}
.track-vote-btn:hover {
    background: rgba(212,165,212,0.15);
    border-color: rgba(212,165,212,0.5);
    transform: scale(1.08);
}
.track-vote-btn--voted {
    background: rgba(212,165,212,0.12);
    border-color: rgba(212,165,212,0.4);
}
.track-vote-count {
    font-size: 0.75rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    min-width: 1ch;
    color: var(--yarn-purple, #d4a5d4);
}

/* ─── Modale de vote ─────────────────────────────────────────── */
.vote-modal-overlay {
    position: fixed; inset: 0; z-index: 9800;
    background: rgba(107,76,107,0.65);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.vote-modal-overlay--visible { opacity: 1; }

.vote-modal-box {
    background: linear-gradient(135deg, var(--yarn-cream, #fef9f5), #fff9f0);
    border-radius: 24px;
    padding: 2rem 1.8rem 1.6rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(107,76,107,0.35), 0 0 0 1px rgba(212,165,212,0.2);
    transform: translateY(8px);
    transition: transform 0.22s ease;
}
.vote-modal-overlay--visible .vote-modal-box { transform: translateY(0); }
.theme-night .vote-modal-box {
    background: linear-gradient(135deg, #1e1230, #2a1a40);
}

.vote-modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(212,165,212,0.15);
    border: none; border-radius: 50%;
    width: 30px; height: 30px;
    cursor: pointer; font-size: 0.9rem; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.vote-modal-close:hover { background: rgba(212,165,212,0.35); }

.vote-modal-icon  { font-size: 2.5rem; text-align: center; margin-bottom: 0.2rem; }
.vote-modal-titre { font-family: 'Fredoka',sans-serif; font-size: 1.2rem; font-weight:700; text-align:center; color:var(--dark-purple, #3d2255); margin: 0; }
.vote-modal-chanson { font-family: 'Nunito',sans-serif; font-size: 1rem; text-align:center; color:var(--yarn-purple,#d4a5d4); font-style:italic; margin: 0.2rem 0 1.2rem; }
.theme-night .vote-modal-titre  { color: #e8d0f0; }
.theme-night .vote-modal-chanson { color: #c090e0; }

.vote-modal-section { margin-bottom: 1rem; }
.vote-modal-label {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.vote-modal-options {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.vote-opt {
    display: flex; align-items: center; gap: 0.35rem;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    border: 1.5px solid rgba(212,165,212,0.3);
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: var(--text);
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}
.vote-opt input[type="radio"] { display: none; }
.vote-opt:has(input:checked) {
    background: linear-gradient(135deg, var(--yarn-purple,#d4a5d4), var(--yarn-lavender,#d8c8e8));
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}
.vote-modal-footer {
    display: flex; gap: 0.7rem; margin-top: 1.4rem;
}
.vote-btn-cancel { flex: 1; }
.vote-btn-submit {
    flex: 2;
    background: linear-gradient(135deg, var(--yarn-purple,#d4a5d4), var(--yarn-pink,#f0b8c8));
    color: #fff;
}
.vote-modal-hint {
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.5;
    margin-top: 0.8rem;
    font-family: 'Nunito', sans-serif;
}

/* ─── Onglet votes — toolbar ─────────────────────────────────── */
.votes-loading {
    display: flex; flex-direction: column; align-items: center;
    gap: 1rem; padding: 3rem 1rem; color: var(--text); opacity: 0.6;
}
.votes-spinner {
    width: 36px; height: 36px;
    border: 3px solid rgba(212,165,212,0.3);
    border-top-color: var(--yarn-purple, #d4a5d4);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.votes-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(212,165,212,0.08);
    border-radius: 14px;
    border: 1px solid rgba(212,165,212,0.18);
}
.votes-total {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    display: flex; align-items: center; gap: 0.4rem;
}
.votes-local-badge {
    font-size: 0.68rem;
    background: rgba(255,180,50,0.2);
    border: 1px solid rgba(255,180,50,0.4);
    color: #b87000;
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    font-family: 'Nunito', monospace;
    font-weight: 700;
    text-transform: uppercase;
}
.votes-filters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
}
.votes-filter-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.88rem;
    color: var(--text);
    display: flex; align-items: center; gap: 0.25rem;
}
.votes-filter-select {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    border-radius: 10px;
    border: 1.5px solid rgba(212,165,212,0.35);
    background: var(--bg, #faf8ff);
    color: var(--text);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}
.votes-filter-select:focus { border-color: var(--yarn-purple, #d4a5d4); }
.theme-night .votes-filter-select { background: #1e1230; }

/* ─── Classement (ranking rows) ──────────────────────────────── */
.votes-ranking {
    display: flex; flex-direction: column; gap: 0.7rem;
}
.votes-row {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(212,165,212,0.15);
    border-radius: 14px;
    transition: box-shadow 0.2s;
}
.theme-night .votes-row { background: rgba(255,255,255,0.04); }
.votes-row:hover { box-shadow: 0 4px 16px rgba(212,165,212,0.15); }

.votes-row--top {
    background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(245,181,214,0.1));
    border-color: rgba(255,215,0,0.35);
    box-shadow: 0 4px 20px rgba(255,215,0,0.12);
}
.votes-row--top .votes-row-bar { background: linear-gradient(90deg, #f0b040, #e87070); }

.votes-row-rank {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    min-width: 2rem;
    text-align: center;
    flex-shrink: 0;
}
.votes-row-info { flex: 1; min-width: 0; }
.votes-row-header {
    display: flex; align-items: center;
    justify-content: space-between; gap: 0.5rem;
    margin-bottom: 0.35rem;
}
.votes-row-titre {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.votes-row-vote-btn {
    background: none;
    border: 1.5px solid rgba(212,165,212,0.3);
    border-radius: 99px;
    padding: 0.2rem 0.55rem;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.votes-row-vote-btn:hover { background: rgba(212,165,212,0.2); transform: scale(1.1); }
.votes-row-vote-btn--voted { opacity: 0.6; cursor: default; }

.votes-row-bar-wrap {
    height: 6px;
    background: rgba(212,165,212,0.15);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}
.votes-row-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--yarn-purple,#d4a5d4), var(--yarn-pink,#f0b8c8));
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(.22,.61,.36,1);
    min-width: 2px;
}
.votes-row-meta {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; color: var(--text); opacity: 0.65;
}
.votes-row-score { font-family: 'Fredoka', sans-serif; font-weight: 700; }
.votes-row-detail { font-style: italic; }

/* ─── Empty state ────────────────────────────────────────────── */
.votes-empty {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.8rem; padding: 3rem 1rem; text-align: center;
    color: var(--text); opacity: 0.55;
}
.votes-empty .emoji { font-size: 2.5rem; }
.votes-empty p { font-family: 'Nunito', sans-serif; font-size: 0.95rem; line-height: 1.7; }

.votes-disclaimer {
    margin-top: 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    opacity: 0.55;
    text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}

/* ─── Tab btn votes (accent rose) ───────────────────────────── */
.tab-btn--votes { border-color: rgba(240,130,140,0.3); }
.tab-btn--votes.active {
    background: linear-gradient(135deg, #e87878, #f0a0a8);
}

/* ─── Toast ──────────────────────────────────────────────────── */
.votes-toast {
    position: fixed;
    bottom: 5rem; left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: rgba(30,18,48,0.9);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    border-radius: 99px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 9900;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    max-width: 90vw;
}
.votes-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.votes-toast--ok    { border-left: 4px solid #88dd88; }
.votes-toast--error { border-left: 4px solid #ff8888; }
.votes-toast--info  { border-left: 4px solid var(--yarn-purple, #d4a5d4); }

/* ─── Responsive mobile ──────────────────────────────────────── */
@media (max-width: 600px) {
    .votes-toolbar { flex-direction: column; align-items: flex-start; }
    .votes-filters { width: 100%; }
    .votes-filter-select { flex: 1; }
    .vote-modal-box { padding: 1.5rem 1.2rem; }
    .vote-modal-options { gap: 0.3rem; }
    .votes-row-titre { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════
   13-icons.css — Icônes WebP custom (remplacent les emojis)
   ═══════════════════════════════════════════════════════ */
img.ic {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
}
img.ic-16  { width: 16px;  height: 16px;  }
img.ic-20  { width: 20px;  height: 20px;  }
img.ic-22  { width: 22px;  height: 22px;  }
img.ic-24  { width: 24px;  height: 24px;  }
img.ic-28  { width: 28px;  height: 28px;  }
img.ic-32  { width: 32px;  height: 32px;  }
img.ic-40  { width: 40px;  height: 40px;  }
img.ic-48  { width: 48px;  height: 48px;  }
img.ic-64  { width: 64px;  height: 64px;  }
img.ic-80  { width: 80px;  height: 80px;  }

/* Animation bounce (remplace l'emoji animé du café) */
img.ic-bounce { animation: bounce 2s ease-in-out infinite; }

/* ═══════════════════════════════════════════════════════
   14-cafe-images.css — Cartes café avec grandes images
   ═══════════════════════════════════════════════════════ */

/* Zone image dans la carte */
.cafe-img-wrap {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240,197,168,0.08);
}

/* Grande image (photo café) — couvre la zone */
.cafe-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.35s ease;
}
.cafe-card:hover .cafe-card-img {
    transform: scale(1.06);
}

/* Icône cœur (carte libre) — centrer sans étirer */
.cafe-card-img--icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Padding réduit car l'image prend de la place */
.cafe-card {
    padding: 1rem 0.8rem !important;
}

/* La grille accepte maintenant 6 cartes — min un peu plus petit */
@media (max-width: 700px) {
    .cafe-img-wrap { height: 90px; }
}

/* ─── Café : recadrage images panoramiques ───────────────────── */
/* Les images carrées (expresso, cappuccino, viennois) sont parfaites.
   Les panoramiques (parisien, chocolat) : on centre sur le haut du café */
.cafe-card:nth-child(4) .cafe-card-img { object-position: center 30%; }
.cafe-card:nth-child(5) .cafe-card-img { object-position: center 25%; }

/* Hauteur légèrement plus grande pour mieux voir les illustrations */
.cafe-img-wrap {
    height: 140px;
}
@media (max-width: 700px) {
    .cafe-img-wrap { height: 100px; }
}
