/* Image responsive pour le popup plan Rochefort */
.popup-image-plan {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .popup-image-plan {
    height: auto;
    /* max-width: 95vw; */
  }
}

/*** INFO ENCART (Temporary deactivation of online booking) ***/
.info-encart {
  background-color: #f8f8f8;
  border-left: 5px solid #00f3d8;
  padding: 2em;
  margin: 2em 0;
  color: black;
}
.info-encart__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1em;
  text-transform: uppercase;
}
.info-encart__text {
  margin-bottom: 1.5em;
  line-height: 1.6;
}
.info-encart__details {
  margin-bottom: 2em;
}
.info-encart__item {
  margin-bottom: 0.5em;
  font-weight: 500;
}
.info-encart__item strong {
  color: #173254;
}
.info-encart__btn {
  background-color: #003580; /* Booking.com blue */
  color: white !important;
  font-weight: bold;
  padding: 0.8em 1.5em;
  display: inline-block;
  text-transform: uppercase;
  transition: background-color 0.3s;
}
.info-encart__btn:hover {
  background-color: #00224f;
}

/* Import fonts : Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;700;900&display=swap");

/* Global css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  overflow-x: hidden;
}
body {
  font-family: "Poppins", sans-serif;
  margin-left: 0;
}
ul {
  list-style: none;
}
h2 {
  font-size: 1.8rem;
  line-height: 1;
}
select {
  border-radius: 0;
}
a {
  text-decoration: none;
  color: white;
}
p {
  line-height: 1.4;
}
figure {
  margin: 0;
}
/* enlever le rectangle bleu lors du focus */
a:focus {
  outline: none;
}

@media (min-width: 950px) {
  body {
    margin-left: 5%;
    width: 95%;
  }
  h2 {
    font-size: 3.5rem;
    line-height: 1.2;
  }
}

/*** BOUTONS ***/
button {
  cursor: pointer;
}
.btn {
  color: black;
  text-decoration: none;
  padding: 0.5em 1em;
  display: inline-block;
  transition: 250ms;
  cursor: pointer;
  text-transform: uppercase;
}
.btn--principal {
  background-color: #00f3d8;
  font-weight: 600;
}
.btn--principal:hover {
  background-color: black;
  color: white;
  box-shadow: 5px 5px #00f3d8;
}
button.btn {
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  border: none;
  border-radius: 0;
  font-weight: 600;
  font-size: 16px;
}
.btn--traits {
  position: relative;
}
.btn--traits::before {
  position: absolute;
  content: url(/wp-content/uploads/2023/01/traits.svg);
  width: 2.5em;
  left: -4em;
  top: -0.5em;
}
.btn--traits::after {
  position: absolute;
  content: url(/wp-content/uploads/2023/01/traits.svg);
  width: 2.5em;
  right: -4em;
  top: -1em;
  transform: rotate(180deg);
}
.buttons {
  text-align: center;
}
.buttons > .btn {
  margin: 0.5rem;
}

/* Bouton collant devis groupe */
.btn-fixed {
  display: none;
  background-color: #ff6600;
}
/* Bouton collant reserver */
.btn-fixed2 {
  display: none;
  background-color: #30f3d8;
}

.btn-fixed--reserver {
  position: relative;
  right: 100%;
}

.btns-fixed-group-wrapper {
  position: fixed;
  right: 40px;
  top: 5%;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: right top;
  /* dimens adaptatives : juste un wrapper transformé */
}

.btns-fixed-group {
  display: flex;
  /* flex-direction: line; */
}

.btn-fixed, .btn-fixed2 {
  font-weight: bold;
}

.btn-fixed {
  color: white;
}


@media (min-width: 950px) {
  .btn-fixed, .btn-fixed2 {
    display: block;
  }
}

/*** HEADER ***/

/* Header content */
.header {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  position: relative;
  padding: 5%;
  padding-top: 25vh;
}

.header::after {
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%);
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 100%;
}

.header__title {
  font-size: 2rem;
  text-align: center;
}

.header__list-towers {
  display: flex;
  border-top: 2px solid white;
  margin-top: 2em;
  padding-top: 1em;
}

.header__list-towers > li {
  margin: 0 1em;
}

/*** Header page d'accueil ***/

.header--home {
  min-height: 100vh;
}

