/* Styles formulaire contact - Partagé Contact et Contact_MVC */

@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

:root {
    --font-size-28-resp: clamp(1.55rem, calc(1.75 / 117.188 * 100vw), 1.75rem);
    --font-size-26-resp: clamp(1.425rem, calc(1.625 / 117.188 * 100vw), 1.625rem);
}

/* Body */
body {
    font-family: 'raleway',sans-serif;
    background-color: #ededed;
    background-image: url(https://image.akeo.fr/texture-fond-AKEO-2022.jpg);
    background-size: 60px;
}

/* Bordure arrondie */
.rounded-20 {
    border-radius: 20px !important;
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
}

/* Padding */
.pt-50,
.py-50 {
    padding-top: 50px;
}

.pb-50,
.py-50 {
    padding-bottom: 50px;
}

.pt-30,
.py-30 {
    padding-top: 30px;
}

.pb-30,
.py-30 {
    padding-bottom: 30px;
}

.px-80 {
    padding-right: 80px;
    padding-left: 80px;
}

.px-22 {
    padding-right: 22px;
    padding-left: 22px;
}

/* Bouton */
.btn-e9967a {
    color: #fff;
    background-color: #e9967a
}

    .btn-e9967a:hover {
        background-color: #0006;
        color: #fff;
    }


/* Padding responsive */
@media (min-width: 768px) {
    .pt-md-50,
    .py-md-50 {
        padding-top: 50px;
    }

    .pb-md-50,
    .py-md-50 {
        padding-bottom: 50px;
    }

    .px-md-80 {
        padding-right: 80px;
        padding-left: 80px;
    }
}

/* Titres formulaire */
.form-title,
.form-title h5,
.form-subtitle {
   font-family: 'Alata',sans-serif;
   text-transform: uppercase;
   font-weight: 700;
}

.form-title,
.form-title h5 {
    color: #d0d1d2;
    font-size: 24px;
    line-height: .8em;
    margin-bottom: 20px;
}

.form-subtitle {
    letter-spacing: 2px;
    font-size: var(--font-size-26-resp);
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.form-subsubtitle {
    letter-spacing: 2px;
    font-size: 16px;
    font-family: 'Alata',sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* Couleurs texte */
.text-black {
    color: #000 !important;
}

a.text-black:hover {
    color: #e9967a !important;
}

/* Poids police */
.font-weight-500 {
    font-weight: 500;
}

/* Tailles responsive form-subtitle */
@media (max-width: 376px) {
    .form-subtitle {
        font-size: calc(12px + 1vw);
    }
}

@media (min-width: 376px) and (max-width: 576px) {
    .form-subtitle {
        font-size: calc(13px + 1vw);
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .form-subtitle {
        font-size: calc(14px + 1vw);
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .form-subtitle {
        font-size: calc(16px + 1vw);
    }
}

/* RGAA - Accessibilité */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 10px 20px;
    background-color: #e9967a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

a:focus,
button:focus {
    outline: 2px solid #e9967a;
    outline-offset: 2px;
}

.footer .btn:focus {
    outline: 2px solid #e9967a;
    outline-offset: 2px;
    box-shadow: none;
}

/* Contenu principal */
.content {
    padding: 160px 0 100px 0;
}

/* Container responsive */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}

@media (max-width: 1590px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: calc(100% - 60px);
    }
}

@media (max-width: 576px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: calc(100% - 60px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Bouton 828282 */
.btn-828282 {
    background-color: #828282;
    color: #fff;
}

.btn.btn-828282:hover {
    background-color: rgba(0,0,0,0.4);
    color: #fff;
}

a.btn-828282 {
    color: #fff;
}

/* Couleurs utilitaires */
.text-e9967a,
.color-e9967a {
    color: #e9967a;
}

/* Taille responsive 28 */
.font-size-28 {
    font-size: var(--font-size-28-resp);
}

.text-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Reset dl/dd */
dl {
    margin-bottom: 0;
}

dd {
    margin-left: 0;
}

/* Fix modal — neutraliser le padding-right ajouté par Bootstrap JS */
body.modal-open,
#OrderFormConfirmModal {
    padding-right: 0 !important;
}