/* =========================================================
   RESET / BASE
   ========================================================= 
   
* {
    box-sizing: border-box;
}

html {
    background: #808000;
}

body {
    margin: 0;
    background: #808000;
    color: #5A3A22;
    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    font-size: 16px;
}


/* =========================================================
   STRUCTURE PRINCIPALE
   ========================================================= 

.site-wrapper {
    width: 92%;
    max-width: 1250px;
    margin: 14px auto;
    background: #F5F5DC;
}


/* =========================================================
   BANNIÈRE
   ========================================================= 

.banniere {
    min-height: 205px;
    background: #C2B280;
    display: grid;
    grid-template-columns: 270px 1fr 150px;
    align-items: center;
    padding: 14px 18px;
    gap: 18px;
}

.banniere-photo img {
    display: block;
    width: 270px;
    height: 180px;
    object-fit: cover;
}

.banniere-logo {
    text-align: center;
}

.banniere-logo img {
    width: 300px;
    max-width: 100%;
    height: auto;
}

.banniere-label {
    text-align: center;
}

.banniere-label img:first-child {
    display: block;
    width: 100px;
    max-width: 100%;
    margin: 0 auto 8px;
}

.banniere-label img:last-child {
    width: 80px;
    max-width: 100%;
}


/* =========================================================
   LAYOUT / NAVIGATION
   ========================================================= 

.content-layout {
    display: grid;
    grid-template-columns: 205px 1fr;
    align-items: stretch;
}

#navcontainer {
    background: #C2B280;
    padding: 20px 10px 25px;
}

.menu-titre {
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 8px 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(90, 58, 34, 0.35);
}

#navlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navlist li {
    margin: 0;
    padding: 0;
}

#navlist li a {
    display: block;
    padding: 9px 10px;
    color: #5A3A22;
    text-decoration: none;
    transition: 0.2s;
}

#navlist li a:hover {
    background: rgba(245, 245, 220, 0.45);
}

#navlist li a#current {
    background: #5A3A22;
    color: #F5F5DC;
    font-weight: bold;
    border-left: 4px solid #808000;
}

#navlist .menu-section {
    margin: 14px 8px 2px;
    padding: 7px 0 6px;
    border-bottom: 1px solid rgba(90, 58, 34, 0.35);
    color: #5A3A22;
    text-transform: uppercase;
    font-size: 0.88em;
    letter-spacing: 0.4px;
    font-weight: bold;
}

.menu-localisation {
    margin: 28px 4px 0;
    padding: 14px 8px 0;
    border-top: 1px solid rgba(90, 58, 34, 0.35);
    text-align: center;
    font-size: 0.84em;
    line-height: 1.45;
}

.menu-localisation strong,
.menu-localisation span {
    display: block;
}

.menu-localisation strong {
    color: #808000;
    margin-bottom: 3px;
}


/* =========================================================
   CONTENU DE PAGE
   ========================================================= 

#page {
    background: #F5F5DC;
    min-width: 0;
    padding: 0;
}
*/
.page-interieur {
    padding: 0 28px 40px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.intro-gite {
    text-align: center;
    padding: 32px 0 22px;
}

.sur-titre {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9em;
    color: #808000;
}

h1 {
    font-size: 2.3rem;
    margin: 8px 0;
    color: #5A3A22;
}

.hero-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: #808000;
}

.hero-rule span {
    width: 60px;
    height: 1px;
    background: #C2B280;
}

.hero-rule strong {
    font-size: 1.05rem;
}

.intro-texte {
    max-width: 720px;
    margin: 18px auto;
    line-height: 1.65;
}


/* =========================================================
   CLASSEMENT / AVIS
   ========================================================= */

.classement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.classement span {
    font-weight: bold;
    color: #808000;
}

.classement a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.classement img:first-child {
    width: 70px;
}

.classement img:last-child {
    width: 50px;
}


/* =========================================================
   TITRES DE SECTION
   ========================================================= */

.titre-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px 0 20px;
}

.titre-section span {
    color: #808000;
    font-size: 1.5rem;
}

.titre-section h2 {
    margin: 0;
    font-size: 1.55rem;
    color: #5A3A22;
}


/* =========================================================
   DIAPORAMA
   ========================================================= */

.diaporama {
    position: relative;
    max-width: 900px;
    margin: auto;
    background: #C2B280;
    padding: 10px;
    box-shadow: 0 4px 16px rgba(90, 58, 34, 0.18);
}

