@charset "utf-8";

/* =========================================================
   GÎTE DE L'OLIVIER - PAGE DESCRIPTION
   Charte historique conservée :
   olive #808000 / beige #F5F5DC / taupe #C2B280 / brun #5A3A22
   ========================================================= 

* {
    box-sizing: border-box;
}
/*
html {
    margin: 0;
    padding: 0;
}

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

a {
    color: #5A3A22;
}

.site-wrapper {
    width: 98%;
    max-width: 1250px;
    margin: 0 auto;
}
*/
/* =========================================================
   EN-TÊTE
   ========================================================= 

.banniere {
    display: grid;
    grid-template-columns: 295px minmax(0, 1fr) 150px;
    grid-template-rows: auto auto;
    align-items: center;
    width: 100%;
    min-height: 203px;
    background-color: #C2B280;
}

.banniere-photo {
    grid-row: 1 / span 2;
    text-align: center;
    padding: 8px;
}

.banniere-photo img {
    display: block;
    width: 270px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.banniere-logo {
    text-align: center;
    padding: 5px;
}

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

.banniere-label {
    text-align: center;
    padding: 5px;
}

.banniere-label img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 4px auto;
}

.msgDef {
    grid-column: 2 / 4;
    padding: 7px 10px 12px;
    color: #5A3A22;
    text-align: center;
    font-weight: bold;
}
*/
/* =========================================================
   STRUCTURE PAGE + MENU
   ========================================================= 

.content-layout {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    background-color: #F5F5DC;
}

#navcontainer {
    background-color: #C2B280;
    padding: 12px 8px 15px;
}

.menu-titre {
    margin-bottom: 8px;
    padding: 5px 8px;
    color: #5A3A22;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

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

#navlist .menu-section {
    margin: 14px 6px 5px;
    padding: 5px 3px;
    border-bottom: 1px solid #808000;
    color: #808000;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

#navlist li:first-child + .menu-section {
    margin-top: 5px;
}

#navlist a {
    display: block;
    margin: 2px 0;
    padding: 7px 10px;
    border-left: 3px solid transparent;
    color: #5A3A22;
    background-color: transparent;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#navlist a:hover {
    background-color: #F5F5DC;
    border-left-color: #808000;
}

#navlist a#current {
    background-color: #5A3A22;
    border-left-color: #808000;
    color: #FFFFFF;
    font-weight: bold;
}

#navlist a#current:hover {
    background-color: #5A3A22;
    color: #FFFFFF;
}

.menu-localisation {
    margin: 22px 6px 5px;
    padding: 12px 8px;
    border-top: 1px solid #808000;
    color: #5A3A22;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
}

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

.menu-localisation strong {
    margin-bottom: 4px;
    color: #808000;
    font-size: 16px;
}

#page {
    min-width: 0;
    background-color: #F5F5DC;
}
*/
/* =========================================================
   CONTENU PRINCIPAL
   =========================================================  

.page-interieur {
    width: 94%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 15px 0 28px;
}

.titre-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 8px;
    padding: 8px 12px;
    border: 1px solid #808000;
    background-color: #F5F5DC;
    text-align: center;
}

.titre-page h1,
.titre-page h2 {
    margin: 0;
    color: #808000;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 24px;
}

.titre-decoration {
    color: #5A3A22;
    font-size: 25px;
}

.sous-titre-page {
    margin-bottom: 18px;
    padding: 7px 10px;
    background-color: #808000;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

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

.bloc-introduction {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 18px;
}

.bloc-intro-photo {
    text-align: center;
}

.bloc-intro-photo img {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.bloc-intro-texte {
    text-align: center;
    line-height: 1.55;
}

.bloc-intro-texte h2 {
    margin: 0 0 8px;
    color: #808000;
    font-size: 20px;
}

.bloc-intro-texte p {
    margin: 8px 0;
}

/* =========================================================
   PROPRIÉTÉ
   ========================================================= */

.encadre-gite {
    margin: 15px 0 20px;
    padding: 14px 20px;
    border-left: 5px solid #5A3A22;
    background-color: #C2B280;
    text-align: center;
    line-height: 1.55;
}

