@font-face {
  font-family: "lateef";
  src: url('../fonts/Lateef-SemiBold.woff2') format('truetype');
}

@font-face {
  font-family: "poppins-regular";
  src: url('../fonts/Poppins-Regular.woff2') format('truetype');
}

@font-face {
  font-family: "poppins-semibold";
  src: url('../fonts/Poppins-SemiBold.woff2') format('truetype');
}

@font-face {
  font-family: "poppins-bold";
  src: url('../fonts/Poppins-Bold.woff2') format('truetype');
}

@font-face {
  font-family: "homemadeApple";
  src: url('../fonts/HomemadeApple-Regular.woff2') format('truetype');
}

html {
  overflow-x: hidden;
}

body {
  /* couleurs sources */
  --color-1: #1A4C59;
  --color-2: #96492B;
  --color-3: #2A462F;
  --color-4: #D6C2A8;
  --color-5: #F2EEE8;

  /* couleurs overline */
  --color-overline-1: #7BA4AE;
  --color-overline-2: #C26A48;
  --color-overline-3: #4F6A54;

  /* couleurs dark */
  --color-dark-1: var(--color-1);
  --color-dark-2: var(--color-2);
  --color-dark-3: var(--color-3);

  /* couleurs light */
  --color-light-1: var(--color-4);
  --color-light-2: var(--color-5);

  /* couleurs sémantiques */
  --color-text-on-dark: var(--color-5);
  --color-text-on-light: var(--color-1);
  --color-invalid: var(--color-overline-2);

  /* typo */
  --font-heading: "lateef";
  --font-main: "poppins-regular";
  --font-main-bold: "poppins-bold";
  --font-main-semi-bold: "poppins-semibold";
  --font-overline: "homemadeApple";

  /* UI */
  --border-radius: 0.5rem;
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


img:not(:is(.is-intro img, .logo, .is-partenaires img, footer img)){
  border-radius: var(--border-radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo.is-header {
  height: 4.4rem;
}

.logo.is-header.hidden {
  display: none;
}

body:has(#index, #restauration, #hebergements, #groupes, #scolaires, #seminaires, #alentours, #activites, #contact) .is-bleu {
  display: none;
}

body:has(main#village, #histoire, #valeurs, .rgpds-main) .is-blanc:not(.nav_open .is-blanc) {
  display: none;
}

.img-initial {
  width: auto;
  height: auto;
}

body.nav__open {
  overflow: hidden;
}

body * {
  font-family: var(--font-main), sans-serif;
  margin: 0;
}

.bg-dark-1 {
  background-color: var(--color-dark-1);
}

.bg-dark-2 {
  background-color: var(--color-dark-2);
}

.bg-dark-3 {
  background-color: var(--color-dark-3);
}

.bg-light-1 {
  background-color: var(--color-light-1);
}

.bg-light-2 {
  background-color: var(--color-light-2);
}

[class*="bg-light-"] :is(p:not(.overline), h1, h2, h3, label, a, label a, li, i),
.section_hero .bg-light-1 p.overline {
  color: var(--color-text-on-light);
}

[class*="bg-dark-"] :is(p:not(.overline), h1, h2, h3,a:not(.is-button), label, a, label a, li, i),
.section_hero [class*="bg-dark-"] p.overline {
  color: var(--color-text-on-dark);
}

.bg-light-2 p.overline {
  color: var(--color-4);
}

.bg-dark-1 p.overline {
  color: var(--color-overline-1);
}

.bg-dark-2 p.overline {
  color: var(--color-overline-2);
}

.bg-dark-3 p.overline {
  color: var(--color-overline-3);
}

.section_hero strong {
  font-family: var(--font-main-bold), sans-serif;
}

strong,
b {
  font-family: var(--font-main-semi-bold), sans-serif;
}

a {
  text-decoration: none;
}

a[href^="tel"] {
	color: inherit;
	text-decoration: none;
}

.border-radius {
  border-radius: var(--border-radius);
}

.gap-xxs {
  gap: 0.5rem;
}

.mb-xs {
  margin-bottom: 1rem;
}

.gap-xs {
  gap: 1rem;
}

.mb-s {
  margin-bottom: 2rem;
}

.gap-s {
  gap: 2rem;
}

.gap-m {
  gap: 3rem;
}

.mb-m {
  margin-bottom: 3rem;
}

.gap-l {
  gap: 4rem;
}

.mb-l {
  margin-bottom: 4rem;
}

.zindex3 {
  z-index: 3;
}
.zindex2 {
  z-index: 2;
}
.zindex1 {
  z-index: 1;
}
.zindex0 {
  z-index: 0;
}
.zindex-1 {
  z-index: -1;
}

.bold,
b {
  font-weight: bold;
}
.flex1 {
  flex: 1;
}
.fw-normal {
  font-weight: normal;
}

.vertical-middle {
  vertical-align: middle;
}

.fit-cover {
  -o-object-fit: cover;
  object-fit: cover;
}

.fit-contain {
  -o-object-fit: contain;
  object-fit: contain;
}

.fit-content {
  height: fit-content;
}

.display-none {
  display: none ! important;
}

.position-fixed {
  position: fixed;
}

.display-mobile {
    display: none;
  }

.text-decoration-none {
  text-decoration: none;
}

.text-decoration {
  text-decoration: underline;
}

.cursor-pointer:hover {
  cursor: pointer;
}

.uppercase {
  text-transform: uppercase;
}

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

.height100vh {
  height: 100vh;
}

.height100 {
  height: 100%;
}

.break-word {
  word-break: break-word;
}


/*------- LIENS -------*/

.is-button {
  border-radius: 50px;
  padding: 0.625rem 1rem 0.625rem 0.75rem;
  width: fit-content;
  font-size: 1rem;
}

.is-button p,
.footer-liens a,
.menu-button p,
.locatifs-menu a {
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: auto;
  text-transform: uppercase;
  font-family: var(--font-main-semi-bold);
}

.is-button .rond {
  margin-right: 0.625rem;
  transform: rotate(0deg);
  transition: transform 0.3s ease-in-out 0.1s;
}

.is-button:hover .rond {
  transform: rotate(-35deg);
}

[class*="bg-light-"] .is-button p,
[class*="bg-light-"] .is-button .rond rect {
  color: var(--color-text-on-dark);
  fill: var(--color-text-on-dark);
}

.bg-dark-1 .is-button p,
.bg-dark-1 .is-button .rond rect {
  color: var(--color-dark-1);
  fill: var(--color-dark-1);
}

.bg-dark-2 .is-button p,
.bg-dark-2 .is-button .rond rect {
  color: var(--color-dark-2);
  fill: var(--color-dark-2);
}

.bg-dark-3 .is-button p,
.bg-dark-3 .is-button .rond rect {
  color: var(--color-dark-3);
  fill: var(--color-dark-3);
}

[class*="bg-light-"] .is-button,
[class*="bg-light-"] .is-button .rond path,
[class*="bg-light-"].locatifs-menu svg path {
  background-color: var(--color-text-on-light);
  fill: var(--color-text-on-light);
}

[class*="bg-dark-"] .is-button,
[class*="bg-dark-"] .is-button .rond path,
[class*="bg-dark-"].locatifs-menu svg path {
  background-color: var(--color-text-on-dark);
  fill: var(--color-text-on-dark);
}

[class*="bg-light-"] .is-button:hover .rond rect {
  fill: var(--color-4);
}

.bg-dark-1 .is-button:hover .rond path {
  fill: var(--color-dark-1);
}

.bg-dark-1 .is-button:hover .rond rect {
  fill: var(--color-overline-1);
}

.bg-dark-2 .is-button:hover .rond rect {
  fill: var(--color-overline-2);
}

.bg-dark-3 .is-button:hover .rond rect {
  fill: var(--color-overline-3);
}



/*------- BOUTON ASCENSEUR -------*/

#ascenseur {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10;
  border-radius: var(--border-radius);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}


/*------- TEXTES -------*/

p:not(.title-not-h3):not(.title-not-h2):not(.title-not-h1):not(.overline):not(.is-button p):not(footer p):not(.nav_open p):not(.menu-button p):not(.locatifs-content p),
main a,
label {
  font-size: 1.125rem;
  line-height: 170%;
}

h1,
.title-not-h1,
h2,
.title-not-h2 {
  font-size: 4rem;
}

h3,
.title-not-h3 {
  font-size: 3rem;
}

h1, h2, h3, .mini-title, [class^="not-title-"],
h1 span, h2 span, h3 span, .mini-title span, [class^="not-title-"] span {
  font-family: var(--font-heading), sans-serif;
  line-height: 85%;
}

h1,
.title-not-h1 {
  margin-bottom: 2rem;
}

ul {
  list-style-type: none;
}

.overline {
  font-family: var(--font-overline), sans-serif;
  font-size: 1.875rem;
  line-height: 130%;
  margin-bottom: 1rem;
}

a:not(a.is-button, form a, nav a, footer a, .contact-coordonnees a) {
  font-family: var(--font-main-semi-bold);
}

a:not(a.is-button, nav a, footer a, .contact-coordonnees a, .locatifs-menu a) {
  text-decoration: underline;
}




/*----- SECTION HERO -----*/

.section_hero {
  height: 100vh;
  max-height: 1080px;
}

.section_hero>.grid,
.section_hero .hero-content,
.section_hero .hero-img {
  height: 100%;
}

.section_hero>.grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 1rem;
}

.section_hero .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#index .section_hero .hero-content {
  justify-content: center;
}


