
:root {
  /* Couleurs (charte Made in Provence) */
  --color-dore: #BAB175;
  --color-dore-2: #E9E3BF;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-creme: #FEFDF5;
  --color-vin-rose: #F4ECF0;
  --color-vin-blanc: #FAF7ED;
  --color-vin-rouge: #F8E7E5;

  /* Typographie */
  --font-primary: 'Arimo', Arial, Helvetica, sans-serif;
  --font-title: 'Neutra Text TF', 'Arimo', Arial, Helvetica, sans-serif;

  /* Tailles de texte (maquette) */
  --fs-h1: 36px;
  --fs-h2: 32px;
  --fs-h3: 16px;
  --fs-cta: 14px;
  --fs-surtitre: 12px;
  --fs-paragraphe: 14px;
  --fs-cta-menu: 20px;
  --fs-card-titre: 14px;
  --fs-card-provenance: 12px;

  /* Border radius */
  --radius-btn: 2px;
  --radius-card: 6px;

  /* Spacings sections */
  --section-padding: 100px;
  --section-padding-mobile: 50px;

  /* Transitions */
  --transition-base: 0.3s ease;

  /* Container */
  --container-width: 1324px;
}
@media screen and (max-width: 1399px) {
  :root { --container-width: 1140px; }
}
@media screen and (max-width: 1199px) {
  :root { --container-width: 960px; }
}
@media screen and (max-width: 991px) {
  :root { --container-width: 720px; }
}
@media screen and (max-width: 767px) {
  :root { --container-width: 100%; }
}

/* ============================================================
   @FONT-FACE  —  Polices locales
   ============================================================ */