/* Header logo */
.header__logo {
  display: none;
}
@media (min-width: 950px) {
  .header {
    justify-content: center;
    padding-top: 0;
  }
  .header__title {
    font-size: 4rem;
    line-height: 1.2;
  }
  .header__logo {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background-color: white;
    padding: 1em;
    gap: 1em;
  }
  .logo__img {
    width: 6em;
  }
  .logo__list-towers {
    color: #173254;
    list-style: none;
    padding: 1em;
    border-left: 1px solid #173254;
  }
  .logo__list-towers a {
    color: #173254;
  }
}

/*** SIDE BAR ***/

.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: left 1s;
  z-index: 3;
  padding: 0.5em 1em;
}
.side-bar__languages > li {
  position: relative;
  padding: 0 0.5em;
}
.side-bar__languages > li > a {
  color: black;
  text-transform: uppercase;
}
.side-bar__languages > li::after {
  position: absolute;
  content: "";
  background-color: black;
  width: 1px;
  height: 0.5em;
  right: -0;
  top: 0.5em;
  margin: 0 auto;
}
.side-bar__languages > li:last-child::after {
  content: none;
}
.side-bar__languages {
  display: flex;
}

.zeno_font_resizer_minus {
  font-size: 1.4em !important;
}

.zeno_font_resizer_reset {
  font-size: 2em !important;
}

.zeno_font_resizer_add {
  font-size: 2.6em !important;
}

/* fil d'arianne */
#breadcrumbs {
  text-align: center;
}

/* Menu déroulant */
.menu__icon-burger {
  z-index: 3;
  text-align: center;
  cursor: pointer;
  margin-top: 1em;
}
.menu__burger {
  display: none;
}
.menu__burger:checked ~ .menu__items {
  left: 0;
}
.menu__items {
  position: fixed;
  z-index: 2;
  width: 100vw;
  left: -100vw;
  min-height: 100vh;
  top: 0;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: left 1s;
}
.menu__items a {
  color: black;
  position: relative;
}
.menu__items > :nth-child(n + 2) > a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #00f3d8;
  bottom: -1rem;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.menu__items a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
.menu__item {
  text-align: center;
}
.menu__items .menu__logo {
  width: 50%;
}

/* Menu burger full css */
.side-bar .menu__icon-burger span {
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 3px;
  position: relative;
  background: black;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
.side-bar .menu__icon-burger span:first-child {
  transform-origin: 0% 0%;
}
.side-bar .menu__icon-burger span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
.side-bar .menu__burger:checked ~ .menu__icon-burger .span1 {
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -6px);
  background: #232323;
}
.side-bar .menu__burger:checked ~ .menu__icon-burger .span2,
.menu__burger:checked ~ .menu__icon-burger .span0 {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
.side-bar .menu__burger:checked ~ .menu__icon-burger .span3 {
  transform: rotate(-45deg) translate(2px, -2px);
  background: black;
}
.side-bar .menu__icon-burger .span0,
.side-bar .menu__icon-burger .span2 {
  width: 21px;
  transition: none;
}
.side-bar .menu__icon-burger .span0 {
  transform: rotate(320deg) translate(2px, -4px);
}
.side-bar .menu__icon-burger .span2 {
  transform: rotate(220deg) translate(-12px, 35px);
}

/* Style sub menu */
.menu__items .sub-menu {
  max-height: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s ease;
}
.menu__items #menu-item-170,
#menu-item-914,
#menu-item-924 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu__items #menu-item-170:hover .sub-menu,
.menu__items #menu-item-914:hover .sub-menu,
.menu__items #menu-item-924:hover .sub-menu {
  max-height: 200px;
  transform: scaleY(1);
}
.menu__items #menu-item-170:hover > a,
.menu__items #menu-item-914:hover > a,
.menu__items #menu-item-924:hover > a {
  margin-bottom: 1.5rem;
}
.menu__items #menu-item-170:hover .sub-menu a,
.menu__items #menu-item-914:hover .sub-menu a,
.menu__items #menu-item-924:hover .sub-menu a {
  position: relative;
}
.menu__items #menu-item-170:hover .sub-menu a::before,
.menu__items #menu-item-914:hover .sub-menu a::before,
.menu__items #menu-item-924:hover .sub-menu a::before {
  position: absolute;
  content: "\002022";
  left: -1rem;
  top: 0;
  color: #ff6600;
}