/*----- SECTION INTRO -----*/

.is-intro {
  padding: 10rem 0;
  overflow-x: hidden;
}

.is-intro>div {
  row-gap: 4rem;
}

.intro-content {
  padding-left: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.intro-img {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.gallery {
  display: grid;
  align-items: center;
  gap: 4rem;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  width: max-content;
  margin-left: -50%;
}

.intro-img div,
.gallery div,
.partenaires-img div {
  text-align: center;
}

.intro-img img,
.gallery img,
.partenaires-img img,
footer img {
  object-fit: contain;
  max-width: 100%;
}


/*----- AUTRES SECTIONS -----*/

.section:not(.is-intro) {
  padding: 5rem 0;
}

.is-3columns .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

:is(.is-3columns, .is-2columns) .grid>div :where(h2, h3) {
  margin-bottom: 2rem;
}

.is-3columns .grid>div:first-child :where(p:not(.is-button p), h2, h3) {
  padding-right: 2rem;
}

.is-3columns .grid>div:last-child :where(p:not(.is-button p), h2, h3) {
  padding-left: 2rem;
}

.is-3columns .grid>div:first-child .is-button {
  margin-right: 2rem;
}

.is-3columns .grid>div:last-child .is-button {
  margin-left: 2rem;
}

.is-3columns .grid>div:is(:first-child, :last-child) img {
  height: 334px;
  margin-bottom: 2rem;
}

.is-2columns .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.section-not-pb {
  padding-top: 5rem;
  padding-bottom : 0;
}

.section-not-pb h2 {
    text-align: center;
  }




/*------- INDEX -------*/

#index .hero-img {
  /*background: url('../images/accueil/village-vacances-rives-de-corbieres-accueil-hero.webp') no-repeat center;*/
  background-size: cover;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.is-index .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
  grid-auto-flow: column;
}

.card {
  padding: 4rem 2rem 2rem 2rem;
}

.is-hebergements .item-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.is-hebergements .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}

