/* --- Global Styles --- */
/* Applique un dégradé au fond, et configure un layout en flex avec des espacements */
body {
   background: #FFF2F0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 54px;
}

/* Conteneur principal centré et avec marges automatiques */
.container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 24px;
}

/* --- Navigation --- */
/* Centrage et espacement des éléments du menu */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Typography --- */
/* Forcer le poids de la police pour les titres */


b {
    font-weight: bolder;
}

h2 {
    font-size: 30px !important;
    margin: 20px 0 !important;
}

p,
li,
a {
    font-size: 18px !important;
    line-height: normal;
}

h3 {
    font-size: 24px !important;
    margin-bottom: 1rem !important;
}
h4 {
    font-size: 20px !important;
    margin-bottom: 1rem !important;
}


h2,
h3,
b,
strong {
    color: #222 !important;
    font-weight: 700 !important;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif !important;
}

/* --- Titles Visibility --- */
/* Gestion de la visibilité des titres selon les écrans */
.title-min { display: unset !important; }
.title-max { display: none !important; }
/* --- Margin and Padding Utilities --- */
.m-auto {
    margin: auto;
}

.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

.px-1 {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.py-1 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.m-0 {
    margin: 0 !important
}

.m-1 {
    margin: .25rem !important
}

.m-2 {
    margin: .5rem !important
}

.m-3 {
    margin: 1rem !important
}

.m-4 {
    margin: 1.5rem !important
}

.m-5 {
    margin: 3rem !important
}

.m-auto {
    margin: auto !important
}

.mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important
}

.mx-1 {
    margin-right: .25rem !important;
    margin-left: .25rem !important
}

.mx-2 {
    margin-right: .5rem !important;
    margin-left: .5rem !important
}

.mx-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important
}

.mx-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important
}

.mx-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important
}

.my-1 {
    margin-top: .25rem !important;
    margin-bottom: .25rem !important
}

.my-2 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important
}

.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important
}

.mt-0 {
    margin-top: 0 !important
}

.mt-1 {
    margin-top: .25rem !important
}

.mt-2 {
    margin-top: .5rem !important
}

.mt-3 {
    margin-top: 1rem !important
}

.mt-4 {
    margin-top: 1.5rem !important
}

.mt-5 {
    margin-top: 3rem !important
}

.mt-auto {
    margin-top: auto !important
}

.me-0 {
    margin-right: 0 !important
}

.me-1 {
    margin-right: .25rem !important
}

.me-2 {
    margin-right: .5rem !important
}

.me-3 {
    margin-right: 1rem !important
}

.me-4 {
    margin-right: 1.5rem !important
}

.me-5 {
    margin-right: 3rem !important
}

.me-auto {
    margin-right: auto !important
}

.mb-0 {
    margin-bottom: 0 !important
}

.mb-1 {
    margin-bottom: .25rem !important
}

.mb-2 {
    margin-bottom: .5rem !important
}

.mb-3 {
    margin-bottom: 1rem !important
}

.mb-4 {
    margin-bottom: 1.5rem !important
}

.mb-5 {
    margin-bottom: 3rem !important
}

.mb-auto {
    margin-bottom: auto !important
}

.ms-0 {
    margin-left: 0 !important
}

.ms-1 {
    margin-left: .25rem !important
}

.ms-2 {
    margin-left: .5rem !important
}

.ms-3 {
    margin-left: 1rem !important
}

.ms-4 {
    margin-left: 1.5rem !important
}

.ms-5 {
    margin-left: 3rem !important
}

.ms-auto {
    margin-left: auto !important
}

/* --- Utility Classes --- */
/* Flexbox utilitaires pour alignements et directions */
.d-flex { display: flex; flex-wrap: nowrap; } /* Éléments en une seule ligne */
.flex-between { justify-content: space-between; }
.flex-row-reverse { flex-direction: row-reverse; }

/* Largeurs et hauteurs utilitaires */
.w-full { 
    width: 100%; 
    box-sizing: border-box;
}
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

/* Marges et padding utilitaires */
.m-auto { margin: auto; }
.p-0 { padding: 0; }
.m-0 { margin: 0; }

.px-1 { padding-left: 24px !important; padding-right: 24px !important; }
.py-1 { padding-top: 24px !important; padding-bottom: 24px !important; }

/* Centrage horizontal et vertical avec des marges automatiques */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

