* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Quicksand;
  src: url(/assets/font/Quicksand-VariableFont_wght.ttf);
}

@font-face {
  font-family: Baskervville;
  src: url(/assets/font/Baskervville-Regular.ttf);
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey: #cacbd1;
  --color-code-comment: #a9aaad;
  --color-code-white: #c5c9c6;
  --color-code-red: #d16464;
  --color-code-orange: #de935f;
  --color-code-yellow: #f0c674;
  --color-code-green: #a7bd68;
  --color-code-aqua: #8abeb7;
  --color-code-blue: #7e9abf;
  --color-code-purple: #b294bb;
}

html {
  font-family: Quicksand, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  font-size: 16px;
  font-weight: normal;
  line-height: 1.4;
}

/* Background blanc */
.uk-lightbox {
  background: rgba(255, 255, 255, 0.95) !important;
}

/* Boutons de navigation avec fond blanc et ombre */
.uk-lightbox-button {
  background: white !important;
  color: #333 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e5e5e5 !important;
}

.uk-lightbox-button:hover {
  background: #f8f8f8 !important;
}

/* Icônes sombres pour contraste */
.uk-lightbox-toolbar-icon,
.uk-lightbox .uk-close,
.uk-lightbox .uk-lightbox-counter,
.uk-slidenav {
  color: #333 !important;
}

.uk-lightbox .uk-lightbox-counter {
  font-weight: 300;
}

h1,
.uk-h1,
h3,
.uk-h3,
.uk-heading-small,
.uk-heading-medium,
.uk-heading-large,
.uk-heading-xlarge,
.uk-heading-2xlarge,
.uk-heading-3xlarge {
  font-family: Baskervville;
}

h3,
.uk-h3 {
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: uppercase;
}

strong {
  font-weight: 600;
}

h2,
.uk-h2,
h4,
.uk-h4,
h5,
.uk-h5,
h6,
.uk-h6 {
  font-family: Baskervville;
}

h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 2.4rem;
  margin-top: 15px;
}

.uk-h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 20px;
}

h4,
.uk-h4,
* + h4 {
  margin-top: 30px;
  font-family: Quicksand;
  font-weight: 700;
  /*text-transform: uppercase;*/
  font-size: 1.1rem;
}

h1 {
  line-height: 1.3;
  font-size: 2.2rem;
  /*letter-spacing: 0.2rem;*/
  text-transform: uppercase;
}

h1 em {
  font-size: 1.2rem;
}

span blockquote {
  margin-bottom: 40px;
}

@media only screen and (max-width: 900px) {
  h1 {
    line-height: 1.2;
    font-size: 1.4rem;
    letter-spacing: 0rem;
  }
  h2, .uk-h2 {
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  h4 {font-size: 1rem;}

  h3 {font-size: 1rem;}

  span blockquote {
  margin-bottom: 20px;
}

}

h1 span {
  padding-left: 0px;
  padding-right: 0px;
}

.uk-text-large {line-height: 1.3}

.uk-heading-divider {
  padding-bottom: calc(12px + 0.1em);
}

.uk-modal h3::before {
  display: none;
}

blockquote {
  color: #977c32;
  font-size: 1.1rem;
  font-weight: 400;
  /*width: 600px;*/
}

.uk-button-default {
  border-color: #977c32;
  color: #977c32;
}

@media only screen and (max-width: 900px) {
  blockquote {
  font-size: 1rem;
  width: 100%;
  }
}

.uk-border-rounded {
  border-radius: 10px;
}

.uk-button.uk-border-rounded {
  border-radius: 5px;
}

.uk-heading-line > ::before,
.uk-heading-line > ::after,
.uk-heading-divider {
  border-bottom-color: #977c32;
  border-width: 1px;
}

.fiche-thumb h3 {
  margin-bottom: 5px;
}

.uk-divider-small::after {
  border-top-color: #ccc;
}
.uk-divider-small {
  margin-top: 25px;
  margin-bottom: 25px;
}

.uk-navbar-nav > li > a,
.uk-navbar-item,
.uk-navbar-toggle,
.uk-logo {
  font-family: Quicksand;
  text-transform: uppercase;
  min-height: 40px;
}

.uk-navbar-nav > li.uk-active-lang > a {
  text-decoration: underline;
  color: #977c32;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 60px;
  list-style: none;
  padding: 0;
}

.menu-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.menu-grid img {
  max-width: 70%;
  height: auto;
}

em {
  color: #977c32;
}
p strong {
  color: #000;
}
a {
  color: #000;
}
a:hover {
  color: #977c32;
}

figure {
  margin-top: 30px;
  margin-bottom: 30px;
}

.border-cadre {
    border: 1px solid #000;
    padding: 80px;
  }

.border-cadre-int {
    border: 1px solid #000;
    padding: 80px;
  }

/*.uk-icon.uk-overlay-icon svg {color: #fff;}*/

/* Style pour le menu modal */
#top-menu-modal .uk-modal-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: #fff;
  /*background-image: url(/assets/champagne-demiere-footer.webp);
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 20%;*/
  overflow: hidden;
}

