/*==========================================================
  SEME CONGO
  QUOTE.CSS
  PAGE : DEMANDER UN DEVIS
==========================================================*/


/*==========================================================
  01. SECTION PRINCIPALE
==========================================================*/

.quote-section {

    position: relative;

    padding: 100px 0 110px;

    background: #F5F7FA;

}


/*==========================================================
  02. INTRODUCTION
==========================================================*/

.quote-intro {

    position: sticky;

    top: 120px;

    padding-right: 35px;

}


.quote-intro .section-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: #0E4EA6;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.quote-intro .section-eyebrow::before {

    content: "";

    width: 30px;

    height: 2px;

    background: #0E4EA6;

}


.quote-intro h2 {

    margin: 0 0 22px;

    color: #0A2F6B;

    font-family: 'Poppins', sans-serif;

    font-size: 42px;

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -.025em;

}


.quote-intro > p {

    margin: 0 0 38px;

    color: #5E6675;

    font-size: 16px;

    line-height: 1.85;

}


/*==========================================================
  03. POINTS FORTS
==========================================================*/

.quote-features {

    display: flex;

    flex-direction: column;

    gap: 25px;

}


.quote-feature {

    display: flex;

    align-items: flex-start;

    gap: 17px;

}


.quote-feature-icon {

    width: 48px;

    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: rgba(14,78,166,.08);

    color: #0E4EA6;

}


.quote-feature-icon i {

    font-size: 17px;

}


.quote-feature h3 {

    margin: 2px 0 5px;

    color: #0A2F6B;

    font-size: 16px;

    font-weight: 700;

}


.quote-feature p {

    margin: 0;

    color: #697386;

    font-size: 13px;

    line-height: 1.65;

}


/*==========================================================
  04. CARTE FORMULAIRE
==========================================================*/

.quote-form-card {

    padding: 45px;

    border: 1px solid #E5E9F0;

    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 18px 55px rgba(10,47,107,.08);

}


/*==========================================================
  05. EN-TÊTE FORMULAIRE
==========================================================*/

.quote-form-header {

    padding-bottom: 28px;

    margin-bottom: 30px;

    border-bottom: 1px solid #E9EDF3;

}


.quote-form-header > span {

    display: block;

    margin-bottom: 8px;

    color: #0E4EA6;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .12em;

}


.quote-form-header h2 {

    margin: 0 0 9px;

    color: #0A2F6B;

    font-family: 'Poppins', sans-serif;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.25;

}


.quote-form-header p {

    margin: 0;

    color: #7A8494;

    font-size: 13px;

}


.quote-form-header strong {

    color: #0E4EA6;

}


/*==========================================================
  06. GROUPES DU FORMULAIRE
==========================================================*/

.quote-form-group {

    margin-bottom: 32px;

}


.quote-form-group > h3 {

    margin: 0 0 20px;

    color: #0A2F6B;

    font-size: 17px;

    font-weight: 700;

}


/*==========================================================
  07. LABELS
==========================================================*/

.quote-form-card label {

    display: block;

    margin-bottom: 8px;

    color: #26344D;

    font-size: 13px;

    font-weight: 600;

}


.quote-form-card label span {

    color: #8A94A4;

    font-weight: 400;

}


/*==========================================================
  08. CHAMPS
==========================================================*/

.quote-form-card .form-control,
.quote-form-card .form-select {

    min-height: 52px;

    padding: 12px 15px;

    border: 1px solid #DCE2EA;

    border-radius: 9px;

    background: #FFFFFF;

    color: #26344D;

    font-family: 'Poppins', sans-serif;

    font-size: 13px;

    box-shadow: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.quote-form-card textarea.form-control {

    min-height: 145px;

    resize: vertical;

}


/* Placeholder */

.quote-form-card .form-control::placeholder {

    color: #A3ACB9;

    opacity: 1;

}


/* Focus */

.quote-form-card .form-control:focus,
.quote-form-card .form-select:focus {

    border-color: #0E4EA6;

    background: #FFFFFF;

    box-shadow:
        0 0 0 4px rgba(14,78,166,.08);

}


/*==========================================================
  09. CHAMP FICHIER
==========================================================*/

.quote-form-card input[type="file"] {

    padding: 13px 15px;

    cursor: pointer;

}


.quote-form-card input[type="file"]::file-selector-button {

    margin-right: 12px;

    padding: 7px 13px;

    border: 0;

    border-radius: 6px;

    background: rgba(14,78,166,.08);

    color: #0E4EA6;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

}


.quote-form-card small {

    display: block;

    margin-top: 8px;

    color: #8993A3;

    font-size: 11px;

    line-height: 1.5;

}


/*==========================================================
  10. CONSENTEMENT
==========================================================*/

.quote-consent {

    margin: 5px 0 25px;

}


.quote-consent label {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 0;

    color: #697386;

    font-size: 12px;

    font-weight: 400;

    line-height: 1.6;

    cursor: pointer;

}


.quote-consent input[type="checkbox"] {

    width: 17px;

    height: 17px;

    flex: 0 0 17px;

    margin-top: 1px;

    accent-color: #0E4EA6;

    cursor: pointer;

}


/*==========================================================
  11. BOUTON ENVOI
==========================================================*/

.quote-submit {

    display: flex;

    justify-content: flex-start;

}


.btn-quote-submit {

    min-height: 55px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    padding: 0 25px 0 28px;

    border: 1px solid #0E4EA6;

    border-radius: 50px;

    background: #0E4EA6;

    color: #FFFFFF;

    font-family: 'Poppins', sans-serif;

    font-size: 13px;

    font-weight: 600;

    box-shadow:
        0 12px 28px rgba(14,78,166,.20);

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}


.btn-quote-submit i {

    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.15);

    font-size: 11px;

    transition: transform .3s ease;

}


