/* ====================================
   MENU ACTIF
   ==================================== */

   .menu-active {
    background: #147a83;
    color: white !important;
    border-radius: 6px 6px 0 0;
    padding: 15px 20px !important;
}


/* ====================================
   HERO LOCATION (MOBILE)
   ==================================== */

.location-page-hero {
    background: #ffffff;
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Demi-cercle bleu/violet haut droite */
.location-page-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: #7b7fc4;
    border-radius: 50%;
    opacity: 0.85;
}

/* Demi-cercle gris bas gauche */
.location-page-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: #b5bfc2;
    border-radius: 50%;
    opacity: 0.6;
}

.location-hero-content {
    position: relative;
    z-index: 1;
}

.location-hero-content h1 {
    font-family: "Saira", sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #0d1f24;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 16px;
}

.location-hero-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

@media (min-width: 768px) {

    .location-page-hero {
        padding: 120px 20px;
    }

    .location-hero-content h1 {
        font-size: 72px;
    }

    .location-page-hero::before {
        width: 280px;
        height: 280px;
        top: -80px;
        right: -80px;
    }

    .location-page-hero::after {
        width: 260px;
        height: 260px;
        bottom: -70px;
        left: -70px;
    }
}

@media (min-width: 1024px) {

    .location-page-hero {
        padding: 190px 20px;
    }

    .location-hero-content h1 {
        font-size: 100px;
    }

    .location-page-hero::before {
        width: 340px;
        height: 340px;
        top: -80px;
        right: -60px;
    }

    .location-page-hero::after {
        width: 320px;
        height: 320px;
        bottom: -80px;
        left: -80px;
    }
}


/* ====================================
   CARTES TYPE DE LOCATION (MOBILE)
   ==================================== */

.location-types {
    background: #ffffff;
    padding: 40px 20px;
}

.location-types-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: auto;
}

.location-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;
    color: #0d1f24;
    border: 2px solid #147a83;
    transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.location-card:hover {
    background-color: #f0fafb;
    border-color: #0d1f24;
    box-shadow: 0 6px 20px rgba(20, 122, 131, 0.15);
    transform: translateY(-2px);
}

.location-card.active {
    background-color: #147a83;
    border-color: #147a83;
    color: white;
    box-shadow: 0 8px 28px rgba(20, 122, 131, 0.25);
}

.location-card-text h3 {
    font-family: "Saira", sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.location-card-text p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
}

.location-card-arrow {
    width: 44px;
    height: 44px;
    background: #147a83;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    transition: background-color 0.2s;
}

.location-card:hover .location-card-arrow {
    background: #0f5f66;
}

