/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.content_rea ul{
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    gap: 25px;
}
.content_rea img{
    max-width: 100%;
    height: auto;
}
.content_rea h1{
    margin: 40px 0;
}
.content_rea img{
    max-width: 100%;
    height: auto;
  
}
/* Formulaire de demande */
.fa-request-form {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.fa-request-form .fa-form-section {
    border: 0;
    padding: 0;
    margin: 0 0 50px;
    min-width: 0;
}

.fa-request-form legend {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    padding: 0 0 14px;
    border-bottom: 1px solid #e6ded7;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--secondary);
}

.fa-request-form .fa-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}

.fa-request-form .fa-field {
    position: relative;
}

.fa-request-form .fa-field--full {
    grid-column: 1 / -1;
}

.fa-request-form .fa-field input,
.fa-request-form .fa-field select,
.fa-request-form .fa-field textarea {
    display: block;
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #d8d0c8;
    border-radius: 0;
    background-color: var(--white);
    color: var(--primary);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fa-request-form .fa-field textarea {
    height: auto;
    min-height: 150px;
    padding: 18px;
    resize: vertical;
    field-sizing: content;
}

.fa-request-form .fa-field select {
    padding-right: 48px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23202944' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.fa-request-form .fa-field select:invalid {
    color: var(--color_txt);
}

.fa-request-form .fa-field select option {
    color: var(--primary);
}

/* Champ en lecture seule (valeur reçue dans l'URL) */
.fa-request-form .fa-field input[readonly] {
    background-color: var(--bg-light);
    color: var(--color_txt);
    cursor: default;
}

.fa-request-form .fa-field input[readonly] + label {
    background: linear-gradient(to bottom, var(--white) 50%, var(--bg-light) 50%);
}

.fa-request-form .fa-field input[readonly]:hover,
.fa-request-form .fa-field input[readonly]:focus {
    border-color: #d8d0c8;
    box-shadow: none;
}

.fa-request-form .fa-field input:hover,
.fa-request-form .fa-field select:hover,
.fa-request-form .fa-field textarea:hover {
    border-color: var(--color_txt);
}

.fa-request-form .fa-field input:focus,
.fa-request-form .fa-field select:focus,
.fa-request-form .fa-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 41, 68, 0.12);
}

.fa-request-form .fa-field label {
    position: absolute;
    top: 29px;
    left: 12px;
    margin: 0;
    padding: 0 6px;
    max-width: calc(100% - 24px);
    transform: translateY(-50%);
    background-color: var(--white);
    color: var(--color_txt);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, color 0.2s ease-in-out, letter-spacing 0.2s ease-in-out;
}

.fa-request-form .fa-field input:focus + label,
.fa-request-form .fa-field input:not(:placeholder-shown) + label,
.fa-request-form .fa-field textarea:focus + label,
.fa-request-form .fa-field textarea:not(:placeholder-shown) + label,
.fa-request-form .fa-field select + label {
    top: 0;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.fa-request-form .fa-field input:focus + label,
.fa-request-form .fa-field select:focus + label,
.fa-request-form .fa-field textarea:focus + label {
    color: var(--primary);
}

.fa-request-form .fa-field input:-webkit-autofill {
    -webkit-text-fill-color: var(--primary);
    box-shadow: 0 0 0 1000px var(--white) inset;
}

.fa-request-form .fa-field input:-webkit-autofill + label {
    top: 0;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.fa-request-form .fa-field input:user-invalid,
.fa-request-form .fa-field select:user-invalid,
.fa-request-form .fa-field textarea:user-invalid {
    border-color: #b42318;
}

.fa-request-form .fa-field input:user-invalid + label,
.fa-request-form .fa-field select:user-invalid + label,
.fa-request-form .fa-field textarea:user-invalid + label {
    color: #b42318;
}

.fa-request-form .fa-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.fa-request-form .fa-form-footer .btn.btn-primary {
    padding: 0.8rem 2.75rem;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
}

.fa-request-form .fa-form-footer .btn.btn-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.fa-request-form .fa-form-footer .info {
    margin: 0;
    font-size: 14px;
    color: var(--color_txt);
}

@media (prefers-reduced-motion: reduce) {
    .fa-request-form .fa-field input,
    .fa-request-form .fa-field select,
    .fa-request-form .fa-field textarea,
    .fa-request-form .fa-field label {
        transition: none;
    }
}

@media (max-width: 767px) {
    .fa-request-form .fa-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .fa-request-form .fa-form-section {
        margin-bottom: 40px;
    }

    .fa-request-form legend {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .fa-request-form .fa-form-footer .btn.btn-primary {
        width: 100%;
    }
}
