

/* BEGIN CONSTANTES */

@font-face {
    font-family: "Farsan";
    src: url('fonts/Farsan-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/Farsan-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/Farsan-Regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('fonts/Farsan-Regular.woff') format('woff'), /* Pretty Modern Browsers */
        url('fonts/Farsan-Regular.ttf')  format('truetype'); /* Safari, Android, iOS */
        /* url('fonts/Farsan-Regular.svg#svgFontName') format('svg');  Legacy iOS */

    font-display:fallback;
}

@font-face {
  font-family: 'Soljik';
  src: url('fonts/Soljik-Dambaek.eot'); /* IE9 Compat Modes */
  src: url('fonts/Soljik-Dambaek.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Soljik-Dambaek.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/Soljik-Dambaek.woff') format('woff'), /* Pretty Modern Browsers */
       url('fonts/Soljik-Dambaek.ttf')  format('truetype'), /* Safari, Android, iOS */
       /* url('fonts/Soljik-Dambaek.svg#svgFontName') format('svg');  Legacy iOS */
}

@font-face{
    font-family: "Soljik-Dambaek";
    src: url("fonts/Soljik-Dambaek-RM.eot");
    src: url("fonts/Soljik-Dambaek-RM.eot?#iefix")format("embedded-opentype"),
        url("fonts/Soljik-Dambaek-RM.woff")format("woff"),
        url("fonts/Soljik-Dambaek-RM.woff2")format("woff2"),
        url("fonts/Soljik-Dambaek-RM.ttf")format("truetype"),
        url("fonts/Soljik-Dambaek-RM.svg#Soljik-Dambaek")format("svg");
    font-weight:normal;
    font-style:normal;
    font-display:fallback;
}

:root {
    --main-color: #361610;
    --brown-light: #786561;
    --gray-text: #1d1d1b;
    --mint: #e0eed5;
    --green: #89C163;
    --alpha-green: rgba(137,193,99,0.5);
    --shadow-light: #c2bebd;
    --shadow-med: #6e514c;

    --font-farsan: "Farsan", Bahnschrift, AppleGothic, arial, "DejaVu Sans", sans-serif;
    --font-soljik: "Soljik-Dambaek", "Ink Free", "Noteworthy Light", "DejaVu Serif", cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-farsan);
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1.4;
    color: var(--main-color);
}
@media (min-width: 800px) {
    body {
        font-size: 17px;
    }
}

/* END CONSTANTES */


/* BEGIN STRUCTURES */
.container {
    max-width: 800px;
    padding-top: 18px;
    padding-bottom: 18px;
}

section {

}

.center {
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

/* END STRUCTURES */

/* BEGIN SECTION SHADOW */

header {
    box-shadow: 20px 0px 20px var(--shadow-light);
}
section.mint {
    box-shadow: 20px 0px 20px var(--shadow-light);
}
section.doubleShadow {
    box-shadow: 0px 0px 20px var(--shadow-light);
}

/* END SECTION SHADOW */

/* BEGIN HEADER */

h1 {
/*     position: absolute; //MODIF 13-06 */
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    font-family: var(--font-soljik);
    z-index: 1;
}
    h1 img {
        padding: 0;
        margin: 0 auto;
        transition: all 0.3s ease;
    }
@media (min-width: 800px) {
    h1 {
        margin: 0;
    }
}

header.fixed {
    width: 100%;
    top: 0;
    background-color: #fff;
    text-align: center;
    z-index: 100;
}
    header.fixed {
        position: fixed;
        transition: all 0.3s ease;
    }
    header .container {
/*         padding: 10px 0; //MODIF 13-06 */
        padding: 18px 0 0; /* MODIF 13-06 */
        text-align: right;
        transition: all 0.3s ease;
    }
    header + section {
        transition: all 0.3s ease;
    }
.headerSpacer {
    transition: all 0.3s ease;
}

/* END HEADER */

/* BEGIN NAV */
.navbar {
    position: absolute; /* MODIF 13-06 */
    width: 100%; /* MODIF 13-06 */
    top: 20px; /* MODIF 13-06 */

    /* MODIF 13-06
    position: relative;
    */
    margin-top: 0;
    padding: 0 2rem;
    z-index: 10;
}
@media (min-width: 800px) {
    .navbar {
        /* margin-top: 20px; //MODIF 13-06 */
        padding: 0;
    }
}
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}
.navbar li {
    display: inline-block;
    font-weight: bold;
    color: var(--brown-light);
}
.navbar li::after {
    content: "|";
    padding-left: 7px;
    padding-right: 7px;
    color: var(--brown-light);
}
.navbar li:last-child::after {
    content: "";
    padding-right: 0;
}
.navbar a:link, .navbar a:visited, .navbar a:active {
    color: var(--main-color);
    font-weight: bold;
    text-decoration: none;
}
.navbar a:hover {
    color: var(--brown-light);
}
button.linkLook {
    margin: 0 0 1rem 0;
    height: auto;
    padding: 0;
    color: var(--main-color);
    font-size: inherit;
    font-weight: bold;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
    border: none;
}
button.linkLook:hover {
    color: var(--brown-light);
}



/* END NAV */

