/* Studio SVB — tarifs.html · Extracted Phase 5 */

/* VOS COULEURS ORIGINALES */
        :root {
            --col-peach: #EBC6A6;   
            --col-sand: #D4C3A3;    
            --col-green: #88C0A6;   
            --col-cream: #F3EBD4;   
            --col-dark: #3A6B63;    
            --svb-text: #2F4F4F;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #B8D8C0;
            color: var(--svb-text);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* FOND IMMERSIF */
        .ambient-bg {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2;
            background: linear-gradient(180deg, #CDE4D3 0%, #F5F0E1 100%);
            overflow: hidden;
        }
        .blob {
            position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.6;
            animation: moveBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
        }
        .blob-1 { top: -10%; left: -10%; width: 60vw; height: 60vw; background: var(--col-green); }
        .blob-2 { bottom: -10%; right: -10%; width: 70vw; height: 70vw; background: var(--col-peach); animation-delay: -5s; }
        @keyframes moveBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, -40px) scale(1.1); } }
        .noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); pointer-events: none; }

        h1, h2, h3, .font-hand { font-family: 'Dancing Script', cursive; }

        .reveal-load { animation: softSlideUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards; opacity: 0; }
    nav.reveal-load, header.reveal-load, section:first-of-type.reveal-load { opacity: 1 !important; animation: none !important; transform: none !important; }
        @keyframes softSlideUp { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
        .d-1 { animation-delay: 0.1s; } .d-2 { animation-delay: 0.2s; } .d-3 { animation-delay: 0.3s; }

        /* DESIGN CARTES */
        .price-card {
            background: rgba(255, 255, 255, 0.65);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 24px; overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex; flex-direction: column; justify-content: space-between; height: 100%;
            position: relative; /* Important pour les badges */
        }
        .price-card:hover { transform: translateY(-8px) scale(1.02); background: rgba(255, 255, 255, 0.85); box-shadow: 0 30px 60px rgba(74, 141, 132, 0.25); z-index: 10; }

        /* COULEURS */
        .header-peach { background: var(--col-peach); color: white; }
        .header-sand { background: var(--col-sand); color: white; }
        .header-green { background: var(--col-green); color: white; }
        .header-cream { background: var(--col-cream); color: var(--svb-text); }
        .header-dark { background: var(--col-dark); color: white; }
        .header-bicolor-former { background: linear-gradient(135deg, var(--col-sand) 0%, var(--col-peach) 100%); color: white; }
        .header-bicolor-full { background: linear-gradient(135deg, var(--col-green) 0%, var(--col-cream) 100%); color: var(--svb-text); }
        .header-kids { background: linear-gradient(135deg, var(--col-peach), var(--col-sand)); color: white; }

        .body-peach { background: linear-gradient(180deg, rgba(235, 198, 166, 0.3) 0%, rgba(255,255,255,0.7) 100%); }
        .body-sand { background: linear-gradient(180deg, rgba(212, 195, 163, 0.3) 0%, rgba(255,255,255,0.7) 100%); }
        .body-green { background: linear-gradient(180deg, rgba(136, 192, 166, 0.3) 0%, rgba(255,255,255,0.7) 100%); }
        .body-cream { background: linear-gradient(180deg, rgba(243, 235, 212, 0.5) 0%, rgba(255,255,255,0.8) 100%); }
        .body-dark { background: linear-gradient(180deg, rgba(58, 107, 99, 0.15) 0%, rgba(255,255,255,0.7) 100%); }
        .body-bicolor-former { background: linear-gradient(180deg, rgba(212, 195, 163, 0.25) 0%, rgba(235, 198, 166, 0.25) 100%); }
        .body-bicolor-full { background: linear-gradient(180deg, rgba(136, 192, 166, 0.25) 0%, rgba(243, 235, 212, 0.4) 100%); }
        .body-kids { background: linear-gradient(180deg, rgba(235, 198, 166, 0.2) 0%, rgba(255,255,255,0.8) 100%); }

        .card-header { padding: 20px; text-align: center; text-transform: uppercase; font-weight: 800; letter-spacing: 0.05em; font-size: 1rem; }
        
        /* Ligne Discipline */
        .discipline-row {
            background: rgba(255,255,255,0.6); padding: 8px 5px; text-align: center;
            font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: var(--svb-text);
            border-bottom: 1px solid rgba(0,0,0,0.05); letter-spacing: 0.05em; line-height: 1.2;
        }

        .price-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 6px 20px; font-size: 0.8rem; font-weight: 600; color: #555; }
        .price-row:last-child { border-bottom: none; }
        .price-row span:last-child { font-weight: 800; color: var(--svb-text); font-size: 0.9rem; }

        .btn-action { display: block; width: 100%; background-color: var(--col-dark); color: white; text-align: center; padding: 18px 0; text-transform: uppercase; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.15em; transition: all 0.3s; margin-top: auto; cursor: pointer; border: none;}
        .btn-action:hover { background-color: #2F4F4F; letter-spacing: 0.2em; padding-bottom: 22px; }

        .offer-banner { text-align: center; padding: 15px; border-radius: 12px; margin-bottom: 25px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; color: white; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .banner-machines { background: var(--col-peach); }
        .banner-training { background: var(--col-green); }

        .btn-unit { background: white; color: var(--col-dark); border: 1px solid var(--col-dark); padding: 6px 15px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; transition: all 0.3s; margin-left: auto; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
        .btn-unit:hover { background: var(--col-dark); color: white; transform: translateY(-2px); }
        .unit-row { background-color: rgba(255,255,255,0.4); padding: 10px 20px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
        
        .terms-row { padding: 15px 20px; text-align: center; font-size: 0.7rem; border-top: 1px solid rgba(0,0,0,0.05); background: rgba(255,255,255,0.3); }
        .terms-fee { color: var(--svb-text); font-weight: 700; text-transform: uppercase; }
        .terms-warning { color: #dc2626; font-weight: 900; text-transform: uppercase; display: block; margin-top: 5px; font-size: 0.65rem; letter-spacing: 0.05em; }

        /* === OPTION BOOST CORRIGÉE (Overflow Visible) === */
        .boost-card {
            background: rgba(255, 255, 255, 0.85);
            border-radius: 24px;
            padding: 40px;
            position: relative;
            overflow: visible; /* Permet au badge de dépasser */
            border: 2px solid #88C0A6;
            box-shadow: 0 15px 40px rgba(0,0,0,0.05);
            transition: transform 0.3s;
            margin-top: 30px;
        }
        .boost-card:hover { transform: translateY(-5px); }
        .boost-badge {
            position: absolute; top: -15px; right: 20px;
            background: var(--col-peach); color: white;
            font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
            padding: 10px 25px; border-radius: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .boost-list li { margin-bottom: 12px; display: flex; align-items: flex-start; color: #555; font-size: 0.9rem; }
        .boost-icon { margin-right: 10px; color: var(--col-dark); font-size: 1.1rem; }

        /* === MODAL & QUIZ === */
        #quiz-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 9999; display: none; opacity: 0; transition: opacity 0.3s; justify-content: center; align-items: center; padding: 20px; }
        #quiz-modal.open { display: flex; opacity: 1; }
        .quiz-card { background: white; width: 100%; max-width: 600px; border-radius: 25px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.25); animation: slideUp 0.4s ease-out; position: relative; }
        @keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .close-modal { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: #aaa; cursor: pointer; z-index: 10; line-height: 0.5; }
        .progress-bar { height: 6px; background: #eee; width: 100%; }
        .progress-fill { height: 100%; background: var(--col-dark); width: 0%; transition: width 0.3s; }
        .quiz-content { padding: 30px; text-align: center; }
        .quiz-step { display: none; } .quiz-step.active { display: block; animation: fadeIn 0.3s; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .quiz-options { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
        .option-btn { border: 2px solid #eee; padding: 15px; border-radius: 12px; cursor: pointer; transition: all 0.2s; font-weight: 600; color: #555; text-align: left; display: flex; align-items: center; }
        .option-btn:hover { border-color: var(--col-dark); background: #f9f9f9; }
        .opt-icon { margin-right: 15px; font-size: 1.4rem; }
        .loading-spinner { border: 4px solid #f3f3f3; border-top: 4px solid var(--col-dark); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 20px auto; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        .form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; }
        .btn-submit-quiz { width: 100%; padding: 15px; background-color: #25D366; color: white; font-weight: bold; border-radius: 50px; text-transform: uppercase; margin-top: 10px; transition: transform 0.2s; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
        .btn-submit-quiz:hover { transform: scale(1.02); background-color: #1ebc57; }