/* --- Text Alignment --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --- Flexbox Direction --- */
.flex-column { flex-direction: column; }

/* --- Custom Colors --- */
.text-corail {
    color: var(--corail_mh_brand);
    font-weight: bold !important;
}

/* --- Layout Helpers --- */
.flex-center {
    justify-content: center;
    align-items: center;
}

.align-center { align-items: center; }

/* --- Spacing Utilities --- */
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* --- Border Radius Utilities --- */
.rounded { border-radius: 0.5rem; }
.rounded-full { border-radius: 50%; }

/* --- Column Grid System --- */
/* Gestion des colonnes en pourcentages pour un système de grille flexible */
.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.66%; 
}
.col-6 { width: 50%;
}

.col-6 img {
    padding: 20px;
    max-width: 300px !important;
}
.col-7 {
    width: 58.33%;

}
.col-8 {
    width: 66.66%;
}

.col-8 ul {
    list-style-type:disc;
    padding: 0 20px !important;

}
.col-8 ul li {
    font-size: 16px !important;

}

.col-3 img {
    margin: 20px 0;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

.block .guillemet {
    width: 30% !important;
}

.video img {
    width: 100% !important;
    text-align: center;
}

 h3 {
        padding-top: 0px !important;
    }
/* Continue jusqu'à .col-12 */

/* Reset pour les conteneurs flex */
.col { flex: 1; }

/* --- Header --- */
/* Centrage des éléments du header */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.bg-blanc {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
        width: 100% !important;
        margin: 0 auto !important;
}
.col-3 img {
    width: 90% !important;
    border-radius: 16px !important;
}

.header img {
    max-width: 252px;
}

.block {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    border-radius: 16px;
    padding: 20px;
    margin: 0 20px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.block img {
    width: 40% !important;
}
.mentions-legales {
    text-align: center !important;
    margin: 0 auto !important;
}

.mentions-legales ul {
    display: flex !important;
    flex-direction: row !important;
}
.mentions-legales ul li {
    margin: 10px !important;
    text-decoration: underline !important;
    font-size: 14px !important;
    color: #636363 !important;
}
.mentions-legales ul li a {
    text-decoration: underline !important;
    font-size: 14px !important;
    color: #636363 !important;
}

.input input {
    width: 350px;
    display: block;
    font-size: 1.1rem;
    line-height: 2rem;
    padding: .625rem;
    border-radius: .5rem;
    appearance: none;
    margin: 10px 0 0 0;
    -webkit-font-smoothing: antialiased;
    box-shadow: inherit;
    border: 1px solid var(--gris_light);
    background-color: var(--gris_background);
}

.input-SELECT {
    width: 350px;
    margin: 20px 0 0 0;
    font-size: 1.1rem;
    line-height: 2rem;
    border: 1px solid var(--gris_light) !important;
    background-color: var(--gris_background) !important;
    padding: .625rem !important;
    border-radius: .5rem;
}

.btn {
    color: #fff;
    text-align: center;
    font-size: 16px;
    border-radius: 40px;
    height: 40px;
    border: none;
    padding: 8px 24px;
    background: var(--corail_mh_brand);
    transition: all .3s ease;
    outline: none !important;
    cursor: pointer;
}
.form-stepper_controller {
    position: relative;
    padding: 1rem;
    height: 2rem;
}
.prev-btn,
.next-btn {
    display: flex;
}

.prev-btn {
    display: flex;
    align-items: center;
    background: none;
    color: var(--gris_dark);
    border: none;
    cursor: pointer;
    height: 40px;
    font-size: 1rem;
    font-weight: 500;
    top: .5rem;
    left: .5rem;
}
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

@media screen and (min-width: 1280px) {
     h1,
    h1 span {
        font-size: 36px !important;
    }

    .title-min { display: none !important; }
    .title-max { display: unset !important; }
    .header {
        display: flex !important;
        flex-direction: row;
    }
}

/* --- Menu Styles --- */
/* Style pour le bloc du menu */
#block-menuhp {
    padding: 10px 20px;
    border-radius: 10px;
}

/* --- Logo Style --- */
#block-menuhp .logo img {
    height: 50px;
}

/* --- Menu Items --- */
/* Gestion du layout des items du menu et du style des liens */
#menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Liens des items avec ombre et transitions */
#menu-items a {
    text-decoration: none;
    font-size: 14px;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Liens actifs et styles au survol */
