/* Définition des variables CSS pour les couleurs */
:root {
    /* Couleurs principales */





    --green-main: #68dc9e; /* Vert principal #96C11F; */
    --green-ecology : #4c7954; /* Vert écologie */

    --gray-main: #102618; /* Gris profond #333E47 */
    --gray-steel: #6D7E8B; /* Gris acier */
    --gray-soft: #fcf7ec; /* Gris clair doux */
    --gray-muted: #BFBFBF; /* Gris atténué */
    --gray-neutral: #ced4da; /* Gris neutre */
    --gray-ghost: #EFF0F1; /* Gris fantôme (très clair) */
    --red-alert: #D13532;
    --yellow-main: #F5BA01; /* Jaune principal */
    --yellow-muted : #ffec83 /* Jaune */



}

.bg-white,.btn.bg-white:hover {
    background-color: white;
}
.bg-green-main ,.btn.bg-green-main:hover{
    background-color: var(--green-main);
}
.bg-gray-main ,.btn.bg-gray-main:hover{
    background-color: var(--gray-main);
}
.bg-gray-steel ,.btn.bg-gray-steel:hover{
    background-color: var(--gray-steel);
}
.bg-gray-soft ,.btn.bg-gray-soft:hover{
    background-color: var(--gray-soft);
}
.bg-gray-muted ,.btn.bg-gray-muted:hover{
    background-color: var(--gray-muted);
}
.bg-gray-neutral ,.btn.bg-gray-neutral:hover{
    background-color: var(--gray-neutral);
}
.bg-gray-ghost ,.btn.bg-gray-ghost:hover{
    background-color: var(--gray-ghost);
}
.bg-red-alert ,.btn.bg-red-alert:hover{
    background-color: var(--red-alert);
}
.bg-yellow-main ,.btn.bg-yellow-main:hover{
    background-color: var(--yellow-main);
}
.bg-yellow-muted ,.btn.bg-yellow-muted:hover{
    background-color: var(--yellow-muted);
}
.bg-none {
    background: none !important;
}

.border-\[1px\]{
    border: 1px solid ;
}
.border-\[2px\]{
    border: 2px solid ;
}
.border-\[3px\]{
    border: 3px solid;
}
.border-\[4px\]{
    border: 4px solid;
}
.border-white{
    border-color: white;
}
.border-green-main{
    border-color: var(--green-main);
}
.border-gray-main{
    border-color: var(--gray-main);
}
.border-gray-steel{
    border-color: var(--gray-steel);
}
.border-gray-soft{
    border-color: var(--gray-soft);
}
.border-gray-muted{
    border-color: var(--gray-muted);
}
.border-gray-neutral{
    border-color: var(--gray-neutral);
}
.border-gray-ghost{
    border-color: var(--gray-ghost);
}
.border-red-alert{
    border-color: var(--red-alert);
}
.border-yellow-main{
    border-color: var(--yellow-main);
}
.border-yellow-muted{
    border-color: var(--yellow-muted);
}


