/* =========================================================
   Contact - Gîte de l'Olivier
   Charte commune au nouveau site
   Compatible navigateurs modernes
   =========================================================

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

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

a {
    color: #6b4a2d;
}

a:hover {
    color: #808000;
}

.site {
    width: 96%;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

/* =========================
   BANNIERE
   ========================= 

.banniere {
    min-height: 180px;
    display: grid;
    grid-template-columns: 250px 1fr 150px;
    align-items: center;
    gap: 20px;
    padding: 18px 25px;
    background: #F5F5DC;
    border-bottom: 4px solid #808000;
}

.banniere-photo img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 145px;
    object-fit: cover;
    border: 1px solid #C2B280;
}

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

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

.banniere-centre p {
    margin: 10px 0 0;
    color: #6b4a2d;
    font-size: 15px;
    font-style: italic;
}

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

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

/* =========================
   CONTENU / MENU
   ========================= 

.contenu {
    display: grid;
    grid-template-columns: 215px 1fr;
    min-height: 600px;
}

.menu {
    background: #F5F5DC;
    padding: 20px 15px;
    border-right: 1px solid #C2B280;
}

.menu-titre {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #808000;
    color: #5A3A22;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
}

.menu a {
    display: block;
    padding: 8px 7px;
    border-bottom: 1px solid #ded7c3;
    color: #5A3A22;
    text-decoration: none;
    font-size: 15px;
}

.menu a:hover {
    background: #ebe8d3;
    color: #808000;
}

.menu a.actif {
    background: #e5e1c9;
    color: #5A3A22;
    font-weight: bold;
    border-left: 3px solid #808000;
    padding-left: 4px;
}

.menu-section {
    margin-top: 18px;
    padding: 5px 7px;
    color: #808000;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.localisation {
    margin-top: 25px;
    padding: 15px 10px;
    border-top: 1px solid #C2B280;
    text-align: center;
    color: #6b4a2d;
    font-size: 14px;
}

/* =========================
   PAGE
   ========================= 

.page {
    padding: 30px 38px 40px;
    background: #fff;
}

.titre-page {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #5A3A22;
    font-size: 29px;
    text-align: center;
}

.titre-page:before,
.titre-page:after {
    content: "";
    width: 80px;
    height: 1px;
    background: #C2B280;
    margin: 0 18px;
}
*/
.intro {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 17px;
}

/* =========================
   CONTACT
   ========================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    max-width: 1000px;
   /* margin: 0 auto;*/
}

.formulaire,
.coordonnees {
    border: 1px solid #C2B280;
    background: #F5F5DC;
    padding: 25px;
	margin-top: 20px;
}

.formulaire h2,
.coordonnees h2 {
    margin: 0 0 20px;
    color: #5A3A22;
    font-size: 21px;
    font-weight: normal;
}

.champ {
    margin-bottom: 16px;
}

/* Dates de séjour : deux champs côte à côte sur écran large */
.champ-periode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 4px;
}

.champ-periode .champ {
    margin-bottom: 16px;
}

.aide-periode {
    margin: 0 0 12px;
    font-size: 15px;
}

.champ label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.champ label span {
    color: #808000;
}

.champ input,
.champ textarea {
    display: block;
    width: 100%;
    border: 1px solid #C2B280;
    border-radius: 2px;
    background: #fff;
    color: #5A3A22;
    font-family: inherit;
    font-size: 12px;
   /* padding: 9px 11px;*/
}

.champ input:focus,
.champ textarea:focus {
    outline: none;
    border-color: #808000;
    box-shadow: 0 0 0 2px rgba(128,128,0,.12);
}

.champ textarea {
    min-height: 160px;
    resize: vertical;
}

.note {
    margin: 0 0 15px;
    font-size: 13px;
    font-style: italic;
}

.bouton {
    display: inline-block;
    border: 0;
    background: #808000;
    color: #fff;
    padding: 10px 22px;
    font-family: inherit;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.bouton:hover {
    background: #6f6f00;
    color: #fff;
}

.coordonnees {
    align-self: start;
}

.coordonnees p {
    margin: 0 0 25px;
}

.coordonnees strong {
    display: inline-block;
    margin-bottom: 4px;
    color: #808000;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.coordonnees a {
    color: #5A3A22;
    text-decoration: none;
}

.coordonnees a:hover {
    color: #808000;
    text-decoration: underline;
}

/* =========================
   MESSAGES
   ========================= */

.message-succes,
.message-erreur {
    max-width: 760px;
    margin: 25px auto;
    padding: 22px 25px;
    border: 1px solid #C2B280;
    background: #F5F5DC;
    text-align: center;
}

.message-succes h2 {
    margin-top: 0;
    color: #808000;
    font-weight: normal;
}

.message-erreur {
    text-align: left;
    border-color: #b98f73;
    background: #fbf2e8;
}

.message-erreur strong {
    color: #5A3A22;
}

.message-erreur ul {
    margin-bottom: 0;
}

/* Champ anti-robot invisible */
.champ-cache {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================
   FOOTER
   ========================= 

footer {
    padding: 14px 20px;
    background: #F5F5DC;
    border-top: 1px solid #C2B280;
    color: #6b4a2d;
    font-size: 13px;
    text-align: center;
}

footer a {
    color: #6b4a2d;
    text-decoration: none;
}

footer a:hover {
    color: #808000;
    text-decoration: underline;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

 /*   .site {
        width: 100%;
        margin: 0;
    }

    .banniere {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
        text-align: center;
    }

    .banniere-photo img {
        margin: auto;
        height: 130px;
    }

    .banniere-label {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contenu {
        display: block;
    }

    .menu {
        border-right: 0;
        border-bottom: 1px solid #C2B280;
        padding: 12px;
    }

    .menu-section {
        margin-top: 10px;
    }

    .localisation {
        display: none;
    }

    .page {
        padding: 25px 15px 35px;
    }

    .titre-page {
        font-size: 25px;
    }

    .titre-page:before,
    .titre-page:after {
        width: 35px;
        margin: 0 10px;
    }
*/
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .champ-periode {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
/*
    .titre-page:before,
    .titre-page:after {
        display: none;
    }
*/
    .formulaire,
    .coordonnees {
        padding: 18px;
    }
}
