:root {
            --gold-start: #C9A227;
            --gold-mid: #D4AF37;
            --gold-end: #E8C54B;
            --gold-shine: #F0D96B;
            --gold-dark: #A68522;
            --gold-gradient: linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);
            --gold-gradient-hover: linear-gradient(145deg, #B8960C 0%, #C9A227 35%, #D4AF37 65%, #C9A227 100%);
            --gold-cta: linear-gradient(135deg, #C9A227 0%, #D4AF37 40%, #E8C54B 100%);
            --gold-bg: #FBF6E9;
            --gold-bg-subtle: #FEFCF5;
            --dark: #1A1A1A;
            --text: #333333;
            --text-secondary: #6B6B6B;
            --text-muted: #999999;
            --border: #E5E5E5;
            --border-light: #F0F0F0;
            --bg: #FFFFFF;
            --olive: #6B7B3A;
            --olive-light: #8A9F4A;
            --green-badge: #1B4332;
            --red: #C0392B;
            --blue-info: #EFF6FF;
            --blue-info-border: #BFDBFE;
            --blue-info-text: #1E40AF;
            --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-gold: 0 8px 30px rgba(201,162,39,0.25);
            --shadow-gold-hover: 0 12px 40px rgba(201,162,39,0.35);
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
        }

.page-payment {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text);
            background: #FFFFFF;
            line-height: 1.6;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
        }

        /* ========================================
           NAVBAR — Pixel-perfect Tastellers
           ======================================== */
        .navbar {
            background: #FFFFFF;
            border-bottom: 1px solid #EBEBEB;
            padding: 0 28px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar-left {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* Real Tastellers horizontal logo */
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-img {
            height: 32px;
            width: auto;
            object-fit: contain;
        }

        /* RECRUITER PORTAL badge */
        .portal-badge {
            background: var(--green-badge);
            color: #FFFFFF;
            font-size: 9px;
            font-weight: 800;
            padding: 5px 12px;
            border-radius: 4px;
            letter-spacing: 1.4px;
            text-transform: uppercase;
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* Nav links */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 2px;
            list-style: none;
            margin-left: 4px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 13.5px;
            font-weight: 500;
            padding: 7px 14px;
            border-radius: 8px;
            transition: all 0.2s;
            white-space: nowrap;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--dark);
            background: #F5F5F5;
        }

        /* Active nav link — gold pill like Dashboard */
        .nav-links a.active {
            color: #FFFFFF;
            font-weight: 600;
            background: var(--gold-mid);
            border-radius: 8px;
        }

        /* Notification dot on Dashboard */
        .nav-links a.active .notif-dot {
            position: absolute;
            top: 4px;
            right: 6px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #E74C3C;
            border: 2px solid var(--gold-mid);
        }

        /* Right side */
        .navbar-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-icon-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid #E8E8E8;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: #FFFFFF;
            color: #888;
            transition: all 0.2s;
        }

        .nav-icon-btn:hover {
            border-color: var(--gold-start);
            color: var(--gold-start);
        }

        .nav-user {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 4px 8px 4px 4px;
            border-radius: 24px;
            border: 1px solid #E8E8E8;
            background: #FFFFFF;
            transition: all 0.2s;
        }

        .nav-user:hover {
            border-color: #D0D0D0;
        }

        .avatar-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #F5ECD7, #E8D9A0);
            border: 2px solid var(--gold-mid);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            color: var(--gold-dark);
        }

        .avatar-name {
            font-size: 13px;
            font-weight: 600;
            color: var(--dark);
        }

        /* ========================================
           PAGE
           ======================================== */
        .page-container {
            max-width: 1120px;
            margin: 0 auto;
            padding: 44px 24px 100px;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 36px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .breadcrumb a { color: var(--text-muted); text-decoration: none; }
        .breadcrumb a:hover { color: var(--gold-start); }
        .breadcrumb .current { color: var(--text); font-weight: 500; }

        /* ========================================
           PAGE HEADER
           ======================================== */
        .page-header {
            text-align: center;
            margin-bottom: 52px;
        }

        /* PAIEMENT SECURISE — Blanc glacial premium avec reflet */
        .page-header .tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            /* Blanc glacial + subtle frost gradient */
            background: linear-gradient(180deg, #FFFFFF 0%, #F7F7F9 50%, #FFFFFF 100%);
            border: 1px solid #E0DFE3;
            color: #A09880;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 10px 24px;
            border-radius: 28px;
            margin-bottom: 20px;
            /* Reflet glacé */
            box-shadow:
                0 1px 3px rgba(0,0,0,0.04),
                0 4px 12px rgba(0,0,0,0.03),
                inset 0 1px 0 rgba(255,255,255,1),
                inset 0 -1px 0 rgba(0,0,0,0.02);
            /* Subtle glass effect */
            backdrop-filter: blur(4px);
            position: relative;
            overflow: hidden;
        }

        /* Reflet brillant en haut du badge */
        .page-header .tag::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
            border-radius: 28px 28px 0 0;
            pointer-events: none;
        }

        .page-header .tag svg {
            position: relative;
            z-index: 1;
        }

        .page-header .tag span {
            position: relative;
            z-index: 1;
        }

        .page-header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 40px;
            font-weight: 500;
            color: var(--dark);
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .page-header h1 em {
            font-style: italic;
            background: var(--gold-cta);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .page-header p {
            color: var(--text-secondary);
            font-size: 15px;
            max-width: 440px;
            margin: 0 auto;
        }

        /* ========================================
           GRID
           ======================================== */
        .payment-grid {
            display: grid;
            grid-template-columns: 1fr 420px;
            gap: 36px;
            align-items: start;
        }

        /* ========================================
           PAYMENT CARD
           ======================================== */
        .payment-card {
            background: #FFFFFF;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-xl);
            padding: 36px;
            box-shadow: var(--shadow-md);
        }

        .payment-card h2 { font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
        .payment-card .subtitle { font-size: 13.5px; color: var(--text-muted); margin-bottom: 28px; }

        /* TABS */
        .method-tabs { display: flex; gap: 14px; margin-bottom: 30px; }

        .method-tab {
            flex: 1; display: flex; align-items: center; gap: 14px;
            padding: 16px 18px; border: 2px solid var(--border);
            border-radius: var(--radius); cursor: pointer;
            background: #FFFFFF; transition: all 0.3s ease; position: relative;
        }

        .method-tab:hover { border-color: #ccc; }

        .method-tab.active {
            border-color: var(--gold-start);
            background: var(--gold-bg-subtle);
            box-shadow: 0 0 0 3px rgba(201,162,39,0.08);
        }

        .method-tab.active::before {
            content: ''; position: absolute; top: 10px; right: 10px;
            width: 20px; height: 20px; border-radius: 50%;
            background: var(--gold-gradient);
            box-shadow: 0 2px 6px rgba(201,162,39,0.3);
        }

        .method-tab.active::after {
            content: '\2713'; position: absolute; top: 12px; right: 14px;
            font-size: 11px; color: white; font-weight: 700; z-index: 1;
        }

        .tab-icon {
            width: 42px; height: 42px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 20px; background: #F7F7F7; border: 1px solid var(--border-light);
        }

        .method-tab.active .tab-icon { background: white; border-color: rgba(201,162,39,0.2); }
        .tab-label { font-size: 14px; font-weight: 600; color: var(--dark); }
        .tab-desc { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

        /* FORM */
        .form-section { margin-bottom: 26px; }

        .form-section-title {
            font-size: 11.5px; font-weight: 700; color: var(--text-muted);
            text-transform: uppercase; letter-spacing: 1.2px;
            margin-bottom: 14px; padding-bottom: 8px;
            border-bottom: 1px solid var(--border-light);
        }

        .form-group { margin-bottom: 14px; }
        .form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 5px; }
        .form-group .req { color: var(--red); }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

        .form-input {
            width: 100%; padding: 12px 14px;
            border: 1.5px solid var(--border); border-radius: 10px;
            font-size: 14px; font-family: inherit;
            color: var(--text); background: #FFFFFF;
            transition: all 0.2s; outline: none;
        }

        .form-input::placeholder { color: #c0c0c0; }
        .form-input:focus { border-color: var(--gold-start); box-shadow: 0 0 0 3px rgba(201,162,39,0.1); }

        .input-wrapper { position: relative; }

        .card-brands {
            display: flex; gap: 4px;
            position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
        }

        .card-brand {
            height: 22px; padding: 0 6px;
            border: 1px solid var(--border); border-radius: 3px;
            display: flex; align-items: center; justify-content: center;
            font-size: 8px; font-weight: 800; color: var(--text-secondary); background: white;
        }

        .sepa-notice {
            display: flex; align-items: flex-start; gap: 12px;
            padding: 14px 16px; border-radius: 10px;
            font-size: 12.5px; line-height: 1.5; margin-bottom: 20px;
        }

        .sepa-notice.info { background: var(--blue-info); border: 1px solid var(--blue-info-border); color: var(--blue-info-text); }
        .sepa-notice.warn { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
        .sepa-notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

        .stripe-badge {
            display: flex; align-items: center; justify-content: center;
            gap: 8px; margin-top: 16px; font-size: 11.5px; color: var(--text-muted);
        }

        .stripe-badge .stripe-logo { font-weight: 800; color: #635BFF; font-size: 14px; letter-spacing: -0.3px; }

        /* CTA */
        .cta-btn {
            width: 100%; padding: 17px 28px;
            background: var(--gold-cta); color: white; border: none;
            border-radius: var(--radius); font-size: 15.5px;
            font-weight: 700; font-family: inherit; cursor: pointer;
            transition: all 0.3s ease;
            display: flex; align-items: center; justify-content: center; gap: 10px;
            box-shadow: var(--shadow-gold); margin-top: 28px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
            position: relative; overflow: hidden;
        }

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

        .cta-btn:hover {
            background: var(--gold-gradient-hover);
            box-shadow: var(--shadow-gold-hover); transform: translateY(-2px);
        }

        .cta-btn:hover::before { left: 100%; }
        .cta-btn:active { transform: translateY(0); }
        .cta-btn svg { width: 18px; height: 18px; }

        .terms {
            text-align: center; font-size: 11.5px;
            color: var(--text-muted); margin-top: 16px; line-height: 1.7;
        }

        .terms a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }

        .security-row {
            display: flex; align-items: center; justify-content: center;
            gap: 24px; margin-top: 20px; padding-top: 20px;
            border-top: 1px solid var(--border-light);
        }

        .security-badge {
            display: flex; align-items: center; gap: 5px;
            font-size: 11px; color: var(--text-muted);
        }

        .security-badge svg { width: 13px; height: 13px; color: var(--olive); }

        /* ========================================
           SUMMARY CARD
           ======================================== */
        .summary-card {
            background: #FFFFFF;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 84px;
        }

        .summary-image { width: 100%; height: 180px; object-fit: cover; display: block; }
        .summary-body { padding: 28px; }

        .summary-body h2 {
            font-family: 'Playfair Display', serif;
            font-size: 20px; font-weight: 600; color: var(--dark);
            margin-bottom: 20px;
        }

        .plan-box {
            display: flex; align-items: center; gap: 16px;
            padding: 16px; background: var(--gold-bg-subtle);
            border: 1.5px solid rgba(201,162,39,0.25);
            border-radius: var(--radius); margin-bottom: 18px;
        }

        .plan-icon-box {
            width: 50px; height: 50px; border-radius: 12px;
            background: var(--gold-gradient);
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 12px rgba(201,162,39,0.3);
            position: relative; overflow: hidden;
        }

        .plan-icon-box::after {
            content: ''; position: absolute; top: -50%; left: -50%;
            width: 200%; height: 200%;
            background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
        }

        .plan-icon-box svg { position: relative; z-index: 1; }
        .plan-info h3 { font-size: 16px; font-weight: 700; color: var(--dark); }

        .plan-info .popular-badge {
            display: inline-block; background: var(--gold-gradient);
            color: white; font-size: 8.5px; font-weight: 800;
            padding: 2px 8px; border-radius: 4px;
            letter-spacing: 0.6px; text-transform: uppercase;
            margin-left: 6px; vertical-align: middle;
        }

        .plan-info > span { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

        .billing-toggle {
            display: flex; background: #F5F5F5;
            border: 1px solid var(--border); border-radius: 28px;
            padding: 3px; margin-bottom: 18px; width: fit-content;
        }

        .billing-opt {
            padding: 8px 20px; border-radius: 24px;
            font-size: 12.5px; font-weight: 600; cursor: pointer;
            border: none; background: none; font-family: inherit;
            color: var(--text-muted); transition: all 0.25s;
            display: flex; align-items: center; gap: 6px;
        }

        .billing-opt.active { background: var(--dark); color: white; }
        .billing-opt .disc { font-size: 10px; font-weight: 800; color: var(--gold-start); }
        .billing-opt.active .disc { color: var(--gold-shine); }

        .features { list-style: none; margin-bottom: 22px; }

        .features li {
            display: flex; align-items: center; gap: 10px;
            padding: 7px 0; font-size: 13px; color: var(--text);
        }

        .features .chk {
            width: 18px; height: 18px; border-radius: 50%;
            background: var(--olive-light);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }

        .features .chk svg { width: 10px; height: 10px; stroke: white; stroke-width: 3; fill: none; }

        .divider { border: none; border-top: 1px solid var(--border-light); margin: 16px 0; }

        .price-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; }
        .price-row .lbl { color: var(--text-muted); }
        .price-row .val { color: var(--text); font-weight: 500; }
        .price-row.total { font-size: 20px; font-weight: 800; color: var(--dark); padding-top: 10px; }
        .price-row.total small { font-size: 12px; font-weight: 400; color: var(--text-muted); }

        .savings-badge {
            display: flex; align-items: center; gap: 8px;
            background: var(--gold-bg); border: 1px solid rgba(201,162,39,0.2);
            color: var(--gold-dark); font-size: 12px; font-weight: 600;
            padding: 10px 14px; border-radius: 10px; margin-top: 14px;
        }

        .savings-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

        .guarantee {
            text-align: center; margin-top: 20px; padding: 18px;
            background: #FAFAFA; border-radius: var(--radius);
        }

        .guarantee h4 { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
        .guarantee p { font-size: 11.5px; color: var(--text-muted); }

        .panel { display: none; }
        .panel.active { display: block; }

        @media (max-width: 860px) {
            .payment-grid { grid-template-columns: 1fr; }
            .summary-card { position: static; order: -1; }
            .navbar { padding: 0 16px; }
            .nav-links { display: none; }
            .page-container { padding: 24px 16px 60px; }
            .page-header h1 { font-size: 30px; }
            .method-tabs { flex-direction: column; }
            .form-row { grid-template-columns: 1fr; }
        }
}