.slides {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #5A3A22;
}

.slide {
    display: none;
    position: absolute;
    inset: 0;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    padding-top: 35px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.72)
    );
    color: #fff;
    font-size: 0.95rem;
}

.diapo-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(90, 58, 34, 0.78);
    color: #F5F5DC;
    width: 42px;
    height: 50px;
    font-size: 28px;
    cursor: pointer;
}

.diapo-btn:hover {
    background: #5A3A22;
}

.prev {
    left: 18px;
}

.next {
    right: 18px;
}

.diapo-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(90, 58, 34, 0.78);
    color: #F5F5DC;
    padding: 5px 10px;
    font-size: 0.85rem;
}

.diapo-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 13px auto 28px;
}

.dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #C2B280;
    cursor: pointer;
}

.dot.active {
    background: #5A3A22;
    transform: scale(1.25);
}


/* =========================================================
   DESCRIPTION DU GÎTE
   ========================================================= */

.description-intro {
    max-width: 980px;
    margin: auto;
    line-height: 1.65;
}

.description-intro p {
    margin: 0 0 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.detail-card {
    background: #fffdf2;
    border: 1px solid #C2B280;
    padding: 20px;
}

.detail-card h3 {
    margin-top: 0;
    color: #808000;
    font-size: 1.08rem;
}

.detail-card ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.55;
}

.detail-card li {
    margin-bottom: 8px;
}


/* =========================================================
   RÈGLES / INFORMATIONS
   ========================================================= */

.regles {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin: 22px 0 12px;
}

.regles div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.regles img {
    width: 30px;
    height: 29px;
    object-fit: contain;
}


/* =========================================================
   TARIFS
   =========================================================

.tarifs-page {
    margin-top: 18px;
}

.tarifs-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
    padding: 22px 0 25px;
}

.tarifs-hero .hero-content {
    max-width: 720px;
}

.tarifs-hero h2 {
    font-size: 2rem;
    margin: 7px 0;
    color: #5A3A22;
}

.tarifs-hero p {
    line-height: 1.55;
    margin-bottom: 0;
}

.hero-decoration {
    color: #808000;
    font-size: 2rem;
}

.tarifs-grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.carte-tarif {
    background: #fffdf2;
    border: 1px solid #C2B280;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(90, 58, 34, 0.10);
}

.photo-periode {
    height: 135px;
    overflow: hidden;
}

.photo-periode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contenu-carte {
    padding: 17px 20px 19px;
}

.entete-periode {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icone-periode {
    color: #808000;
}

.entete-periode h2 {
    margin: 0;
    font-size: 1.25rem;
}

.dates-periode {
    margin: 12px 0 15px;
    line-height: 1.55;
}

.liste-tarifs {
    border-top: 1px solid #C2B280;
}

.liste-tarifs div {
    display: flex;
    justify-content: space-between;
    padding: 8px 2px;
    border-bottom: 1px solid rgba(194, 178, 128, 0.45);
}

.liste-tarifs strong {
    font-size: 1.05rem;
    color: #5A3A22;
}


/* =========================================================
   COULEURS DES PÉRIODES
   ========================================================= 

.periode-jaune .entete-periode h2 {
    background: #fff400;
}

.periode-orange .entete-periode h2 {
    background: #ff8c00;
}

.periode-rouge .entete-periode h2 {
    background: #ff3b30;
}

.periode-violette .entete-periode h2 {
    background: #a64de0;
    color: #fff;
}


/* =========================================================
   NOTE ARRIVÉE
   ========================================================= */

.note-arrivee {
    margin: 20px 0;
    padding: 13px 16px;
    background: #fffdf2;
    border-left: 4px solid #808000;
    line-height: 1.5;
}