/* Style pour les items du menu */
#top-menu-modal .uk-grid-match {
  height: calc(100% - 40px);
  align-items: center;
}

/* Style pour les images */
#top-menu-modal img {
  display: block;
  margin: 0 auto 10px;
  transition: transform 0.3s ease;
}

#top-menu-modal img:hover {
  transform: scale(1.05);
}

/*Pour supprimer le background*/
.uk-modal {
  /*background: none;*/
}

.uk-modal-dialog {
  width: 800px;
  width: 40%;
  /*min-height: 80vh;*/
}

/* Style pour le bouton de fermeture */
#top-menu-modal .uk-modal-close-default {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1000;
}

.uk-navbar-toggle {
  min-height: 20px;
  color: #fff;
}

.uk-offcanvas-bar {
  width: 100%;
}

.uk-offcanvas-bar a {
  color: #000;
}
.uk-offcanvas-bar a:hover {
  color: #333;
}

.uk-offcanvas-bar .uk-close {
  color: #000;
}

.uk-modal-close svg {
  margin-left: 20px;
}

.orientation {
  visibility: hidden;
}

@media only screen and (orientation: landscape) and (max-width: 900px) {
  .orientation {
    visibility: visible;
  }
}

/* ########### Color*/
/* Correction style global "couleurs" > recherche et remplace dans le fichier uikit.css */

.uk-navbar-container.uk-navbar-sticky {
  background-color: #202020;
}
.uk-navbar-container.uk-navbar-sticky {
  background-color: #ffffff;
}
.uk-navbar-container:not(.uk-navbar-transparent) {
  background-color: #ffffff;
}

/* AGE VERIF */

#modal_screen {
  height: 100%;
  width: 100%;
  z-index: 1100;
  opacity: 0.9;
}

#modal_content {
  z-index: 1101;
}

.map {
  /*  background-image: url('/assets/carte.svg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;}*/
}

#map img {
  margin: 20px;
  width: 150px;
}

a.map_titre {
  display: block;
  background-color: #9e907a;
  color: #fff;
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 5px;
  opacity: 0.8;
  font-weight: 300;
  font-size: 1.1rem;
}

@media only screen and (max-width: 900px) {
  #map img {
    margin: 10px;
    width: 70px;
  }
  a.map_titre {
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 5px;
    font-size: 12px;
  }
}

a.uk-icon.uk-marker svg {
}
a.uk-icon.uk-marker {
  margin-right: 0px;
  margin-left: 0px;
  background: #9e907a;
  color: #fff;
}
a.uk-icon.uk-marker:hover {
  background: #977c32;
  color: #000;
}

.uk-tooltip {
  background-color: #fff !important;
  color: #000 !important;
  font-size: 11px !important;
  padding: 15px !important;
  font-weight: 300;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
}

/*Page contact*/

.honeypot {
  position: absolute;
  left: -9999px;
}

.uk-input,
.uk-textarea {
  border-color: #977c32;
}

