/* =========================
   Base & variables (mobile-first)
   ========================= */

:root {
    --primary-color: #4d2a17;
    --secondary-color: rgba(77, 42, 23, 0.42);
    --accent-color: #8B4513;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #f1ede9;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5rem;
    line-height: 1.25;
    font-family: "Raleway", sans-serif;
}

/* =========================
   Hero / titres
   ========================= */

.backgroundImageaPropos {
    height: 90vh;
    /*background-image: url('../../image/Ciel - Copie.jpg');*/
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 25px;

}


h2 {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5em;
}

.importantText {
    color: var(--accent-color);
    font-weight: 700;
}

/* =========================
   Grilles & cartes
   ========================= */

.aProposColone,
.aProposColoneThree,
.gapaPropos {
    padding: 1rem;
}

.aProposColone {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.aProposColoneThree {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    gap: 3%;
    width: 95%;
    margin: 0 auto;
}

/* Cartes de contenu */
.paragrapheaPropos {
    background: var(--white);
    border: 1px solid rgba(77, 42, 23, 0.08);
    border-radius: 16px;
    padding: 1.6rem;
    padding-top: 1rem;
    margin: 10px;
    box-shadow: 0 8px 24px var(--shadow);
    transition: var(--transition);

}

.paragrapheaPropos:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px var(--shadow);
}

.sousTitreParagraphe {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
    padding-bottom: 0.5rem;
}

.paragrapheInterligne {
    margin: 0.25rem 0 0;
}

/* Listes stylisées pour lisibilité */
.paragraphe ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0.25rem;
}

.paragraphe li {
    position: relative;
    padding-left: 1.25rem;
    margin: 0.35rem 0;
}

.paragraphe li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.85;
}

/* Images de section */
.photoaPropos {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow);
}
 .imageLayerOne{
     background-image: url("../../image/theoConference.avif");
     background-size: contain;
     background-position: center;
     background-repeat: no-repeat;
     position: relative; /* Ajoutez cette propriété pour positionner le texte par rapport à ce conteneur */
     width: 100%;
 }

/* =========================
   Accessibilité & focus
   ========================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Préférence utilisateur: réduire les animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.paragrapheSecondPartConcluBorder {
    border: 0.2em solid #f3efea;
    padding: 1em;
    border-radius: 16px;
    margin: 1.1rem;
}

.paragrapheSecondPartConclu {
    font-size: 1.5em;
    text-align: center;
    padding-bottom: 1em;
}

.paragrapheSecondPartConcluText {
    color: #f3efea;
    padding: 0em 2em 0.5em 2em;
    text-align: center;
}

.layerOne, .layerTwo, .layerThree, .layerFour {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 0px;
}

.layerOne {
    background-color: #dacbbf;
    position: relative;
    padding-top: 2em;
}

.layerTwo {
    background-color: #ac917d;
    position: relative;
    padding-top: 2em;

}

.layerThree {
    background-color: #856753;
    position: relative;
    padding-top: 2em;

}

.layerFour {
    background-color: rgb(96, 67, 43);
    padding-top: 2em;
}

.layerOneTitle {
    position: absolute;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 2px solid rgba(77, 42, 23, 0.17);
    background-color: #dacbbf;
    width: fit-content;
    padding: 1.5em;
    bottom: -1px; /* Positionne en bas du conteneur parent */
    left: 0; /* Aligne à gauche du conteneur parent, ajustez si nécessaire */
    margin-bottom: 0; /* Assurez-vous qu'il n'y a pas de marge inférieure */
    z-index: 1000; /* Assurez-vous que le z-index est suffisamment élevé */
    text-align: center;
}


.layerTwoTitle {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 2px solid rgba(77, 42, 23, 0.17);
    background-color: #ac917d;
    width: fit-content;
    padding: 1.5em;
    margin-bottom: 0; /* Assurez-vous qu'il n'y a pas de marge inférieure */
    z-index: 1000; /* Assurez-vous que le z-index est suffisamment élevé */
    bottom: 0;
    text-align: center;

}

.layerThreeTitle {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 2px solid rgba(77, 42, 23, 0.17);
    background-color: #856753;
    width: fit-content;
    padding: 1.5em;
    margin-bottom: 0; /* Assurez-vous qu'il n'y a pas de marge inférieure */
    z-index: 1000; /* Assurez-vous que le z-index est suffisamment élevé */
    bottom: 0;
    text-align: center;

}

.layerFourTitle {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 2px solid rgba(77, 42, 23, 0.17);
    background-color: #60432BFF;
    width: fit-content;
    padding: 1.5em;
    margin-bottom: 0; /* Assurez-vous qu'il n'y a pas de marge inférieure */
    z-index: 1000; /* Assurez-vous que le z-index est suffisamment élevé */
    bottom: 0;
    text-align: center;

}

body {
    background-color: #f3efea !important;
}

.background-container-aPropos {
    background-color: #f3efea;
    background-image: url("../../image/assetsAnnecy/canal.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}


.reservation-box-aPropos {
    background-color: rgba(243, 239, 234, 0.78);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 5px;
    max-width: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.reservation-box-aPropos h1 {
    color: #4d2a17;
    font-size: 2.2em;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
}

.reservation-box-aPropos p {
    color: #555;
    font-size: 1em;
    text-align: center;
}

.reservation-box-aPropos .centerButton {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.headeraPropos {
    padding-bottom: 2em;
}

.aProposColoneFirst {
    flex-direction: column;
}

.layerGap {
    height: 2em;
}

.aProposSecondPart {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1rem;
}

.lightTitle {
    color: #f3efea;
}

.titleLayerThree {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.titleLayerThreeTwo {
    color: #f3efea;
    font-size: 1.8em;
    overflow: visible;
}

.aProposColoneThree {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 0.5fr 1fr;
}

.layerThreeTitleFirstPart {
    text-align: center;
    text-decoration: underline;
    color: #4d2a17;
}

.layerThreeParagrapheaPropos {
    text-align: left;
}
.paragrapheaProposPadding{
    padding: 1em;
    margin: 1em;
}
.lienMemoire {
    color: #4d2a17;
    font-style: italic;
    font-weight: bold;
    border: 0.2em solid #4d2a17;
    padding: 0.2em;
    margin-top: 0.5em;
    border-radius: 1em;
    display: block;
    text-align: center;
}

@media (max-width: 700px) {
    .layerFourParagraphe{
        display: unset;
    }
    .aProposColoneThree {
        display: unset;
    }

    .background-container-aPropos {
        background-image: url("../../image/assetsAnnecy/canal.png");
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        text-align: center;
    }

    .reservation-box-aPropos {
        background-color: rgba(243, 239, 234, 0.78);
        backdrop-filter: blur(5px);
        padding: 30px;
        border-radius: 5px;
        width: 80vw;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .aProposColone {
        grid-template-columns: 1fr;
        align-items: center;
        margin: 0 auto; /* Centrer la grille horizontalement */
        justify-items: center;
    }

    .aProposColoneParagraphePosition {
        display: flex;
        align-items: center;
    }

    .aProposSecondPart {
        grid-template-columns: 1fr;
    }

    .layerOne, .layerTwo, .layerThree, .layerFour {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px;
        border-top-left-radius: 0px;
    }

    .imageLayerOne{
        display: none;
    }
}

