/* BASE / RESET */

html {
    font-size:62.5%;
    font-family: "verdena", sans-serif;
    color: #8B8B8B;
    background-color: #535353;
}
body {
    font-size:1.6rem;
    margin: 0px;
    height: 100%;
    overflow-x: hidden;
    background-color: #fff;
}
section {
    margin-bottom: 2em;
}
img {
    border: 0;
}
a {
    color: #D9A66D;
    text-decoration: none;
}
a:hover {
    color: #d98221;
    text-decoration: none;
}
hr {
    border-top: #C39562 1px solid;
    margin: 10px 0;
}
em {
    color:#4a614c;
}
blockquote {
    font-style: italic;
    font-weight: 500;
    font-size: 1.2em;
    text-align: left;
    margin: .5em 0;
    padding: .5em;
    color:#4a614c;
    border-left: 3px solid #ccc;
    quotes: "“" "”";
    display: inline-block;
    transform: translateX(25px);
}
blockquote::before { content: open-quote; }
blockquote::after { content: close-quote; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #D9A66D;
    font-weight: bold;
}
h1 { font-size: 1.8rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.3rem; }

iframe { border:0; }
span.cache { display:none; }
.clear { clear:both; }


/* GLOBAL LAYOUT */

#container {
    z-index: 1;
    width: 100%;
    margin: auto;
}
main {
    background-color: #FFF;
}
.wrapper-main { width:80%; margin:auto; }
.wrapper-larger { width:98%; margin:auto; }
.wrapper-100 { width:100%; margin:auto; }

.fullwidth-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}
.fullwidth-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* HEADER */

header {
    position: relative;
    z-index: 4;
    width: 100%;
}

/* Contacts bar */

#contacts {
    box-sizing: border-box;
    position: fixed;
    top: 0; left: 0;
    width:100%;
    padding: 5px 10px;
    font-size: .9em;
    background-color: #EDF6F1;
    color: #4a614c;
    border-bottom: 1px solid #5D7A60;
    z-index: 1000;
}
#contacts .fab {
    background-color:#D9A66D;
    height: 1.5em;
    width: 1.5em;
    display: inline-block;
    transition: .3s;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transform: none;
}
#contacts a:hover .fab {
    background-color: #d98221;
    transform: scale(1.2);
}
.small-icon { width:16px; }

.btn-contact-small {
    display: inline-block;
    background: #d98221;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: .3s;
}
.btn-contact-small:hover { background:#c3761c; }

/* LOGO / NAV WRAPPER */

#logo-nav {
    padding-top: 50px;
    background-image: linear-gradient(120deg, white 0%, white 40%, #EDF6F1 75%, #A8D5BA);
}
#logo {
    height:130px;
    line-height:130px;
    text-align:center;
    margin-bottom:20px;
}
.mailtel {
    width:80%;
    margin:auto;
    padding:20px 0 0 0;
    text-align:center;
    font-size:1.6rem;
    color:#10423f;
}
.reslogo { width:298px; }

/* NAVIGATION DESKTOP */

.nav-toggle {
    display:none;
    font-size:2rem;
    cursor:pointer;
    color:#D9A66D;
    position:fixed;
    top:12px; right:12px;
    z-index:2000;
}
nav {
    width:80%;
    margin:0 auto;
    background:transparent;
    position:sticky;
    top:0;
    text-transform:uppercase;
}
nav ul {
    list-style:none;
    margin:0;
    padding:0;
}
nav li {
    float:left;
    font-weight:bold;
    position:relative;
    width:180px;
    text-align:left;
}
nav ul::after {
    content:"";
    display:table;
    clear:both;
}
nav a {
    display:block;
    padding:10px 0;
    border-bottom:2px solid transparent;
    color:#D9A66D;
}
nav a:hover {
    color:#d98221;
    border-bottom:2px solid #d98221;
}
.under {
    display:none;
    background:white;
    box-shadow:0 1px 2px #E7E7E7;
    position:absolute;
    width:100%;
    z-index:1000;
    text-transform:none;
}
nav > ul li:hover .under { display:block; }
.under li { float:none; width:100%; }
.under a {
    padding:10px;
    color:#9daf9f;
}
.under a:hover {
    background:#eee;
    color:#5D7A60;
}
.roll > a::after {
    content:" ▼";
    font-size:1.6rem;
}

/* SCROLL-TO-TOP */

#scroll_to_top {
    position:fixed;
    bottom:10px;
    right:10px;
    width:50px;
    height:50px;
    z-index:999;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
}
#scroll_to_top i.fas {
    font-size:2em;
    color:#d98221;
    line-height:1;
}

/* FOOTER */

