@font-face {
    font-family: 'sf-pro';
    src: url('../fonts/SFProDisplay-Regular.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'sf-pro';
    src: url('../fonts/SFProDisplay-Bold.woff2') format('woff2'),
    url('../fonts/SFProDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2'),
    url('../fonts/PlayfairDisplay-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-MediumItalic.woff2') format('woff2'),
    url('../fonts/PlayfairDisplay-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
:root {
    --background: #FFF;
    --background2: #F0EFE7;
    --primary: #243368;
    --secondary: #1F6155;
    --text-secondary: #FFF;
    --text-legend: #737C9E;
}
body {
    font-family: 'sf-pro', sans-serif;
    padding: 0;
    margin: 0;
    color: #000;
    background: var(--background);
    color: var(--primary);
    font-size: 12px;
}
input, textarea {
    font-family: 'sf-pro', sans-serif;
}
*, *:after, *:before {
    box-sizing: border-box;
}
header, main, footer p {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}
header {
    padding: 15px;
    background: var(--background2);
}
.illustration {
    position: relative;
    background: url('../images/bg.png') no-repeat center/cover;
    padding: 15px;
}
.illustration::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, var(--secondary), transparent 80%);
    z-index: 2;
}
.illustration .titre {
    font-family: 'Playfair Display';
    font-weight: normal;
    color: var(--text-secondary);
    font-size: 42px;
    font-style: italic;
    line-height: 50px;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}
.illustration .bloc {
    background: var(--background);
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 320px;
    border-radius: 25px 0 25px 0;
    text-align: center;
    padding: 20px 15px;
}
.illustration .bloc p:first-child {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}
.illustration .bloc p:last-child {
    font-family: 'Playfair Display';
    font-weight: 500;
    font-style: italic;
    font-size: 23px;
    margin: 0;
}
.illustration .bloc span {
    font-size: 31px;
}
.form {
    max-width: 375px;
    padding: 24px;
    position: relative;
    z-index: 20;
    border-radius: 25px 25px 0 0;
    background: var(--background);
    margin: 0 auto;
}
.form .intro {
    font-size: 16px;
    margin-bottom: 22px;
}
.form .form-cadre {
    margin-bottom: 16px;
}
.form .champ {
    background: var(--background2);
    outline: 1px solid transparent;
    border: none;
    border-radius: 50px;
    color: var(--primary);
    height: 40px;
    line-height: 40px;
    display: block;
    width: 100%;
    padding: 0 17px;
    transition: all .45s ease-in-out;
}
.form textarea.champ {
    border-radius: 20px;
    resize: none;
    height: 90px;
    line-height: 141%;
    padding-top: 15px;
    padding-bottom: 15px;
}
.form .champ::placeholder {
    color: var(--primary);
}
.form .champ:hover, .form .champ:focus,  .form .champ:active {
    outline: 1px solid var(--primary);
}
.form .checkbox label {
    position: relative;
    padding-left: 36px;
    display: block;
    font-size: 12px;
    line-height: 141%;
    cursor: pointer;
}
.form .checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    accent-color: var(--primary);
    cursor: pointer;
    width: 24px;
    height: 24px;
    border: 1px solid var(--background2);
    appearance: none;
    border-radius: 2px;
}
.form .checkbox input::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary);
    opacity: 0;
    width: 16px;
    aspect-ratio: 1 / 1;
}
.form .checkbox input:checked::before {
    opacity: 1;
}
.form label a {
    color: inherit;
    text-decoration: underline;
}
.form .legend {
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    color: var(--text-legend);
}
button {
    background: var(--secondary);
    color: var(--text-secondary);
    text-align: center;
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    border: 1px solid var(--secondary);
    display: block;
    cursor: pointer;
    transition: all .45s ease-in-out;
}
#logos {
    padding: 20px 15px;
    background: var(--background);
}
#logos h2 {
    text-align: center;
    font-size: 20px;
    font-family: 'Playfair Display';
    font-weight: normal;
    max-width: 900px;
    margin: 20px auto 0 auto;
}
#logos .liste {
    display: flex;
    font-display: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