/* Neutra Text TF (titres) */
@font-face {
  font-family: 'Neutra Text TF';
  src: url('../fonts/neutra-text-tf/neutra-text-tf-bold-5871e0e1d072a.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neutra Text TF';
  src: url('../fonts/neutra-text-tf/neutra-text-tf-light-5871e0fe13bff.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Arimo (corps + CTA) — variable font */
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/Arimo/Arimo-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/Arimo/Arimo-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

body {line-height: 1}


html,body{
  font-family: var(--font-primary);
overflow-x: hidden
}
a{text-decoration: none}

/*tips*/


/*padding*/
.no-pad-left,.no-pad-left-ipad,.no-pad-left-mobile{padding-left: 0px}
.no-pad-right,.no-pad-right-ipad,.no-pad-right-mobile{padding-right: 0px}
.no-pad-top,.no-pad-top-ipad,.no-pad-top-mobile{padding-top: 0px}
.no-pad-bottom-ipad,.no-pad-bottom-mobile{padding-right: 0px}
.no-pad{padding: 0px}
/*margin*/
.no-marg-left,.no-marg-left-ipad,.no-marg-left-mobile{margin-left: 0px}
.no-marg-right,.no-marg-right-ipad,.no-marg-right-mobile{margin-right: 0px}
.no-marg-top,.no-marg-top-ipad,.no-marg-top-mobile{margin-top: 0px}
.no-marg-bottom,.no-marg-bottom-ipad,.no-marg-bottom-mobile{margin-bottom: 0px}
.no-marg{padding: 0px}

/*others tips*/
.display-none,
.display-mobile,
.display-mobile-flex,
.display-ipad{display: none}
.display-block{display: block}
.d-flex{display: flex}
.clear{clear: both}
.text-center{text-align: center}
.text-right{text-align: right}
.text-left{text-align: left}
.float-right{float: right}
.float-left{float: left}
.no-decoration:hover,
.no-decoration{text-decoration: none}
.fixed{position: fixed}
.invisible {visibility: hidden}
.img-circle{border-radius: 50%}

.capitalize {text-transform: capitalize}
.lowercase {text-transform: lowercase}
.hover-pointer:hover{cursor: pointer}
.img-responsive{max-width: 100%;}
@media screen and (max-width: 991px){
	.display-ipad{display: block}
	.hide-ipad{display: none}
}
@media screen and (max-width: 767px){
	.display-mobile{display: block}
	.display-mobile-flex{display: flex}
	.hide-mobile{display: none}
}

/*Global components*/
table{
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); */
}
table thead tr {
	background-color: #009879;
	color: #ffffff;
	text-align: left;
}
table th,
table td{padding: 12px 15px}
table tbody tr {border-bottom: 1px solid #dddddd}
table tbody tr:nth-of-type(even) {background-color: #efefef}

/* table tbody tr:last-of-type {border-bottom: 2px solid #009879} */
table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
.animate-spin{
	fill: #1c64f2;
	width: 35px;
	-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;
	--tw-text-opacity: 1;
	color: rgb(229 231 235/var(--tw-text-opacity));
}
@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}



.container{
	width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
}

/*Splide overflow right*/
.splide-overflow-right{
	padding-left: calc((100vw - var(--container-width)) / 2);
}
.splide-overflow-right .splide__track{
	overflow: visible;
}

/*Theme components*/
/*THEME*/

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   BASE
   ============================================================ */
html, body { font-family: var(--font-primary); color: var(--color-black); }
.container { padding-left: 0; padding-right: 0; }
@media screen and (max-width: 767px) {
  .container { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
.h1-title {
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .h1-title { font-size: 32px; }
}
.h2-title {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
}
.h3-title {
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.surtitre {
  font-family: var(--font-primary);
  font-size: var(--fs-surtitre);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.paragraphe {
  font-family: var(--font-primary);
  font-size: var(--fs-paragraphe);
  font-weight: 400;
  line-height: 20px;
}

/* ─── WYSIWYG — contenu éditeur ACF ─── */
.wysiwyg { font-family: var(--font-primary); font-size: var(--fs-paragraphe); line-height: 20px; color: var(--color-black); }
.wysiwyg > * + * { margin-top: 16px; }

.mt-50px{margin-top: 50px!important;}

.wysiwyg h2 { font-family: var(--font-title); font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; color: var(--color-black); margin-top: 24px; }
.wysiwyg h3 { font-family: var(--font-title); font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-black); margin-top: 20px; }
.wysiwyg p  { font-family: var(--font-primary); font-size: var(--fs-paragraphe); font-weight: 400; line-height: 20px; }
.wysiwyg ul, .wysiwyg ol { padding-left: 20px; }
.wysiwyg ul { list-style-type: disc; }
.wysiwyg ol { list-style-type: decimal; }
.wysiwyg li + li { margin-top: 2px; }
.wysiwyg a:not(.btn-outline) { color: var(--color-dore); text-decoration: underline; transition: color var(--transition-base); }
.wysiwyg a:not(.btn-outline):hover { color: var(--color-black); }
.wysiwyg strong, .wysiwyg b { font-weight: 700; }
.wysiwyg em, .wysiwyg i { font-style: italic; }

.big-paragraphe {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}
.card-titre {
  font-family: var(--font-primary);
  font-size: var(--fs-card-titre);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}
.card-provenance {
  font-family: var(--font-primary);
  font-size: var(--fs-card-provenance);
  font-weight: 400;
  line-height: 1.2;
}
/* Titre de page liste (ex: « Domaine des diables ») */
.titre-liste {
  font-family: var(--font-title);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
}
.titre-liste-mini {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}
.titre-liste-mini.big_size{font-size: 50px;font-weight: 700;}
.sub-title-citation{
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  .titre-liste { font-size: 32px; }
}

/* ============================================================
   COULEURS
   ============================================================ */
.dore { color: var(--color-dore); }
.bg-dore { background-color: var(--color-dore); }
.dore-2 { color: var(--color-dore-2); }
.bg-dore-2 { background-color: var(--color-dore-2); }
.noir { color: var(--color-black); }
.bg-noir { background-color: var(--color-black); }
.white { color: var(--color-white); }
.bg-white { background-color: var(--color-white); }
.bg-creme { background-color: var(--color-creme); }
.bg-vin-rose { background-color: var(--color-vin-rose); }
.bg-vin-blanc { background-color: var(--color-vin-blanc); }
.bg-vin-rouge { background-color: var(--color-vin-rouge); }

/* ============================================================
   BOUTONS / CTA
   ============================================================ */
.btn {
  font-family: var(--font-primary);
  font-size: var(--fs-cta);
  line-height: 1;
  transition: var(--transition-base);
}
/* CTA 1 : bouton bordé */
.btn-outline {
  border: 1px solid var(--color-black);
  border-radius: var(--radius-btn);
  color: var(--color-black);
  font-weight: 400;
}
.btn-outline:hover { background-color: var(--color-black); color: var(--color-white); }
.btn-outline.light { border-color: var(--color-white); color: var(--color-white); }
.btn-outline.light:hover { background-color: var(--color-white); color: var(--color-black); }

/* CTA 2 : lien souligné */
.btn-link {
  position: relative;
  color: var(--color-black);
  font-weight: 700;
  border-radius: 0;
}
.btn-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-link:hover::after { width: 70%; }
.btn-link.light { color: var(--color-white); }
.btn-link.light::after { background: var(--color-white); }

/* CTA 3 : texte souligné simple (pas d'effet hover) */
.btn-text {
  position: relative;
  color: var(--color-black);
  font-weight: 700;
  border-radius: 0;
}
.btn-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-black);
}
.btn-text.light { color: var(--color-white); }
.btn-text.light::after { background: var(--color-white); }

/* Focus visible accessible */
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-dore);
  outline-offset: 3px;
}

/* ============================================================
   BLOC : HERO (Arrivé)
   ============================================================ */
.section-hero .hero-content .h1-title { max-width: 320px; }

/* ============================================================
   BLOC : FEATURES DUO (image + titre + cta)
   ============================================================ */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
/* .feature-card .feature-titre { max-width: 100%; } */
@media screen and (max-width: 767px) {
  .feature-card {
    aspect-ratio: auto;
    height: 540px;
    min-height: 540px;
    max-height: none;
    padding: 40px;
  }
}

/* ============================================================
   BLOC : NOS VINS
   ============================================================ */

/* Onglets du slider produits */
.produits-tab {
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-dore-2);
}
.produits-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-dore);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.produits-tab[aria-selected="true"]::after { transform: scaleX(1); }
.produits-panel { display: none; }
.produits-panel.is-active { display: block; }
@media screen and (max-width: 767px) {
  .section-nos-vins { padding: 50px 0 100px; overflow-x: hidden; }
  .section-nos-vins .produits-tabs { 
      padding: 0 20px;
      margin-bottom: 40px;
      width: calc(100% + 80px);
      left: -40px;
      position: relative;
   }
  .section-nos-vins .produits-panel {
    margin-left: -20px;
    width: 100vw;
  }
}

/* Slider produits */

/* Flèches Splide — positionnement */
.produits-slider .splide__arrow,
.actu-slider .splide__arrow {
  background: transparent;
  width: 40px;
  height: 40px;
}
.produits-slider .splide__arrow:disabled,
.actu-slider .splide__arrow:disabled { opacity: 0; }

.splide__arrow--prev {
  left: -60px;
  position: absolute;
  top: 50%;
  z-index: 9;
 }
  .splide__arrow--next { 
    right: -60px;
    position: absolute;
    top: 50%;
    z-index: 9;
  }