#menu-items a.active, #menu-items a:hover {
    background-color: var(--corail_mh_brand);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Burger Menu for Mobile --- */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    border-radius: 5px;
}

/* --- Popup Styles --- */
#menu-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* --- Popup Content --- */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

.popup-content ul {
    list-style-type: none;
    padding: 0;
}

.popup-content ul li {
    margin: 10px 0;
}

.popup-content ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

/* Close button for popup */
.close-popup {
    cursor: pointer;
    color: var(--corail_mh_brand);
    font-weight: bold;
}

/* --- No Wrap Text --- */
.no-wrap { white-space: nowrap; }

/* --- Responsive Styles --- */
@media (max-width: 756px) {
    .container-detail-box { flex-direction: column; }
    .header h1 { font-size: 36px; }
    .carousel-title { padding: 24px; }
    .block, .w-full {
        width: 100% !important;
        margin: 20px 0!important;
    }
    .block {
    display: flex;
    align-items: center;

}
    .col-5, .col-7 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    } 
    .block legend {
        text-align: center !important;
    }
    .video img {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    .d-flex {
        flex-direction: column !important;
        width: 90% !important;
        padding: 0 !important;
    }
    .px-1 {
        padding: 0 !important;
    }
   
    .container-small {
        flex-direction: column !important;
        width: 100% !important;
        margin: auto 0 !important;

    }
    button.btn {
        margin: auto 0 !important;
        text-align: center !important;
 
    }
    .col-3, .col-6, .col-8 {
        width: 100% !important;
    }
    
    .bg-blanc {
        width: 100% !important;
        margin: 0 !important;
    }
    

    .col-3 img {
        width: 100% !important;
        margin-left: 10px;
        margin-top: 20px;
    }
    
    .col-6 p {
        text-align: center;

    }
    
    .col-6 img {
        width: 100% !important;
        text-align: center !important;
    }
     .col-8 p {
        padding: 0 20px 0 0 !important;
    }
    
   
}

/* Responsive burger menu display */
@media (max-width: 1440px) {
    .burger-menu { display: flex; }
    #menu-items { display: none; }
    img { max-width: 250px !important; }
}

.container-small {
    max-width: 1220px !important;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    margin: auto;
}

/* --- Card Styles --- */
/* Style pour les cartes avec ombre et centrage */
.card-container {
    display: flex;
    overflow: hidden;
    max-width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    justify-content: space-between;
}

/* Image de la carte avec taille fixe */
.card-img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Style des titres, dates, texte et boutons des cartes */
.card h2 { font-size: 28px; }
.card-date {
    color: var(--corail_mh_brand);
    margin-bottom: 10px;
    font-size: 28px;
}
.card-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Nombre de lignes à afficher */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bouton de la carte avec style de hover */
.card-button {
    background-color: var(--corail_mh_brand);
    color: #fff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    width: fit-content;
    text-decoration: none !important;
}

.card-button:hover, .card-button:active { background-color: var(--corail_mh_brand); color: white !important;
 text-decoration: none !important;}

button a{
     color: #FFFFFF !important; 
    text-decoration: none !important;

}
a:not(.corail_mh_brand):hover, a:not(.corail_mh_brand):active, a:not(.corail_mh_brand).active-link {
    color: #FFFFFF !important;
    text-decoration: none !important;}

/* --- Responsive Card Styles --- */
@media (max-width: 768px) {
    .card { width: 75%; }
    
}

@media (max-width: 1200px) {
    .card-container {
        justify-content: center;
        flex-wrap: wrap;
    }
}

#menu-popup li a:hover {
    color: var(--corail_mh_brand) !important;
}

/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/* Centrage et marges automatiques pour un conteneur principal, évitant les bords de l'écran */
.container {
    max-width: 1440px !important;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #FFF2F0;
    text-shadow: none;
}

