/* =========================================================
   WIZZY DRAWS
   PAGE PARTENARIATS
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.wizzy-partnerships {
    --wizzy-blue: #061B5C;
    --wizzy-blue-light: #0D5FE8;
    --wizzy-yellow: #FFC400;
    --wizzy-light-bg: #EEF5FF;
    --wizzy-text: #071B54;
    --wizzy-white: #FFFFFF;
}


/* =========================================================
   CONTAINER
========================================================= */

.wizzy-partnership-container {
    width: 90%;
    align-items: start;
    margin: 0 auto;
    display: grid;
}


/* =========================================================
   BOUTON JAUNE
========================================================= */

.wizzy-yellow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    min-width: 285px;
    height: 56px;

    margin-top: 30px;
    padding: 0 30px;

    background: #FFC400;
    color: #071B54;

    border-radius: 35px;

    text-decoration: none;

    font-size: 18px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.wizzy-yellow-button:hover {
    color: #071B54;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   FLECHES
========================================================= */

.wizzy-button-arrow {
    font-size: 34px;
    line-height: 1;
    font-weight: 300;

    transition: transform 0.25s ease;
}

.wizzy-yellow-button:hover .wizzy-button-arrow,
.wizzy-outline-button:hover .wizzy-button-arrow,
.wizzy-partner-button:hover .wizzy-partner-button-arrow,
.wizzy-cta-button:hover .wizzy-button-arrow {
    transform: translateX(6px);
}


/* =========================================================
   SECTION PROJETS
========================================================= */

.wizzy-projects-section {
    padding: 30px 0 25px;
}


/* =========================================================
   TITRES DE SECTIONS
========================================================= */

.wizzy-section-heading {
    text-align: center;
    margin-bottom: 24px;
}

.wizzy-section-heading h2 {
    margin: 0;

    color: #071B54;

    font-size: clamp(30px, 3vw, 39px);
    line-height: 1.2;
    font-weight: 800;
}

.wizzy-section-yellow-line {
    width: 62px;
    height: 5px;

    margin: 12px auto 0;

    background: #FFC400;
    border-radius: 20px;
}


/* =========================================================
   GRILLE PROJETS
========================================================= */

.wizzy-projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    width: 100%;
}


/* =========================================================
   CARTE PROJET
========================================================= */

.wizzy-project-card {
    overflow: hidden;

    background: #FFFFFF;

    border-radius: 18px;

    box-shadow:
        0 4px 15px rgba(9, 32, 82, 0.09);

    border: 1px solid rgba(9, 32, 82, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.wizzy-project-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(9, 32, 82, 0.13);
}


/* =========================================================
   IMAGE PROJET
========================================================= */

.wizzy-project-image {
    width: 100%;
    height: 230px;

    overflow: hidden;
}

.wizzy-project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.wizzy-project-card:hover .wizzy-project-image img {
    transform: scale(1.04);
}


/* =========================================================
   CONTENU CARTE
========================================================= */

.wizzy-project-content {
    padding: 22px 22px 23px;
}

.wizzy-project-content h3 {
    margin: 0;

    color: #071B54;

    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   PETITE LIGNE BLEUE
========================================================= */

.wizzy-project-blue-line {
    width: 34px;
    height: 3px;

    margin: 13px 0 15px;

    background: #0D5FE8;
}


/* =========================================================
   DESCRIPTION PROJET
========================================================= */

.wizzy-project-content p {
    min-height: 60px;

    margin: 0;

    color: #13285D;

    font-size: 15px;
    line-height: 1.55;
}


/* =========================================================
   BOUTON VOIR PLUS
========================================================= */

.wizzy-outline-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    width: 164px;
    height: 46px;

    margin: 21px auto 0;

    color: #0962DD;

    border: 1.5px solid #0962DD;
    border-radius: 30px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.wizzy-outline-button .wizzy-button-arrow {
    font-size: 28px;
}

.wizzy-outline-button:hover {
    background: #0962DD;
    color: #FFFFFF;

    transform: translateY(-2px);
}


/* =========================================================
   INDICATEURS SLIDER
========================================================= */

.wizzy-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin-top: 27px;
}

.wizzy-slider-dot {
    display: block;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #B8D1F6;
}

.wizzy-slider-dot.active {
    width: 25px;

    border-radius: 10px;

    background: #0962DD;
}


/* =========================================================
   SECTION PARTENAIRES
========================================================= */

.wizzy-partners-section {
      margin: 0 auto 20px;

    padding: 30px 20px 28px;

    background: #EEF5FF;

    border-radius: 30px;
}


/* =========================================================
   TITRE PARTENAIRES
========================================================= */

.wizzy-partners-section .wizzy-section-heading {
    margin-bottom: 21px;
}

.wizzy-partners-section .wizzy-section-heading h2 {
    font-size: clamp(30px, 3vw, 37px);
}


/* =========================================================
   TEXTE INTRO PARTENAIRES
========================================================= */

.wizzy-partners-intro {
    margin: 9px auto 0;

    color: #071B54;

    font-size: 17px;
    line-height: 1.5;
}


/* =========================================================
   LOGOS PARTENAIRES
========================================================= */

.wizzy-partners-logos {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 18px;



    margin: 20px auto 18px;
}

.wizzy-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 200px;

    padding: 15px;

    background: #FFFFFF;

    border-radius: 15px;

    overflow: hidden;
}

