/* =========================================================
   WIZZY DRAWS — PAGE OÙ NOUS TROUVER
   Design basé sur le template fourni
   ========================================================= */

:root {
    --wizzy-blue: #0867e8;
    --wizzy-dark: #10245b;
    --wizzy-yellow: #ffc400;
    --wizzy-light-blue: #f3f8ff;
    --wizzy-border: #e7eef8;
    --wizzy-text: #10245b;
    --wizzy-muted: #64748b;
}

/* =========================================================
   RESET
   ========================================================= */

.wd-page,
.wd-page * {
    box-sizing: border-box;
}

.wd-page {
    font-family: 'Poppins', sans-serif;
    color: var(--wizzy-text);
    background: #fff;
    overflow: hidden;
}

.wd-page img {
    max-width: 100%;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.wd-container {
   max-width:90%;
    margin: 0 auto;
}



/* =========================================================
   SECTION TITLES
   ========================================================= */

.wd-section {
    padding: 0 0 35px;
}

.wd-section-title {
    text-align: center;
    margin: 0 0 35px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--wizzy-dark);
}

.wd-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 5px;
    background: var(--wizzy-yellow);
    border-radius: 10px;
    margin: 13px auto 0;
}

/* =========================================================
   4 BENEFITS
   ========================================================= */

.wd-benefits-wrapper {
    background: #f4f8fd;
    border-radius: 28px;
    padding: 20px;
}

.wd-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.wd-benefit-card {
    background: #fff;
    border: 1px solid rgba(220,230,243,.7);
    border-radius: 18px;
    min-height: 270px;
    padding: 32px 22px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(16,36,91,.04);
}

.wd-benefit-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
}

.wd-benefit-icon.yellow {
    background: #fff1bd;
}

.wd-benefit-icon.blue {
    background: #dceaff;
}

.wd-benefit-icon.green {
    background: #ddf5d6;
}

.wd-benefit-icon.purple {
    background: #eee2ff;
}

.wd-benefit-title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--wizzy-dark);
    margin: 0;
}

.wd-small-line {
    width: 34px;
    height: 4px;
    border-radius: 20px;
    background: var(--wizzy-yellow);
    margin: 13px auto 15px;
}

.wd-benefit-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #17295b;
    margin: 0;
}

/* =========================================================
   4 ETAPES
   ========================================================= */

.wd-steps-section {
    padding: 28px 0 35px;
}

.wd-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 38px;
    position: relative;
}

.wd-step {
    position: relative;
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    min-height: 250px;
    padding: 55px 22px 25px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(16,36,91,.04);
}

.wd-step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--wizzy-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    border: 5px solid #fff;
    box-shadow: 0 4px 12px rgba(8,103,232,.15);
}

.wd-step-icon {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wizzy-blue);
    font-size: 42px;
    margin-bottom: 12px;
}

.wd-step-title {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--wizzy-dark);
    margin: 0;
}

.wd-step-line {
    width: 32px;
    height: 4px;
    border-radius: 10px;
    background: var(--wizzy-yellow);
    margin: 13px auto 14px;
}

.wd-step-text {
    font-size: 13px;
    line-height: 1.6;
    color: #17295b;
    margin: 0;
}

/* connecting line */


/* =========================================================
   CTA
   ========================================================= */

.wd-cta {
    margin: 10px 0 40px;
    padding: 24px 35px;
    min-height: 125px;
    border-radius: 22px;
    background: linear-gradient(110deg, #0d2d78 0%, #063c9c 50%, #075fd0 100%);
    display: flex;
    align-items: center;
    gap: 25px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(8,60,156,.18);
}

.wd-cta-rocket {
    width: 105px;
    min-width: 105px;
    text-align: center;
    font-size: 56px;
}

.wd-cta-content {
    flex: 1;
}

.wd-cta-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

.wd-cta-text {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.6;
}

.wd-cta-button {
    border: 0;
    background: var(--wizzy-yellow);
    color: #10245b;
    border-radius: 35px;
    padding: 15px 27px;
    min-width: 300px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: .2s ease;
}

.wd-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,196,0,.3);
}