::selection {
    background: #FFF2F0;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/* --- Header Section --- */
/* Alignement flex et centrage du contenu du header */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.header img {
    max-width: 252px;
}

b,
strong {
    color: #222 !important;
    font-weight: 700 !important;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif !important;
}

h1 {
    font-size: 2.625rem;
    line-height: 1.33;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
}

/* --- Titles Visibility --- */
/* Gestion de la visibilité des titres selon les écrans */
.title-min {
    display: unset !important;
}

.title-max {
    display: none !important;
}

@media screen and (min-width: 1280px) {

    h1,
    h1 span {
        font-size: 42px !important;
    }

    .title-min {
        display: none !important;
    }

    .title-max {
        display: unset !important;
    }

    .header {
        display: flex !important;
        flex-direction: row;
        gap: 20px;
    }
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " ("attr(href) ")";
    }

    abbr[title]::after {
        content: " ("attr(title) ")";
    }

    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

:root {
    --screen-desktop: 992px;
    --font_primary: "Poppins", sans-serif;

    --corail_mh_brand: #e2250c;
    --corail_mh_dark: #ad1400;
    --corail_mh_light: #ff4b33;
    --gris_sable_light: #ede8e6;
    --gris_sable_dark: #e4d8c4;
    --jaune_ivoire_light: #fcf7e7;
    --jaune_ivoire_dark: #f6ebc8;
    --jaune_light: #f4ec5b;
    --jaune_dark: #f9bd00;
    --orange_normal: #ff8347;
    --orange_dark: #D14600;
    --orange_hover: var(--orange_dark);
    --vert_light: #03dfb2;
    --vert_dark: #008275;
    --bleu_turquoise_light: #5ad5d9;
    --bleu_turquoise_middle: #008299;
    --bleu_turquoise_dark: #006374;
    --bleu_light: #4283d1;
    --bleu_dark: #1a283e;
    --bleu_klein_light: #5f65e3;
    --bleu_klein_dark: #484dad;
    --bleu_klein_dark_a: #30369E;
    --violet_light: #6d4ca7;
    --violet_dark: #4b218e;
    --mauve: #d4c0f0;
    --rose_light: #f4b5d4;
    --rose_dark: #d81e88;
    --rose_fushia: #b9066c;
    --rouge_framboise: #de2b5b;
    --rose_chair_light: #f0b7a5;
    --rose_chair_dark: #cca196;
    --vert_positif: #1E7000;
    --rouge_negatif: #CC0000;
    --bleu_texte: #2964AE;
    --alerte_vert_positif: #bddab2;
    --alerte_rouge_negatif: #f9b2b2;
    --alerte_bleu_information: #c1d5ee;
    --alerte_jaune_attention: #f9f5ad;
    --blanc: #ffffff;
    --noir: #222222;
    --gris_light: #e1e1e1;
    --gris_dark: #636363;
    --gris_background: #f6f6f6;

    --bg-color: #ffffff;
    --timeline-color: var(--gris_light);
    --bullet-color: var(--gris_light);
    --text-color__default: var(--gris_dark);
    --text-color__valid: #222222;
    --valid__bg-color: var(--vert_positif);
    --valid__text-color: #ffffff;
    --section-current__bg-color: var(--bleu_turquoise_light);
    --section-current__text-color: var(--bleu_dark);
    --step__underline-color: var(--gris_light);
    --section__margin: 2rem;
    --section__timeline-width: 4px;
    --section__timeline-offset: 3.5rem;
    --section-btn__line-height: 1.5rem;
    --section-btn__padding-v: 1.25rem;
    --section-btn__height: calc(var(--section-btn__line-height) + var(--section-btn__padding-v) * 2);
    --section__bullet-offset: calc(var(--section__timeline-offset) - var(--section-btn__height) / 2);

    --mobile-section__margin: 2rem;
    --mobile-section__timeline-width: 4px;
    --mobile-section__timeline-offset: 0rem;
    --mobile-section-btn__line-height: 1rem;
    --mobile-section-btn__padding-v: 10px;
    --mobile-timeline-width: 0.5rem;
    --mobile-steps__box-shadow: 0 6px 12px 0 rgba(34, 34, 34, 0.3);
    --mobile-steps__border-color: #e1e1e1;
    --mobile-steps__bg-color: #ffffff;
    --anim-duration: 250ms;
    --anim-duration-2: 300ms;
    --mobile-section-btn__height: 40px;
    --mobile-section__bullet-offset: calc(var(--mobile-section__timeline-offset) - var(--mobile-section-btn__height) / 2);
}

body {
    margin: 0;
    background: #FFF2F0;
    background-repeat: no-repeat;
}

body * {
    font-family: var(--font_primary);
    font-weight: 400;
}

.text-corail {
    color: var(--corail_mh_brand);
}

.form-stepper_container {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    gap: 2rem;
    overflow-x: hidden;
}

.form-stepper_view {
    display: flex;
    flex-direction: column;
    flex: 1;
    order: 2;
    /* border: 1px solid grey;*/
}

.form-stepper_nav {
    display: flex;
    flex-direction: row;
    order: 1;
    overflow: visible;
    min-width: 320px;
}

.form-stepper_nav_item {
    position: relative;
    outline: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: calc(var(--section__margin) / 4);
}

.form-stepper_nav_item button {
    position: relative;
    z-index: 1;
    outline: 0;
    border: 0;
    display: flex;
    flex-direction: row;
    background: transparent;
    padding: var(--section-btn__padding-v) 0;
    padding-left: calc(var(--section__timeline-offset) + var(--section-btn__height) / 2 + 1rem);
    padding-right: calc(var(--section-btn__height) / 2 + 1rem);
    line-height: var(--section-btn__line-height);
    color: var(--gris_dark);
}

.form-stepper_nav_item ul {
    position: absolute;
    z-index: 10;
    list-style: none;
    display: flex;
    flex-direction: column;
    background: var(--blanc);
    margin: 0.5rem 0;
    padding: 0 calc(var(--section-btn__height) / 2 + 1rem) 0 calc(var(--section__timeline-offset) + var(--section-btn__height) / 2 + 1rem);
    line-height: var(--section-btn__line-height);
    color: var(--gris_dark);
}

.form-stepper_nav_item a {
    text-decoration: none;
    color: var(--text-color__valid);
    font-size: 0.875rem;
    line-height: 1.5rem;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.3em;
}

.form-stepper_nav_item .nav_item_text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 24px;
    color: var(--text-color__default);
}