.wizzy-partner-logo img {
    display: block;

    width: auto;
    max-width: 100%;


    object-fit: cover;
}


/* =========================================================
   BOUTON DEVENIR PARTENAIRE
========================================================= */

.wizzy-partner-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: 300px;
    height: 51px;

    margin: 19px auto 0;

    color: white;

    background-color: #fd9001;

    border: 1.5px solid #fd9001;

    border-radius: 30px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

    cursor: pointer;
}

.wizzy-partner-button:hover {
    background: white;
    color: #fd9001;

    transform: translateY(-2px);
}

.wizzy-partner-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizzy-partner-button-arrow {
    font-size: 30px;
    line-height: 1;

    transition: transform 0.25s ease;
}


/* =========================================================
   TEXTE SOUS BOUTON PARTENAIRE
========================================================= */

.wizzy-partner-bottom-text {
    margin: 10px auto 0;

    text-align: center;

    color: #071B54;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   CTA FINAL
========================================================= */

.wizzy-partnership-cta {
    width: 96%;

    margin: 0 auto 30px;

    background: #061B5C;

    border-radius: 28px;

    overflow: hidden;
}

.wizzy-cta-inner {
    display: flex;
    align-items: center;

    min-height: 110px;

    padding: 18px 35px;
}


/* =========================================================
   ICONE CTA
========================================================= */

.wizzy-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 62px;
    height: 62px;

    margin-right: 22px;

    background: #FFC400;

    border-radius: 50%;

    color: #061B5C;
}


/* =========================================================
   TEXTE CTA
========================================================= */

.wizzy-cta-text {
    flex: 1;
}

.wizzy-cta-text h2 {
    margin: 0 0 5px;

    color: #FFFFFF;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.wizzy-cta-text p {
    margin: 0;

    color: #FFFFFF;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   BOUTON CTA
========================================================= */

.wizzy-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    flex: 0 0 auto;

    width: 230px;
    height: 51px;

    margin-left: 25px;

    background: #fd9001;
    color: white;

    border-radius: 30px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.wizzy-cta-button:hover {
    color: #fd9001;
background: white;
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.15);
}

.wizzy-cta-button .wizzy-button-arrow {
    font-size: 30px;
}


/* =========================================================
   MODAL DEMANDE DE PARTENARIAT
========================================================= */

.wizzy-partner-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.wizzy-partner-modal .modal-header {
    align-items: flex-start;
    padding: 26px 28px 18px;
    background: #061B5C;
    border-bottom: none;
}

.wizzy-partner-modal .modal-title {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.wizzy-modal-subtitle {
    margin: 0;
    color: #C9D6F5;
    font-size: 14px;
    line-height: 1.4;
}

.wizzy-partner-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    margin-top: 4px;
}

.wizzy-partner-modal .modal-body {
    padding: 26px 28px 10px;
}

.wizzy-partner-modal .form-label {
    color: #071B54;
    font-weight: 600;
    font-size: 14px;
}

.wizzy-partner-modal .form-control {
    border-radius: 10px;
    border: 1.5px solid #DCE6F7;
    padding: 10px 14px;
    font-size: 15px;
}

.wizzy-partner-modal .form-control:focus {
    border-color: #0D5FE8;
    box-shadow: 0 0 0 3px rgba(13, 95, 232, 0.12);
}

.wizzy-partner-modal .form-control.is-invalid {
    border-color: #dc3545;
}

.wizzy-modal-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

.wizzy-partner-modal .modal-footer {
    padding: 18px 28px 26px;
    border-top: none;
    gap: 10px;
}

.wizzy-modal-btn-cancel {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1.5px solid #DCE6F7;
    color: #071B54;
    font-weight: 700;
    background: transparent;
}

.wizzy-modal-btn-cancel:hover {
    background: #EEF5FF;
}