.encadre-gite h2 {
    margin: 0 0 8px;
    color: #5A3A22;
    font-size: 20px;
}

.encadre-gite p {
    margin: 0;
}

/* =========================================================
   DÉTAILS DU GÎTE

   Un seul bloc pleine largeur pour le rez-de-chaussée,
   puis un seul bloc pleine largeur pour le 1er étage.
   ========================================================= */

.details-gite {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 18px 0;
}

.detail-bloc {
   /* width: 100%;*/
    padding: 18px 20px;
    border: 1px solid #C2B280;
    background-color: rgba(245, 245, 220, 0.55);
}

.detail-bloc > h2 {
    margin: 0 0 16px;
    padding-bottom: 9px;
    border-bottom: 1px solid #C2B280;
    color: #808000;
    text-align: center;
    font-size: 22px;
}

.detail-bloc ul {
    margin: 0;
    padding-left: 24px;
}

.detail-bloc li {
    margin-bottom: 10px;
    padding-left: 2px;
    line-height: 1.55;
}

.detail-rez li:last-child {
    margin-bottom: 0;
}

/* Sous-parties du 1er étage */

.sous-partie {
    margin-top: 18px;
}

.sous-partie:first-of-type {
    margin-top: 0;
}

.sous-partie h3 {
    margin: 0 0 7px;
    padding-bottom: 5px;
    color: #808000;
    font-size: 18px;
}

.sous-partie p {
    margin: 0 0 11px;
    line-height: 1.58;
}

.sous-partie ul {
    margin-bottom: 0;
}

.sous-partie li:last-child {
    margin-bottom: 0;
}

.sous-partie-wc p {
    margin-bottom: 0;
}

/* =========================================================
   RESTRICTIONS
   ========================================================= */

.restrictions-gite {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 20px 0;
    padding: 10px;
    text-align: center;
}

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

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

/* =========================================================
   FRISE
   ========================================================= */

.frise-page {
    height: 50px;
    margin: 20px 0;
    background: url(../images/logo_gite_olivier_frise.jpg) repeat-x center;
}

/* =========================================================
   PROXIMITÉ + AVIS
   ========================================================= */

.titre-page-small h2 {
    font-size: 21px;
}

.proximite ul {
    width: 90%;
    margin: 0 auto;
    padding-left: 22px;
    line-height: 1.5;
}

.proximite li {
    margin-bottom: 7px;
}

.avis-gdf {
    margin: 20px 0 5px;
    text-align: center;
}

.avis-gdf a {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 4px;
    background-color: #5A3A22;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
}

.avis-gdf a:hover {
    background-color: #808000;
}

 
/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .site-wrapper {
        width: 100%;
    }

    .banniere {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 8px;
    }

    .banniere-photo {
        grid-row: auto;
    }

    .banniere-photo img {
        width: 230px;
    }

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

    .msgDef {
        grid-column: auto;
        padding-bottom: 5px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

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

    #navlist a {
        padding: 8px 10px;
    }

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

    .page-interieur {
        width: 94%;
    }

    .bloc-introduction {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bloc-intro-photo img {
        width: 240px;
    }

    .titre-decoration {
        display: none;
    }

    .titre-page h1,
    .titre-page h2 {
        font-size: 21px;
    }

    .sous-titre-page {
        font-size: 15px;
    }

    .detail-bloc {
        padding: 16px 17px;
    }

    .detail-bloc > h2 {
        font-size: 21px;
    }

    .restrictions-gite {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {

    body {
        font-size: 15px;
    }

    .page-interieur {
        width: 92%;
    }

    .titre-page {
        padding: 7px 8px;
    }

    .titre-page h1,
    .titre-page h2 {
        font-size: 19px;
    }

    .sous-titre-page {
        font-size: 14px;
    }

    .detail-bloc {
        padding: 14px 14px;
    }

    .detail-bloc > h2 {
        font-size: 20px;
    }

    .sous-partie h3 {
        font-size: 17px;
    }

    .proximite ul {
        width: 100%;
    }

    .basPage {
        line-height: 1.8;
    }
}
