@media (prefers-color-scheme: dark) {
  html {
    background-color: #fff !important;
    color-scheme: only light;
  }

  body, body * {
    background: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
  }
}


/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Corps de la page */
body {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff; /* Fond blanc */
    color: #333; /* Texte noir pour lisibilité */
}

  html,
  body {
    min-height: 100vh;
    font-family: "Sora";
    background: var(--bg-base);
    color: var(--text-color);
    scroll-behavior: smooth;
    scrollbar-color: #f1a541 transparent;
    scrollbar-width: thin;
  }

/* Conteneur principal */
.JUG-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 8%;  /* Augmenté pour descendre plus bas */
}

/* Structure en colonnes */
.JUG-container .JUG-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.JUG-row .JUG-col {
    display: flex;
    flex-direction: column;
}

.JUG-row .JUG-left {
    flex-basis: 35%;
    min-width: 320px;
    margin-right: 60px;
}

.JUG-row .JUG-right {
    flex-basis: 60%;
}

/* TITRE CONTACT */
.JUG-contactTitle h2 {
    position: relative;
    font-size: 28px;
    color: #333; /* Texte noir */
    display: inline-block;
    margin-bottom: 25px;
}

.JUG-contactTitle h2::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 1px;
    background-color: #888;
    top: 120%;
    left: 0;
}

.JUG-contactTitle h2::after {
    content: '';
    position: absolute;
    width: 25%;
    height: 3px;
    background-color: #d19a75; /* Couleur principale */
    top: calc(120% - 1px);
    left: 0;
}

/* Description */
.JUG-contactTitle p {
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    line-height: 1.2;
    padding-bottom: 22px;
}

/* Informations de contact */
.JUG-contactInfo {
    margin-bottom: 16px;
}

.JUG-iconGroup {
    display: flex;
    align-items: center;
    margin: 25px 0px;
}

.JUG-icon {
    width: 45px;
    height: 45px;
    border: 2px solid #d19a75;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
}

.JUG-icon i {
    font-size: 20px;
    color: #d19a75;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.JUG-details span {
    display: block;
    color: #777;
    font-size: 16px;
}

.JUG-details span:nth-child(1) {
    text-transform: uppercase;
    color: #333;
}

/* Icônes des réseaux sociaux */
.JUG-socialMedia {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 22px 0px 20px;
}

.JUG-socialMedia a {
    width: 35px;
    height: 35px;
    text-decoration: none;
    text-align: center;
    margin-right: 15px;
    border-radius: 5px;
    background-color: #d19a75;
    transition: 0.4s;
}

.JUG-socialMedia a i {
    color: #fff;
    font-size: 18px;
    line-height: 35px;
    border: 1px solid transparent;
    transition-delay: 0.4s;
}

.JUG-socialMedia a:hover {
    transform: translateY(-5px);
    background-color: #2e2e2e;
    color: #d19a75;
    border: 1px solid #d19a75;
}

.JUG-socialMedia a:hover i {
    color: #d19a75;
}

/* FORMULAIRE */
.JUG-messageForm {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
}

.JUG-inputGroup {
    margin: 21px 0px;
    position: relative;
}

.JUG-messageForm .JUG-halfWidth {
    flex-basis: 48%;
}

.JUG-messageForm .JUG-fullWidth {
    flex-basis: 100%;
}

.JUG-messageForm input,
.JUG-messageForm textarea {
    width: 100%;
    font-size: 15px;
    padding: 10px;
    background-color: #fff;
    color: #333;
    border: 1px solid #d19a75;
    outline: none;
    border-radius: 5px;
}

.JUG-messageForm textarea {
    resize: none;
    height: 150px;
}

/* SCROLLBAR DES TEXTAREAS */
textarea::-webkit-scrollbar {
    width: 5px;
}

textarea::-webkit-scrollbar-track {
    background-color: #f2f2f2;
    border-radius: 15px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #d19a75;
    border-radius: 15px;
}

