.lambris-calculator {
    width: 100%;
    background: #ffffff;

    font-family: 'Montserrat';

    color: #193f67;
}


.devis-success-message {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto 30px;

    padding: 18px 22px;

    display: flex;

    align-items: center;

    gap: 16px;

    box-sizing: border-box;

    background: #ecfdf3;

    border: 1px solid #86efac;

    border-left: 5px solid #16a34a;

    border-radius: 8px;

    color: #166534;

    animation:
        devisSuccessAppear 0.45s ease-out;
}



.devis-success-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #16a34a;

    color: #ffffff;

    border-radius: 50%;

    font-size: 18px;

}



.devis-success-content {
    flex: 1;

    min-width: 0;
}



.devis-success-content strong {
    display: block;

    margin: 0 0 4px;

    color: #15803d;

    font-size: 16px;

    line-height: 1.3;

    font-weight: 700;
}


.devis-success-content p {
    margin: 0;

    color: #166534;

    font-size: 14px;

    line-height: 1.5;
    font-family: 'Montserrat';
   
    font-weight: 400;
}



@keyframes devisSuccessAppear {

    from {
        opacity: 0;

        transform: translateY(-12px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


.lambris-calculator-header {
    width: 100%;

    min-height: 179px;

    background: #f1f1f1;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px 20px 28px;
}


.lambris-calculator-title {
    margin: 0 0 15px;

    color: #193f67;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.2px;

    font-family: 'Montserrat';
}


.lambris-calculator-intro {
    margin: 0;

    color: #64788c;

    font-size: 15px;
    line-height: 1.3;

    font-weight: 400;
}


.lambris-calculator-content {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 54px 40px 70px;
    font-family: 'Montserrat';
    box-sizing: border-box;
}

.lambris-calculator-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(0, 0.95fr);

    column-gap: 42px;

    align-items: start;
}


.lambris-calculator-form {
    width: 100%;
}


.calculator-field {
    width: 100%;

    margin-bottom: 15px;
}


.calculator-field label {
    display: block;

    margin: 0 0 3px;

    color: #23496d;

    font-size: 15px;
    line-height: 1.3;
    font-family: 'Montserrat';
    font-weight: 700;
}


.calculator-field label span {
    color: #81909d;

    font-size: 12px;
    font-family: 'Montserrat';
    font-weight: 400;
}

.calculator-input {
    display: block;

    width: 100%;
    height: 40px;

    padding: 0 11px;

    border: none;

    border-radius: 6px;

    background: #e4e4e4;

    color: #75889a;

    font-family: 'Montserrat';

    font-size: 15px;

    font-weight: 400;

    outline: none;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.calculator-input::placeholder {
    color: #8191a1;
    font-family: 'Montserrat';
    opacity: 1;
}


.calculator-input:focus {
    background: #dedede;

}



select.calculator-input {
    cursor: pointer;

    appearance: none;

    background-image:
        linear-gradient(45deg,
            transparent 50%,
            #718295 50%),
        linear-gradient(135deg,
            #718295 50%,
            transparent 50%);

    background-position:
        calc(100% - 15px) 11px,
        calc(100% - 11px) 11px;

    background-size:
        4px 4px,
        4px 4px;
    font-family: 'Montserrat';
    background-repeat: no-repeat;
}


.calculator-textarea {
    height: auto;

    min-height: 100px;

    padding: 11px;

    resize: vertical;
    font-family: 'Montserrat';
    line-height: 1.5;
}


.calculator-help {
    display: block;

    margin-top: 3px;

    color: #81909d;

    font-size: 13px;

    line-height: 1.3;
    font-family: 'Montserrat';
    font-style: italic;
}


.devis-contact-fields {
    width: 100%;

    margin-top: 28px;

    padding-top: 22px;
    font-family: 'Montserrat';
    border-top: 1px solid #e1e1e1;
}


.devis-contact-title {
    margin-bottom: 5px;

    color: #193f67;

    font-size: 18px;

    line-height: 1.3;
    font-family: 'Montserrat';
    font-weight: 700;
}


.devis-contact-description {
    margin: 0 0 20px;

    color: #75889a;

    font-size: 13px;
    font-family: 'Montserrat';
    line-height: 1.5;   
}

.calculator-actions {
    display: flex;

    align-items: center;

    gap: 8px;
    font-family: 'Montserrat';
    margin-top: 20px;
}


.calculator-button {
    min-height: 35px;

    padding: 0 14px;

    border-radius: 5px;

    font-family: 'Montserrat';

    font-size: 14px;

    line-height: 1;

    font-weight: 500;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}


.calculator-button:active {
    transform: translateY(1px);
}


.calculator-button-quote {
    background: #ffffff;

    border: 1px solid #193f67;

    color: #193f67;
}


.calculator-button-quote:hover {
    background: #193f67;

    color: #ffffff;

}


.calculator-button-reset {
    min-width: 124px;

    background: #ca2027;

    border: 1px solid #ca2027;

    color: #ffffff;
}


.calculator-button-reset:hover {
    background: #ad171d;

    border-color: #ad171d;
}



.lambris-calculator-result {

    min-height: 267px;

    padding: 21px 29px;

    background: #e3e3e3;

    border-radius: 6px;

    box-sizing: border-box;
}


.calculator-result-title {
    margin: 0 0 17px;

    color: #193f67;
    font-family: 'Montserrat';
    font-size: 18px;

    line-height: 1.2;

    font-weight: 700;
}


.calculator-result-card {
    width: 100%;

    min-height: 95px;

    padding: 11px 20px 10px;

    background: #ffffff;

    border-radius: 6px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.calculator-result-label {
    display: block;

    margin-bottom: 0;

    color: #193f67;

    font-size: 13px;

    line-height: 1.2;
    font-family: 'Montserrat';
    font-weight: 600;
}


.calculator-result-value {
    display: block;

    color: #193f67;

    font-size: 38px;

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -1px;
}


.calculator-result-number {
    display: block;

    margin-top: 4px;

    color: #193f67;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 700;
}


.calculator-info {
    margin-top: 70px;
    padding-bottom: 20px;
    font-family: 'Montserrat';
}


.calculator-info-title {
    display: inline-flex;

    min-height: 23px;

    padding: 8px 10px;

    align-items: center;

    background: #193f67;

    border-radius: 4px;

    color: #ffffff;

    font-size: 14px;

    line-height: 1;
    font-family: 'Montserrat';
    font-weight: 500;
}


.calculator-info p {
    max-width: 270px;

    margin: 10px 0 0;

    color: #66798b;

    font-size: 12px;

    line-height: 1.25;
    font-family: 'Montserrat';
    font-weight: 400;
}


.lambris-calculator-bottom {
    width: 100%;

    height: 32px;

    background: #e6e6e6;
}


@media (max-width: 900px) {

    .lambris-calculator-content {
        padding: 45px 30px 60px;
    }


    .devis-success-message {
        margin-bottom: 25px;
    }


    .lambris-calculator-grid {
        column-gap: 25px;
    }


    .lambris-calculator-result {
        padding: 20px;
    }


    .calculator-result-value {
        font-size: 34px;
    }

}


@media (max-width: 700px) {

    .lambris-calculator-header {
        min-height: 170px;

        padding: 30px 15px;
    }


    .lambris-calculator-title {
        font-size: 19px;
    }


    .lambris-calculator-intro {
        font-size: 10px;
    }


    .lambris-calculator-content {
        padding: 35px 18px 45px;
    }


    .devis-success-message {
        margin-bottom: 25px;

        padding: 16px;

        gap: 13px;

        border-left-width: 4px;
    }


    .devis-success-icon {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        font-size: 16px;
    }


    .devis-success-content strong {
        font-size: 14px;
    }


    .devis-success-content p {
        font-size: 12px;

        line-height: 1.5;
    }


    .lambris-calculator-grid {
        grid-template-columns: 1fr;

        row-gap: 30px;
    }


    .lambris-calculator-result {
        min-height: auto;

        padding: 22px;
    }


    .calculator-result-card {
        min-height: 100px;
    }


    .calculator-result-value {
        font-size: 36px;
    }


    .calculator-info p {
        max-width: 100%;

        font-size: 9px;
    }

}

@media (max-width: 420px) {

    .lambris-calculator-title {
        font-size: 17px;
    }


    .lambris-calculator-intro {
        font-size: 9px;
    }


    .calculator-field label {
        font-size: 12px;
    }


    .devis-success-message {
        align-items: flex-start;

        padding: 14px;

        gap: 10px;

        border-radius: 7px;
    }


    .devis-success-icon {
        flex: 0 0 34px;

        width: 34px;
        height: 34px;

        font-size: 14px;
    }


    .devis-success-content strong {
        font-size: 13px;

        line-height: 1.3;
    }


    .devis-success-content p {
        font-size: 11px;

        line-height: 1.45;
    }


    .calculator-actions {
        flex-direction: column;

        align-items: stretch;

        gap: 8px;
    }


    .calculator-button {
        width: 100%;

        height: 32px;
    }


    .calculator-result-value {
        font-size: 32px;
    }

}