.color-white,.btn.color-white:hover,.a.color-white:hover{
    color: white;
}
.color-gray-main,.btn.color-gray-main:hover,.a.color-gray-main:hover{
    color: var(--gray-main);
}
.color-green-main,.btn.color-green-main:hover,.a.color-green-main:hover{
    color: var(--green-main);
}
.color-gray-steel,.btn.color-gray-steel:hover,.a.color-gray-steel:hover{
    color: var(--gray-steel);
}
.color-gray-soft,.btn.color-gray-soft:hover,.a.color-gray-soft:hover{
    color: var(--gray-soft);
}
.color-gray-muted,.btn.color-gray-muted:hover,.a.color-gray-muted:hover{
    color: var(--gray-muted);
}
.color-gray-neutral,.btn.color-gray-neutral:hover,.a.color-gray-neutral:hover{
    color: var(--gray-neutral);
}
.color-gray-ghost,.btn.color-gray-ghost:hover,.a.color-gray-ghost:hover{
    color: var(--gray-ghost);
}
.color-red-alert,.btn.color-red-alert:hover,.a.color-red-alert:hover{
    color: var(--red-alert);
}
.color-yellow-main,.btn.color-yellow-main:hover,.a.color-yellow-main:hover{
    color: var(--yellow-main);
}
.color-yellow-muted,.btn.color-muted-main:hover,.a.color-yellow-muted:hover{
    color: var(--yellow-muted);
}
a.color-green-main:hover{
    color: var(--gray-muted);
}
.btn:hover {
    font-weight: 600;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
.text-5xl {
    font-size: 3rem;
    line-height: 1;
}
.text-8xl {
    font-size: 6rem;
    line-height: 1;
}
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.text-xxs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.uppercase {
    text-transform: uppercase;
}
/* Style général */
/* Appliquer Flexbox sur le body et html */
html, body {
    height: 100%; /* Permet de forcer le body à occuper la hauteur complète */
    margin: 0; /* Enlever les marges par défaut */
    display: flex;
    flex-direction: column; /* Organise les enfants (contenu + footer) en colonne */
}

/* Le conteneur principal doit occuper tout l'espace disponible */
main {
    flex: 1; /* Prend l'espace restant entre le header et le footer */
}


body {
    background-color: var(--gray-soft); /* Fond général */
    font-family: 'Open Sans', sans-serif;
}

header {
    border-bottom: 1px solid #ddd; /* Ligne en bas du header */
    height: 100px; /* Hauteur fixe pour tout le header */
}

header nav a {
    transition: color 0.3s ease; /* Effet de transition pour les liens */
}

header nav a:hover {
    color: #007bff; /* Couleur bleue au survol */
}

/* Style des liens de navigation */
nav .nav-item {
    padding: 0 10px; /* Espacement latéral des liens */
    border-left: 1px solid var(--green-main);; /* Bordure grise entre les liens */
}

nav .nav-item:first-child {
    border-left: none; /* Pas de bordure pour le premier élément */
}

/* Champ de recherche */
form input.form-control {
    height: 40px; /* Hauteur du champ pour correspondre aux liens */
}

/* Surlignage vert pour "Mon compte" */
.nav-highlight {
    position: relative;
}

.nav-highlight::after {
    content: "";
    position: absolute;
    bottom: -4px; /* Surlignage sous le texte */
    left: 0;
    right: 0;
    height: 3px; /* Épaisseur */
    background-color: #96C11F; /* Couleur verte */
    border-radius: 2px;
}

/* Icône de déconnexion plus épaisse */
.text-danger {
    font-weight: 700; /* Plus épais */
}

/* Transition sur survol */
.nav-item {
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-item:hover {
    color: #007bff;
}



/* Titre du tableau de bord */
.dashboard-title {
    background-color: var(--green-main); /* Fond vert */
    color: #fff; /* Police blanche */
    font-weight: 600; /* Titre plus gras */
    padding: 15px 20px;
    margin-bottom: 15px;
}
/* Ajouter un effet au survol des liens */
.nav-link {
    color: black;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition ajoutée pour la couleur */
}

.nav-link i {
    margin-right: 10px;
    color: var(--gray-muted);
    font-size: 18px;
}

/* Survol du lien */
.nav-link:hover, .active .nav-link {
    background-color: var(--green-main); /* Fond au survol */
    color: white; /* Changer la couleur du texte */
}

/* Survol des icônes */
.nav-link:hover i,.nav-link:hover a , .active .nav-link a , .active .nav-link i {
    color: white; /* Changer la couleur des icônes au survol */
}



/* Fil d'Ariane */
.breadcrumb {
    background-color: transparent;
    color: var(--gray-main);
    border-top: 1px solid var(--gray-muted);
    border-bottom: 1px solid var(--gray-muted);
    padding: 12px 15px;
    font-size: 14px;
}

.breadcrumb .breadcrumb-item a {
    color: #6D7E8B; /* Couleur "Accueil" */
}

.breadcrumb .breadcrumb-item.active {
    font-weight: bold; /* Lien actif en gras */
}

/* Séparateur de l'élément de fil d'Ariane (flèche) */
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f054"; /* Code pour l'icône fa-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 5px;
}

/* Style des formulaires */
.form-row {
    display: flex;
    gap: 20px; /* Espacement entre les champs */
    margin-bottom: 15px;
}

.form-group {
    flex: 1; /* Chaque champ prend 1 part de l'espace */
}
/* Style spécifique au champ Civilité */


/* Style des champs de texte (Nom et Prénom) */
.form-group input {
    font-size: 1rem;
}






/* Style des champs désactivés */
input:disabled, select:disabled {
    background-color: #f5f5f5;
    color: #aaa;
    border: 1px solid #ccc;
}

/* Pour que le champ "Civilité" soit plus petit */


/* Style des cartes (Mes coordonnées et Adresse de facturation) */
.card {
    background-color: #fff; /* Fond blanc */
    border-radius: 8px; /* Coins arrondis */
    margin-bottom: 15px;
    border : 0;
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Style de la carte de coordonnées et d'adresse */
.card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Styles pour le bouton de changement de mot de passe */
.btn-vert {
    background-color: var(--green-main);
    color: white;
    font-size: 0.8rem;
    border-radius: 8px; /* Coins arrondis */
    transition: background-color 0.3s ease;
}

.btn-vert:hover {
    font-weight: 600;
    color: white;
    background-color: var(--green-main);
}

/* Styles pour le bouton de changement de mot de passe */
.btn-red {
    background-color: var(--red-alert);
    color: white;
    font-size: 0.8rem;
    border-radius: 8px; /* Coins arrondis */
    transition: background-color 0.3s ease;
}

.btn-red:hover {
    font-weight: 600;
    color: white;
    background-color: var(--red-alert);
}

/* Style du bouton vert */
.btn-edit {
    display: inline-flex; /* Alignement icône et texte */
    align-items: center;
    background-color: var(--gray-neutral);; /* Couleur verte */
    color: white; /* Texte blanc */
    font-weight: 400; /* Texte en gras */
    font-size: 16px; /* Taille de la police */
    padding: 10px 20px; /* Espacement interne */
    border: none; /* Retirer les bordures */
    border-radius: 0;
    transition: background-color 0.3s ease; /* Effet de transition */
    cursor: pointer; /* Pointeur cliquable */
}

/* Icône du bouton */
.btn-edit i {
    margin-right: 8px; /* Espacement entre l'icône et le texte */
    font-size: 18px; /* Taille de l'icône */
}

/* Changement de couleur au survol */
.btn-edit:hover {
    color : white;
    background-color: var(--gray-neutral);; /* Couleur verte */
    font-weight: 800; /* Couleur verte légèrement plus foncée */
}
.btn.bg-green-main.color-white:hover {
    background-color: var(--green-main); /* Pas de changement de fond */
    color: white; /* Pas de changement de texte */
    font-weight: bold; /* Texte en gras au survol */
}
.btn.bg-white.color-gray-main:hover {
    background-color: white; /* Pas de changement de fond */
    color: var(--gray-main); /* Pas de changement de texte */
    font-weight: bold; /* Texte en gras au survol */
}


/* Slick.js override */
.slick-initialized {
    padding: 0!important;
}

.slick-list {
    padding-top: 16px!important;
    padding-bottom: 30px!important;
}
.slick-track {
    margin: -8px 0;
}

.slick-list .card-item {
    margin-left: 8px;
    margin-right: 8px;
    border-bottom-color: rgb(229, 231, 235);
    box-shadow: rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0.25) 0 0 20px 0;
}
.card-item {
    border-bottom-color: rgb(229, 231, 235);
    box-shadow: rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0.25) 0 0 20px 0;
}