.form-stepper_nav_item .nav_item_icon {
    position: absolute;
    z-index: 1;
    top: 0;
    left: var(--section__bullet-offset);
    width: var(--section-btn__height);
    height: var(--section-btn__height);
    line-height: var(--section-btn__height);
    text-align: center;
    font-size: 1rem;
    transition: none;
    color: var(--gris_dark);
    border-radius: 999px;
}

.form-stepper_nav_item .nav_item_icon svg {
    height: 24px;
    width: 24px;
}

.form-stepper_nav_item .nav_item_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    overflow: hidden;
    transition: all var(--anim-duration-2) ease-in-out;
}

.form-stepper_nav_item .nav_item_bg-anim {
    position: absolute;
    top: 0;
    left: var(--section__bullet-offset);
    width: var(--section-btn__height);
    height: var(--section-btn__height);
    border-radius: 999px;
    background: var(--gris_light);
    transform: scale3d(1, 1, 1);
    transition: all var(--anim-duration-2) ease-in-out;
}

.form-stepper_nav_item:before,
.form-stepper_nav_item:after {
    content: '';
    display: block;
    position: absolute;
    top: calc(64px + 0.25rem);
    left: 3.35rem;
    width: 4px;
    background: var(--gris_light);
    height: calc(100% - 64px);
    border-radius: 1rem;
}

.form-stepper_nav_item:after {
    height: 0;
    background: var(--vert_positif);
    transition: all var(--anim-duration) ease-in-out;
}

.form-stepper_nav_item:last-child:before,
.form-stepper_nav_item:last-child:after {
    display: none !important;
}

.form-stepper_nav_item.is-active {
    cursor: pointer;
    font-weight: 700;
}

.form-stepper_nav_item.is-active .nav_item_text {
    font-weight: 600;
    color: var(--bleu_dark);
}

.form-stepper_nav_item.is-active .nav_item_icon {
    color: var(--bleu_dark);
}

.form-stepper_nav_item.is-active .nav_item_bg-anim {
    background: var(--bleu_turquoise_light);
    width: 100%;
    left: 0;
}

.form-stepper_nav_item.is-completed button {
    cursor: pointer;
}

.form-stepper_nav_item.is-completed .nav_item_text {
    white-space: nowrap;
    color: var(--bleu_dark);
}

.form-stepper_nav_item.is-completed .nav_item_icon {
    color: var(--blanc);
}

.form-stepper_nav_item.is-completed .nav_item_bg-anim {
    background: var(--vert_positif);
}

.form-stepper_nav_item.is-completed:after {
    height: calc(100% - 64px);
}

.form-stepper_nav_item.is-completed.is-active .nav_item_text {
    color: var(--blanc);
}