.is-hebergements .grid .item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.is-hebergements .grid .item-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.is-hebergements .grid .item-3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.is-hebergements .grid .item-4 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}


/*------- VILLAGE -------*/

#village .hero-img {
  background: url('../images/village/village-vacances-rives-de-corbieres-village-hero.webp') no-repeat center;
  background-size: cover;
}


/*------- HISTOIRE -------*/

#histoire .hero-img {
  background: url('../images/histoire/village-vacances-rives-de-corbieres-histoire-hero.webp') no-repeat center;
  background-size: cover;
}

/*------- VALEURS -------*/

#valeurs .hero-img {
  background: url('../images/valeurs/village-vacances-rives-de-corbieres-valeurs-hero.webp') no-repeat center;
  background-size: cover;
}

/*------- HEBERGEMENTS -------*/

#hebergements .hero-img {
  background: url('../images/hebergements/village-vacances-rives-de-corbieres-hebergements-hero.webp') no-repeat center;
  background-size: cover;
}

#hebergements .section {
  padding-top: 8.75rem;
}

.is-locatifs {
  padding-top: 5rem;
}

.locatifs-menu {
  gap: 2rem;
  padding: 5rem 2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 2;
}

.locatifs-content .section>div>div:first-child,
.locatifs-content .section>div>div:last-child {
  width: 50%;
}