#logos img {
    height: 50px;
    width: auto;
}
#estimation {
    padding: 20px 15px;
    background: var(--secondary);
    color: var(--text-secondary);
}
#estimation h2 {
    text-align: center;
    font-size: 20px;
    font-family: 'Playfair Display';
    font-weight: normal;
    max-width: 900px;
    margin: 0 auto;
}
#estimation > p {
    margin: 30px 0;
    font-size: 18px;
    text-align: center;
}
#estimation .liste {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    max-width: 1170px;
    margin: 0 auto;
}
#estimation .bloc {
    background: var(--background);
    color: var(--primary);
    max-width: 362px;
    border-top-left-radius: 26px;
    border-bottom-right-radius: 26px;
}
#estimation .bloc h3 {
    margin: 0;
    font-size: 22px;
    padding: 10px 0 0 10px;
}
#estimation .bloc p {
    margin: 0;
    padding: 10px;
    display: block;
    font-size: 16px;
}
#estimation a {
    background: var(--background);
    color: var(--primary);
    text-align: center;
    width: fit-content;
    height: 41px;
    line-height: 41px;
    font-size: 16px;
    border-radius: 50px;
    padding: 0 30px;
    border: 1px solid var(--background);
    display: block;
    cursor: pointer;
    transition: all .45s ease-in-out;
    text-decoration: none;
    margin: 20px auto 0 auto;
}
#estimation a:hover {
    background: transparent;
    color: var(--text-secondary);
}
#estimation .bloc img {
    max-width: 100%;
    height: auto;
}
#lieux {
    padding: 20px 15px;
    background: var(--background2);
}
#lieux h2 {
    text-align: center;
    font-size: 20px;
    font-family: 'Playfair Display';
    font-weight: normal;
    margin: 0 auto 20px auto;
}
#lieux .liste {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    max-width: 1170px;
    margin: 0 auto;
}
#lieux .bloc {
    background: var(--background);
    max-width: 362px;
    border-top-left-radius: 26px;
    border-bottom-right-radius: 26px;
}
#lieux .bloc h3 {
    margin: 0;
    font-size: 22px;
    padding: 10px 0 0 10px;
}
#lieux .bloc p {
    margin: 0;
    padding: 10px;
    display: block;
    font-size: 16px;
}
#lieux .bloc span {
    text-align: right;
    padding: 0 10px 10px 0;
    display: block;
}
#lieux .bloc img {
    max-width: 100%;
    height: auto;
}
#lieux .bloc span img {
    width: 20px;
    height: auto;
    vertical-align: baseline;
    margin-right: 5px;
}
footer {
    font-family: Arial;
    padding: 15px;
    background: var(--secondary);
    color: var(--text-secondary);
}
footer a {
    color: inherit;
    text-decoration: underline;
}
@media (min-width: 768px) {
    header {
        height: 100px;
        display: flex;
        align-items: center;
        padding-left: 50px;
    }
    .illustration {
        min-height: min(580px, calc(100vh - 100px));
        padding: 58px 50px;
    }
    .illustration::after {
        background: radial-gradient(circle at top left, rgba(31, 97, 85, 0.3), transparent 80%);
    }
    .form {
        position: absolute;
        bottom: 0;
        right: 46px;
    }
    button:hover {
        background: transparent;
        color: var(--primary);
    }
    #logos {
        padding: 40px;
    }
    #logos h2 {
        font-size: 29px;
    }
    #logos .liste {
        gap: 50px;
    }
    #estimation {
        padding: 40px;
    }
    #estimation .bloc h3 {
        padding: 20px 0 0 20px;
    }
    #estimation .bloc p {
        padding: 20px;
    }
    #estimation .liste {
        flex-direction: row;
        justify-content: space-between;
    }
    #estimation h2 {
        font-size: 29px;
    }
    #lieux {
        padding: 40px;
    }
    #lieux .bloc h3 {
        padding: 20px 0 0 20px;
    }
    #lieux .bloc p {
        padding: 20px;
    }
    #lieux .bloc span {
        padding: 0 20px 20px 0;
    }
    #lieux h2 {
        font-size: 29px;
    }
    footer {
        padding: 25px;
    }
}
@media (min-width: 1100px) {
    .illustration {
        background: url('../images/bg.png') no-repeat top left/auto 100%, url('../images/bg2.png') no-repeat top right/auto 100%;
    }
}
@media (min-width: 1350px) {
    .illustration {
        background: url('../images/bg.png') no-repeat top -20px left/calc(100% - 300px) auto, url('../images/bg2.png') no-repeat top right/auto 100%;
    }
}