.slick-nav {
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
}
.slick-nav svg {
    width: 50px!important;
    height: 50px!important;
    background: white;
    border: 2px solid white;
    border-radius: 50%;
    color: rgb(112, 112, 112);
}
.slick-nav.prev-arrow {
    left: -25px;
}
.slick-nav.next-arrow {
    right: -25px;
}
.slick-disabled {
    display: none!important;
}
.selection\:bg-transparent *::-moz-selection {
    background-color: transparent;
}
.selection\:bg-transparent *::selection {
    background-color: transparent;
}
.selection\:bg-transparent::-moz-selection {
    background-color: transparent;
}
.selection\:bg-transparent::selection {
    background-color: transparent;
}
.before\:left-0::before {
    content: "";
    left: 0px;
}
.before\:top-0::before {
    content: "";
    top: 0px;
}
.before\:-z-10::before {
    content: "";
    z-index: -10;
}
.before\:h-\[100\%\]::before {
    content: "";
    height: 100%;
}
.before\:w-\[100vw\]::before {
    content: "";
    width: 100vw;
}
.before\:bg-alto-300::before {
    content: "";
    background-color: rgb(217 217 217);
}
.after\:absolute::after {
    content: "";
    position: absolute;
}
.after\:bottom-\[-20px\]::after {
    content: "";
    bottom: -20px;
}
.after\:left-1\/2::after {
    content: "";
    left: 50%;
}
.after\:h-\[40px\]::after {
    content: "";
    height: 40px;
}
.after\:w-\[109px\]::after {
    content: "";
    width: 109px;
}
.after\:-translate-x-1\/2::after {
    content: "";
    transform: translate( -50%, 0) rotate(0) skewX(0) skewY(0) scaleX(0) scaleY(0);
}
.after\:rounded::after {
    content: "";
    border-radius: 0.25rem;
}
.after\:shadow-md::after {
    content: "";
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.after\:content-\[\'\'\]::after {
    --tw-content: '';
    content: "";
}
.first\:pt-0:first-child {
    padding-top: 0;
}
.last\:pb-0:last-child {
    padding-bottom: 0;
}
.checked\:border-blue-600:checked {
    border-color: rgb(37 99 235);
}
.checked\:border-citron-500:checked {
    border-color: rgb(150 193 31);
}
.checked\:border-slate-gray-800:checked {
    border-color: rgb(61 69 77);
}
.checked\:\!bg-citron-500:checked {
    background-color: rgb(150 193 31) !important;
}
.checked\:\!bg-slate-gray-800:checked {
    background-color: rgb(61 69 77) !important;
}
.checked\:bg-blue-600:checked {
    background-color: rgb(37 99 235);
}
.checked\:after\:absolute:checked::after {
    content: "";
    position: absolute;
}
.checked\:after\:ml-\[5px\]:checked::after {
    content: "";
    margin-left: 5px;
}
.checked\:after\:mt-px:checked::after {
    content: "";
    margin-top: 1px;
}
.checked\:after\:block:checked::after {
    content: "";
    display: block;
}
.checked\:after\:h-\[9px\]:checked::after {
    content: "";
    height: 9px;
}
.checked\:after\:w-\[5px\]:checked::after {
    content: "";
    width: 5px;
}
.checked\:after\:rotate-45:checked::after {
    content: "";
    --tw-rotate: 45deg;
    transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}
.checked\:after\:border-2:checked::after {
    content: "";
    border-width: 2px;
}
.checked\:after\:border-l-0:checked::after {
    content: "";
    border-left-width: 0px;
}
.checked\:after\:border-t-0:checked::after {
    content: "";
    border-top-width: 0px;
}
.checked\:after\:border-solid:checked::after {
    content: "";
    border-style: solid;
}
.checked\:after\:border-white:checked::after {
    content: "";
    border-color: rgb(255 255 255);
}
.checked\:after\:bg-transparent:checked::after {
    content: "";
    background-color: transparent;
}
.checked\:after\:content-\[\'\'\]:checked::after {
    content: "";
}

.max-w-220 {
    max-width: 220px;
}

.border-dove-gray-200 {
    border-color: #E5E7EB;
}

.will-change-transform {
    will-change: transform;
}

.transition {
    transition: all 0.3s ease-in-out;
}

.cursor-pointer {
    cursor: pointer;
}

.xl:hover\:translate-y-n5:hover {
    transform: translateY(-5px);
}

/* Effets pour l'élément after */
.after\:content-\[\'\'\]::after {
    content: "";
}

.after\:absolute::after {
    position: absolute;
}

.after\:w-109::after {
    width: 109px;
}

.after\:h-40::after {
    height: 40px;
}

.after\:bottom-n20::after {
    bottom: -20px;
}

.after\:left-50::after {
    left: 50%;
}

.after\:translate-x-n50::after {
    transform: translateX(-50%);
}

.after\:rounded::after {
    border-radius: 0.25rem;
}

.after\:shadow-md::after {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* XL spécifique */
@media (min-width: 1200px) {
    .xl\:hover\:shadow-lg:hover {
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    }

    .xl\:hover\:after\:shadow-lg:hover::after {
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    }
}

.bottom-n20 {
    bottom: -20px;
}
.mt-n1 {
    margin-top: -0.3rem;
}
.object-cover {
    object-fit: cover !important;
}

.transition-300 {
    transition: all 0.3s ease-in-out !important;
}

.group:hover .brightness-75 {
    filter: brightness(75%) !important;
}
.group:hover .scale-125 {
    transform: scale(1.25) !important;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--gray-ghost);  /* Changer la couleur de fond */
    --bs-tooltip-color: var(--gray-main);; /* Changer la couleur du texte */
    --bs-tooltip-border-radius: 8px; /* Ajouter un arrondi */
    --bs-tooltip-padding-y: 12px;
    --bs-tooltip-padding-x: 12px;
    --bs-tooltip-font-size: 12px;
    --bs-tooltip-max-width:600px;
    --bs-tooltip-text-align:left;
    --bs-tooltip-opacity: 1;
    text-align: left;
}
.custom-tooltip .tooltip-inner ul {
    text-align: left;
    list-style: none; /* Supprime les puces */
    padding-left: 0; /* Supprime le décalage à gauche */
    margin: 0; /* Supprime les marges */
}
.custom-tooltip .tooltip-inner h5 {

    margin-bottom: 1px;
    line-height: 16px;
}


/* Style général pour les blocs */
.option-box {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.option-box:not(:has(.custom-checkbox-visible:disabled)):hover {
    transform: translateY(-5px);
}

.custom-checkbox-visible {
    background-color: white;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--gray-neutral);
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 0 1px 1px white;
}

.custom-checkbox-visible:checked {
    background-color: var(--green-main);
    border-color: var(--green-main);
    box-shadow: 0 0 0 2px rgba(150, 193, 31, 0.4);
}

.custom-checkbox-visible:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.option-box:has(.custom-checkbox-visible:disabled) {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    transform: none !important;
}

/* Permet aux .card de prendre toute la hauteur disponible */
.option-box .card {
    height: 100%;
    position: relative;
    padding-left: 2rem !important; /* la place pour le bouton radio à gauche */
}

/* Radio visible et customisée */
.custom-radio-visible, .custom-font-ecology-radio-visible {
    background-color: white;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--gray-neutral);
    border-radius: 50%;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 0 1px 1px white;
}