abbr[title] {
  text-decoration: none;
}

.button_contact a {
  color: #977c32;
}



/* -------------------  home -------------------- */


footer {
  position: relative;
  z-index: 10;
}

/* ===== CARTE EN ARRIÈRE-PLAN ===== */
.map-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -10; /* ✅ En dessous du header/footer */
  pointer-events: none;
}

/*.map-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}*/

/* ===== ZONE DE SCROLL ===== */
.scroll-area {
  /*position: relative;*/
  height: 850vh;
  z-index: -5; /* ✅ Au-dessus de la carte, en dessous du header/footer */
}

.scroll-clip {
  height: 630vh;
  overflow: clip;        /* préférable à hidden : ne casse pas sticky */
}

.scroll-content {
  position: relative;
  height: 100%;
}

.scroll-content h2 {
/*  margin-bottom: 8px;
  font-family: montserrat;
  font-weight: 300;*/
}

.vertical-line {
 /* position: fixed; 
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 100vh;
  background: #ffff;
  transform: scaleY(0);
  transform-origin: bottom center;
  z-index: -5;*/
}

.tooltip {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: auto;
  z-index: 8;
  width: 30%;
}

.tooltip p {
  text-align: left;
  width: 90%;
  margin-top: 15px;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* nombre de lignes */
  line-clamp: 3;
  overflow: hidden;
}

.tooltip h2 {
  font-size: 2rem;
  margin-top: 0px;
  margin-bottom: 0px;
}

.tooltip h3 {
  font-size: 1.3rem;
  margin-top: 10px;
  margin-bottom: 0px;
}

.tooltip-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.uk-card-body {
  padding: 30px;
}


.map-background-container svg {
  /*object-fit: cover;*/
  width: 100%;
  height: 100%;
  display: block;
}

/* Zone du milieu : le fond fixe n'est visible qu'ici */
.parcours {
  clip-path: inset(0);
}

/* Le hero se positionne dans son propre bloc, plus dans la page */
/*.hero-zone {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}
*/

@media (min-width: 1200px) {
    .gamme-card {
    padding-left: 100px;
    padding-right: 100px;
  }
}




/* ---------------------   Home mobile -------------------- */

@media (max-width: 768px) {

  .logo-header img {
    width: 210px;
  }

  .map-background-container {
    padding-top: 50px;
  }

  .image-intro img {
    height: 30dvh;
  }

  .image-intro h2 {
    font-size: 1.3rem;
    line-height: 2.0rem;
    margin-top: 10px;
  }

  .uk-button {
    margin-top: 10px !important;
  }

  .uk-card {
    font-size: 0.85rem;
  }

  .uk-card-body {
    padding: 20px;
  }

  .scroll-area {
    height: auto; /* Ajuste selon ton contenu */
  }

  .map-background-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden; /* cache le débordement horizontal si le SVG est plus large que l'écran */
    z-index: -10;
}

  .map-background-container svg {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    position: absolute;
    left: 60%;
    transform: translateX(-50%) translateY(0px) scale(0.8);
  }

  .tooltip-mobile {
    margin-bottom: 250px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .tooltip-mobile p {
  margin-top: 10px;
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* nombre de lignes */
  line-clamp: 3;
  overflow: hidden;
  }

  .tooltip-mobile img {
    height:130px;
    margin-top: 10px;
  }

  .tooltip-mobile .uk-button {
    font-size: 0.8rem;
  }

  .tooltip-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      padding-bottom: 20px;
}

  .tooltip-mobile h2 {
    margin-bottom: 5px;
    margin-top: 5px !important;
  }

   .tooltip-mobile h3 {
    font-size: 1rem;
    margin-top: 10px !important;
  }
  .tooltip-mobile h3 span {
    margin-right: 5px;
    color: #977c32;
    font-size: 1rem;
    font-weight: 600;
  }

  #footer {
    background-color: #fff;
    margin-top: 30px;
  }
  #footer .uk-section {
    padding-bottom: 20px;
  }
  #footer img {width: 100px}

}


