/*
Theme Name: Blohorn RH
Theme URI: https://labaleinebasque.fr
Description: Blohorn RH
Author: Anthony Sabatier
Author URL: https://labaleinebasque.fr
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URL: https://www.gnu.org/licenses/gpl-2.0.html
*/
/* Placer votre CSS ci-dessous */

.font-stroke {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px #8e826f;
}

p strong {
  font-weight: 700;
}

/* BTN  */

.btn-circle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 13px !important;
  font-weight: 500;
  color: #8e826f;
  transition: color 0.3s ease-in-out;
  text-transform: uppercase;
  width: fit-content;
}

.btn-circle:hover {
  color: #8e826f;
}

.btn-circle .btn-text {
  transition: transform 0.3s ease-in-out;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  position: relative;
}

.btn-icon svg {
  display: block;
  width: 42px;
  height: 42px;
}

.btn-icon path[id="Icon_core-arrow-right"] {
  transition: transform 0.3s ease-in-out;
  transform: translateX(8px) translateY(6px);
}

.btn-circle:hover .btn-icon path[id="Icon_core-arrow-right"] {
  transform: translateX(20px) translateY(6px);
}

/* Formulaire */

.gform_required_legend {
  display: none;
}

#form-wrapper input,
#form-wrapper textarea,
#form-wrapper select {
  padding: 15px 20px;
  background-color: transparent;
  border: 1px solid #bebebe;
  border-radius: 14px;
  box-shadow: none;
  height: 45px;
}

#form-wrapper legend,
#form-wrapper label {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

#form-wrapper input:focus,
#form-wrapper textarea:focus {
  border-color: #8e826f;
  outline-color: #8e826f;
  outline-width: 1px;
}

#form-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  border-radius: 4px;
  background-color: white;
  margin: 0;
  padding: 2px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  box-sizing: content-box;
}

#form-wrapper input[type="checkbox"]:checked::after {
  content: "✔";
  font-size: 13px;
  color: #8e826f;
  position: absolute;
  margin-top: -10px;
}

/* Consent  */
#form-wrapper input[type="checkbox"] {
  border-radius: 0px;
  vertical-align: middle;
}

#form-wrapper input[type="checkbox"]:before {
  color: #8e826f;
  display: none;
}

#form-wrapper .gfield--input-type-consent legend {
  display: none;
}

#form-wrapper .gfield_consent_label {
  font-size: 14px;
}

#form-wrapper input::placeholder {
  color: #bebebe;
  font-weight: 300;
}

#form-wrapper .gfield_consent_description {
  border: none;
  font-family: "itc-avant-garde-gothic-pro", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 10px;
  margin-left: 25px;
  padding: 0;
}

#form-wrapper .gfield_consent_description a {
  color: #585e6a;
}

#form-wrapper input[type="submit"] {
  color: white;
  background-color: #8e826f;
  border-radius: 26px;
  border: solid 1px #8e826f;
  font-size: 14px;
  padding: 15px 30px;
  transition: 0.2s ease-in;
}

#form-wrapper input[type="submit"]:hover {
  background-color: white;
  color: #8e826f;
}

@media screen and (max-width: 768px) {
  #form-wrapper input,
  #form-wrapper textarea,
  #form-wrapper select {
    padding: 8px 10px;
  }

  #form-wrapper legend,
  #form-wrapper label {
    font-size: 14px;
    letter-spacing: 0.7px;
    margin-bottom: 8px;
  }
  #form-wrapper .gfield_consent_label {
    font-size: 12px;
  }
}

/* Footer */

/* Cities  */

/* Footer Cities Section */

#cities-footer .city-backgrounds-wrapper {
  padding: 0 18px;
  overflow: hidden;
}

#cities-footer .city-backgrounds {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 64px 24px;
  box-sizing: border-box;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#cities-footer .city-backgrounds::-webkit-scrollbar {
  display: none;
}

#cities-footer .city-item {
  position: relative;
  height: 377px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform 0.4s ease-out;
}

#cities-footer .city-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(182deg, rgba(255, 255, 255, 0) 0%, #121212 100%)
    no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 32px;
}