.actu-slider   .splide__arrow--prev,
.actu-slider .splide__arrow--next {
  top: 150px;
}
.splide__arrow--prev:hover,
.splide__arrow--next:hover {
  cursor: pointer;
}
/* ============================================================
   PAGE LISTE DE VINS (logo haut + hero + grille)
   ============================================================ */

/* Barre supérieure (logo sombre + fil d'Ariane) collante en haut de page */
.logo-topbar { background-color: transparent }

/* Fil d'Ariane */
.hero-liste-fil { align-items: center; }
.hero-liste-fil-link { color: var(--color-black); transition: color var(--transition-base); }
.hero-liste-fil-link:hover { color: var(--color-dore); }
/* .hero-liste-fil [aria-current="page"] { color: var(--color-dore); } */

/* Image du hero */
.hero-liste-img { border-radius:6px;max-width: 100%; }

/* Mobile : bloc-hero-liste image full-bleed + section pull-up sous l'image */
@media screen and (max-width: 767px) {
  .section-hero-liste {
    padding-top: 0;
    margin-top: -60px;
  }
  .section-hero-liste .hero-liste-img {
    margin-left: -20px;
    margin-right: -20px;
    min-width: calc(100% + 40px);
    max-width: none;
    height: auto;
    border-radius: 0;
  }
  .section-hero-liste .hero-liste-fil {
        display: flex;
        gap: 8px;
        padding: 0;
        margin-top: -30px;
  }
}

/* Breadcrumb du logo-topbar masqué en mobile sur les pages internes (doublon repositionné sous l'image) */
@media screen and (max-width: 767px) {
  body.page-template-template-contact .logo-topbar .hero-liste-fil,
  body.page-template-template-liste-vins .logo-topbar .hero-liste-fil,
  body.page-template-template-over-the-vines .logo-topbar .hero-liste-fil,
  body.page-template-template-hebergements .logo-topbar .hero-liste-fil,
  body.archive .logo-topbar .hero-liste-fil,
  body.page .logo-topbar .hero-liste-fil,
  body.single .logo-topbar .hero-liste-fil { display: none; }
}

/* Burger lisible sur fond clair (pages internes) — contraste a11y */
body.page-template-template-liste-vins .menu-burger .burger-lines span,
body.page-template-template-produit .menu-burger .burger-lines span,
body.page-template-template-over-the-vines .menu-burger .burger-lines span,
body.page-template-template-hebergements .menu-burger .burger-lines span,
body.page-template-template-contact .menu-burger .burger-lines span,
body.page .menu-burger .burger-lines span,
body.single .menu-burger .burger-lines span,
body.archive .menu-burger .burger-lines span,
body.search .menu-burger .burger-lines span,
body.error404 .menu-burger .burger-lines span { background: var(--color-black); }
body.page-template-template-liste-vins .menu-burger .burger-label,
body.page-template-template-produit .menu-burger .burger-label,
body.page-template-template-over-the-vines .menu-burger .burger-label,
body.page-template-template-hebergements .menu-burger .burger-label,
body.page-template-template-contact .menu-burger .burger-label,
body.page .menu-burger .burger-label,
body.single .menu-burger .burger-label,
body.archive .menu-burger .burger-label,
body.search .menu-burger .burger-label,
body.error404 .menu-burger .burger-label { color: var(--color-black); }

/* ============================================================
   BLOC MODULAIRE : TEXTE + IMAGE (50/50)
   ============================================================ */
.bloc-ti {
  display: flex;
  width: 100%;
  min-height: 600px;
  align-items: stretch;
}
.bloc-ti--image-right { flex-direction: row-reverse; }
.bloc-ti-media { flex: 1 1 50%; min-width: 0; }
.bloc-ti-img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 800px; max-height: 800px}
.bloc-ti-text {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 138px;
}
@media screen and (max-width: 1199px) {
  .bloc-ti-text { padding: 60px 64px; }
}
@media screen and (max-width: 900px) {
  .bloc-ti,
  .bloc-ti--image-right { flex-direction: column; min-height: 0; }
  .bloc-ti-media { aspect-ratio: 4 / 3; }
  .bloc-ti-text { padding: 40px 24px; }
}
@media screen and (max-width: 767px) {
  .titre-liste-mini.big_size {
    font-size: 24px;
}
  .bloc-ti-media { aspect-ratio: auto; }
  .bloc-ti-img { min-height: 540px; height: 540px; }
  .bloc-ti-text { padding: 48px 20px; }
  .bloc-ti-text .bloc-ti-text-inner { max-width: none; }
}

/* ============================================================
   BLOC MODULAIRE : HÉBERGEMENTS (section sombre)
   ============================================================ */