.locatifs-content .section>div>div:first-child {
  padding-right: 2rem;
  position: sticky;
  top: 8.75rem;
}

.locatifs-content .section>div>div:last-child {
  padding-left: 2rem;
}

.locatifs-content h2 {
  padding-top: 1rem;
}

.locatifs-content p {
  font-size: 1rem;
  line-height: 170%;
}

.locatifs-equipements li {
  font-size: 0.9rem;
  line-height: 150%;
}

ul.locatifs-equipements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding-left: 0;
}

[class*="bg-light-"] .border {
  background: var(--color-text-on-light);
  height: 0.8px;
  margin: 1rem 0;
}

[class*="bg-dark-"] .border {
  background: var(--color-text-on-light);
  height: 0.8px;
  margin: 1rem 0;
}

.locatifs-content .is-button.is-alternate,
.locatifs-content .is-button.is-alternate .rond path {
  background-color: var(--color-dark-2);
  fill: var(--color-dark-2);
}

.locatifs-content .is-button.is-alternate:hover,
.locatifs-content .is-button.is-alternate:hover .rond rect {
  background-color: var(--color-overline-2);
  fill: var(--color-light-2);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper.img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  background: var(--color-light-2) !important;
  opacity: 1 !important;
  width: 0.5rem !important;
  height: 0.5rem !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-dark-2) !important;
}

.button-swiper.swiper-button-next,
.button-swiper.swiper-button-prev {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-dark-2) !important;
  border-radius: 0.25rem;
}

.button-swiper i {
  color: var(--color-light-2) !important;
}

.button-swiper::after {
  display: none;
}


/*------- RESTAURATION -------*/

#restauration .hero-img {
  background: url('../images/restauration/village-vacances-rives-de-corbieres-restauration-hero.webp') no-repeat center;
  background-size: cover;
}

/*------- GROUPES -------*/

#groupes .hero-img {
  background: url('../images/groupes/village-vacances-rives-de-corbieres-groupes-hero.webp') no-repeat center;
  background-size: cover;
}


/*------- SEMINAIRES -------*/

#seminaires .hero-img {
  background: url('../images/seminaires/village-vacances-rives-de-corbieres-seminaires-hero.webp') no-repeat center;
  background-size: cover;
}


/*------- SCOLAIRES -------*/

#scolaires .hero-img {
  background: url('../images/scolaires/village-vacances-rives-de-corbieres-scolaires-hero.webp') no-repeat center;
  background-size: cover;
}


/*------- ACTIVITES & LOISIRS -------*/

#activites .hero-img {
  background: url('../images/activites/village-vacances-rives-de-corbieres-activites-hero.webp') no-repeat center;
  background-size: cover;
}


/*------- ALENTOURS -------*/

#alentours .hero-img {
  background: url('../images/alentours/village-vacances-rives-de-corbieres-alentours-hero.webp') no-repeat center;
  background-size: cover;
}


/*------- CONTACT ACCES -------*/

#contact .section_hero {
  height: auto;
  max-height: inherit;
}

#contact .hero-content {
  height: calc(100vh - 2rem);
}

#contact .hero-content {
  position: sticky;
  top: 1rem;
}


/*-------- FORMULAIRES --------*/

.section_contact {
  padding: 14rem 0 0;
}

.contact-content {
  gap: 6rem;
}