.wizzy-modal-btn-submit {
    padding: 10px 26px;
    border-radius: 30px;
    border: 1.5px solid #DCE6F7;
    background: orange!important;
    color: white;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wizzy-modal-btn-submit:hover {
    background: #FFC400;
    color: #071B54;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 1100px) {

    .wizzy-partnership-main-title {
        font-size: 50px;
    }

    .wizzy-partnership-hero-text {
        font-size: 18px;
    }

    .wizzy-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wizzy-partners-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .wizzy-cta-inner {
        padding: 22px 28px;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 767px) {

    .desktop-only {
        display: none;
    }


    /* HERO */

    .wizzy-partnership-hero {
        width: 94%;
        margin-top: 15px;
        border-radius: 22px;
    }

    .wizzy-partnership-hero-inner {
        padding: 40px 18px 32px;
    }

    .wizzy-partnership-main-title {
        font-size: 36px;
        letter-spacing: 0;
    }

    .wizzy-partnership-yellow-line {
        width: 65px;
        height: 5px;

        margin: 18px auto 20px;
    }

    .wizzy-partnership-hero-text {
        font-size: 16px;
        line-height: 1.55;
    }

    .wizzy-partnership-second-text {
        margin-top: 17px;
    }

    .wizzy-yellow-button {
        width: 100%;
        max-width: 285px;

        height: 52px;

        margin-top: 25px;

        font-size: 16px;
    }


    /* SECTIONS */

    .wizzy-projects-section {
        padding: 25px 0 20px;
    }

    .wizzy-section-heading {
        margin-bottom: 20px;
    }

    .wizzy-section-heading h2 {
        font-size: 27px;
    }

    .wizzy-section-yellow-line {
        width: 55px;
        height: 4px;
    }


    /* PROJETS */

    .wizzy-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wizzy-project-image {
        height: 220px;
    }

    .wizzy-project-content {
        padding: 20px;
    }

    .wizzy-project-content h3 {
        font-size: 18px;
    }

    .wizzy-project-content p {
        min-height: auto;
    }


    /* PARTENAIRES */

    .wizzy-partners-section {
        width: 94%;

        padding: 28px 15px 25px;

        border-radius: 22px;
    }

    .wizzy-partners-section .wizzy-section-heading h2 {
        font-size: 28px;
    }

    .wizzy-partners-intro {
        font-size: 15px;
    }

    .wizzy-partners-logos {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

        margin-top: 20px;
    }

    .wizzy-partner-logo {
        height: 105px;
        padding: 10px;
        border-radius: 12px;
    }

    .wizzy-partner-logo img {
        height: 78px;
    }

    .wizzy-partner-button {
        width: 100%;
        max-width: 300px;
    }

    .wizzy-partner-bottom-text {
        font-size: 13px;
    }


    /* CTA */

    .wizzy-partnership-cta {
        width: 94%;
        margin-bottom: 20px;

        border-radius: 22px;
    }

    .wizzy-cta-inner {
        display: grid;

        grid-template-columns: auto 1fr;

        gap: 15px;

        padding: 20px;
    }

    .wizzy-cta-icon {
        width: 52px;
        height: 52px;

        margin: 0;
    }

    .wizzy-cta-icon svg {
        width: 31px;
        height: 31px;
    }

    .wizzy-cta-text h2 {
        font-size: 21px;
    }

    .wizzy-cta-text p {
        font-size: 14px;
    }

    .wizzy-cta-button {
        grid-column: 1 / -1;

        width: 100%;

        margin: 5px 0 0;
    }


    /* MODAL */

    .wizzy-partner-modal .modal-header,
    .wizzy-partner-modal .modal-body,
    .wizzy-partner-modal .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wizzy-partner-modal .modal-footer {
        flex-direction: column-reverse;
    }

    .wizzy-modal-btn-cancel,
    .wizzy-modal-btn-submit {
        width: 100%;
    }

}


/* =========================================================
   PETIT MOBILE
========================================================= */

@media (max-width: 430px) {

    .wizzy-partnership-main-title {
        font-size: 31px;
    }

    .wizzy-partnership-hero-text {
        font-size: 15px;
    }

    .wizzy-section-heading h2 {
        font-size: 24px;
    }

    .wizzy-project-image {
        height: 200px;
    }

    .wizzy-project-content {
        padding: 18px;
    }

    .wizzy-partner-logo {
        height: 95px;
    }

    .wizzy-partner-logo img {
        height: 70px;
    }

}

/* =========================================================
   PAGE DÉTAIL PROJET DE PARTENARIAT
========================================================= */

.wz-projetpart-page {
    padding: 40px 0 60px;
}

.wz-projetpart-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.wz-projetpart-header {
    margin-bottom: 25px;
}

.wz-projetpart-title {
    color: #071B54;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.wz-projetpart-intro {
    color: #13285D;
    font-size: 17px;
    line-height: 1.6;
    margin-top: 15px;
}

.wz-projetpart-image {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 30px;
}

.wz-projetpart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wz-projetpart-content {
    color: #13285D;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 35px;
}

.wz-projetpart-content p {
    margin-bottom: 16px;
}

.wz-projetpart-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #EEF5FF;
    border-radius: 18px;
    padding: 25px 30px;
    margin-bottom: 35px;
}

.wz-projetpart-cta-text h3 {
    color: #071B54;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px;
}

.wz-projetpart-cta-text p {
    color: #13285D;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 767px) {

    .wz-projetpart-cta {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
    }

}