.location-card.active .location-card-arrow {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

@media (min-width: 768px) {
    .location-types {
        padding: 50px 40px;
    }

    .location-types-grid {
        flex-direction: row;
    }

    .location-card {
        flex: 1;
    }

    .location-card-text h3 {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .location-types {
        padding: 60px 60px;
    }

    .location-card-text h3 {
        font-size: 22px;
    }

    .location-card-text p {
        font-size: 14px;
    }
}


/* ====================================
   FORMULAIRE MULTI-ÉTAPES (MOBILE)
   ==================================== */

.location-steps-wrapper {
    background: #ffffff;
    padding: 40px 20px 60px;
    display: none;
}

.location-steps-wrapper.visible {
    display: block;
}

.location-steps-inner {
    max-width: 860px;
    margin: auto;
}

/* STEPPER */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Saira", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #bbb;
    transition: 0.3s, border-color 0.3s, color 0.3s;
}

.step-label {
    font-size: 10px;
    color: #aaa;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 1.3;
    max-width: 60px;
    transition: color 0.3s;
}

.step.active .step-circle {
    background: #147a83;
    border-color: #147a83;
    color: white;
}

.step.active .step-label {
    color: #147a83;
}

.step.done .step-circle {
    background: #e0f4f5;
    border-color: #147a83;
    color: #147a83;
}

.step.done .step-label {
    color: #147a83;
}

/* CONTENUS DES ÉTAPES */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-content-title {
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1f24;
    margin-bottom: 24px;
    text-align: center;
}

.step-content-subtitle {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: -16px;
    margin-bottom: 24px;
}

/* CHAMPS FORMULAIRE */
.step-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.step-form input,
.step-form select,
.step-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.step-form input:focus,
.step-form select:focus {
    border-color: #147a83;
}

.step-form input::placeholder {
    color: #aaa;
}

.step-form select {
    color: #aaa;
    cursor: pointer;
}

.step-form select.filled {
    color: #333;
}

/* BOUTON SUIVANT */
.btn-suivant {
    display: block;
    margin: 28px auto 0;
    padding: 14px 50px;
    background: #147a83;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-suivant:hover {
    background-color: #0f5f66;
}

/* BOUTON RETOUR */
.btn-retour {
    display: block;
    margin: 12px auto 0;
    padding: 10px 40px;
    background: transparent;
    color: #999;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-retour:hover {
    border-color: #147a83;
    color: #147a83;
}

/* BOUTON VALIDER */
.btn-valider {
    display: block;
    margin: 28px auto 0;
    padding: 14px 50px;
    background: #0d1f24;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-valider:hover {
    background: #1a3d47;
}

@media (min-width: 768px) {
    .location-steps-wrapper {
        padding: 50px 40px 70px;
    }

    .step-form-row {
        grid-template-columns: 1fr 1fr;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-label {
        font-size: 11px;
        max-width: 80px;
    }

    .stepper::before {
        top: 20px;
    }
}

@media (min-width: 1024px) {
    .location-steps-wrapper {
        padding: 60px 60px 80px;
    }

    .step-content-title {
        font-size: 24px;
    }
}


/* ====================================
   ÉTAPE 2 — TROTTINETTES DISPONIBLES
   ==================================== */

.location-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.location-product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.location-product-item:hover {
    border-color: #147a83;
    box-shadow: 0 4px 16px rgba(20, 122, 131, 0.1);
}

.location-product-item.selected {
    border-color: #147a83;
    background: #f0fafb;
}

.location-product-img {
    width: 80px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 6px;
}

.location-product-info {
    flex: 1;
}

.location-product-info h4 {
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.location-product-info .lp-brand {
    font-size: 12px;
    font-weight: 600;
    color: #147a83;
    margin-bottom: 6px;
    display: block;
}

.location-product-info .lp-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 11px;
    color: #555;
}

.location-product-info .lp-specs i {
    color: #147a83;
    margin-right: 3px;
}

.location-product-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.lp-price {
    font-family: "Saira", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0d1f24;
    white-space: nowrap;
}

.lp-price-label {
    font-size: 11px;
    color: #888;
}

.btn-selectionner {
    background: #147a83;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-selectionner:hover {
    background: #0f5f66;
}

.btn-selectionner.selected-btn {
    background: #0d1f24;
}

.location-product-stock {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.location-product-stock .sd {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

.location-product-stock.unavail .sd {
    background: #ef4444;
}

.location-product-stock {
    color: #22c55e;
}

.location-product-stock.unavail {
    color: #ef4444;
}

/* DÉPÔT / DURÉE info dans étape 2 */
.location-product-extra {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: #666;
}


/* ====================================
   ÉTAPE 3 — SÉLECTION QUANTITÉ
   ==================================== */

.step3-recap {
    border: 2px solid #147a83;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.step3-recap-img {
    width: 80px;
    height: 70px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 6px;
    flex-shrink: 0;
}

.step3-recap-info {
    flex: 1;
}

.step3-recap-info h4 {
    font-family: "Saira", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.step3-recap-info .s3-brand {
    font-size: 13px;
    font-weight: 600;
    color: #147a83;
}

.step3-duration-box {
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step3-duration-box .dur-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #444;
}

.step3-duration-box .dur-row strong {
    color: #0d1f24;
}

.step3-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.step3-qty-label {
    font-family: "Saira", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0d1f24;
}

.step3-qty-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.step3-qty-btn {
    background: none;
    border: none;
    padding: 8px 14px;
    font-size: 18px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    transition: background 0.15s;
}

.step3-qty-btn:hover {
    background: #f0f0f0;
}

.step3-qty-val {
    font-family: "Saira", sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 18px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    min-width: 50px;
    text-align: center;
    color: #0d1f24;
}

.step3-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.step3-total-label {
    font-family: "Saira", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0d1f24;
}

.step3-total-price {
    font-family: "Saira", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #147a83;
}


/* ====================================
   ÉTAPE 4 — INFOS PERSONNELLES
   ==================================== */

.step4-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .step4-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.step4-full {
    grid-column: 1 / -1;
}


/* ====================================
   ÉTAPE 5 — PAIEMENT
   ==================================== */

.step5-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fafb;
    border: 1.5px solid #147a83;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #147a83;
    font-weight: 600;
}

.step5-secure-note i {
    font-size: 16px;
}

.step5-card-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step5-expiry-cvv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.step5-payment-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.step5-payment-logos span {
    font-size: 12px;
    color: #888;
}

.payment-logo {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
}


/* ====================================
   SECTION "UNE QUESTION ?" (MOBILE)
   — visible uniquement sans étape active
   ==================================== */

.location-contact-section {
    background: #f5f5f5;
    padding: 40px 20px 60px;
}

.location-contact-inner {
    max-width: 760px;
    margin: auto;
}

.location-contact-section h2 {
    font-family: "Saira", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #147a83;
    text-align: center;
    margin-bottom: 28px;
}

.loc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loc-contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.loc-contact-form input,
.loc-contact-form select,
.loc-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.loc-contact-form input:focus,
.loc-contact-form select:focus,
.loc-contact-form textarea:focus {
    border-color: #147a83;
}

.loc-contact-form input::placeholder,
.loc-contact-form textarea::placeholder {
    color: #aaa;
}

.loc-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-envoyer-loc {
    display: block;
    margin: 10px auto 0;
    padding: 14px 50px;
    background: #b5bfc2;
    color: #0d1f24;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s, color 0.2s;
}

.btn-envoyer-loc:hover {
    background: #147a83;
    color: white;
}

@media (min-width: 768px) {
    .location-contact-section {
        padding: 50px 40px 70px;
    }

    .loc-contact-row {
        grid-template-columns: 1fr 1fr;
    }

    .location-contact-section h2 {
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    .location-contact-section {
        padding: 60px 60px 80px;
    }

    .location-contact-section h2 {
        font-size: 34px;
    }
}

/* ====================================
   CONTACT FORM 7 – STYLES
   ==================================== */

.wpcf7 {
    max-width: 700px;
    margin: 0 auto;
}

.wpcf7 .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #0d1f24;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #147a83;
}

.wpcf7 select {
    width: 100%;
    margin-bottom: 16px;
    cursor: pointer;
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
    margin-bottom: 16px;
}

.wpcf7 .cf7-rgpd {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.5;
}

.wpcf7 .cf7-rgpd a {
    color: #147a83;
}

.wpcf7 input[type="submit"] {
    background: #147a83;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 40px;
    font-family: "Saira", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.wpcf7 input[type="submit"]:hover {
    background: #0f5f66;
}

.wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .wpcf7 .cf7-row {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   RGPD CHECKBOX
   ==================================== */

.rgpd-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    cursor: pointer;
}

.rgpd-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #147a83;
    margin-top: 2px;
}

.rgpd-check span {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.rgpd-check a {
    color: #147a83;
    text-decoration: underline;
}