:root {
  --blue: #4ca1f4;
  --blue-light:  #3fd3e7; 
  --blue-night: #557cfe;
  --grey: #778a9b;
  --white: #ffffff;
  --white-50: #ffffff88;
}
body {
  font-family: 'Work Sans',Helvetica,Arial,sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 2em;
  box-sizing: border-box;
  overflow-x: hidden;
  background: var(--white);
  color:#38383d;
  z-index: 101;
  margin:0;
  padding: 0;
}
a {color: var(--blue);transition: all 400ms cubic-bezier(.8,.1,.15,.86);}
a:hover {color: var(--blue);transition:all 200ms cubic-bezier(.8,.1,.15,.86);}
a:active {color: var(--blue-night);}
a:focus{color: var(--blue-night);}

ul {padding: 0;list-style: none;}


h1,h2,h3,h4 {
  color: #38383d;
  transition: none !important;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0;
  font-size: 1.2em;
}
hr {
  overflow: hidden;
  margin:2em auto;
  transform: skewX(-45deg);
  border:#c8ced5 4px dashed;
  width: 90%;
}
h1 {
  font-size: 2em;
  margin-bottom: 1em;
}
.subtitle {
  letter-spacing: 2px;
  font-size: 1.6em;
  text-transform: uppercase;
  line-height: 1.6em;
  color: var(--blue-night);
  margin-bottom: 1em;
}

blockquote {
  font-family: 'Playfair Display';
  letter-spacing: 1px;
}
blockquote p::before {
  font-size: 2em;
  content: '\201C';  
}
blockquote p::after {
  font-size: 2em;
  content: '\201D';
}

main.home h2, main .page h1 {
  display: inline-block;
  position: relative;
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 2em;
}
main .page h1 {
  font-size: 2em;
}
main.home h2::before, main.home h2::after, .stars::before , .stars::after {
  content: '';
  position: absolute;
  display: inline-block;
  background:transparent url('img/stars.png') no-repeat 0 0;
  top: 5px;
  width: 30px;
  height: 30px;
}
main.home h2::before, .stars::before {
  right: -40px;
}
main.home h2::after, .stars::after {
  left: -50px;
}

