/*--------------------------------------------------------------
  TABLE OF CONTENTS:
----------------------------------------------------------------

** - Utility
** - Common
** - Custom Cursor
** - Animations
** - Cards
** - Navigation
** - Home Showcase
** - Mobile Nav
** - Search Popup
** - Page Header
** - Main Slider
** - About
** - Services
** - ServiceS Details
** - Project
** - Project Details
** - Video
** - Funfact
** - Team
** - Team Details
** - Contact
** - Testimonial
** - Why Choose
** - Working Process
** - Blog
** - Blog List
** - Blog Standard
** - Blog Details
** - Feature
** - Pricing Plan
** - Faq
** - Gallery
** - History
** - Coming Soon
** - Products
** - Product Details
** - Cart
** - Checkout
** - Wishlist
** - Sign Up
** - Login
** - Privacy Policy
** - Error
** - Footer
** - Google Map

--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
        /* =============================================
           VARIABLES – copie fidèle du thème color-2.css
           ============================================= */
        :root {
            --thm-primary:       #0e2a5f;   /* bleu marine principal */
            /*--thm-secondary:     #f0a500;    orange/doré accent */
            --thm-secondary:     #d3224d;   /* rouge theme */            
            --thm-base:          #4f5e7a;   /* texte gris-bleu */
            --thm-black:         #14213d;
            --thm-white:         #ffffff;
            --thm-gray:          #f4f6fb;
            --thm-border:        #dde3ef;
            --thm-font:          'DM Sans', sans-serif;
            --thm-font-alt:      'Montserrat Alternates', sans-serif;
            --thm-radius:        8px;
            --thm-shadow:        0 10px 40px rgba(14,42,95,.10);
            --thm-shadow-lg:     0 20px 60px rgba(14,42,95,.16);

            --thm-bg-orange: rgba(26,26,26,.06);    
            --thm-shadow-orange: 0 4px 20px rgba(26,26,26,.18);

            --step-inactive:     #c5cdd9;
        }

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

        body {
            font-family: var(--thm-font);
            background: var(--thm-gray);
            color: var(--thm-black);
        }

        /* =============================================
           SECTION WRAPPER
           ============================================= */
        .rdv-section {
            padding: 80px 0 90px;
            background: var(--thm-gray);
            position: relative;
            overflow: hidden;
        }

        /* Décoration fond */
        /*
        .rdv-section::before {
            content: '';
            position: absolute;
            top: -120px; right: -120px;
            width: 380px; height: 380px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(240,165,0,.13) 0%, transparent 70%);
            pointer-events: none;
        }
        .rdv-section::after {
            content: '';
            position: absolute;
            bottom: -80px; left: -80px;
            width: 300px; height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(14,42,95,.08) 0%, transparent 70%);
            pointer-events: none;
        }
        */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        /* =============================================
           EN-TÊTE DE SECTION (style site)
           ============================================= */
        .section-title-box {
            text-align: center;
            margin-bottom: 20px;
        }
        .section-title-box .sub-title {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--thm-font-alt);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--thm-secondary);
            margin-bottom: 14px;
        }
        .section-title-box .sub-title::before,
        .section-title-box .sub-title::after {
            content: '';
            display: block;
            width: 36px; height: 2px;
            background: var(--thm-secondary);
            border-radius: 2px;
        }
        .section-title-box h2 {
            font-family: var(--thm-font-alt);
            font-size: clamp(26px, 3.5vw, 40px);
            font-weight: 800;
            color: var(--thm-primary);
            line-height: 1.22;            
        }
        .section-title-box h2 span {
            color: var(--thm-secondary);
        }
        .section-title-box p {
            color: var(--thm-base);
            font-size: 16px;
            line-height: 1.75;
            max-width: 900px;
            margin: 0 auto;
        }

        /* =============================================
           STEPPER PROGRESS
           ============================================= */
        .rdv-stepper {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 0;
            margin-bottom: 20px;
            position: relative;
        }

        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            flex: 1;
            max-width: 160px;
            position: relative;
            z-index: 1;
        }

        /* Ligne entre les steps */
        .step-item:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 18px;
            left: calc(42% + 30px);
            width: calc(100% - 35px);
            height: 2px;
            background: var(--step-inactive);
            transition: background .4s ease;
            z-index: 0;
        }
        
        .step-item.active:not(:last-child)::after {
            /*background: var(--thm-secondary);*/
        }

        .step-item.done:not(:last-child)::after {
            background: var(--thm-secondary);
        }

        .step-bubble {
            width: 36px; height: 36px;
            border-radius: 50%;
            border: 2px solid var(--step-inactive);
            background: var(--thm-white);
            display: flex; align-items: center; justify-content: center;
            font-family: var(--thm-font-alt);
            font-weight: 700;
            font-size: 16px;
            color: var(--step-inactive);
            transition: all .35s ease;
            position: relative;
            z-index: 2;
        }
        .step-item.done .step-bubble {
            background: var(--thm-secondary);
            border-color: var(--thm-secondary);
            color: var(--thm-white);
        }
        .step-item.active .step-bubble {
            background: var(--thm-primary);
            border-color: var(--thm-primary);
            color: var(--thm-white);
            box-shadow: 0 4px 20px rgba(14,42,95,.35);
        }
        .step-label {
            font-family: var(--thm-font-alt);
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .06em;
            color: var(--step-inactive);
            text-align: center;
            line-height: 1.3;
            transition: color .35s ease;
        }
        .step-item.done .step-label,
        .step-item.active .step-label {
            color: var(--thm-primary);
        }

        /* =============================================
           CARD FORMULAIRE
           ============================================= */
        .rdv-card {
            background: var(--thm-white);
            border-radius: 16px;
            box-shadow: var(--thm-shadow-lg);
            overflow: hidden;
            max-width: 820px;
            margin: 0 auto;
            position: relative;
        }

        /* Barre colorée en haut */
        .rdv-card::before {
            content: '';
            display: none;
            height: 5px;
            background: linear-gradient(90deg, var(--thm-primary) 0%, var(--thm-secondary) 100%);
        }

        .rdv-card-body {
            padding: 15px 20px 30px;
        }

        /* =============================================
           STEPS PANELS
           ============================================= */
        .step-panel {
            display: none;
            animation: fadeSlide .35s ease forwards;
        }
        .step-panel.active {
            display: block;
        }

        @keyframes fadeSlide {
            from { opacity: 0; transform: translateX(28px); }
            to   { opacity: 1; transform: translateX(0); }
        }

        .step-panel-title {
            font-family: var(--thm-font-alt);
            font-size: 20px;
            font-weight: 700;
            color: var(--thm-primary);
            margin-bottom: 6px;
        }
        .step-panel-subtitle {
            font-size: 14px;
            color: var(--thm-base);
            margin-bottom: 30px;
        }

        /* =============================================
           CHOIX EN CARTES (Step 1 & 2)
           ============================================= */
        .choices-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
            gap: 14px;
            margin-bottom: 8px;
        }

        .choice-card {
            border: 2px solid var(--thm-border);
            border-radius: var(--thm-radius);
            padding: 18px 14px 16px;
            text-align: center;
            cursor: pointer;
            transition: all .25s ease;
            background: var(--thm-white);
            position: relative;
            user-select: none;
        }
        .choice-card:hover {
            border-color: var(--thm-primary);
            background: rgba(14,42,95,.03);
            transform: translateY(-2px);
        }
        .choice-card.selected {
            border-color: var(--thm-secondary);
            background: var(--thm-bg-orange);
            box-shadow: var(--thm-shadow-orange);
        }
        .choice-card .check-mark {
            position: absolute;
            top: 8px; right: 8px;
            width: 20px; height: 20px;
            border-radius: 50%;
            background: var(--thm-secondary);
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: #fff;
        }
        .choice-card.selected .check-mark {
            display: flex;
        }
        .choice-card .choice-icon {
            font-size: 28px;
            color: var(--thm-primary);
            margin-bottom: 10px;
            transition: color .25s;
        }
        .choice-card.selected .choice-icon {
            color: var(--thm-secondary);
        }
        .choice-card .choice-label {
            font-family: var(--thm-font-alt);
            font-size: 13px;
            font-weight: 600;
            color: var(--thm-primary);
            line-height: 1.35;
        }

        /* =============================================
           CALENDRIER (Step 3)
           ============================================= */
        .cal-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
        }

        @media (max-width: 640px) {
            .cal-wrapper { grid-template-columns: 1fr; }
        }

        .cal-box {
            border: 1.5px solid var(--thm-border);
            border-radius: var(--thm-radius);
            padding: 20px;
        }
        .cal-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }
        .cal-nav button {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--thm-primary);
            font-size: 15px;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background .2s;
        }
        .cal-nav button:hover { background: var(--thm-gray); }
        .cal-month {
            font-family: var(--thm-font-alt);
            font-size: 15px;
            font-weight: 700;
            color: var(--thm-primary);
        }
        .cal-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            text-align: center;
        }
        .cal-day-name {
            font-size: 11px;
            font-weight: 700;
            color: var(--thm-base);
            text-transform: uppercase;
            letter-spacing: .05em;
            padding: 4px 0;
        }
        .cal-day {
            aspect-ratio: 1;
            display: flex; align-items: center; justify-content: center;
            font-size: 13px;
            border-radius: 50%;
            cursor: pointer;
            transition: all .2s;
            color: var(--thm-black);
        }
        .cal-day:hover:not(.empty):not(.disabled) {
            background: rgba(14,42,95,.08);
        }
        .cal-day.selected {
            background: var(--thm-secondary);
            color: #fff;
            font-weight: 700;
        }
        .cal-day.today:not(.selected) {
            background: rgba(240,165,0,.15);
            color: var(--thm-secondary);
            font-weight: 700;
        }
        .cal-day.disabled {
            color: var(--step-inactive);
            cursor: default;
        }
        .cal-day.empty { cursor: default; }

        /* Créneaux horaires */
        .slots-box h4 {
            font-family: var(--thm-font-alt);
            font-size: 14px;
            font-weight: 700;
            color: var(--thm-primary);
            margin-bottom: 14px;
        }
        .slots-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }
        .slot {
            border: 1.5px solid var(--thm-border);
            border-radius: 6px;
            padding: 8px 4px;
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--thm-primary);
            cursor: pointer;
            transition: all .2s;
        }
        .slot:hover { border-color: var(--thm-primary); background: rgba(14,42,95,.04); }
        .slot.selected {
            background: var(--thm-secondary);
            border-color: var(--thm-secondary);
            color: #fff;
        }
        .slot.full {
            opacity: .4;
            cursor: not-allowed;
            text-decoration: line-through;
        }
        .slot-note {
            font-size: 12px;
            color: var(--thm-base);
            margin-top: 12px;
        }

        /* =============================================
           FORMULAIRE COORDONNÉES (Step 4)
           ============================================= */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-bottom: 18px;
        }
        .form-row.full { grid-template-columns: 1fr; }

        @media (max-width: 580px) {
            .form-row { grid-template-columns: 1fr; }
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .form-group label {
            font-family: var(--thm-font-alt);
            font-size: 12px;
            line-height: 16px;
            font-weight: 600;
            /*text-transform: uppercase;*/
            letter-spacing: .07em;
            color: var(--thm-primary);
        }

        .form-group label.error {
            font-family: var(--thm-font);
            color: var(--thm-secondary);
            margin-top: 0px;
            line-height: 10px;
        }        

        .form-group label span.req { color: var(--thm-secondary); margin-left: 2px; }
        .form-group input,
        .form-group select,
        .form-group textarea {
            border: 1.5px solid var(--thm-border);
            border-radius: var(--thm-radius);
            padding: 10px 10px;
            font-family: var(--thm-font);
            font-size: 14px;
            color: var(--thm-black);
            outline: none;
            transition: border .2s;
            background: var(--thm-gray);
        }
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--thm-primary);
            box-shadow: 0 0 0 3px rgba(14,42,95,.08);
        }
        .form-group textarea {
            min-height: 90px;
            resize: vertical;
        }

        /* =============================================
           RÉCAPITULATIF (Step 5)
           ============================================= */
        .recap-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-bottom: 22px;
        }
        @media (max-width: 580px) { .recap-grid { grid-template-columns: 1fr; } }

        .recap-item {
            background: var(--thm-gray);
            border-radius: var(--thm-radius);
            padding: 16px 18px;
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }
        .recap-item .ri-icon {
            width: 36px; height: 36px; flex-shrink: 0;
            background: var(--thm-primary);
            color: #fff;
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-size: 14px;
        }
        .recap-item .ri-content .ri-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .07em;
            color: var(--thm-base);
            margin-bottom: 3px;
        }
        .recap-item .ri-content .ri-value {
            font-family: var(--thm-font-alt);
            font-size: 14px;
            font-weight: 600;
            color: var(--thm-primary);
        }
        .recap-notice {
            background: rgba(240,165,0,.10);
            border-left: 4px solid var(--thm-secondary);
            border-radius: 0 var(--thm-radius) var(--thm-radius) 0;
            padding: 14px 18px;
            font-size: 13.5px;
            color: var(--thm-base);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        /* CONFIRMATION */
        .confirm-box {
            text-align: center;
            padding: 20px 0 10px;
        }
        .confirm-box .confirm-icon {
            width: 72px; height: 72px;
            border-radius: 50%;
            /*background: linear-gradient(135deg, #27ae60, #2ecc71); */
            background: linear-gradient(135deg, var(--thm-primary), #1f468f);
            color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 30px;
            margin: 0 auto 22px;
            box-shadow: 0 8px 24px rgba(31,70,143,.30); 
        }
        .confirm-box h3 {
            font-family: var(--thm-font-alt);
            font-size: 24px;
            font-weight: 800;
            color: var(--thm-primary);
            margin-bottom: 12px;
        }
        .confirm-box p {
            color: var(--thm-base);
            font-size: 15px;
            line-height: 1.7;
            max-width: 440px;
            margin: 0 auto 28px;
        }

        /* =============================================
           BOUTONS NAVIGATION
           ============================================= */
        .btn-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 32px;
            gap: 12px;
        }
        .btn-row.center { justify-content: center; }

        /* Bouton style "thm-btn" du site */
        .thm-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--thm-primary);
            color: #fff;
            font-family: var(--thm-font-alt);
            font-size: 14px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            padding: 14px 30px;
            border-radius: 40px;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: all .3s ease;
            position: relative;
            overflow: hidden;
        }
        .thm-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--thm-secondary);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform .35s ease;
            border-radius: inherit;
            z-index: 0;
        }
        .thm-btn:hover::before { transform: scaleX(1); transform-origin: left; }
        .thm-btn > * { position: relative; z-index: 1; }
        .thm-btn span.fas { font-size: 12px; }

        .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: 2px solid var(--thm-border);
            border-radius: 40px;
            padding: 12px 24px;
            font-family: var(--thm-font-alt);
            font-size: 13px;
            font-weight: 600;
            color: var(--thm-base);
            cursor: pointer;
            transition: all .25s ease;
        }
        .btn-back:hover {
            border-color: var(--thm-primary);
            color: var(--thm-primary);
        }

        .btn-submit {
            background: var(--thm-secondary) !important;
        }
        .btn-submit::before { background: var(--thm-primary) !important; }

        /* =============================================
           RESPONSIVE
           ============================================= */
        @media (max-width: 768px) {
            .rdv-card-body { padding: 28px 22px 36px; }
            .rdv-stepper { gap: 0; }
            .step-label { font-size: 10px; }
            .step-bubble { width: 36px; height: 36px; font-size: 13px; }
            .step-item:not(:last-child)::after { top: 17px; }
        }
        @media (max-width: 500px) {
            .step-label { display: none; }
            .choices-grid { grid-template-columns: repeat(2, 1fr); }
        }



/*--------------------------------------------------------------
# End All Css
--------------------------------------------------------------*/