.section_contact iframe {
  width: 100%;
  height: 684px;
  border-radius: var(--border-radius);
  border: 0;
}

form .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

form .grid>:nth-child(1),
form .grid>:nth-child(2) {
  grid-column: span 1;
}

form .grid>:nth-child(n + 3) {
  grid-column: span 2;
}

.message {
  margin: 1.5rem 0;
}

.message .success{
  padding: 15px;box-sizing: border-box;
  background-color: green;
  border-radius: 0.5rem;
}

.message .error{
  padding: 15px;box-sizing: border-box;
  background-color: red;
  border-radius: 0.5rem;
}

input,
textarea {
  border-radius: var(--border-radius);
  border: 1px solid var(--color-dark-1);
  padding: 1rem;
  box-sizing: border-box;
}

textarea {
  height: 7rem;
}

form label {
  display: inline-block;
  width: fit-content;
}

form label,
form div.is-checkbox {
  border-radius: var(--border-radius);
}

form label:not([for="consent"]),
form div.is-checkbox {
  padding: 0.25rem;
}

form label:not([for="consent"]) {
  margin-bottom: 0.25rem;
}

::placeholder {
  font-size: 1 rem;
  color: #666;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 1.125rem;
  height: 1.125rem;
}

input[type="checkbox"] + label a {
  display: block;;
  font-size: 0.875rem;
  line-height: 120%;
}

form button {
  border: 0;
  color: var(--color-text-on-dark);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-main-semi-bold);
  cursor: pointer;
}

button.disabled {
  cursor: not-allowed;
  background: var(--color-overline-1) !important;
}

#btnSubmit.disabled .rond rect {
  fill: var(--color-light-2);
}

button.disabled:hover .rond {
  transform: rotate(0deg);
}

.invalid {
    background-color: var(--color-invalid);
}


/*------- RGPD -------*/

.section-rgpds {
  padding: 10rem 0;
}

.rgpds-main h2,
.rgpds-main h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}




/*------- CUSTOM MARGIN & PADDING -------*/

.padding_section-tiny {
  padding: 1rem;
}

.padding_section-small {
  padding: 1rem 2rem 4rem 2rem;
}

.padding_section-medium {
  padding: 4rem 2rem 4rem 2rem;
}



/*------- HEADER --------*/

header {
  position: fixed;
}

header .menu-laptop {
  height: 6rem;
  padding: 0 2rem;
  width: calc(100vw - 4rem);
}

header .menu-laptop a.bold {
  border: solid 1px;
  border-color: var(--color-2);
  padding: 1rem 1.8rem 1rem 0.6rem;
}

header .menu-laptop a.bold img {
 margin-right: 1rem;
}

header .menu-laptop * {
  color: var(--color-2);
}

header .menu-laptop a {
  font-size: 1.25rem;
  line-height: 1,625rem;
}

header .menu-laptop .fa-envelope {
  font-size: 1.6rem;
}


/*------- PARTENAIRES -------*/

.partenaires-img {
  justify-content: space-between;
}

/*------- FOOTER -------*/

footer>div {
  padding: 5rem 2rem 2rem 2rem;
}

footer .bi{
  font-size: 24px;
}
footer .footer-haut {
  padding-bottom: 4rem;
}

footer .footer-haut>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

footer img.is-footer {
  width: 252px;;
}

footer .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  row-gap: 4rem;
  column-gap: 1rem;
}

footer p {
  font-size: 1rem;
  line-height: 200%;
}

.mini-title {
  font-size: 2.375rem;
  margin-bottom: 1rem;
}

footer .footer-copy {
  border-top: 0.5px solid var(--color-text-on-dark);
  padding-top: 2rem;
}

footer .footer-copy div {
  color: var(--color-text-on-dark);
}


.devis{
  background-color: var(--color-1);
  color: white;
  text-decoration: unset !important;
  position: fixed;
  right: 3rem;
  top: 110px;
  padding: 0.7rem 1rem;
  border-radius: 50px;
}

/* FAQ */
#faq-main > div .answer {
  overflow: hidden;
  transition: all 0.5s ease;
}
#faq-main > div:not(:last-of-type) {
  margin-bottom: 25px;
}