.form-stepper_nav_item.is-completed.is-active .nav_item_icon {
    color: var(--blanc);
}

.form-stepper_nav_item .nav_item_icon {
    overflow: hidden;
}

.form-stepper_nav_item .nav_item_icon .nav_item_icon-not-completed,
.form-stepper_nav_item .nav_item_icon .nav_item_icon-is-completed {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--section-btn__height);
    height: var(--section-btn__height);
    transform: translateX(0%);
    transition: all var(--anim-duration-2) ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-stepper_nav_item .nav_item_icon .nav_item_icon-not-completed {
    left: 0;
    opacity: 1;
}

.form-stepper_nav_item .nav_item_icon .nav_item_icon-is-completed {
    left: calc(var(--section-btn__height));
    opacity: 0;
}

.form-stepper_nav_item.is-completed .nav_item_icon .nav_item_icon-not-completed,
.form-stepper_nav_item.is-completed .nav_item_icon .nav_item_icon-is-completed {
    transform: translateX(-100%);
}

.form-stepper_nav_item.is-completed .nav_item_icon .nav_item_icon-not-completed {
    opacity: 0;
}

.form-stepper_nav_item.is-completed .nav_item_icon .nav_item_icon-is-completed {
    opacity: 1;
}

.form-stepper_nav_item.is-completed.is-active ul {
    height: 100%;
    overflow: hidden;
    opacity: 1;
    transition: opacity var(--anim-duration-2) ease-in-out;
}

.form-stepper_nav_item ul li {
    margin: 1rem 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    display: none;
    transition: opacity var(--anim-duration-2) ease-in-out;
}

.form-stepper_nav_item ul li.is-active,
.form-stepper_nav_item ul li.is-completed {
    margin: .5rem 0;
    height: auto;
    overflow: hidden;
    opacity: 1;
    display: flex;
    transition: opacity var(--anim-duration-2) ease-in-out;
}

.form-stepper_nav_item ul li:first-child {
    margin-bottom: .25rem !important;
}

.form-stepper_nav_item ul li:last-child {
    margin-top: 0rem !important;
}

.form-stepper_nav_item.is-completed ul {
    margin: 1rem 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity var(--anim-duration-2) ease-in-out;
}

.form-stepper_nav_item ul li a {
    display: flex;
    flex-direction: column;
}

.form-stepper_nav_item ul li a span {
    font-weight: 400;
    color: var(--text-color__default);
}

.form-stepper_nav_item ul li.is-active a span {
    font-weight: 600;
    color: var(--bleu_dark);
}

.form-stepper_view_section_title {
    display: none;
}

.form-stepper_nav_item_answer {
    font-weight: 400;
}

.form-stepper_nav_item.is-completed.is-open ul {
    height: auto;
    opacity: 1;
}

.form-stepper_view_section {
    display: none;
    height: auto;
}

.form-stepper_view_section.is-active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.form-stepper_controller {
    position: relative;
    padding: 1rem;
    height: 2rem;
}

.previousSection,
.nextSection {
    display: flex;
}

.previousSection {
    display: flex;
    align-items: center;
    background: none;
    color: var(--gris_dark);
    border: none;
    cursor: pointer;
    height: 40px;
    font-size: 1rem;
    font-weight: 500;
    position: absolute;
    top: .5rem;
    left: .5rem;
}

.form-stepper_view_section-layout {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
    gap: 1rem;
}

.form-stepper_view_section-title {
    display: flex;
    align-items: center;
}

.form-stepper_view_section-title svg {
    height: 24px;
    width: 24px;
    display: none;
}

.form-stepper_view_section-title h6 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.form-stepper_view_section-title p {
    font-size: 1.6rem !important;
}

.form-stepper_view_section-input {
    display: flex;
    flex-direction: column;
}

.form-stepper_view_section-input label {
    display: block;
    color: var(--gris_dark);

    font-size: 1.6rem;
    line-height: 2.2rem;
    font-weight: 500;
    margin-bottom: .5rem;
}

.form-stepper_view_section-input input {
    width: 600px !important;
    display: block;
    font-size: 1.2rem;
    line-height: 2.2rem;
    padding: .825rem;
    border-radius: .5rem;
    appearance: none;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    box-shadow: inherit;
    border: 1px solid var(--gris_light);
    background-color: var(--gris_background);
}

.form-stepper_view_section-input input::placeholder {
    color: #909090;
}