/* Style quand la radio est cochée */
.custom-radio-visible:checked {
    background-color: var(--green-main);
    border-color: var(--green-main);
    box-shadow: 0 0 0 2px rgba(150, 193, 31, 0.4);
}
.custom-font-ecology-radio-visible:checked {
    background-color: var(--green-main);
    border-color: var(--green-main);
    box-shadow: 0 0 0 2px rgba(150, 193, 31, 0.4);
}

/* .box-card : style de la carte */
.box-card,.custom-ecology-box-card,.custom-green-main-box-card{
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}
.box-card{
    background-color: #fff;
    border: 1px solid var(--gray-neutral);
}
.custom-ecology-box-card{
    background-color: #4c7954;
    color : var(--gray-soft);
    border: 1px solid var(--gray-neutral);
}

.custom-green-main-box-card{
    background-color:  var(--green-main);
    border: 1px solid var(--gray-neutral);
}


/* Hover sur la carte */
.box-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Appliquer une bordure verte quand la radio est cochée */
.custom-radio-visible:checked + .box-card {
    border: 2px solid var(--green-main);
    box-shadow: 0 0 0 2px rgba(150, 193, 31, 0.25);
}
.custom-font-ecology-radio-visible:checked + .custom-ecology-box-card {
    border: 2px solid #395a3e;
    box-shadow: 0 0 0 2px rgba(150, 193, 31, 0.25);
}