/* =========================================================
   OU NOUS TROUVER
   ========================================================= */

.wd-location-section {
    padding: 0 0 45px;
}

.wd-location-title {
    text-align: center;
    font-size: 31px;
    font-weight: 800;
    color: var(--wizzy-dark);
    margin-bottom: 30px;
}

.wd-location-title::after {
    content: "";
    display: block;
    width: 45px;
    height: 5px;
    border-radius: 10px;
    background: var(--wizzy-yellow);
    margin: 12px auto 0;
}

.wd-location-intro {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
}

/* MAP */

.wd-map-card {
    height: 410px;
    border-radius: 25px;
    overflow: hidden;
    background: #edf5fb;
    position: relative;
    box-shadow: 0 5px 25px rgba(16,36,91,.07);
}

#pdv-map {
    width: 100%;
    height: 100%;
}

.pdv-map-loading {
    position: absolute;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: #eef6fc;
    color: #64748b;
    font-size: 13px;
}

/* RIGHT SIDE */

.wd-location-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wd-location-description {
    font-size: 15px;
    line-height: 1.6;
    color: #17295b;
    margin-bottom: 5px;
}

.wd-country-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 3px 14px rgba(16,36,91,.04);
}

.wd-country-bar {
    width: 4px;
    min-width: 4px;
    height: 48px;
    background: var(--wizzy-blue);
    border-radius: 10px;
}

.wd-country-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--wizzy-dark);
    margin: 0 0 3px;
}

.wd-country-text {
    font-size: 13px;
    line-height: 1.5;
    color: #17295b;
    margin: 0;
}