[multiple]:focus,
[type=date]:focus,
[type=datetime-local]:focus,
[type=email]:focus,
[type=month]:focus,
[type=number]:focus,
[type=password]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=text]:focus,
[type=time]:focus,
[type=url]:focus,
[type=week]:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px var(--bleu_turquoise_light);
    border-color: var(--bleu_turquoise_light);
    outline: 2px solid transparent;
    outline-offset: 2px;
    background-color: var(--blanc);
    transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
    color: var(--noir);
}

.nav_item_text {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn {
    color: #fff;
    text-align: center;
    font-size: 16px;
    border-radius: 40px;
    height: 40px;
    border: none;
    padding: 8px 24px;
    background: var(--corail_mh_brand);
    transition: all .3s ease;
    outline: none !important;
    cursor: pointer;
}

@media (min-width: 992px) {
    .form-stepper_container {
        flex-direction: row;
        padding: 1rem;
    }

    .form-stepper_view {
        order: 1;
    }

    .form-stepper_nav {
        flex-direction: column;
        order: 2;
        gap: 0.5rem;
    }

    .form-stepper_nav_item ul {
        position: relative;
        z-index: 0;
        background: transparent;
    }
}

@media (max-width: 991px) {
    .stepper {
        display: flex;
        flex-direction: row;
    }

    .form-stepper_nav {
        overflow: auto;
        gap: 1rem;
        padding: 1rem;
        display: none !important;
    }

    .form-stepper_nav_item:before,
    .form-stepper_nav_item:after {
        left: inherit;
        top: calc((var(--mobile-section-btn__height) / 2) - 2px);
        width: 0.8rem;
        right: -0.9rem;
        height: 4px;
    }

    .form-stepper_nav_item.is-completed:after {
        height: 4px;
    }

    .form-stepper_nav_item.is-completed.is-active ul {
        opacity: 0;
    }

    .form-stepper_nav_item button {
        padding-left: calc(var(--mobile-section__timeline-offset) + var(--mobile-section-btn__height) / 2 + 1.75rem);
        padding-right: calc(var(--mobile-section-btn__height) / 2);
        padding-top: calc(var(--mobile-section-btn__height) / 5);
        padding-bottom: calc(var(--mobile-section-btn__height) / 5);
    }

    .form-stepper_nav_item .nav_item_text {
        white-space: nowrap;
    }

    .form-stepper_nav_item .nav_item_icon {
        left: calc(var(--mobile-section-btn__height) / 10) !important;
        width: var(--mobile-section-btn__height) !important;
        height: var(--mobile-section-btn__height) !important;
    }

    .form-stepper_nav_item .nav_item_icon svg {
        width: calc(var(--mobile-section-btn__height) / 2);
        height: calc(var(--mobile-section-btn__height) / 2);
    }

    .form-stepper_nav_item .nav_item_icon .nav_item_icon-not-completed,
    .form-stepper_nav_item .nav_item_icon .nav_item_icon-is-completed {
        width: var(--mobile-section-btn__height);
        height: var(--mobile-section-btn__height);
        left: var(--mobile-section-btn__height);
    }

    .form-stepper_nav_item .nav_item_icon .nav_item_icon-not-completed {
        left: 0;
    }

    .form-stepper_nav_item .nav_item_bg-anim {
        left: var(--mobile-section__bullet-offset);
        width: calc(var(--mobile-section-btn__height) * 1.5);
        height: var(--mobile-section-btn__height);
    }

    .nav_item_icon-is-completed {
        left: calc(var(--mobile-section-btn__height));
        opacity: 1;
    }

    .form-stepper_nav_item:not(.is-active.is-completed, .is-active) .nav_item_bg-anim {
        width: var(--mobile-section-btn__height);
        left: 0;
    }

    .form-stepper_nav_item:not(.is-active.is-completed, .is-active) .nav_item_text {
        opacity: 0;
        width: 0;
        overflow: hidden;
        transition: all var(--anim-duration-2) ease-in-out;
    }

    .form-stepper_nav_item:not(.is-active.is-completed, .is-active) button {
        padding-right: 0;
        padding-left: calc(var(--mobile-section-btn__height) + 0px);
        transition: all var(--anim-duration-2) ease-in-out;
    }

    .form-stepper_nav_item:not(.is-active.is-completed, .is-active) .nav_item_icon {
        left: 0 !important;
    }

    .form-stepper_nav_item.is-completed.is-active .nav_item_text,
    .form-stepper_nav_item.is-active .nav_item_text {
        opacity: 1;
        width: 100%;
        overflow: hidden;
        transition: all var(--anim-duration-2) ease-in-out;
    }

    .form-stepper_nav_item.is-completed .nav_item_icon .nav_item_icon-is-completed {
        left: calc(var(--mobile-section-btn__height));
        opacity: 1;
    }
}

.form-stepper_view_section-btn {
    display: none;
}

.form-stepper_view_sub-section {
    display: none;
    opacity: 0;
    transition: all ease-in-out .2s;
    transform: translateY(-1rem);
    flex: 1;
}

.form-stepper_view_sub-section.is-active {
    display: flex;
    opacity: 1;
    transition: all ease-in-out .2s;
    transform: translateY(0rem);
}

.form-stepper_view_section > svg {
    display: none;
}

.nav_item_icon svg {
    display: inline-block !important;
}

/* Radio Card */

.form-select-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    padding: 0 2rem;
    border-radius: .5rem;
    background: white;
    box-shadow: 0 0 0 0 rgba(34, 34, 34, 0);
    transition: all .3s ease-in-out;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    max-width: 120px;
}