.classic main {
  background: var(--white) linear-gradient(180deg ,#44beec 0px, #3fd3e700 250px);
}

.classic main h1 {
  color: var(--white);
}
.classic main h1:after {
  background-image:url('img/stars-white.png');
}
.classic main h1:before {
  background-image:url('img/stars-white.png');
}

h3 {
  margin:0 0 1em 0;
  letter-spacing: 0.1em;
  font-size: 1em;
  font-weight: 400;
}
.home p.small {
  max-width: 1000px;
  margin: 0 auto;
  padding:0 1em 3em 1em;
}


/* Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--blue);
}
html::-webkit-scrollbar {
  width: 8px
}
html::-webkit-scrollbar-track {
  background: var(--blue-night);
}
html::-webkit-scrollbar-thumb {
  background-color: var(--blue-light);
  border-radius: 4px
}

/* form */
button {
  appearance: none;
  border: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 1em;
  transition: all 1s cubic-bezier(0.78, 0.13, 0.15, 0.86);
}


/* generic grid class */
/* gap */
.gap-2 { grid-gap: 2em;}
.gap-4 { grid-gap: 4em;}
/* column */
.col-12 {grid-column: span 12;}
.col-10 {grid-column: span 10;}
.col-9 {grid-column: span 9;}
.col-8 {grid-column: span 8;}
.col-7 {grid-column: span 7;}
.col-6 {grid-column: span 6;}
.col-5 {grid-column: span 5;}
.col-4 {grid-column: span 4;}
.col-3 {grid-column: span 3;}
.col-2 {grid-column: span 2;}
/* column special */
.col-6-3 {grid-column: span 6;}
.col-6-4 {grid-column: span 6;}
/* max width*/
.mx-1600 {max-width: 1600px;margin: auto;  padding: 0 1em;}
.mx-1400 {max-width: 1400px;margin: auto;  padding: 0 1em;}
.mx-1200 {max-width: 1200px;margin: auto;  padding: 0 1em;}
.mx-1000 {max-width: 1000px;margin: auto;  padding: 0 1em;}
/* margin */
.m-auto {margin: auto;}
.m-1 {margin: 1em auto;}
.m-2 {margin: 2em auto;}
.m-3 {margin: 3em auto;}
/* padding */
.p-1 {padding: 1em 0;}
.p-2 {padding: 2em 0;}
.p-3 {padding: 3em 0;}
/* font */
.bold {font-weight: bold;}
.big {font-size: 1.4em;}
.bigger {font-size: 2em;}
.small {font-size: .9em; line-height: 1.8em;}
.smaller {font-size: .8em; line-height: 1.6em;}
/* align */
.center {text-align: center;}
.left {text-align: left;}
.right {text-align: right;}
.force-left {float: left;clear: both}
.force-right {float: right;clear: both;}
/* other */
.raduis-50 { border-radius: 50%;}
.raduis-10 { border-radius: 1em;}
.raduis-8 { border-radius: .8em;}
.raduis-4 { border-radius: .4em;}
.shadow {  box-shadow: 0 .6em 2em rgb(116 165 245 / 30%);}

.btn {
  display: inline-block;
  position: relative;
  background:var(--blue) linear-gradient(90deg,var(--blue-light), var(--blue-night)) no-repeat;
  padding: 1em 2em;
  border-radius: 1em;
  text-decoration: none;
  color: var(--white);
}
.btn:hover {
  color: var(--white);
  box-shadow: 0 4px .8em rgb(56 56 61 / 30%);
  transform: translateY(-5px);
}

.link {
  display: inline-block;
  margin: 4em auto;
}

.card {
  cursor: pointer;
  box-shadow: 0 .6em 2em rgb(116 165 245 / 30%);
  display: inline-block;
  background-color: var(--white);
  border-radius: 2em;
  transform: scale(1);
  transition: all 200ms ease;
}
.card:hover{
  transform: scale(1.1);
}

.card img {
  max-width: 80%;
}

.card a {
  text-decoration: none;
  color: #38383d;
}


/* layout */
header, main, footer {
  background: transparent;
  z-index: 101;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 2em;
  transition: all 1s cubic-bezier(.8,.1,.15,.85);
}

/* header class */
header {
  grid-template-rows: 100px 1fr;
  position: relative;
  background:var(--white) url('img/hero.png') center no-repeat;
  background-size: cover;
  height: 100vh;
  min-height: 800px;
}

.classic header {
  background:var(--white) url('img/bandeau.png') center top no-repeat;
  background-size: cover; 
  height: auto;
  min-height: 450px;
}

header i {
  position: fixed;
  z-index: 105;
  text-align: center;
  width: 40px;
  height: 38px;
  box-shadow: 0 0 10px #c8ced5 ;
  cursor: pointer;
  list-style: 40px;
  right: 1em;
  top: 1em;
  background: var(--white);
  border-radius: 1em;
  font-style: normal;
  display: none;
  transition: all .1s ease;
}
header.open i {
  transform: rotate(90deg);
}

header nav {
  grid-column: span 12;
  text-align: right;
}

header nav li {
  padding-right: 2em;
  display: inline-block;
}
header nav li.mobile {
  display: none;
}
header nav li:last-child {
  padding-right: 4em;
}
header nav li a {
  text-decoration: none;
  color: var(--white);
}
header nav li a:hover {
  color: var(--white);
  transition-duration: 0s;
}
header nav li a::after {
  display: block;
  content: '';
  border-bottom: 2px solid var(--white-50);
  transform: scaleX(0);
  transition: transform 300ms ease-in-out;
  /*transform-origin: 0% 50%;*/
}
header nav li a:hover::after { 
  transform: scaleX(1); 
}
header nav li.home {
  background-size: 33px 20px;
  position: absolute;
  font-weight: 600;
  left: 4em;
}
header nav li.home a {
  color: var(--blue);
}

.classic header nav li.home a {
  color: var(--white);
  font-weight: 400;
}

.classic header nav li.home a::after {
  border-bottom: 2px solid var(--white-50);
}
.classic header nav li a {
  text-shadow: 1px 1px 5px rgb(116 165 245 / 80%);
}

h1
h1:hover:after { transform: scaleX(1); }

header.scroll nav, header.scrollhide nav {
  position: fixed;
  z-index: 104;
  width: 100%;
  display: block;  
  background: var(--white);
  box-shadow: 0 0 2em rgb(116 165 245 / 50%);
  animation: menu-fade-in .5s forwards;
  /*
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  */
}
header.scroll nav li a, header.scroll nav li.home a {
  transition: color 0s;
  font-size: .8em;
  color: var(--blue);
  text-shadow: none;
}


header.scroll nav li a:hover, header.scroll nav li.home a:hover {
  border-bottom: 2px solid var(--blue);
}

header.scrollhide nav {
  animation: menu-fade-out .25s forwards;
}

@keyframes menu-fade-out {
  0% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes menu-fade-in {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  1% {
    opacity: 0;
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

header .intro {
  z-index: 102;
  padding-left: 4em;
  margin-top: 10%;
  grid-column: span 5;
}
header .intro em {
  display: block;
  font-weight: bold;
  font-style: normal;
  font-size: 1.6em;
}
header .intro span {
  font-size: 1em;
}
header .intro p {
  text-shadow: var(--white) 1px 1px;
  font-size: .8em;
  line-height: 2em;
  max-width: 600px;
}

header .intro a.btn {
  transition: all 200ms ease-in-out;
}
header .intro a.btn:hover {
  transform: none ;
  padding-left: 1.6em;
  padding-right: 2.4em;
}
header .intro a.btn:after {
  content: url(img/arrow.svg);
  position: absolute;
  opacity: 0;
  top: 1.4em;
  width: .6em;
  right: 0;
  transition: all 200ms ease-in;
}
header .intro a.btn:hover:after {
  transform: translateX(-1em);
  opacity: 1;
}

header .island {
  grid-column: span 7;
}
header .island img {
  width: 90%;
}

header .bike {
  position: absolute;
  text-align: center;
  bottom: 2em;
  width: 100%;
  grid-column: span 12;
}
header .bike img {
  max-width: 1400px;
  width: 80%;
  max-height: 600px;
  height: auto;
  margin: 0 auto;
}
main {
  padding-top: 4em;
  grid-gap:0;
}

.tarification, .decouverte, .vedette, .logement {
  grid-column: span 12;
  text-align: center;
}
.page {
  grid-column: span 12;
}

.bg-Light {
  background: #f2faeb linear-gradient(90deg,#f2faeb, #ebf6fe);
}
.bg-blue {
  background: var(--blue) linear-gradient(90deg,var(--blue-light), var(--blue-night));
  color: var(--white);
}

.waveMiddle{
  background: var(--white) url('img/wave.png') center no-repeat;
  background-size: contain;
}

.waveBottom {
  background: var(--white) url('img/wave2.png') no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.tarification .grid section {
  grid-column: span 4;
}
.tarification figure {
  width: 200px;
  text-shadow: 1px 1px 5px rgb(56 56 61 / 50%);
  box-shadow: 0 1em 3em rgb(116 165 245 / 50%);
  border-radius: 2.1em;
  margin: 0 auto ;
  position: relative;
  transition: all 200ms ease;
  cursor: pointer;
}
.tarification figure:hover {
  transform: translateY(-15px);
}
.tarification figure img {
  width: 100%;
  display: block;
  border-radius: 2.1em;
}
.tarification figure figcaption {
  position: absolute;
  color: var(--white);
  top: 0;
  left: 1.5em;
}
.tarification figure figcaption span {
  transition: all 200ms ease;
  font-size: 2em;
}
.tarification figure:hover figcaption span  {
  font-size: 2.4em;
}
.tarification figure figcaption span sup {
  font-size: .5em;
}

.decouverte .grid {
  max-width: 1200px;
  margin: auto;
  grid-gap: 1em;
}
.decouverte article {
  max-width: 350px;
  grid-column: span 4;
  cursor: pointer;
  box-shadow: 0 .6em 2em rgb(116 165 245 / 30%);
  background-color: var(--white);
  border-radius: 2em;
  transform: scale(1);
  transition: all 200ms ease;
}
.decouverte article:hover{
  transform: scale(1.1);
}
.decouverte article img {
  max-height: 200px;
  margin:1em auto;
}
.decouverte article h3 {
  margin-bottom: 0;
}
.decouverte article p {
  margin-top: 0;
  padding: 1em;
  line-height: 1.2em;
  font-size: .7em;
}
.decouverte .btn {
  margin: 4em auto;
}

.vedette form, .vedette aside {
  grid-column: span 6;
  text-align: left;
}
main.home .vedette h2 {
  color: var(--white);
}
main.home .vedette h2:after {
  background-image:url('img/stars-white.png');
}
main.home .vedette h2:before {
  background-image:url('img/stars-white.png');
}
.vedette hr {
  border-color: var(--white);
  width: 100%;
}
.vedette aside hr {
  border-width: 1px;
  width: 80%;
  max-width: 400px;
  margin: 1em 0;
}

.vedette form {
  padding-left: 2em;
}
.vedette form label {
  font-size: .8em;
  padding-left: 1em;
}

.vedette form select {
  outline: none;
  background-color: rgb( 255 255 255 / 40%);
  font-size: 1.2em;
  color: var(--white);
  border: none;
  border-radius: 1em;
  display: block;
  padding: .5em 1em;
  appearance: none;
  margin: 0;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%),
    radial-gradient(var(--white) 65%, transparent 72%);
  background-position:
    calc(100% - 21px) calc(1em + 2px),
    calc(100% - 16px) calc(1em + 2px),
    calc(100% - 10px) 15px;
  background-size:
    5px 5px, 5px 5px, 1em 1em;
  background-repeat: no-repeat;
}
.vedette form option {
	background-color: var(--blue);
}

.vedette form img {
  margin-top: 2em;
  width: 100%;
}
.vedette aside small {
  font-size: .6em;
  line-height: 1em;
  display: block;
}
.vedette aside span {
  font-size: 1.2em;
  font-weight: 600;
}
.logement {
  margin-top:3em;
}
.logement .btn{
  margin: 2em 0;
}

/* RGPD */
.rgpd {
  background-color: var(--white);
  box-shadow: .5em .5em 1em 0 var(--blue);
  text-align: center;
  z-index:106;
  width:100%;
  padding: 1em 0;
  position: fixed;
  bottom: 0;
  left:0;
  right:0;
}
.rgpd button {
  background-image: linear-gradient(90deg,var(--blue-light), var(--blue-night));
  background-color: #b6cbb9;
  border-radius: 1em;
  color: var(--white);
  border: none;
  padding: .6em .8em;
  margin-left: 1em;
  min-width: 140px;
  cursor: pointer;
}

/* footer */

footer div {
  text-align: center;
  grid-column: span 12;
}
footer div:last-of-type {
  margin: 2em 0;
}
footer div h2 {
  margin-top: 1em;
}

footer section {
  grid-column: span 4;
  text-align: center;
  font-size: .8em;
}

footer small {
  font-size: .8em;
  font-weight: 400;
}
footer a {
  color: #38383d;
  text-decoration: none;
}

/* reveal translate */
[class*="reveal"] {
  opacity: 0;
}
[class*="reveal-l"] {
  transform: translate(-15px ,0px);
}
[class*="reveal-r"] {
  transform: translate(15px, 0px);
}
[class*="reveal-t"] {
  transform: translate(0, -15px);
}
[class*="reveal-b"] {
  transform: translate(0, 15px);
}
.reveal-visible {
  opacity: 1;
  transform: translate(0px, 0px);
  transition: all 400ms ease-in-out;
}
.reveal-l-1,.reveal-r-1,.reveal-t-1,.reveal-b-1  {
  transition-delay: 0.1s!important;
}
.reveal-l-2,.reveal-r-2,.reveal-t-2,.reveal-b-2  {
  transition-delay: 0.2s!important;
}
.reveal-l-3,.reveal-r-3,.reveal-t-3,.reveal-b-3  {
  transition-delay: 0.3s!important;
}
.reveal-l-4,.reveal-r-4,.reveal-t-4,.reveal-b-4  {
  transition-delay: 0.4s!important;
}


/* generic colors */
.color-blue {color: var(--blue)}
.color-blue-light {color: var(--blue-light)}
.color-blue-night {color: var(--blue-night)}
.color-grey {color: var(--grey)}
.color-white {color: var(--white)}

/* media query screen size */
@media (max-width: 768px) {
  /* column */
  .col-12,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-6-3,.col-6-4 {
    grid-column: span 12;
  }
  header.classic {
    background:var(--white) url('img/bandeau.png') -450px -50px no-repeat;
    background-size: cover; 
    height: auto;
    min-height: 300px;
  }  
  .tarification figure {
    width: 300px;
    box-shadow: 0 1em 3em rgb(116 165 245 / 50%);
  }
  main.home h2, main .page h1 {
    font-size: 1.2em;
  }
  main.home h2::before, main.home h2::after, .stars::before , .stars::after {
    background-size: 50%;
    top: 10px;
  }
  main.home h2::after, .stars::after {
    left: -30px;
  }
}
@media (max-width: 992px) {
  h2 {
    font-size: 1em;
  }
  h2:after {
    background-size: contain;
    width: 15px;
    left: -25px;
    top: 10px;
    height: 15px;
  }
  h2:before {
    background-size: contain;
    top: 10px;
    width: 15px;
    right: -25px;
    height: 15px;
  }
  header nav {
    display: none;
  }
  header.open {
    grid-template-rows: 1fr;
  }
  header.open nav {
    background: #9bcffe url('img/menu.png') no-repeat;
    background-size:100%;
    background-position: bottom center;
    height: 100vh;
    width: 100%;
    z-index: 104;
    text-align: center;
    color: var(--blue);
    position: fixed;
    display: block;
  }
  header.open nav ul li.mobile {
    display: block;
  }
  header.open nav ul li.home {
    margin-top: 3em;
    font-weight: 400;
    position: initial;
    left: auto;
  }
  header.open nav ul li {
    margin-bottom: 1.4em;
    display: block;
    padding-right: 0;
  }
  header.open nav ul li a {
    background:var(--blue) linear-gradient(90deg,var(--blue-light), var(--blue-night)) no-repeat;
    padding: .6em 1.2em;
    border-radius: 1em;
    text-decoration: none;
    color: var(--white);
    display: inline-block;
    transition:all 150ms cubic-bezier(.8,.1,.15,.86);
  }
  header.open nav ul li a:hover {
    color: var(--white);
    box-shadow: 0 4px .8em rgb(56 56 61 / 30%);
    transform: translateY(-5px);
    border: none;
  }
  header.open nav ul li a::after {
    border: none;
  }
  header i {
    display: block;
  }
  header .intro {
    text-align: center;
    grid-column: span 12;
    margin-top: 3em;
    padding:0 1em;
  }
  header .intro p {
    background-color: rgb(255 255 255 / 80%);
    border-radius: 2em;
    padding: .8em;
    margin: 4em auto;
  }
  header .intro a {
    display: block;
    box-shadow: 0 0 .6em var(--white);
    max-width: 200px;
    margin:1em auto;
    text-align: center;
  }
  header .island {
    text-align: center;
    position: absolute;
    grid-column: span 12;
    bottom: 25%;
  }
  .tarification .grid section {
    grid-column: span 12;
    margin: 1em 0;
  }
  .decouverte .grid article {
    grid-column: span 12;
    margin: 1em auto;
  }
  .vedette form {
    grid-column: span 12;
    padding-right: 2em;
  }
  .vedette aside {
    grid-column: span 12;
    padding-left: 2em;
  }
  footer section {
    grid-column: span 12;
  }
  footer div small {
    font-size: .6em;

  }
}
@media (min-width: 768px) {
}

@media (min-width: 992px) {
  header {
    min-height: 900px;
  }
  header .intro span {
    font-size: 1.2em;
  }
  header .island {
    padding-top: 2em;
  }
  header.hero nav li.home {
    background:transparent url('img/ico.png') no-repeat;
    background-position: 100% 8px;
    padding-right: 40px;
  }
}

@media (min-width: 1200px) {
  header .intro em {
    font-size: 2em;
  }
  .tarification figure {
    width: 300px;
    box-shadow: 0 1em 3em rgb(116 165 245 / 50%);
  }  
}

@media (min-width: 1400px) {
  header {
    min-height: 1000px;
  }
  header .intro em {
    font-size: 2em;
  }
  header .intro p {
    font-size: 1em;
  }
}
@media (min-width: 1600px) {
  header {
    min-height: 1300px;
  }
  header nav li {
    margin-top: 1em;
    font-size: 1.4em;
  }
  header.scroll nav li ,header.scrollhide nav li {
    margin-top: 0;
  }
  header nav li.home {
    left: 3em;
  }
  header .intro {
    padding-top: 2em;
  }
  header .intro span {
    font-size: 1.4em;
  }
  header .bike {
    bottom: 8em;
  }
  header .bike img {
    max-width: 1600px;
    width: 100%;
  }
  .tarification figure {
    width: 400px;
    border-radius: 2.5em;
    box-shadow: 0 .5em 2.5em rgb(116 165 245 / 50%);
  }
  .tarification figure img {
    border-radius: 2.5em;
    width: 400px;
  }
  .vedette .grid {
    max-width: 1400px;
    margin: 0 auto;
  }
  .vedette aside {
    padding-left: 4em;
  }
  header .intro em {
    font-size: 2.2em;
  }
}