.bloc-hebergements {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.bloc-hebergements-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bloc-hebergements::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.bloc-hebergements-inner { position: relative; z-index: 2; }
.hebergement-card {
  display: flex;
  flex-direction: column;
  width: 420px;
  max-width: 100%;
  height: 491px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hebergement-card-img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  transition: flex 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.hebergement-card-body { padding: 20px; }
.hebergement-card-texte {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease 0.08s,
              margin 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.hebergement-card-texte-inner {
  overflow: hidden;
  min-height: 0;
}
.hebergement-card:hover .hebergement-card-texte {
  grid-template-rows: 1fr;
  opacity: 1;
}
.hebergement-card-texte {
  margin-top: -5px;
  margin-bottom: -24px;
}
.hebergement-card:hover .hebergement-card-texte {
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .bloc-hebergements { padding: 60px 0; }
  .hebergement-card .hebergement-card-texte {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0;
    margin-bottom: 0;
  }
  .bloc-hebergements .bloc-hebergements-inner { gap: 40px; }
  .hebergements-slider .splide__track { overflow: visible; }
  .hebergement-card--slide {
    width: 100%;
    height: auto;
  }
  .hebergement-card--slide .hebergement-card-img {
    height: 200px;
    flex: none;
  }
  .hebergement-card--slide .hebergement-card-body {
    flex: 1;
    padding: 20px;
    gap: 16px;
  }
}

/* ============================================================
   BLOC MODULAIRE : CARROUSEL PLEINE LARGEUR
   ============================================================ */
.bloc-carrousel { width: 100%; }
.bloc-carrousel-img {
  display: block;
  width: 100%;
  height: 800px;
  object-fit: cover;
}
@media screen and (max-width: 900px) {
  .bloc-carrousel-img { height: 60vh; }
}
@media screen and (max-width: 767px) {
  .bloc-carrousel-img { height: 350px; }
}
.hebergement-carrousel .splide__arrow,
.bloc-carrousel-slider .splide__arrow {
  background: rgba(255, 255, 255, 0.85);
  width: 44px;
  height: 44px;
  
}

.bloc-carrousel-slider .splide__arrow {
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hebergement-carrousel .splide__arrow:hover,
.bloc-carrousel-slider .splide__arrow:hover { background: var(--color-white); }
.bloc-carrousel-slider .splide__arrow--prev { left: 24px; }
.bloc-carrousel-slider .splide__arrow--next { right: 24px; }
@media screen and (max-width: 767px) {
  .bloc-carrousel-slider .splide__arrow--prev { left: 12px; }
  .bloc-carrousel-slider .splide__arrow--next { right: 12px; }
}

/* ============================================================
   BLOC MODULAIRE : TEXTE CENTRÉ
   ============================================================ */
.bloc-texte {
  display: flex;
  justify-content: center;
  padding: 140px 138px;
}
.bloc-texte-inner { width: 100%; max-width: 800px; }
@media screen and (max-width: 1199px) {
  .bloc-texte { padding: 100px 64px; }
}
@media screen and (max-width: 767px) {
  .bloc-texte { padding: 50px 20px; }
}

/* ============================================================
   BLOC WYSIWYG — mentions légales
   ============================================================ */
.bloc-wysiwyg {
  padding: 140px 0 100px;
}
.bloc-wysiwyg-inner {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.wysiwyg-legal {
  color: var(--color-black);
}
.wysiwyg-legal > *:first-child { margin-top: 0; }
.wysiwyg-legal h2,
.wysiwyg-legal h3,
.wysiwyg-legal h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
}
.wysiwyg-legal h2 { font-size: var(--fs-h2); margin-top: 40px; }
.wysiwyg-legal h3 {
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 28px;
}
.wysiwyg-legal h4 {
  font-family: var(--font-primary);
  font-size: 16px;
  margin-top: 24px;
}
.wysiwyg-legal p,
.wysiwyg-legal li {
  font-size: var(--fs-paragraphe);
  line-height: 22px;
}
.wysiwyg-legal ul,
.wysiwyg-legal ol {
  padding-left: 22px;
  margin-top: 12px;
}
.wysiwyg-legal li + li { margin-top: 6px; }
.wysiwyg-legal a:not(.btn-outline) { color: var(--color-dore); }
.wysiwyg-legal blockquote {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--color-dore);
  font-style: italic;
}
.wysiwyg-legal hr {
  border: 0;
  border-top: 1px solid var(--color-dore-2);
  margin-top: 32px;
}
.wysiwyg-legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: var(--fs-paragraphe);
}
.wysiwyg-legal th,
.wysiwyg-legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-dore-2);
}
.wysiwyg-legal th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}
@media screen and (max-width: 1199px) {
  .bloc-wysiwyg { padding: 120px 0 80px; }
}
@media screen and (max-width: 767px) {
  .bloc-wysiwyg { padding: 100px 0 50px; }
  .bloc-wysiwyg-inner { gap: 24px; }
  .wysiwyg-legal h2 { font-size: 20px; }
  .wysiwyg-legal table { display: block; overflow-x: auto; }
}

/* ============================================================
   PAGE PRODUIT (fiche vin)
   ============================================================ */

/* Image bouteille (fond coloré, collante au scroll) */
.produit-hero-media {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.produit-hero-img {
  cursor: zoom-in;
  border: none;
  padding: 0;
  grid-area: 1 / 1;
}
.produit-hero-img img { object-fit: contain; padding: 40px; }
.produit-hero-zoom-icon {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: end;
  justify-self: end;
  margin: 0 16px 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-black);
  pointer-events: none;
}
.produit-hero-breadcrumb--mobile { display: none; }
@media screen and (max-width: 767px) {
  .section-produit-hero { padding-top: 0px; padding-bottom: 100px; }
  .produit-hero-breadcrumb--top { display: none; }
  .produit-hero-breadcrumb--mobile {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: -30px;
  }
  .produit-hero-img { height: 540px; border-radius: 6px; }
  .produit-hero-img img { padding: 24px; }
  .produit-hero .produit-hero-infos { gap: 40px; max-width: 100%; }
  .produit-fiche { width: 100%; }
  .produit-fiche .fiche-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
    width: calc(100% + 40px);
    left: 20px;
    padding-left: 0;
    padding-right: 40px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .produit-fiche .fiche-tabs::-webkit-scrollbar { display: none; }
  .produit-fiche .fiche-tab { flex: none; width: 180px; white-space: nowrap; }
}

/* Onglets de la fiche */
.fiche-tabs {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  border-bottom: 1px solid var(--color-dore-2);
}
.fiche-tab {
  position: relative;
  flex: 1;
  padding-bottom: 16px;
  background: none;
  border: none;
  cursor: pointer;
}
.fiche-tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 33.33%;
  height: 3px;
  background: var(--color-dore);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.fiche-panel { display: none; }