/* =========================================================
   INFORMATIONS COMPLÉMENTAIRES
   =========================================================  

.infos-complementaires {
    margin-top: 26px;
}

.info-box {
    background: #fffdf2;
    border: 1px solid #C2B280;
    padding: 20px;
    display: flex;
    gap: 16px;
}

.info-icone {
    color: #808000;
    font-size: 1.5rem;
    min-width: 28px;
}

.info-box h3 {
    margin: 0 0 12px;
    color: #5A3A22;
}

.reglement-grille {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 18px;
}

.reglement-bloc {
    padding-right: 15px;
    border-right: 1px solid rgba(194, 178, 128, 0.6);
}

.reglement-bloc:last-child {
    border-right: 0;
}

.reglement-bloc h4 {
    margin: 0 0 8px;
    color: #808000;
}

.reglement-bloc ul,
.info-box ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.55;
}

.info-prix {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 5px 0;
}

.infos-ligne {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.infos-ligne-2 {
    grid-template-columns: 1fr 1fr;
}

.divers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.info-box-divers {
    margin-top: 18px;
}


/* =========================================================
   PRESTATION COMPLÉMENTAIRE
   =========================================================  

.prestation-complementaire {
    max-width: 500px;
    margin: auto;
    background: #fffdf2;
    border: 1px solid #C2B280;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.prestation-icone {
    color: #808000;
    font-size: 1.5rem;
}

.prestation-complementaire h3 {
    margin: 0;
}

.prestation-complementaire p {
    margin: 4px 0;
    font-size: 1.25rem;
}

.message-final {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #808000;
    margin: 35px 0 5px;
    font-size: 1.05rem;
}


/* =========================================================
   PIED DE PAGE
   ========================================================= 

.basPage {
    padding: 10px;
    background: #C2B280;
    color: #5A3A22;
    text-align: center;
    font-size: 0.85em;
}

.basPage a {
    color: #5A3A22;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 88vw;
    max-height: 88vh;
    object-fit: contain;
}

.lightbox button {
    position: fixed;
    border: 0;
    background: rgba(90, 58, 34, 0.8);
    color: #F5F5DC;
    cursor: pointer;
}

.lightbox-close {
    top: 20px;
    right: 25px;
    font-size: 32px;
    width: 46px;
    height: 46px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    font-size: 28px;
    width: 48px;
    height: 55px;
}

.lightbox-next {
    right: 20px;
    top: 50%;
    font-size: 28px;
    width: 48px;
    height: 55px;
}


/* =========================================================
   RESPONSIVE — TABLETTES
   ========================================================= */

@media (max-width: 900px) {
/*
    .banniere {
        grid-template-columns: 220px 1fr 110px;
    }

    .banniere-photo img {
        width: 220px;
        height: 155px;
    }

    .banniere-logo img {
        width: 250px;
    }
*/
    .details-grid {
        grid-template-columns: 1fr;
    }

  /*  .reglement-grille {
        grid-template-columns: 1fr 1fr;
    }

    .reglement-bloc:nth-child(2) {
        border-right: 0;
    }

    .reglement-bloc:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(194, 178, 128, 0.6);
        padding-top: 15px;
        border-right: 0;
    }
}


/* =========================================================
   RESPONSIVE — MOBILES
   ========================================================= */

@media (max-width: 760px) {
/*
    .site-wrapper {
        width: 100%;
        margin: 0;
    }

    .banniere {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        padding: 14px;
    }

    .banniere-photo img {
        width: 250px;
        height: 160px;
    }

    .banniere-logo img {
        width: 270px;
    }

    .banniere-label {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .banniere-label img:first-child {
        margin: 0;
    }

    .content-layout {
        display: block;
    }

    #navcontainer {
        padding: 10px 12px 15px;
    }

    #navlist {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #navlist .menu-section {
        grid-column: 1 / -1;
    }

    .menu-localisation {
        margin-top: 12px;
    }

    .page-interieur {
        padding: 0 15px 30px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .tarifs-grille {
        grid-template-columns: 1fr;
    }
*/
    .infos-ligne-2,
    .divers-grid {
        grid-template-columns: 1fr;
    }
/*
    .reglement-grille {
        grid-template-columns: 1fr;
    }

    .reglement-bloc {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(194, 178, 128, 0.6);
        padding: 0 0 12px;
    }

    .reglement-bloc:last-child {
        border-bottom: 0;
    }
*/
    .slides {
        aspect-ratio: 4 / 3;
    }

    .slide-caption {
        font-size: 0.85rem;
    }

    .diapo-btn {
        width: 36px;
        height: 44px;
    }

    .prev {
        left: 12px;
    }

    .next {
        right: 12px;
    }
}


/* =========================================================
   RESPONSIVE — PETITS MOBILES
   ========================================================= */

@media (max-width: 430px) {
/*
    #navlist {
        display: block;
    }

    .titre-section h2 {
        font-size: 1.3rem;
    }
*/
    .tarifs-hero {
        gap: 10px;
    }

    .hero-decoration {
        display: none;
    }

    .diapo-dots {
        max-width: 280px;
    }
}