footer {
    display:block;
    margin-top:100px;
    padding:25px 0 100px 0;
    width:100%;
    background-color:#535353;
    border-top:1px solid #D9A66D;
    color:#E7E7E7;
}
footer a { color:#D9A66D; }
.foot {
    text-align:right;
    width:90%;
    margin:auto;
}

/* GENERIC CLASSES */

.box { box-shadow:0 4px 5px #ccc; }
.spacer { padding-top:2em; }
.spacer-plus { padding-top:3em; }
.article-title {
    width:100%;
    padding:5px 0;
    margin-bottom:50px;
    text-align:center;
    text-transform:uppercase;
    background-image:linear-gradient(90deg, white 0%, white 5%, #759582 95%);
}
.intro {
    text-align:center;
    font-size:1.4rem;
    margin:2em 0;
    color:#535353;
}
.light {
    margin-top:1rem;
    font-size:1.3rem;
    font-style:italic;
    color:#808080;
}
.subtitle {
    margin:0 0 20px 0;
    color:#535353;
    padding-bottom:5px;
    border-bottom:1px solid #535353;
}
.titlecol { color:#5D7A60; text-align:center; }

.mid { width:95%; margin:auto; }
.softcolor { background:#EDF6F1; }

.c11,.c12,.c13,.c23,.c33,.c14,.c34 { float:left; }
.c11 { width:100%; }
.c12 { width:50%; }
.c13 { width:33.3%; }
.c23 { width:66.4%; }
.c33 { width:33.4%; }
.c14 { width:25%; }
.c34 { width:75%; }

.mobileonly { display:none; }
.pad { padding:2em; }

/* PURCHASE INFO */

.purchase-info {
    /*text-align: center;
    max-width: 700px;
    margin: auto;*/
}
.pricing {
    padding: 0 0 0 2em;
}
.button {
	text-align:center;
}
.btn-contact {
    display: inline-block;
    background: #535353;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.btn-contact:hover {
    background: #444;
}
.note-offre {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 1em;
    margin: 1em 0;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}
/* BANNER */

.ban-container {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 0;
}
.ban-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  aspect-ratio: 2 / 3;
  position: relative;
}
.ban-col1 {
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%);
}
.ban-col2 {
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}
.ban-col3 {
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}
.ban-col2 .signature {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: auto;
  pointer-events: none; /* ne gêne pas les clics */
}

/* MEDIA QUERY (MOBILE <= 999px) */

@media only screen and (max-width:999px) {

    #contacts { display:none; }

    /* Logo */
    .mailtel { width:100%; padding-top:20px; }
    #logo-nav { padding:20px 0 0 0; }
    #logo {
        height:auto;
        line-height:0;
        width:80%;
        margin:auto;
        padding-bottom:10px;
        text-align:center;
    }
    .reslogo { width:50%; }

    /* Menu hamburger */
    .nav-toggle { display:block; }
    nav {
        position:fixed;
        top:0;
        right:-100%;
        width:45%;
        height:100vh;
        background:rgba(17,17,17,.95);
        padding-top:70px;
        transition:.3s;
    }
    nav.open { right:0; }
    nav ul li {
        float:none;
        width:100%;
        padding:15px 25px;
    }
    nav a { font-size:1.5rem; }
    .under {
        position:static;
        background:#222;
        box-shadow:none;
    }
    .roll > a::after { font-size:1.3rem; }

    /* Layout */
    .wrapper-main, .wrapper-larger { width:90%; margin:0 auto; }

    footer {
        padding:20px 0 40px 0;
        margin-top:20px;
    }
    .foot {
        font-size:1.5rem;
        text-align:center;
        width:80%;
        margin:auto;
    }

    /* Text */
    h1, h2, h3, h4, h5, h6 { font-size:1.6rem; }
    .c11,.c12,.c13,.c23,.c33,.c14,.c34 { width:100%; }
    .txtleft,.txtcenter,.txtright { width:100%; }
    .spacer-plus { padding-top:20px; }
    .intro { font-size:1.6rem; margin:20px 0; }
    .mobileonly { display:block; padding-top:50px; }

    /* Fullwidth fix */
    .fullwidth-wrapper {
        width:100%;
        left:auto;
        transform:none;
        margin-left:0;
        margin-right:0;
        max-width:100%;
    }
}

/*@media (min-width: 2560px) {
	  .ban-col1 {
		background-image: url('/images/banner/<?= $selected[0] ?>-1920.jpg');
	  }
	  .ban-col2 {
		background-image: url('/images/banner/<?= $selected[1] ?>-1920.jpg');
	  }
	  .ban-col3 {
		background-image: url('/images/banner/<?= $selected[2] ?>-1920.jpg');
	  }
}*/