/*------- FOOTER MOBILE -------*/

.footer__xs {
  display: none;
}


/*------- NAV MOBILE -------*/

nav {
  width: 100%;
  position: fixed;
  top: 0;
}

nav .coordonnees {
  margin-bottom: 1.5rem;
}

.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 2rem 3rem 0rem;
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-1rem);
}

.navbar a {
  z-index: 4;
}

.menu-button {
  padding: 0.7rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  z-index: 7;
}

.menu-button p {
  color: var(--color-light-2);
}

.nav-icon {
  width: 1.1rem;
  height: 0.85rem;
  position: relative;
  margin-left: 0.625rem;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.nav-icon span {
  display: block;
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: var(--color-light-2);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.nav-icon span:nth-child(1) {
  top: 0px;
}

.nav-icon span:nth-child(2),
.nav-icon span:nth-child(3) {
  top: 6px;
}

.nav-icon span:nth-child(4) {
  top: 12px;
}

.nav-icon.open span:nth-child(1) {
  top: 6px;
  width: 0%;
  left: 50%;
}

.nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

nav .nav-icon.open span:nth-child(4) {
  top: 6px;
  width: 0%;
  left: 50%;
}

.nav_open {
  position: absolute;
  top: -110vh;
  width: 100%;
  padding: 1rem;
  transition: top 0.3s ease-in-out;
  z-index: 6;
}

.nav_open .display-desktop,
.nav_open .display-mobile {
  position: absolute;
  top: 2rem;
  left: 3rem;;
}

.nav_open.active {
  top: 0rem;
}

.nav_open p:not(.mini-title) {
  font-size: 1rem;
  line-height: 170%;
}

.nav_open .nav-liens {
  border-radius: var(--border-radius);
  height: calc(100vh - 2rem);
  padding-top: 9rem;
  display: grid;
}

.nav_open .grid {
  padding: 2rem 10rem;
  display: grid;
  grid-template-columns: 3fr 3fr 4fr;
  align-self: center;
  gap: 1rem;
}

.nav_open .grid>:nth-child(-n+2) a {
  display: block;
  padding: 0.5rem 0;
  gap: 1.5rem;
}




/*------- BREAKPOINTS -------*/

@media (max-width: 1699px) {
  h1,
  .title-not-h1,
  h2,
  .title-not-h2 {
    font-size: 3.2rem;
  }

  h3,
  .title-not-h3 {
    font-size: 2.2rem;
  }

  .section_contact {
    padding: 9rem 0 0;
  }

  .section_contact iframe {
    height: 550px;
  }

  input,
  textarea {
    padding: 0.7rem;
  }
}

@media (max-width: 1399px) {

  .navbar {
    padding: 2rem 2rem 0rem;
  }

  .nav_open .nav-liens {
    padding-top: 5rem;
  }

  .nav_open .grid {
    padding: 2rem 4rem;
  }

  .is-intro {
    padding: 6rem 0;
  }

  .is-intro>div {
  row-gap: 2rem;
  }

  .intro-content {
    padding-left: 2rem;
    gap: 2rem;
  }

  .intro-img {
    gap: 2rem;
  }

  h1,
  .title-not-h1,
  h2,
  .title-not-h2 {
    font-size: 2.6rem;
  }

  p:not(.title-not-h3):not(.title-not-h2):not(.title-not-h1):not(.overline):not(.is-button p):not(footer p):not(.nav_open p):not(.menu-button p):not(.locatifs-content p),
  main a,
  form button,
  label,
  form input::placeholder {
    font-size: 1rem;
  }

  .overline {
    font-size: 1.4rem;
  }

  .is-button p,
  .footer-liens a,
  .menu-button p,
  .locatifs-menu a {
    letter-spacing: 0.02em;
  }

  .padding_section-small {
    padding: 1rem 1rem 2rem 1rem;
  }

  .padding_section-medium {
  padding: 3rem 1rem 3rem 1rem;
}

  .padding_section-small:not(:is(.section_hero .padding_section-small)) {
    padding: 2rem 1rem;
  }

  .card {
    padding: 2rem 1rem;
  }

  .is-3columns .grid>div:is(:first-child, :last-child) img {
    height: 250px;
  }

  .section_contact {
    padding: 8rem 0 0;
  }

  .contact-content {
    gap: 3rem;
  }

  form .grid {
    gap: 0.75rem;
  }

  textarea {
    height: 6rem;
  }

  .is-locatifs {
    padding-top: 1rem;
  }

}

@media (max-width: 1199px) {

  .is-intro {
    padding: 4rem 0;
  }

  h1,
  .title-not-h1,
  h2,
  .title-not-h2,
  h3,
  .title-not-h3 {
    font-size: 2.1rem;
  }

  .mini-title {
    font-size: 1.9rem;
  }

  p:not(.title-not-h3):not(.title-not-h2):not(.title-not-h1):not(.overline):not(.is-button p):not(footer p):not(.nav_open p):not(.menu-button p):not(.locatifs-content p),
  main a,
  form input::placeholder {
    font-size: 1rem;
  }

  .is-button {
    padding: 0.3rem 0.7rem 0.3rem 0.5rem;
    font-size: 0.9rem;
  }

  .is-button svg {
    width: 2rem;
  }

  .is-button p,
  .footer-liens a,
  .menu-button p,
  .locatifs-menu a {
    font-size: 0.9rem;
  }

  .section:not(.is-intro) {
    padding: 3rem 1rem;
  }

  .section-not-pb {
    padding-top: 3rem;
  }

  .card {
    padding: 2rem 0.4rem 3rem 0.4rem;
  }

  .card:last-child {
    padding-bottom: 0;
  }

  .is-hebergements .grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .partenaires-img {
    justify-content: center;
    gap: 2rem;
  }

  .is-partenaires img {
    height: 70px;;
  }

  .is-3columns .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .is-3columns .grid > :nth-child(2) { 
    display: none;
  }

  .section_contact {
    padding: 7rem 0 0;
  }

  .locatifs-content .section>div>div:first-child {
    padding-right: 1rem;
  }

  .locatifs-content .section>div>div:last-child {
    padding-left: 1rem;
  }

  .locatifs-menu {
    display: none;
  }

  #hebergements .section {
    padding-top: 4rem;
  }

  .locatifs-content .section>div>div:first-child {
    top: 4rem;
}

}

@media (max-width: 991px) {

  .devis{
    background-color: #C26A48;
  }
  
  h1,
  .title-not-h1 {
    font-size: 3rem;
  }

  h2,
  .title-not-h2,
  .title-not-h3 {
    font-size: 2.5rem;
  }

  .overline {
    font-size: 1.6rem;
  }

  .section_hero,
  #contact .section_hero {
    height: fit-content;
    max-height: inherit;
  }

  .section_hero>.grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .section_hero .hero-content,
  #contact .hero-content {
    height: 77vh;
    min-height: 550px;
  }

  .section_hero .hero-img {
    height: 600px;
    min-height: 80vh;
  }

  .intro-content {
    padding-left: 2rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .intro-img,
  .gallery {
    display: flex;
    justify-content: center;
  }

  .gallery {
    margin-left: 0;
    width: 100%;
  }

  #index .intro-img,
  #village .intro-img>div:is(:first-child, :nth-child(2)),
  #histoire .intro-img>div:is(:first-child, :nth-child(2)),
  #valeurs .intro-img>div:is(:first-child, :last-child),
  #restauration .intro-img>div:is(:first-child, :nth-child(2)),
  #alentours .gallery>div:is(:first-child, :nth-child(2), :nth-child(4), :nth-child(5)) {
    display: none;
  }

  .is-index .grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: row;
  }

  .is-index .grid :nth-child(3) {
    grid-row: 4;
  }

  .is-index .grid :nth-child(4) { 
    grid-row: 3;
  }

  .is-hebergements .grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .is-hebergements .grid .item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .is-hebergements .grid .item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .is-hebergements .grid .item-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .is-hebergements .grid .item-4 {
    display: none;
  }
  
  .nav_open .grid {
    grid-template-columns: 1fr 1fr;
  }

  footer .footer-haut {
    gap: 4rem;
  }

  footer .footer-haut>div:first-child {
    flex-direction: row;
    gap: 4rem;
  }

  .coordonnees {
    display: none;
  }

  footer img.is-footer {
    width: 200px;
  }

  .is-2columns .grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #contact .hero-content {
    position: relative;
    top: 0;
  }

  .section_contact {
    padding: 4rem 0 0;
  }

  .locatifs-content .grid>div:first-child {
    position: relative;
    top: 0rem;
  }

  #hebergements :is(.is-2columns, .is-3columns) .grid>div:is(:first-child, :last-child) :where(p, h2, h3, ul) {
    padding: 0 0.5rem;
  }

  .locatifs-content p {
    font-size: 0.9rem;
  }

  [class*="bg-light-"] .border,
  [class*="bg-dark-"] .border {
    margin: 1rem 0;
  }

  

  
}