@media (max-width: 1460px) {
  .side-bar > .side-bar__languages > li {
    padding: 0 !important;
    margin-bottom: 1em;
  }
  .side-bar > .side-bar__languages > li::after {
    visibility: hidden;
  }
}

@media (max-width: 950px) {
  .side-bar > .side-bar__languages > li::after {
    visibility: visible;
  }
  .side-bar > .side-bar__languages > li {
    /* padding: 0 5em; */
    margin-bottom: 0;
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
}

@media (min-width: 950px) {
  .side-bar {
    width: 5%;
    height: 100vh;
    flex-direction: column;
    padding: 2em 1em;
  }
  .side-bar > .side-bar__languages > li {
    padding: 0.5em 0;
  }
  .side-bar > .side-bar__languages > li::after {
    height: 1px;
    width: 0.5em;
    top: 2.5rem;
    left: 0;
    right: 0;
  }
  .side-bar > .side-bar__languages {
    flex-direction: column;
    align-items: center;
  }
  .menu__items {
    width: calc(267px + 5%);
    left: -(calc(267px + 5%));
    height: 100vh;
  }
  .menu__icon-burger {
    margin-top: 1em;
  }
  /* Icône burger responsive */
  .side-bar .menu__icon-burger span {
    width: 46px;
    margin-bottom: 5px;
  }
  .side-bar .menu__icon-burger .span0,
  .side-bar .menu__icon-burger .span2 {
    width: 32px;
  }
  .side-bar .menu__icon-burger .span2 {
    transform: rotate(220deg) translate(-22px, 49px);
  }
  .side-bar .menu__burger:checked ~ .menu__icon-burger .span1 {
    transform: rotate(45deg) translate(-7px, -12px);
  }
}

/*** FOOTER ***/

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  padding: 2em;
  position: relative;
  margin-top: 7em;
  gap: 0.5rem;
}
.footer > * {
  max-width: 100%;
}
.hi-france {
  display: flex;
  background-color: white;
  padding: 1em;
  align-items: center;
  width: fit-content;
}
.hi-france__img {
  height: 6em;
  padding-right: 1em;
}
.hi-france__list-towers {
  color: black;
  list-style: none;
  padding-left: 1em;
  border-left: 1px solid black;
}
.hi-france__list-towers a {
  color: black;
}
.footer div {
  margin: 3em 0;
}
.footer .btn {
  margin-top: 1em;
}
.footer__title {
  color: #00f3d8;
}
.footer .credit {
  font-size: 0.8rem;
  text-align: center;
}

@media (min-width: 700px) {
  .footer {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer > * {
    width: 49%;
  }
  .footer__carte {
    width: 51%;
  }
}

@media (min-width: 950px) {
  .footer {
    flex-wrap: nowrap;
  }
  .footer > * {
    width: 33%;
    margin-right: 5em;
  }
  .footer__carte {
    max-width: 355px;
  }
  .credit {
    position: absolute;
    bottom: -2em;
    width: fit-content;
  }
}

/* Default (page par défaut: mentions légales, CGV, etc) */
.default h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1.5rem;
  text-transform: uppercase;
}
.default p {
  margin-bottom: 0.5rem;
}
.default ul {
  list-style: inside;
  margin-bottom: 0.5rem;
}

.default a {
  color: black;
  transition: 0.2s;
  text-decoration: underline #ffffff;
}
.default a:hover {
  text-decoration: underline #00f3d8;
}

/*** MARGES ***/

.default {
  margin: 5rem 5%;
}

/* Marge pour les écrans larges */
@media (min-width: 1400px) {
  .bloc-1,
  .dormir,
  .services,
  .figure,
  .actus,
  .valeurs,
  .engagements,
  .labels,
  .groupe,
  .venir__container,
  .adhesion,
  .default {
    margin-left: 10%;
    margin-right: 10%;
  }
  .actus {
    width: initial;
  }
  .groupe {
    margin-bottom: 15em;
  }
  .contact {
    margin-left: 15%;
  }
}

/* Marge pour les écrans 4K */
@media (min-width: 2000px) {
  .bloc-1,
  .dormir,
  .services,
  .figure,
  .actus,
  .valeurs,
  .engagements,
  .labels,
  .groupe,
  .venir__container,
  .adhesion,
  .default {
    margin-left: 15%;
    margin-right: 15%;
  }
  .actus {
    width: initial;
  }
  .groupe {
    margin-bottom: 15em;
  }
  .contact {
    margin-left: 15%;
  }
}