.btn-quote-submit:hover {

    background: #0A2F6B;

    border-color: #0A2F6B;

    color: #FFFFFF;

    transform: translateY(-2px);

    box-shadow:
        0 15px 32px rgba(10,47,107,.22);

}


.btn-quote-submit:hover i {

    transform: translateX(3px);

}


/*==========================================================
  12. MESSAGE FORMULAIRE
==========================================================*/

.quote-form-message {

    display: none;

    margin-top: 20px;

    padding: 14px 17px;

    border-radius: 9px;

    font-size: 13px;

    line-height: 1.6;

}


.quote-form-message.success {

    display: block;

    border: 1px solid #B7DFC9;

    background: #EFFAF4;

    color: #217346;

}


.quote-form-message.error {

    display: block;

    border: 1px solid #F0C4C4;

    background: #FFF4F4;

    color: #A52A2A;

}


/*==========================================================
  13. ANIMATION
==========================================================*/

.quote-intro {

    animation: quoteFadeLeft .7s ease both;

}


.quote-form-card {

    animation: quoteFadeUp .7s .12s ease both;

}


@keyframes quoteFadeLeft {

    from {

        opacity: 0;

        transform: translateX(-25px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


@keyframes quoteFadeUp {

    from {

        opacity: 0;

        transform: translateY(25px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*==========================================================
  14. TABLETTE
==========================================================*/

@media (max-width: 991px) {

    .quote-section {

        padding: 80px 0 90px;

    }


    .quote-intro {

        position: static;

        padding-right: 0;

    }


    .quote-intro h2 {

        font-size: 36px;

    }


    .quote-form-card {

        padding: 35px;

    }

}


/*==========================================================
  15. MOBILE
==========================================================*/

@media (max-width: 767px) {

    .quote-section {

        padding: 60px 0 70px;

    }


    .quote-intro {

        margin-bottom: 15px;

    }


    .quote-intro h2 {

        font-size: 31px;

    }


    .quote-intro > p {

        font-size: 14px;

        line-height: 1.75;

    }


    .quote-features {

        gap: 20px;

    }


    .quote-form-card {

        padding: 25px 20px;

        border-radius: 14px;

    }


    .quote-form-header {

        margin-bottom: 25px;

        padding-bottom: 23px;

    }


    .quote-form-header h2 {

        font-size: 23px;

    }


    .quote-form-group {

        margin-bottom: 27px;

    }


    .quote-form-card .form-control,
    .quote-form-card .form-select {

        min-height: 50px;

    }


    .quote-submit {

        width: 100%;

    }


    .btn-quote-submit {

        width: 100%;

    }

}


/*==========================================================
  16. PETITS ÉCRANS
==========================================================*/

@media (max-width: 420px) {

    .quote-intro h2 {

        font-size: 28px;

    }


    .quote-form-card {

        padding: 22px 16px;

    }

}


/*==========================================================
  17. ACCESSIBILITÉ
==========================================================*/

@media (prefers-reduced-motion: reduce) {

    .quote-intro,
    .quote-form-card {

        animation: none;

    }


    .btn-quote-submit,
    .btn-quote-submit i {

        transition: none;

    }

}

/*==========================================================
  MESSAGE DE RETOUR
==========================================================*/

.quote-alert {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 35px;

    padding: 18px 22px;

    border-radius: 12px;

    font-size: 13px;

}


.quote-alert > i {

    margin-top: 2px;

    font-size: 20px;

}


.quote-alert strong {

    display: block;

    margin-bottom: 4px;

    font-size: 14px;

}


.quote-alert p {

    margin: 0;

    line-height: 1.6;

}


/* Succès */

.quote-alert-success {

    border: 1px solid #B7DFC9;

    background: #EFFAF4;

    color: #217346;

}


.quote-alert-success > i {

    color: #2E8B57;

}


/* Erreur */

.quote-alert-error {

    border: 1px solid #F0C4C4;

    background: #FFF4F4;

    color: #A52A2A;

}


.quote-alert-error > i {

    color: #C0392B;

}


/* Mobile */

@media (max-width: 767px) {

    .quote-alert {

        padding: 15px 17px;

    }

}