#cities-footer .city-item .city-name {
  color: white;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 26px;
  font-weight: 500;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 5.2px;
  transform: rotateZ(180deg);
  transition: transform 0.2s ease-in-out;
}

#cities-footer .city-item:hover .overlay {
  background: linear-gradient(182deg, rgb(255 255 255 / 0%) 0%, #737373b5 100%);
}

#cities-footer .city-item:hover .city-name {
  transform: rotateZ(180deg) translateY(10px);
}

@media screen and (max-width: 1024px) {
  footer#main-footer .footer-wrapper h2 {
    margin-bottom: 0px;
  }

  .city-backgrounds {
    display: flex;
    flex-wrap: nowrap;
  }

  .footer-bottom {
    gap: 16px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  .city-item {
    flex: 0 0 22%;
    height: 250px;
  }
  .city-item .city-name {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  #cities-footer .city-backgrounds {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  #cities-footer .city-item {
    flex: 0 0 110px;
    height: 210px;
  }

  #cities-footer .city-item .city-name {
    font-size: 18px;
  }
}
.social-footer .elementor-icon-list-icon svg {
  margin-right: 0px !important;
}

#footer-cities .arrows-wrapper {
  display: none;
}

#footer-cities .scroll-btn.left,
#footer-cities,
.scroll-btn.right {
  background-color: transparent;
  border: none;
}

#footer-cities .arrows-wrapper {
  margin-top: -40px;
  margin-bottom: 40px;
  gap: 15px;
}

/* Afficher uniquement sur mobile */
@media screen and (max-width: 768px) {
  #footer-cities .arrows-wrapper {
    display: flex;
    justify-content: center;
  }

  #footer-cities .arrows-wrapper .left svg {
    transform: rotateY(180deg);
  }

  #footer-cities .arrows-wrapper .btn-icon {
    width: 35px;
    height: 35px;
  }
}

/* Personnalisez votre expérience  */
/* Proportions mesurées sur la maquette : largeur 587, hauteur 498. */
.lbb-hotel-v2 {
  --couleur-texte: #bd823c;
  --couleur-cartouche: #fff;
  --police-citation: "cormorant-garamond", serif;

  width: 100%;
  margin: 0;
  container-type: inline-size;
}

.lbb-hotel-v2__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 587 / 498;
  isolation: isolate;
}