@media (max-width: 767px) {

  #ascenseur {
    bottom: 5.5rem;
  }

  .nav_open {
    padding: 0.5rem 1rem;
  }

  .nav_open .grid {
    grid-template-columns: 1fr;
    padding: 0 2rem 1rem;
    gap: 0;
  }

  .nav_open .grid .mini-title {
    margin-bottom: 0.5rem;
  }

  .nav_open .grid a {
    padding: 0.2rem 0;
  }

  .nav_open .nav-liens {
    height: calc(100vh - 1rem);
  }

  .display-mobile {
    display: flex;
  }

  .logo.is-header {
    height: 2.8rem;
  }

  .display-desktop {
    display: none;
  }

  .section-not-pb h2 {
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .section_hero .hero-img {
    height: 500px;
    min-height: auto;
  }

  .intro-content {
    padding-left: 0rem;
  }

  .is-hebergements .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .is-hebergements .grid .item-1,
  .is-hebergements .grid .item-2,
  .is-hebergements .grid .item-3 {
    grid-column: 1 / 2; 
  }

  .is-hebergements .grid .item-1 {
    grid-row: 1;
    gap: 2rem;
    height: fit-content;
  }

  .is-hebergements .grid .item-2 {
    grid-row: 2;
  }

  .is-hebergements .grid .item-3 {
    grid-row: 3;
  }

  footer {
    margin-bottom: 4rem;
  }

  footer .footer-haut>div:first-child {
    justify-content: center;
  }

  footer .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }

  footer .footer-haut {
    padding-bottom: 3rem;
    gap: 3rem;
  }

  footer>div {
    padding: 2rem;
  }

  .footer__xs {
    display: flex;
    position: fixed;
    bottom: 0;
    height: 4rem;
    padding: 0.5rem 1rem;
    background: var(--color-light-2);
    z-index: 2;
  }

  .footer__xs .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .is-3columns .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;;
  }

  :is(.is-2columns, .is-3columns) .grid > div:is(:first-child, :last-child)
  :where(p:not(.is-button p), h2, h3) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .is-3columns .grid>div:last-child .is-button {
    margin-left: 0.5rem;
  }

  .is-2columns .grid {
    gap: 2rem;
  }

  form .grid {
    grid-template-columns: 1fr;
  }

  form .grid > :nth-child(1),
  form .grid > :nth-child(2) {
    grid-column: span 2;
  }

  .locatifs-content .section>div {
    gap: 2rem;
  }

  .locatifs-content .section>div>div:first-child {
    position: relative;
    top: auto;
  }

  .locatifs-content .section>div>div:first-child,
  .locatifs-content .section>div>div:last-child {
    width: 100%;
  }

  .locatifs-content .section>div>div:first-child {
    padding-right: 0;
  }

  .locatifs-content .section>div>div:last-child {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

}

@media (max-width: 575px) {
  footer img.is-footer {
    width: 150px;
  }

  .gap-xxs {
    gap: 0.2rem;
  }

  .locatifs-equipements li {
    line-height: 120%;
  }
}