.form-select-card:has(input[type="radio"]:checked),
.form-select-card:has(input[type="checkbox"]:checked) {
    background: var(--bleu_turquoise_light);
    border-color: var(--bleu_turquoise_light);
    font-size: 1.2rem;
    line-height: 2.2rem;
}

.form-select-card:has(input[type="radio"]:checked) svg,
.form-select-card:has(input[type="radio"]:checked) label,
.form-select-card:has(input[type="checkbox"]:checked) svg,
.form-select-card:has(input[type="checkbox"]:checked) label {
    color: var(--bleu_dark);
    opacity: 1;
    font-size: 1.2rem;
    line-height: 2.2rem;
}

.form-select-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.form-select-card {
    border: 1px solid var(--gris_light);
    transition: all .3s ease-in-out;
}

.form-select-card:hover {
    box-shadow: 0 3px 6px 0 rgba(34, 34, 34, 0.3);
}

.form-select-card svg {
    height: 32px;
    width: 32px;
    stroke-width: 1.5;
    color: var(--gris_dark);
    opacity: 1;
    pointer-events: none;
    margin-bottom: .5rem;
    transition: all .3s ease-in-out;
}

.form-select-card:hover svg {
    color: var(--text-color__valid);
}

.form-select-card label {
    color: var(--gris_dark);
    opacity: 1;
    font-size: 1rem;
    pointer-events: none;
    transition: all .3s ease-in-out;
    text-align: center;
}

.form-select-card:hover label {
    color: var(--text-color__valid);
}

.form-select-card svg.icon-is-selected {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: inline-block;
    z-index: 1;
    height: 24px;
    width: 24px;
    stroke-width: 1.5;
    color: white;
    stroke: white;
    opacity: 0;
    transform: translateY(2rem);
    transition: all .2s ease-in-out;
}

.form-select-card:has(input[type="radio"]:checked) svg.icon-is-selected,
.form-select-card:has(input[type="checkbox"]:checked) svg.icon-is-selected {
    opacity: 1;
    transform: translateY(0rem);
}

.form-select-card-group {
    display: flex;
    gap: 1rem;
}

.helper {
    margin-top: 1rem;
    font-size: 14px;
}

.input-error {
    border: 1px solid red !important;
    background-color: #ffe6e6;
    /* Optionnel : fond légèrement rosé */
    transition: all 0.3s ease;
    /* Pour un effet doux */
}

.form-select-card-group {
    display: grid !important;
    grid-template-columns: repeat(3, 185px) !important;
}

button:disabled {
    background-color: #ffb6a6;
}

button:disabled,
button[disabled] {
    background-color: #ffb6a6 !important;
}

.input-SELECT {
    border: 1px solid var(--gris_light) !important;
    background-color: var(--gris_background) !important;
    padding: .625rem !important;
    border-radius: .5rem;
}

@media (max-width: 756px) {
    .form-stepper_nav {
        display: none !important;
    }

    .form-select-card-group {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .logo-container {
        flex-direction: column;
        gap: 10px;
    }

    select {
        width: 280px !important;
    }
}