/* BEGIN TOOLTIP : s'ouvre en dessous du bouton correspondant, sans pleine page */
.tooltip-button {
}
    .tooltip-button.open::after {
        content: "";

        position: absolute;
        top: 1.5rem;
        transform: translateX(-50%);

        border: 1.5rem solid var(--sec-contrast);
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: var(--sec-contrast);
        border-left-color: transparent;

        width: 0;
        height: 0;
        margin: 0 auto 0 -2.5rem;
    }
.tooltip {
    display: none;
    position: relative;
    padding: 5px 10px;
    text-align: right;
    font-weight: bold;
    background-color: #fff;
    z-index: 15;
    box-shadow: 0px -2px 15px var(--shadow-light);
}
    .tooltip::before {
        content: "";
  position: absolute;
  top:-20px;
  left: 85%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
    }

/* POPUP : s'ouvre au centre, avec fond grisé en pleine page */
.popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    background-color: var(--alpha-green);
    z-index: 100;
}
.popup-close button {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 5px;
    margin: 0;
    font-size: 25px;
    font-weight: normal;
    font-family: arial, helvetica, sans-serif;
    border: 0;
    cursor: pointer;
}
.popup-close button:hover,
.popup-close button:active {
    color: var(--main-color);
}
/* END Tooltip */

/* BEGIN FORMULAIRE */

#form {
    width: 100%;
    height: 100vh;
}
    #form .container {
        width: 90%;
        max-width: 1000px;
        height: 90%;
        padding: 40px 60px;
        margin-top: 2%;
        background-color: #fff;
        box-shadow: 0px 0px 10px var(--shadow-med);
    }
    #form h2 {
        display: none;
    }
    #form iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* END FORMULAIRE */

/* BEGIN SECTION GLOBALE */

h2 {
    font-family: var(--font-soljik);
    font-size: 5rem;
    line-height: 3.5rem;
    text-align: center;
    margin: 0.5rem 0 1.5rem;
}
    h2.fourchette::before {
        content:"";
        display: block;
        background: url("picto/fourchette.png") no-repeat top center transparent;
        height: 62px;
        width: 200px;
        margin: 0 auto;
    }
h4 {
    margin: 2.5rem 0 1rem;
    line-height: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

ul.text-list {
    list-style-type: disc;
}
ul.text-list li {
    font-size: 17px;
    color: var(--gray-text);
    margin: 0;
}

a:link, a:active, a:visited {
    color: var(--main-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.uppercase {
    text-transform: uppercase;
}
/* END SECTION GLOBALE */

/* BEGIN SECTION MINT */
section.mint {
    background-color: var(--mint);
}
.text-desc, .text-offre {
    font-family: var(--font-soljik);
    font-weight: bold;
    line-height: 0.8;
    text-align: center;
}
.text-desc {
    font-size: 55px;
    color: #323232;
    margin-bottom: 1rem;
}
.text-offre {
    font-size: 46px;
    color: var(--main-color);
}
@media (min-width: 800px) {
    .text-desc {
        margin-bottom: 2rem;
    }
}


/* END SECTION MINT */

/* BEGIN IFRAME */

#instaFrame {
    width: 100%;
    height: 100vh;
    border: 0;
    display: none;
}
.eapps-instagram-feed-title-container {
    display: none;
}

/* END IFRAME */

/* BEGIN BUTTON */

.button {
    height: auto;
    padding: 10px 50px;
    background-color: var(--mint);
    border: 0;
    font-family: var(--font-soljik);
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--main-color);
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    box-shadow: 0px 0px 10px var(--shadow-light);
}
.button:hover  {
    text-decoration: none;
    background-color: var(--green);
}
.button:active {
        opacity: 60%;
}
@media (min-width: 800px) {
    .button {
        font-size: 42px;
    }
}

footer .button {
    font-family: var(--font-farsan);
    font-size: 15px;
    text-transform: initial;
    padding: 8px 15px 5px;
    margin-top: 5px;
}

/* END BUTTON */

/* BEGIN GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(1,200px);
    column-gap: 25px;
    row-gap: 25px;
    justify-items: center;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
    grid-auto-flow: row;
}
section .grid {
    margin-top: 3rem;
}

@media (min-width: 800px) {
    .grid {
        grid-template-columns: repeat(3,200px);

    }
}
/* END GRID */

/* BEGIN FOOTER */
footer::before {
    content: "";
    display: block;
    margin: 40px auto 0;
    width: 100%;
/*     max-width: 840px; */
    height: 10px;
    background: url(picto/footer-planche-500.jpg) no-repeat top center;
    background-size: cover;
    box-shadow: 0px -2px 5px var(--shadow-light);
}
@media (min-width: 500px) {
    footer::before {
        background: url(picto/footer-planche-1000.jpg) no-repeat top center;
    }
}
@media (min-width: 1000px) {
    footer::before {
        background: url(picto/footer-planche-2000.jpg) no-repeat top center;
    }
}

footer .container {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    padding: 25px;
/*     box-shadow: 0px 0px 10px var(--shadow-light); */
}

.networks a {
    display: inline-block;
    margin: 0 5px;
}

.backtop {
    margin-top: -80px;
    text-align: right;
}
    .backtop button {
        width: 70px;
        height: 60px;
        background: url(picto/chevrons.jpg) no-repeat center center #fff;
        border: 0;
        box-shadow: 0px 0px 10px var(--shadow-light);
    }
/* END FOOTER */