/* Checkbox visible et stylisée */
.custom-checkbox-visible {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--gray-neutral);
    background-color: white;
    border-radius: 4px; /* carré ou légèrement arrondi */
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 0 1px 1px white;
}

.custom-checkbox-visible:checked {
    background-color: var(--green-main);
    border-color: var(--green-main);
    box-shadow: inset 0 0 0 2px white; /* 💡 bordure blanche intérieure */
}

.custom-checkbox-visible:checked + .box-card {
    border: 2px solid var(--green-main);
    box-shadow: 0 0 0 2px rgba(150, 193, 31, 0.25);
}

/* Style pour le bouton info (tooltip) */
.tooltip-btn {
    width: 22px;
    height: 22px;
    background-color: var(--gray-steel);
    color: white;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.price-label-tight {
    line-height: 14px;
    margin-top: 1rem; /* équivalent mt-3 */
    margin-right: 1rem; /* équivalent me-3 */
    text-align: end;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
}

#list-step {
    list-style: none;
    padding-left: 0;
}
.step-button {
    position: relative;
    background: none;
    border: none;
    outline: none;
    font-weight: 500; /* moins gras */
    font-size: 1rem;
    padding-bottom: 1rem; /* plus d’espace avec la bordure */
    transition: color 0.3s ease;
    color: var(--gray-muted); /* gris clair par défaut */
    width: 100%;
}