/* LABEL DES INPUTS */
.JUG-inputGroup label {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #d19a75;
    font-size: 16px;
    transition: 0.4s;
    pointer-events: none;
}

.JUG-inputGroup input:focus ~ label,
.JUG-inputGroup textarea:focus ~ label,
.JUG-inputGroup input:valid ~ label,
.JUG-inputGroup textarea:valid ~ label {
    transform: translateY(-37px);
    font-size: 14px;
    color: #333;
}

/* BOUTON D'ENVOI */
.JUG-inputGroup button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #d19a75;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    transition: 0.4s;
}

.JUG-inputGroup button:hover {
    background-color: #fff;
    color: #d19a75;
    border: 1px solid #d19a75;
}

/* RESPONSIVE DESIGN */

/* ÉCRANS ENTRE 1100px ET 900px */
@media(max-width: 1100px) {
    .JUG-messageForm .JUG-halfWidth {
        flex-basis: 100%;
    }
}

/* ÉCRANS INFÉRIEURS À 900px */
@media(max-width: 900px) {
    .JUG-container .JUG-row {
        flex-wrap: wrap;
    }

    .JUG-row .JUG-left,
    .JUG-row .JUG-right {
        flex-basis: 100%;
        margin: 0px;
    }
}
/*==================== JUG-MESSAGE ====================*/
.JUG-message {
    padding: 5rem 2rem; /*Ajustement sur les côter JUG*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.JUG-message__container {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #d19a75;
    position: relative;
}

.JUG-message__title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.JUG-message__quote {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.JUG-message__signature {
    font-weight: bold;
    font-size: 1.1rem;
    color: #d19a75;
    display: block;
    margin-bottom: 2rem;
}

.JUG-message__cta p {
    font-size: 1rem;
    padding: 20px 0;
    color: #444;
    margin-bottom: 1rem;
}

.JUG-message__button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #d19a75;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.JUG-message__button:hover {
    background-color: #fff;
    color: #d19a75;
    border: 1px solid #d19a75;
}

/*==================== JUG-INSPIRE ====================*/
.JUG-inspire {
    position: relative;
    background: linear-gradient(135deg, rgba(209, 154, 117, 0.9), rgba(165, 93, 45, 0.9)); /* Dégradé orange */
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
    border-radius: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Arrière-plan quadrillé */
.JUG-inspire__grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px; /* Taille des carrés */
    opacity: 0.7; /* Effet subtil */
    z-index: 1;
}

/* Effet de flou sur tout l'arrière-plan */
.JUG-inspire__blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px); /* Applique le flou */
    -webkit-backdrop-filter: blur(10px);
    opacity: 0.2; /* Reste subtil */
    z-index: 2;
}

/* Contenu principal */
.JUG-inspire__container {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: auto;
    color: #fff;
    gap: 2rem;
    position: relative;
    z-index: 3; /* Passe devant le flou */
}

/* Image circulaire avec effet */
.JUG-inspire__image {
    flex: 1;
    max-width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.JUG-inspire__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenu textuel */
.JUG-inspire__content {
    flex: 2;
    text-align: left;
}

.JUG-inspire__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.JUG-inspire__date {
    font-size: 1rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 1rem;
}

.JUG-inspire__quote {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

/*==================== RESPONSIVE ====================*/
@media screen and (max-width: 768px) {
    .JUG-inspire__container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1.5rem; /* Ajout d’un padding pour éviter que le texte touche les bords */
    }

    .JUG-inspire__image {
        max-width: 120px;
        height: 120px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .JUG-inspire__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%; /* Maintient l’image dans un cercle parfait */
    }

    .JUG-inspire__content {
        text-align: center;
        padding-left: 0; /* Enlève l’espace sur la gauche en mobile */
    }

    .JUG-inspire__title {
        font-size: 1.8rem;
    }

    .JUG-inspire__quote {
        font-size: 1rem;
    }
}