/* Chaque photo garde une position indépendante du cartouche. */
.lbb-hotel-v2 .lbb-hotel-v2__photo,
.lbb-hotel-v2 .lbb-hotel-v2__marbre {
  position: absolute;
  display: block;
  box-sizing: border-box;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lbb-hotel-v2 .lbb-hotel-v2__marbre {
  z-index: 0;
  left: 49.4037%;
  top: 16.0643%;
  width: 50.5963%;
  height: 83.9357%;
  object-fit: cover;
  object-position: center;
}

.lbb-hotel-v2 .lbb-hotel-v2__photo {
  z-index: 1;
  top: 0;
  left: 0;
  width: 91.1414%;
  height: auto;

  /* Masquer les découpes blanches intégrées au JPG original. */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201096%20909%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M0%200H1096V625C1096%20646%201083%20660%201064%20662C1083%20664%201096%20678%201096%20697V909H0V267C0%20251%2015%20236%2035%20234C15%20232%200%20215%200%20200Z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201096%20909%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M0%200H1096V625C1096%20646%201083%20660%201064%20662C1083%20664%201096%20678%201096%20697V909H0V267C0%20251%2015%20236%2035%20234C15%20232%200%20215%200%20200Z%22%2F%3E%3C%2Fsvg%3E");

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Les unités cqi font évoluer texte et espacements avec le montage. */
.lbb-hotel-v2 .lbb-hotel-v2__citation {
  position: absolute;
  z-index: 2;

  top: 23.0924%;
  left: 11.414%;

  width: 68.3135%;
  min-height: 36.2862cqi;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  margin: 0;
  padding: 5.4514cqi 5.1107cqi;

  border: 0;
  border-radius: 0;

  background: none;
  box-shadow: none;

  color: var(--couleur-texte);

  font-family: var(--police-citation);
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.52;
  letter-spacing: 0.32px;

  text-align: center;
}

.lbb-hotel-v2__citation::before,
.lbb-hotel-v2__citation::after {
  content: none;
}

.lbb-hotel-v2__forme {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  fill: var(--couleur-cartouche);

  pointer-events: none;
}

.lbb-hotel-v2 .lbb-hotel-v2__texte {
  position: relative;
}

/* Une colonne étroite place le texte sous le montage, sans le réduire. */
@container (max-width: 420px) {
  .lbb-hotel-v2__scene {
    aspect-ratio: auto;
  }

  .lbb-hotel-v2__scene::before {
    content: "";
    display: block;
    aspect-ratio: 587 / 498;
  }

  .lbb-hotel-v2 .lbb-hotel-v2__marbre {
    top: 13.6286cqi;
    height: 71.2095cqi;
  }

  .lbb-hotel-v2 .lbb-hotel-v2__citation {
    position: relative;

    top: auto;
    left: auto;

    width: 100%;
    min-height: 0;

    margin-top: 16px;
    padding: 28px 30px;

    font-size: 17px;
    line-height: 1.5;
  }
}

/* =========================================================
   VARIABLES
   ========================================================= */

.blohorn-menu {
  --menu-gold: #cda461;
  --menu-white: #ffffff;
  --menu-dark: #06132d;

  width: 100%;

  font-family: "itc-avant-garde-gothic-pro", sans-serif;
}

/* =========================================================
   RESET
   ========================================================= */

.blohorn-menu button {
  appearance: none !important;
  -webkit-appearance: none !important;

  margin: 0 !important;
  padding: 0 !important;

  min-width: 0 !important;
  min-height: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  color: inherit !important;
  font: inherit !important;

  cursor: pointer;
}

/* =========================================================
   ÉLÉMENTS UNIQUEMENT MOBILES
   ========================================================= */

.blohorn-menu__toggle,
.blohorn-menu__close,
.blohorn-menu__mobile-header,
.blohorn-menu__mobile-footer {
  display: none !important;
}

.blohorn-menu__overlay {
  display: none;
}

/* =========================================================
   DESKTOP
   ========================================================= */

.blohorn-menu__nav {
  position: static;

  width: 100%;
}

.blohorn-menu__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: clamp(30px, 3.2vw, 55px);

  width: 100%;

  margin: 0;
  padding: 0;

  list-style: none;
}

.blohorn-menu__list li {
  margin: 0;
  padding: 0;
}

.blohorn-menu__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  color: var(--menu-white);
  text-decoration: none;

  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;

  letter-spacing: 0.05em;
  text-transform: uppercase;

  white-space: nowrap;

  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.blohorn-menu__list a:hover,
.blohorn-menu__list a:focus-visible {
  color: var(--menu-white);
  opacity: 0.72;
}

/* =========================================================
   CONTACT
   ========================================================= */

.blohorn-menu__contact a {
  overflow: visible;
}

.blohorn-menu__contact a:hover,
.blohorn-menu__contact a:focus-visible {
  opacity: 1;
}

.blohorn-menu__contact span {
  position: relative;

  display: inline-block;

  padding: 5px 13px 6px;

  background-color: var(--menu-gold);
  color: var(--menu-white);

  line-height: 1;
}

/* Pointe haut gauche */

.blohorn-menu__contact span::before {
  content: "";

  position: absolute;

  top: 0;
  left: -6px;

  width: 0;
  height: 0;

  border-right: 6px solid var(--menu-gold);
  border-bottom: 6px solid transparent;
}

/* Pointe bas droite */

.blohorn-menu__contact span::after {
  content: "";

  position: absolute;

  right: -6px;
  bottom: 0;

  width: 0;
  height: 0;

  border-left: 6px solid var(--menu-gold);
  border-top: 6px solid transparent;
}

/* =========================================================
   TABLETTE / MOBILE
   ========================================================= */

@media (max-width: 1024px) {
  body.blohorn-menu-open {
    overflow: hidden;
  }

  /* -----------------------------------------------------
       Conteneur
       ----------------------------------------------------- */

  .blohorn-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  /* -----------------------------------------------------
       Hamburger
       ----------------------------------------------------- */

  .blohorn-menu__toggle {
    display: flex !important;

    position: relative;

    z-index: 10001;

    width: 42px !important;
    height: 42px !important;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
  }

  .blohorn-menu__toggle span {
    display: block;

    width: 27px;
    height: 1px;

    flex: none;

    background: var(--menu-white);
  }

  .blohorn-menu.is-open .blohorn-menu__toggle {
    opacity: 0;
    pointer-events: none;
  }

  /* -----------------------------------------------------
       Overlay
       ----------------------------------------------------- */

  .blohorn-menu__overlay {
    display: block;

    position: fixed;
    inset: 0;

    z-index: 9998;

    background: rgba(0, 0, 0, 0.48);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .blohorn-menu.is-open .blohorn-menu__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* -----------------------------------------------------
       Drawer
       ----------------------------------------------------- */

  .blohorn-menu__nav {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    z-index: 9999;

    display: flex;
    flex-direction: column;

    width: min(88vw, 420px);
    height: 100dvh;

    box-sizing: border-box;

    padding: 28px 30px 32px;

    background: var(--menu-dark);

    overflow-y: auto;

    transform: translateX(-100%);

    transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  }

  .blohorn-menu.is-open .blohorn-menu__nav {
    transform: translateX(0);
  }

  /* -----------------------------------------------------
       Header mobile
       ----------------------------------------------------- */

  .blohorn-menu__mobile-header {
    display: flex !important;

    flex: 0 0 auto;

    align-items: flex-start;
    justify-content: space-between;

    width: 100%;
  }

  /* -----------------------------------------------------
       Logo / nom
       ----------------------------------------------------- */

  .blohorn-menu__brand {
    display: flex;
    align-items: center;
  }

  .blohorn-menu__logo {
    display: block;
    width: 150px;
    height: auto;
    max-width: 100%;
  }

  /* -----------------------------------------------------
       Croix
       ----------------------------------------------------- */

  .blohorn-menu__close {
    display: block !important;

    position: relative;

    width: 34px !important;
    height: 34px !important;

    flex: 0 0 34px;
  }

  .blohorn-menu__close span {
    position: absolute;

    top: 50%;
    left: 50%;

    display: block;

    width: 27px;
    height: 1px;

    background: var(--menu-white);
  }

  .blohorn-menu__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .blohorn-menu__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* -----------------------------------------------------
       Navigation
       ----------------------------------------------------- */

  .blohorn-menu__list {
    display: flex;

    flex: 1;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 31px;

    width: 100%;

    margin: 0;
    padding: 30px 0;

    list-style: none;
  }

  .blohorn-menu__list li {
    width: auto;
  }

  .blohorn-menu__list a {
    display: inline-flex;

    justify-content: flex-start;

    font-size: 16px;
    line-height: 1.3;

    white-space: normal;
  }

  /* -----------------------------------------------------
       Contact mobile
       ----------------------------------------------------- */

  .blohorn-menu__contact {
    margin-top: 5px;
  }

  .blohorn-menu__contact span {
    padding: 8px 17px 9px;
  }

  /* -----------------------------------------------------
       Footer mobile
       ----------------------------------------------------- */

  .blohorn-menu__mobile-footer {
    display: block !important;

    flex: 0 0 auto;

    padding-top: 20px;

    color: rgba(255, 255, 255, 0.5);
  }

  .blohorn-menu__mobile-footer > span {
    display: block;

    width: 55px;
    height: 1px;

    margin-bottom: 13px;

    background: var(--menu-gold);
  }

  .blohorn-menu__mobile-footer p {
    margin: 0;

    font-size: 10px;
    font-weight: 300;
    line-height: 1.3;

    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .blohorn-menu__nav {
    width: calc(100vw - 28px);

    padding: 28px 30px 30px;
  }

  .blohorn-menu__list {
    gap: 28px;
  }

  .blohorn-menu__list a {
    font-size: 15px;
  }
}