.wd-see-points {
    align-self: flex-start;
    border: 1.5px solid var(--wizzy-blue);
    border-radius: 30px;
    color: var(--wizzy-blue);
    background: #fff;
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================
   LISTE DES POINTS DE VENTE
   ========================================================= */

.wd-pdv-list-wrapper {
    margin-top: 22px;
   
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wd-pdv-list-wrapper .pdv-sidebar {
    width: 100%;
    
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    border: 1px solid #e8eef6;
}

.pdv-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #edf1f5;
}

.pdv-sidebar-header h5 {
    color: var(--wizzy-dark);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pdv-sidebar-header p {
    color: #94a3b8;
    font-size: 12px;
    margin: 0;
}

.pdv-filter-select {
    width: 100%;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 12px;
    background: #f8fafc;
    color: var(--wizzy-dark);
    font-size: 12px;
}

.pdv-list {
    overflow-y: auto;
    max-height: 290px;
    padding: 8px;
}

.pdv-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 13px;
    cursor: pointer;
    transition: .15s;
}

.pdv-item:hover {
    background: #f4f8ff;
}

.pdv-item.active {
    background: #eaf3ff;
}

.pdv-item-logo {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 10px;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pdv-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.pdv-item-info {
    min-width: 0;
}

.pdv-item-nom {
    color: var(--wizzy-dark);
    font-size: 13px;
    font-weight: 800;
}

.pdv-item-adresse {
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

.pdv-item-gouv {
    display: inline-block;
    background: #edf5ff;
    color: var(--wizzy-blue);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    margin-top: 4px;
}

.pdv-item-tel {
    color: var(--wizzy-blue);
    font-size: 10px;
    margin-top: 4px;
}

.pdv-item-nogps {
    color: #adb8c7;
    font-size: 9px;
    margin-top: 3px;
}

.pdv-empty {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

/* =========================================================
   MARKER
   ========================================================= */

.pdv-marker-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdv-marker-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.leaflet-popup-content-wrapper {
    border-radius: 14px;
}

.pdv-popup {
    font-family: 'Poppins', sans-serif;
    min-width: 190px;
}

.pdv-popup h6 {
    font-size: 13px;
    font-weight: 800;
    color: var(--wizzy-dark);
}

.pdv-popup p {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
}

.pdv-popup a {
    display: inline-block;
    background: var(--wizzy-blue);
    color: #fff;
    padding: 6px 13px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
   CONTACT
   ========================================================= */

.wd-contact-box {
    background: #f5f9ff;
    border: 1px solid #e5eef9;
    border-radius: 20px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.wd-contact-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wd-contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 2px solid var(--wizzy-blue);
    border-radius: 50%;
    color: var(--wizzy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.wd-contact-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--wizzy-dark);
    margin: 0 0 3px;
}

.wd-contact-text {
    font-size: 12px;
    color: #17295b;
    margin: 0;
}

.wd-contact-button {
    border: 1px solid #ffc400;
    border-radius: 30px;
    background: #ffc400;
    color: #fff;
    padding: 10px 23px;
    font-size: 12px;
    font-weight: 700;
}
.wd-contact-button:hover {
	color: #fff;
	background:#ffc400;
} 

/* =========================================================
   MODAL
   ========================================================= */

.pdv-modal-header {
    background: linear-gradient(135deg, #0b54c9, #0867e8);
    padding: 22px 26px;
    border-radius: 22px 22px 0 0;
}

.pdv-modal-header h5 {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    margin: 0;
}

.pdv-modal-header p {
    color: rgba(255,255,255,.8);
    font-size: 12px;
    margin: 4px 0 0;
}

.pdv-modal-header .btn-close {
    filter: invert(1) brightness(2);
}

.pdv-form-label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
    display: block;
}

.pdv-form-label .req {
    color: #ef4444;
}

.pdv-form-label .opt {
    font-size: 10px;
    font-weight: 400;
    color: #94A3B8;
    text-transform: none;
    letter-spacing: 0;
}

.pdv-form-control {
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--wizzy-dark);
    background: #F8FAFC;
    width: 100%;
}

.pdv-form-control:focus {
    outline: none;
    border-color: var(--wizzy-blue);
    box-shadow: 0 0 0 3px rgba(8,103,232,.1);
    background: #fff;
}

textarea.pdv-form-control {
    resize: vertical;
    min-height: 70px;
}

.pdv-info-banner {
    background: #edf5ff;
    border: 1px solid #cfe2ff;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    color: var(--wizzy-blue);
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
}

.pdv-success-state {
    text-align: center;
    padding: 30px 10px;
}

.pdv-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.pdv-success-state h5 {
    font-weight: 800;
    color: var(--wizzy-dark);
}

.pdv-success-state p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    max-width: 380px;
    margin: auto auto 22px;
}

.pdv-upload-zone {
    border: 2px dashed #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background: #F8FAFC;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdv-upload-preview {
    width: 100%;
    max-height: 110px;
    object-fit: contain;
    border-radius: 8px;
    display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .wd-benefits,
    .wd-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .wd-step:not(:last-child)::after,
    .wd-step:not(:last-child)::before {
        display: none;
    }

    .wd-location-intro {
        grid-template-columns: 1fr;
    }

    .wd-pdv-list-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .wd-hero {
        padding: 35px 0;
    }

    .wd-hero-title {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .wd-hero-description {
        font-size: 15px;
    }

    .wd-benefits,
    .wd-steps {
        grid-template-columns: 1fr;
    }

    .wd-benefit-card {
        min-height: auto;
    }

    .wd-cta {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .wd-cta-rocket {
        width: auto;
        min-width: auto;
    }

    .wd-cta-button {
        width: 100%;
        min-width: 0;
    }

    .wd-map-card {
        height: 350px;
    }

    .wd-contact-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .wd-contact-button {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .wd-container {
        width: 94%;
    }

    .wd-hero-title {
        font-size: 34px;
    }

    .wd-section-title,
    .wd-location-title {
        font-size: 27px;
    }

    .wd-benefits-wrapper {
        padding: 10px;
        border-radius: 20px;
    }

    .wd-cta-title {
        font-size: 18px;
    }
}