.fiche-panel.is-active {
  display: flex;
  flex-direction: column;
}

/* Fiche produit : panneaux superposés, hauteur = le plus haut.
   Pas d'attribut hidden (display:none) sinon les CTA sautent. */
.produit-fiche-panels {
  display: grid;
}
.produit-fiche-panels > .fiche-panel {
  grid-area: 1 / 1;
  display: flex !important;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}
.produit-fiche-panels > .fiche-panel.is-active {
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.fiche-panel.is-active .fiche-row {
  opacity: 0;
  transform: translateY(8px);
  animation: rowFadeIn 0.35s ease forwards;
}
.fiche-panel.is-active .fiche-row:nth-child(1) { animation-delay: 0.04s; }
.fiche-panel.is-active .fiche-row:nth-child(2) { animation-delay: 0.08s; }
.fiche-panel.is-active .fiche-row:nth-child(3) { animation-delay: 0.12s; }
.fiche-panel.is-active .fiche-row:nth-child(4) { animation-delay: 0.16s; }
.fiche-panel.is-active .fiche-row:nth-child(5) { animation-delay: 0.20s; }
.fiche-panel.is-active .fiche-row:nth-child(6) { animation-delay: 0.24s; }
@keyframes rowFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Onglets centrés (page Hébergements) */
.fiche-tabs--center {
  width: fit-content;
  max-width: 100%;
  justify-content: center;
}
.fiche-tabs--center .fiche-tab { width: 292px; max-width: 50%; text-align: center; }
@media screen and (max-width: 767px) {
  .fiche-tabs--center { width: 100%; padding: 0 20px; }
  .fiche-tabs--center .fiche-tab { width: 50%; flex: none; text-align: center; }

.fiche-tabs{
  width: calc(100% - 40px);
  padding: 0px;
}

}

/* ============================================================
   BLOC : DANS LE VERRE / DANS L'ASSIETTE
   ============================================================ */
.verre-assiette-panel {
  flex: 1 1 0;
}
@media screen and (max-width: 767px) {
  .verre-assiette-panel { min-height: 420px; padding: 60px 20px; }
}
.verre-assiette-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.verre-assiette-content { z-index: 2; max-width: 528px; }

/* ============================================================
   MODAL : ZOOM PRODUIT (galerie plein écran)
   ============================================================ */
.modal-zoom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  background: color-mix(in srgb, var(--color-vin-rose) 75%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-zoom.modal-zoom--vin-blanc {
  background: color-mix(in srgb, var(--color-vin-blanc) 75%, transparent);
}
.modal-zoom.modal-zoom--vin-rouge {
  background: color-mix(in srgb, var(--color-vin-rouge) 75%, transparent);
}
.modal-zoom.modal-zoom--vin-rose {
  background: color-mix(in srgb, var(--color-vin-rose) 75%, transparent);
}
.modal-zoom[hidden] { display: none; }
.modal-zoom.is-open { opacity: 1; }

/* Slider images — peek mobile comme Insta */
@media screen and (max-width: 767px) {
  .bloc-slider-images { padding: 50px 0 80px; overflow-x: hidden; }
  .bloc-slider-images .images-slider { margin-left: -20px; width: 100vw; }
}
.modal-zoom-close {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.modal-zoom-inner {
  width: 100%;
  max-width: 1290px;
}
.zoom-slide-img {
  display: block;
  width: 100%;
  height: 80vh;
  object-fit: contain;
}
.zoom-slider .splide__arrow {
  background: transparent;
  opacity: 1;
}
.zoom-slider .splide__arrow svg { fill: none; }
@media screen and (max-width: 767px) {
  .modal-zoom { padding: 64px 16px 24px; }
  .modal-zoom-close { top: 20px; right: 20px; }
  .zoom-slide-img { height: 70vh; }
  .zoom-slider .splide__arrow {
    width: 40px;
    height: 40px;
    display: flex;
    opacity: 1;
  }
  .zoom-slider .splide__arrow--prev { left: 0; }
  .zoom-slider .splide__arrow--next { right: 0; }
}

/* ============================================================
   COMPOSANT : BLOC FIXE MiP X-PÉRIENCE
   ============================================================ */
.floating-xperience {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3.15px);
  transition: background-color var(--transition-base), color var(--transition-base);
}
.floating-xperience-text { color: var(--color-white); }
.floating-xperience-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.floating-xperience-subtitle {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}
.floating-xperience-arrow { color: var(--color-white); }

.floating-xperience:hover {
  background-color: var(--color-white);
}
.floating-xperience:hover .floating-xperience-text,
.floating-xperience:hover .floating-xperience-arrow {
  color: var(--color-black);
}

/* ============================================================
   COMPOSANT : CARTE PRODUIT
   ============================================================ */
.card-produit .card-produit-img img {
  object-fit: contain;
  padding: 10px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-produit:hover .card-produit-img img {
  transform: scale(1.12);
}

/* ============================================================
   COMPOSANT : CARTE ACTUALITÉ
   ============================================================ */
.card-actualite {
  height: 491px;
}
.card-actualite-img {
  transition: flex 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-actualite-extrait,
.card-evenement-extrait {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease 0.08s,
              margin 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-actualite-extrait-inner,
.card-evenement-extrait-inner {
  overflow: hidden;
  min-height: 0;
}
.card-actualite:hover .card-actualite-extrait,
.card-evenement:hover .card-evenement-extrait {
  grid-template-rows: 1fr;
  opacity: 1;
}
/* Extrait replié : annule le gap flex pour garder 24px titre ↔ CTA */
.card-actualite-extrait,
.card-evenement-extrait {
  margin-top: -5px;
  margin-bottom: -18px;
}
.card-actualite:hover .card-actualite-extrait,
.card-evenement:hover .card-evenement-extrait {
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .card-actualite {
    height: 540px;
  }
  .card-actualite .card-actualite-extrait,
  .card-evenement .card-evenement-extrait {
    grid-template-rows: 1fr;
    opacity: 1;
  }
  .card-actualite .card-actualite-body {
    gap: 24px;
  }
  .card-actualite .card-actualite-titres {
    gap: 16px;
  }
  .card-actualite-img {
    height: 325px;
  }
  .card-actualite-extrait,
  .card-evenement-extrait {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* ============================================================
   BLOC : AGENDA — fixes mobile
   ============================================================ */
@media screen and (max-width: 767px) {
  .agenda-inner {
    gap: 40px;
  }
  .agenda-intro {
    width: 100%;
    padding: 0 20px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .agenda-intro .h2-title,
  .agenda-intro .paragraphe {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* ============================================================
   BLOC : INSTAGRAM
   4 photos pleines dans le container + 2 coupées sur les bords
   ============================================================ */
.section-instagram {
  overflow-x: hidden;
}
.instagram-slider .splide__track {
  overflow: hidden;
}

/* ============================================================
   PAGE CONTACT — formulaire
   ============================================================ */
.contact-section {
  padding: 106px 0 140px;
}
@media screen and (max-width: 767px) {

  
  .contact-section { padding: 48px 0 80px; 
  
      padding-top: 0;
    margin-top: -60px;

  }
}
.contact-image {
  position: relative;
  min-height: 620px;
}
.contact-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
@media screen and (max-width: 767px) {
  .contact-image {
    min-height: 515px;
    margin-left: -20px;
    margin-right: -20px;
    min-width: calc(100% + 40px);
  }
  .contact-image img { border-radius: 0; }
}

/* Champ honeypot invisible */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Inputs */
.contact-input {
  display: block;
  width: 100%;
  padding: 16px 8px;
  border: none;
  border-bottom: 1px solid var(--color-black);
  background: transparent;
  outline: none;
  font-family: var(--font-primary);
  font-size: var(--fs-paragraphe);
  line-height: 20px;
  color: var(--color-black);
  transition: border-color var(--transition-base);
}
.contact-input::placeholder { color: var(--color-black); opacity: 1; }
.contact-input:focus { border-bottom-color: var(--color-dore); }
.contact-input.has-error { border-bottom-color: #c0392b; }

.contact-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Checkbox RGPD */
.contact-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius-btn);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.contact-checkbox:checked {
  background: var(--color-dore);
  border-color: var(--color-dore);
}
.contact-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact-checkbox:focus-visible {
  outline: 2px solid var(--color-dore);
  outline-offset: 2px;
}

/* Erreurs par champ */
.contact-error {
  display: block;
  min-height: 0;
  font-family: var(--font-primary);
  font-size: 12px;
  line-height: 1.4;
  color: #c0392b;
  margin-top: 4px;
}

.contact-turnstile { margin-top: 8px; }

/* Feedback global */
.contact-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-card);
  font-family: var(--font-primary);
  font-size: var(--fs-paragraphe);
  line-height: 20px;
}
.contact-feedback[hidden] { display: none; }
.contact-feedback.is-success {
  background: #eafaf1;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}
.contact-feedback.is-error {
  background: #fdf0ef;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

/* Bouton submit */
.contact-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Loader spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 0.8s linear infinite; }

/* ============================================================
   PAGE ARCHIVE ACTUALITÉS
   ============================================================ */

.archive-card-wrap {
  width: calc((100% - 64px) / 3);
}
@media screen and (max-width: 1199px) {
  .archive-card-wrap { width: calc((100% - 32px) / 2); }
}
@media screen and (max-width: 767px) {
  .archive-card-wrap { width: 100%; }
}
.archive-grid {padding: 50px 0 100px}
@media screen and (max-width: 767px) {
  .archive-grid { padding: 50px 0 60px; }
  .btn-outline {width: 100%}
}

/* Archive événements : sections À venir / Passés */
.archive-evenements--upcoming + .archive-evenements--past {
  padding-top: 0;
}
.archive-evenements--upcoming + .archive-evenements--past .container {
  padding-top: 60px;
  border-top: 1px solid var(--color-dore-2);
}
.archive-evenements-empty {
  padding: 40px 30px;
  text-align: center;
  background: var(--color-creme);
  border: 1px solid var(--color-dore-2);
  border-radius: var(--radius-card);
}
@media screen and (max-width: 767px) {
  .archive-evenements--upcoming + .archive-evenements--past .container { padding-top: 50px; }
  .archive-evenements-empty { padding: 30px 20px; }
}

/* Carte événement passé : image désaturée, badge « Terminé » */
.card-actualite--past .card-actualite-img {
  filter: grayscale(0.85);
  opacity: 0.8;
  transition: filter 0.4s ease, opacity 0.4s ease, flex 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-actualite--past:hover .card-actualite-img {
  filter: grayscale(0);
  opacity: 1;
}
.card-actualite-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

/* Pagination */
.archive-pagination {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-dore-2);
}
.archive-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-family: var(--font-primary);
  font-size: var(--fs-paragraphe);
  color: var(--color-black);
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: color var(--transition-base), background-color var(--transition-base);
}
.archive-page:hover,
.archive-page:focus-visible {
  color: var(--color-dore);
  outline: none;
}
.archive-page.is-current {
  background: var(--color-dore);
  color: var(--color-white);
  font-weight: 700;
}
.archive-dots { cursor: default; }
.archive-next { color: var(--color-dore); }
.archive-next:hover { color: var(--color-black); }
@media screen and (max-width: 767px) {
  .archive-pagination {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
    gap: 16px;
  }
  .archive-page {
    min-width: 32px;
    height: 32px;
    font-size: 14px;
    border: 1px solid var(--color-black);
    border-radius: 2px;
  }
  .archive-page.is-current {
    border-color: var(--color-dore);
  }
  .archive-page.archive-dots {
    border: none;
  }
  .archive-next {
    border: 1px solid var(--color-black);
    color: var(--color-black);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-logo {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  margin-inline: auto;
  width: 100px;
  height: auto;
}
.site-footer { background-color: var(--color-creme); }
.site-footer .footer-inner { gap: 80px; }
.site-footer .footer-col a { color: var(--color-black); transition: var(--transition-base); }
.site-footer .footer-col a:hover { color: var(--color-dore); }
@media screen and (max-width: 767px) {
  .site-footer{
    padding-top: 100px;
        padding-bottom: 70px;
  }
.break-mob{
  display: block
}
.footer-logo {
    top: 50px;
}

  .site-footer .footer-inner { gap: 48px; }
  .site-footer .footer-legal p { white-space: normal !important; }
  .site-footer .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "contact maison"
      "vins xp";
    gap: 40px 20px;
  }
  .site-footer .footer-cols > :nth-child(1) { grid-area: contact; }
  .site-footer .footer-cols > :nth-child(2) { grid-area: vins; }
  .site-footer .footer-cols > :nth-child(3) { grid-area: maison; }
  .site-footer .footer-cols > :nth-child(4) { grid-area: xp; }
  .site-footer .footer-col {
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .site-footer .footer-col ul {
    gap: 16px;
    width: 100%;
  }
  .site-footer .footer-col .btn-outline {
    width: 100%;
  }
}

/* ============================================================
   HEADER GLOBAL — burger fixed + overlay
   ============================================================ */
.menu-burger .burger-lines span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-white);
}
.menu-burger .burger-label {
  font-family: var(--font-primary);
  font-size: var(--fs-cta);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1;
}

/* ============================================================
   THEME SWITCHER (Intersection Observer)
   ============================================================ */
/* Burger blanc par défaut → noir uniquement sur fond clair (theme-light) */
body.theme-light .menu-burger .burger-lines span { background: var(--color-black); }
body.theme-light .menu-burger .burger-label { color: var(--color-black); }

/* Burger blanc explicite sur fond sombre (override body.page, body.single, etc.) */
body.theme-dark .menu-burger .burger-lines span { background: var(--color-white); }
body.theme-dark .menu-burger .burger-label { color: var(--color-white); }

/* Transition fluide */
.menu-burger .burger-lines span,
.menu-burger .burger-label {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Logo fixe : SVG noir → blanc par défaut (comme le burger) */
.site-header-logo {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.site-header-logo img {
  display: block;
  filter: invert(1);
  transform: scale(1);
  transform-origin: center top;
  transition: filter 0.3s ease, transform 0.35s ease;
}

/* Pages internes : logo noir (fond clair), comme le burger */
body.page-template-template-liste-vins .site-header-logo img,
body.page-template-template-produit .site-header-logo img,
body.page-template-template-over-the-vines .site-header-logo img,
body.page-template-template-hebergements .site-header-logo img,
body.page-template-template-contact .site-header-logo img,
body.page .site-header-logo img,
body.single .site-header-logo img,
body.archive .site-header-logo img,
body.search .site-header-logo img,
body.error404 .site-header-logo img { filter: invert(0); }

/* Contraste scroll-driven (même logique que le burger) */
body.theme-light .site-header-logo img { filter: invert(0); }
body.theme-dark  .site-header-logo img { filter: invert(1); }


/* body.home.theme-light .site-header-logo img { filter: invert(1); } */
/* body.home.theme-dark  .site-header-logo img { filter: invert(0); } */

/* HP : masqué tant que le hero est encore à l'écran */
body.home .site-header-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.home .site-header-logo img {
  transform: scale(0.82);
}
body.home .site-header-logo.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.home .site-header-logo.is-visible img {
  transform: scale(1);
}
body.home .site-header-logo-scroll {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.home .site-header-logo.is-scrolled .site-header-logo-fixed {
  opacity: 0;
  visibility: hidden;
}
body.home .site-header-logo.is-scrolled .site-header-logo-scroll {
  opacity: 1;
  visibility: visible;
}

/* Overlay menu */
.main-nav-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 15px;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.main-nav-overlay[hidden] { display: none; }
.main-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: flex;
}
@media screen and (max-width: 767px){
  .main-nav-overlay { padding: 0; }
  .nav-overlay-panel { border-radius: 0!important; }
}
.h2-title{
  text-transform: uppercase;
}

/* Panneau blanc arrondi */
.nav-overlay-panel {
  background: var(--color-white);
  border-radius: var(--radius-card);
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}
.main-nav-overlay.is-open .nav-overlay-panel {
  transform: translateX(0);
}
@media screen and (min-width: 767px){
  .nav-overlay-panel{
    width: 416px;
  }
}
/* Bouton fermer */
.menu-close-label {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-black);
  line-height: 1;
}
.menu-close-x span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--color-black);
  transform-origin: center;
}
.menu-close-x span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close-x span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-close:hover .menu-close-label,
.menu-close:hover .menu-close-x span { color: var(--color-black); }

/* Corps du menu */
.nav-overlay-body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-overlay-body::-webkit-scrollbar { display: none; }

.nav-overlay-link {
  font-family: var(--font-primary);
  font-size: var(--fs-cta-menu);
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  display: inline-block;
  transition: transform var(--transition-base);
}
.nav-overlay-link:hover { transform: translateX(15px); }
.nav-overlay-group .current-menu-item .nav-overlay-link { color: var(--color-dore); }

/* Footer du panneau */
.nav-overlay-footer .btn-outline {
  width: 100%;
}

/* ============================================================
   SÉLECTEUR DE LANGUE (Polylang)
   ============================================================ */
.lang-switcher-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-switcher-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

/* Variante header : pastille fixe en haut à droite.
   --lang-fg = couleur du texte/bordure, --lang-bg = fond de la pastille active.
   Même logique de contraste que le burger (blanc sur fond sombre, noir sur fond clair). */
.lang-switcher--header {
  --lang-fg: var(--color-white);
  --lang-bg: var(--color-black);
  position: fixed;
  top: 26px;
  right: 45px;
  z-index: 1001;
  pointer-events: auto;
}
body.page .lang-switcher--header,
body.single .lang-switcher--header,
body.archive .lang-switcher--header,
body.search .lang-switcher--header,
body.error404 .lang-switcher--header,
body.theme-light .lang-switcher--header { --lang-fg: var(--color-black); --lang-bg: var(--color-white); }
body.theme-dark .lang-switcher--header { --lang-fg: var(--color-white); --lang-bg: var(--color-black); }

.lang-switcher--header .lang-switcher-list {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--lang-fg);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: border-color 0.3s ease;
}
.lang-switcher--header .lang-switcher-link {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--lang-fg);
  opacity: 0.6;
}
.lang-switcher--header .lang-switcher-link:hover,
.lang-switcher--header .lang-switcher-link:focus-visible { opacity: 1; }
.lang-switcher--header .lang-switcher-link.is-current {
  opacity: 1;
  background: var(--lang-fg);
  color: var(--lang-bg);
}

@media screen and (max-width: 767px) {
  .lang-switcher--header { top: 18px; right: 16px; }
  .lang-switcher--header .lang-switcher-link { padding: 5px 8px; font-size: 11px; }
}

/* Variante overlay : liste texte dans le pied du menu */
.lang-switcher--overlay .lang-switcher-list { gap: 20px; }
.lang-switcher--overlay .lang-switcher-link {
  padding-bottom: 4px;
  color: var(--color-black);
  opacity: 0.5;
}
.lang-switcher--overlay .lang-switcher-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-dore);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.lang-switcher--overlay .lang-switcher-link:hover { opacity: 1; }
.lang-switcher--overlay .lang-switcher-link:hover::after,
.lang-switcher--overlay .lang-switcher-link.is-current::after { transform: scaleX(1); }
.lang-switcher--overlay .lang-switcher-link.is-current { opacity: 1; color: var(--color-dore); }

/* ============================================================
   PAGE : CARTE DES REVENDEURS (Store Locator pleine page)
   Typo, couleurs & effets uniquement — layout géré par Tailwind
   ============================================================ */
#store-locator-map .leaflet-tile-pane {
  filter: grayscale(1);
}
.store-search-input-wrap {
  border-bottom: 1px solid var(--color-black);
  padding: 0 8px;
}
.store-search-input {
  width: 100%;
  padding: 16px 0;
  border: none;
  background: transparent;
  font-family: var(--font-secondary);
  font-size: var(--fs-paragraphe);
  color: var(--color-black);
  outline: none;
}
.store-search-input::placeholder {
  color: var(--color-black);
  opacity: 0.6;
}
.store-locator-heading {
  font-family: var(--font-primary);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  text-transform: uppercase;
  margin: 0;
}
.store-locator-list {
  scrollbar-width: thin;
  scrollbar-color: var(--color-dore-2) transparent;
}
.store-locator-list::-webkit-scrollbar { width: 4px; }
.store-locator-list::-webkit-scrollbar-track { background: transparent; }
.store-locator-list::-webkit-scrollbar-thumb {
  background: var(--color-dore-2);
  border-radius: 9999px;
}
.store-locator-list::-webkit-scrollbar-thumb:hover { background: var(--color-dore); }
.store-card-name {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--color-black);
  text-transform: uppercase;
  margin: 0;
}
.store-card-address,
.store-card-phone {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 400;
  color: #8c8c8c;
  margin: 0;
}
.store-card-link,
.store-card-link-text {
  font-family: var(--font-secondary);
  font-size: var(--fs-card-provenance);
  color: var(--color-black);
  text-decoration: none;
}
.store-card-link::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 14px;
  background: url('../img/svg/arrow-right.svg') no-repeat center / contain;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.store-card-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.store-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: var(--color-white);
  border: 1px solid var(--color-vin-blanc);
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-height: 200px;
  overflow-y: auto;
}
.store-autocomplete[hidden] { display: none; }
.store-autocomplete-item {
  padding: 10px 12px;
  font-family: var(--font-secondary);
  font-size: var(--fs-paragraphe);
  color: var(--color-black);
  cursor: pointer;
  transition: background var(--transition-base);
  text-transform: capitalize;
}
.store-autocomplete-item:hover,
.store-autocomplete-item.is-active {
  background: var(--color-creme);
}
/* Clusters de marqueurs (leaflet.markercluster) */
.leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path {
    pointer-events: visiblePainted;
    pointer-events: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.store-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-dore);
  color: var(--color-black);
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: var(--font-primary);
  font-weight: 700;
  cursor: pointer;
}
.store-cluster--sm { font-size: 13px; }
.store-cluster--md { font-size: 14px; }
.store-cluster--lg { font-size: 15px; }
@media screen and (max-width: 767px) {
  .store-locator-heading { font-size: 20px; }
body .h2-title{font-size: 20px;}
.instagram-intro .h2-title { font-size: 16px; }
}