.step-button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
    background-color: var(--gray-muted);
    transition: background-color 0.3s ease;
}

/* Étapes précédentes */
.step-button.previous {
    color: var(--gray-main); /* gris foncé */
}

.step-button.previous::after {
    background-color: var(--gray-main);
}

/* Étape active */
.step-button.active {
    color: var(--green-main); /* vert Carrébox */
}

.step-button.active::after {
    background-color: var(--green-main);
}
.step-item {
    flex: 0 0 auto;
    min-width: 160px;
}

@media (min-width: 768px) {
    .step-item {
        flex: 1 1 0%;
        min-width: 0;
    }
}
/* ---------------------------
   Résumé et overlay de chargement
--------------------------- */
#summaryReservation .card {
    position: relative;
}

.summary-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    z-index: 10;
}

.summary-loading.d-none {
    display: none !important;
}

/* ---------------------------
   Bouton flottant carré mobile
--------------------------- */
.mobile-summary-btn-square {
    position: fixed;
    bottom: 4rem;
    right: 0;
    width: 52px;
    height: 120px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--color-green-main, #61dea1);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: sideways-lr; /* 🔄 Texte de bas en haut */
    text-orientation: mixed;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 1030;
    transition: all 0.3s ease;
    padding: 0; /* supprime toute marge intérieure */
}

/* Survol */
.mobile-summary-btn-square:hover {
    background-color: #4ec48c;
    transform: translateX(-2px) scale(1.05);
}

/* Animation “mise à jour” */
.mobile-summary-btn-square.updated {
    animation: summaryPulse 1.2s ease-out;
}

/* Animation “mise à jour” */
@keyframes summaryPulse {
    0%   { box-shadow: 0 0 0 0 rgba(97, 222, 161, 0.7); transform: scale(1); }
    50%  { box-shadow: 0 0 0 10px rgba(97, 222, 161, 0); transform: scale(1.08); }
    100% { box-shadow: 0 0 0 0 rgba(97, 222, 161, 0); transform: scale(1); }
}


/* ---------------------------
   Offcanvas mobile
--------------------------- */
#summaryOffcanvas.offcanvas-bottom {
    height: 100dvh !important;
}

/* Laisse de la place en bas du tunnel */
@media (max-width: 991.98px) {
    #tunnelReservation {
        padding-bottom: 100px;
    }
}
/* Quand un offcanvas est ouvert, Bootstrap ajoute body.offcanvas-open */
body.offcanvas-open .mobile-summary-btn-square {
    opacity: 0;
    pointer-events: none;
}

/* Si tu as un menu mobile en .navbar-collapse (Bootstrap collapse) */
body.nav-open .mobile-summary-btn-square {
    opacity: 0;
    pointer-events: none;
}

/* Ne pas estomper le bouton "étape suivante" quand il est disabled */
.btn-keep-appearance {
    --bs-btn-disabled-opacity: 1; /* Bootstrap 5 */
}

.btn-keep-appearance,
.btn-keep-appearance.disabled,
.btn-keep-appearance:disabled,
fieldset:disabled .btn-keep-appearance {
    opacity: 1 !important;
    filter: none !important;
    background-color: var(--color-green-main, #61dea1) !important;
    color: #fff !important;
    border-color: transparent !important;
    cursor: not-allowed; /* quand il est disabled */
}