/* ====================
   BASE
   ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--lh-base);
  font-family: var(--font-family-primary), var(--font-family-secondary);
  background-image: url("/assets/img/brand/patterns/pattern.svg"), var(--mixte-color);
  background-repeat: repeat, no-repeat;
  background-size: 1620px, cover;
}

body.no-scroll {
  overflow: hidden;
}

/* ====================
   SCROLLBAR
   ==================== */
/* Firefox */
html {
  scrollbar-color: var(--color-primary) var(--color-light);
  scrollbar-width: thin;
}

/* Chorme */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px var(--color-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  height: 120px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #540a16;
}

/* ====================
   SECTIONS
   ==================== */
section {
  padding-top: var(--spacing-large);
  padding-bottom: var(--spacing-large);
  overflow: hidden;
}

/* ====================
   CONTENEUR
   ==================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ====================
   TITRES
   ==================== */
h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xxl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--color-accent);
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-lx);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
}

/* ====================
   PARAGRAPHES
   ==================== */
p {
  font-family: var(--font-text);
  font-size: var(--font-size-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
}

/* ====================
   BOUTONS
   ==================== */
.btn {
  display: inline-block;
  border-radius: var(--radius-base);
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  border: none;
  outline: none;
  text-decoration: none;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.btn:after {
  content: '';
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.btn:hover:before {
  top: -35%;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn:hover:after {
  top: -45%;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/* Bouton principal */
.btn-primary {
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-light);
  font-size: var(--font-size-md);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.btn-primary:before {
  background-color: var(--color-light);
}

.btn-primary:hover {
  color: var(--color-accent);
}

.btn-primary:hover:before {
  background-color: var(--color-light);
}

.btn-primary:hover:after {
  background-color: var(--color-light);
}

/* Bouton secondaire */
.btn-secondary {
  padding: 16px 32px;
  background: var(--color-secondary);
  color: var(--color-light);
  font-size: var(--font-size-md);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.btn-secondary:before {
  background-color: var(--color-primary);
}

.btn-secondary:hover:before {
  background-color: var(--color-primary);
}

.btn-secondary:hover:after {
  background-color: var(--color-primary);
}

/* Bouton CTA */
.btn-cta {
  padding: 18px 36px;
  background: var(--color-accent);
  color: var(--color-light);
  font-size: var(--font-size-lg);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.btn-cta:before {
  background-color: var(--color-light);
}

.btn-cta::after {}

.btn-cta:hover {
  color: var(--color-accent);
}

.btn-cta:hover:before {
  background-color: var(--color-light);
}

.btn-cta:hover:after {
  background-color: var(--color-light);
}

/* ====================
   LIENS
   ==================== */

/* ====================
   UTILITAIRES
   ==================== */
/* ====================
   HEADER
   ==================== */

/* ====================
   MAIN
   ==================== */
main {}

/* ====================
  BANNIÈRE INFO
   ==================== */
.info__banner {
  background: var(--color-secondary);
  color: var(--color-light);
  display: flex;
  justify-content: center;
}

.info__banner p {
  display: flex;
  align-items: center;
  text-align: center;
  gap: var(--spacing-small);
}

.info__banner i svg,
.info__banner svg {
  min-width: 16px;
  min-height: 16px;
  max-width: 24px;
  max-height: 24px;
}

.info__banner-tagline {
  color: var(--color-accent);
}

/* =========================
   NAVIGATION PRINCIPALE
   ========================= */
.header {
  position: relative;
  padding: var(--spacing-unit);
}

.header--sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-large);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

.header__logo {
  display: flex;
  align-items: center;
  filter: brightness(0) saturate(100%) invert(100%);

  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__nav:has(.header__menu--primary) .header__logo {
  filter: brightness(0) saturate(100%) invert(20%) sepia(70%) saturate(3000%) hue-rotate(330deg) brightness(0.4) contrast(1.5);

}

.header__logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 0;
  background-color: var(--color-light);
  padding: var(--spacing-small) var(--spacing-large);
  border-radius: var(--radius-base);
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__menu--primary {
  background: var(--mixte-color);
}

.header__menu--primary .header__link {
  color: var(--color-light);
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__menu--primary .header__link:hover {
  color: var(--color-accent);
}

.header__nav:has(.header__menu--primary) .header__logo {
  filter: brightness(0) saturate(100%) invert(20%) sepia(70%) saturate(3000%) hue-rotate(330deg) brightness(0.4) contrast(1.5);

}

.header__item {
  margin: 0;
}

.header__link {
  display: block;
  padding: var(--spacing-small) var(--spacing-unit);
  color: var(--color-secondary);
  text-decoration: none;

  font-weight: var(--fw-medium);
  font-size: var(--font-size-md);
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--color-primary);
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-small);
  width: 30px;
  height: 30px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
}

.header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: absolute;
}

.header__toggle-bar:nth-child(1) {
  top: 6px;
}

.header__toggle-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__toggle-bar:nth-child(3) {
  bottom: 6px;
}

@media (max-width: 768px) {
  .header__toggle {
    display: flex;
    margin-left: auto;
  }

  /* Animation du burger en croix */
  .header__toggle[aria-expanded='true'] .header__toggle-bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .header__toggle[aria-expanded='true'] .header__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
    width: 0;
  }

  .header__toggle[aria-expanded='true'] .header__toggle-bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .header__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background-color: var(--color-primary);
    padding: calc(var(--spacing-large) * 2) var(--spacing-unit);
    padding-top: calc(var(--spacing-large) * 3);
    border-radius: 0;
    margin-left: 0;
    z-index: 1000;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--spacing-unit);
  }

  .header__menu[aria-expanded='true'] {
    display: flex;
  }

  .header__item {
    width: 100%;
  }

  .header__link {
    padding: var(--spacing-unit);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    font-size: var(--font-size-lg);
    width: 100%;
    text-align: left;
  }

  .header__link:hover {
    color: var(--color-accent);
  }

  /* S'assurer que le header reste visible au-dessus du menu */
  .header {
    z-index: 1001;
  }
}

/* ====================
   HERO
   ==================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xxl);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-small);
}

.hero__description {
  color: var(--color-neutral);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-large);
}

.hero__banner {
  position: relative;
  margin-top: 100px;
  background: var(--color-light);
  width: 100%;
  padding: var(--spacing-unit) 0;
}

.hero__banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-large);
  text-align: left;
}

.hero__banner-text-group {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-small) * 0.5);
  flex: 1;
  color: var(--color-secondary);
}

.hero__banner-text {
  font-size: var(--font-size-lg);
}

.hero__banner-date {
  font-size: var(--font-size-lg);
}

/* ====================
   PRODUITS
   ==================== */
.product {
  position: relative;
  background: var(--color-light);
  background-image: url("/assets/img/brand/patterns/pattern-alt.svg");
  background-repeat: repeat;
  background-size: 1620px cover;
  min-height: 800px;
}

.product__title {
  color: var(--color-accent);
  text-align: center;
  margin-top: 80px;
}

.product__description {
  color: var(--color-secondary);
  text-align: center;
  margin: 0 auto var(--spacing-large);
}

.product__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-large);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

.product__card {
  background: transparent;
  color: var(--color-light);
  border: none;
  border-radius: var(--radius-base);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  font-size: var(--font-size-lg);
  font-weight: var(--fw-bold);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0.5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product__card-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product__card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.7;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product__card:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 168, 106, 0.2);
}

.product__card:hover .product__card-bg {
  transform: scale(1.05);
}

.product__card:hover::before {
  opacity: 0.5;
}

.product__card:active {
  transform: translateY(-2px);
}

.product__card--active {
  background: var(--color-accent);
  color: var(--color-light);
}

.product__card-text {
  position: relative;
  z-index: 2;
  font-size: var(--font-size-lg);
  font-weight: var(--fw-bold);
  color: var(--color-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Vue détaillée */
.product__detail-view {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-large);
  margin-top: var(--spacing-large);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 500px;
  align-items: start;
}

.product__detail-view--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Panneau gauche : Détails */
.product__detail-left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-large);
  padding: var(--spacing-large) 0;
}

.product__detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.product__detail-view--visible .product__detail-item {
  opacity: 1;
  transform: translateX(0);
}

.product__detail-view--visible .product__detail-item:nth-child(2) {
  transition-delay: 0.3s;
}

.product__detail-view--visible .product__detail-item:nth-child(3) {
  transition-delay: 0.4s;
}

.product__detail-label {
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  font-weight: var(--fw-bold);
}

.product__detail-value {
  font-size: var(--font-size-md);
  color: var(--color-secondary);
}

/* Panneau centre : Image */
.product__detail-center {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-large) 0;
  position: relative;
  z-index: 1;
}

.bg-product {
  position: absolute;
  width: 420px;
  height: 420px;
  z-index: 1;
  opacity: 0.3;
}

.product__detail-image-wrapper {
  width: 100%;
  max-width: 400px;
  min-height: 400px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: var(--spacing-large);
  position: relative;
  transform: scale(0.8) translateY(30px);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  overflow: visible;
}

.product__detail-view--visible .product__detail-image-wrapper {
  transform: scale(1) translateY(0);
}

.product__detail-view--visible .product__detail-image {
  transform: translateX(0) rotate(30deg) scale(1);
}

.product__detail-view--visible .product__detail-image-wrapper::before {
  opacity: 0.5;
}

.product__detail-view:not(.product__detail-view--visible) .product__detail-image-wrapper {
  transform: scale(0.8) translateY(30px);
}

.product__detail-view:not(.product__detail-view--visible) .product__detail-image-wrapper::before {
  opacity: 0;
}

.product__detail-image {
  position: relative;
  z-index: 2;
  transform: translateX(100px) rotate(0deg) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

/* Panneau droite : Liste */
.product__detail-right {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-large);
  padding: var(--spacing-large) 0;
}

.product__detail-back-btn {
  background: var(--mixte-color);
  color: var(--color-light);
  border: none;
  border-radius: var(--radius-base);
  padding: var(--spacing-unit) var(--spacing-large);
  width: 80%;
  font-size: var(--font-size-md);
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.product__detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: var(--spacing-small);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

/* Style de la scrollbar pour Webkit (Chrome, Safari, Edge) */
.product__detail-list::-webkit-scrollbar {
  width: 8px;
}

.product__detail-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

.product__detail-list::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.product__detail-list::-webkit-scrollbar-thumb:hover {
  opacity: 1;
  background: var(--color-primary);
}

.product__detail-list-item {
  padding: var(--spacing-unit) 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--color-secondary);
  opacity: 0;
  transform: translateX(20px);
}

.product__detail-view--visible .product__detail-list-item {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product__detail-view--visible .product__detail-list-item:nth-child(1) {
  transition-delay: 0.4s;
}

.product__detail-view--visible .product__detail-list-item:nth-child(2) {
  transition-delay: 0.5s;
}

.product__detail-view--visible .product__detail-list-item:nth-child(3) {
  transition-delay: 0.6s;
}

.product__detail-view--visible .product__detail-list-item:nth-child(4) {
  transition-delay: 0.7s;
}

.product__detail-list-item:last-child {
  border-bottom: none;
}

.product__detail-list-item-name {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  transition: all 0.3s ease;
}

.product__detail-list-item--active .product__detail-list-item-name {
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  font-weight: var(--fw-bold);
}

.product__detail-list-item-description {
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  /* line-height: var(--lh-base); */
  margin: 0;
  display: none;
}

.product__detail-list-item--active .product__detail-list-item-description {
  display: block;
}

.product__detail-list-item:hover:not(.product__detail-list-item--active) .product__detail-list-item-name {
  color: var(--color-accent);
  opacity: 0.9;
}

/* Masquer la grille quand la vue détaillée est visible */
.product__grid--hidden {
  display: none;
}

.product__title--hidden,
.product__description--hidden {
  display: none;
}

/* Responsive */
@media (max-width: 968px) {
  .product__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-unit);
  }
}

@media (max-width: 768px) {
  .product__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: var(--spacing-unit);
  }

  .product__title {
    font-size: var(--font-size-xl);
  }

  .product__description {
    font-size: var(--font-size-sm);
    padding: 0 var(--spacing-unit);
  }

  .product__card {
    min-height: 200px;
  }
}

/* ====================
   LOCATION DE MATÉRIELS
   ==================== */
.rental {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  height: 700px;
}

.rental__header {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
  margin: 0 80px;
}

.rental__title {
  text-align: left;
  width: 120%;
}

.rental__description {
  color: var(--color-neutral);
  text-align: left;
  max-width: 550px;
}

/* Zone produits */
.rental__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: var(--spacing-large);
  align-items: start;
}

/* Boutons de navigation du slider (cachés sur desktop) */
.rental__slider-nav {
  display: none;
}

.rental__product-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-large);
  align-items: center;
  position: relative;
}

.rental__product-item--mobile {
  grid-column: 2;
  grid-row: 1;
  top: -50%;
}

.rental__product-item--compact {
  grid-column: 1;
  grid-row: 2;
  top: -80%;
}

.rental__product-image {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: auto;
  left: 3%;
}

.rental__product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rental__product {
  background: var(--color-light);
  border-radius: calc(var(--radius-base));
  padding: var(--spacing-small);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  margin-left: -100px;
  z-index: 1;
  width: 470px;
  height: 240px;
}

.rental__product-title {
  font-size: var(--font-size-lx);
  color: var(--color-secondary);
  font-weight: var(--fw-bold);
  text-align: left;
  margin: 0 40px;
  margin-bottom: var(--spacing-small);
}

.rental__product-description {
  font-size: var(--font-size-md);
  color: var(--color-secondary);
  line-height: var(--lh-base);
  margin: 0 40px;
}

/* Responsive */
@media (max-width: 968px) {
  .rental {
    min-height: auto;
    padding-top: var(--spacing-large);
    padding-bottom: var(--spacing-large);
  }

  .rental__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    gap: var(--spacing-large);
  }

  .rental__header {
    grid-column: 1;
    grid-row: 1;
  }

  .rental__products {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: var(--spacing-large);
  }

  .rental__product-item--mobile {
    grid-column: 1;
    grid-row: 1;
  }

  .rental__product-item--compact {
    grid-column: 1;
    grid-row: 2;
  }

  .rental__product-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-unit);
    margin-top: 0;
  }

  .rental__product {
    margin-left: 0;
    width: 100%;
    min-width: auto;
  }

  .rental__product-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 568px) {
  .rental__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .rental__description {
    font-size: var(--font-size-sm);
  }

  .rental__product-title {
    font-size: var(--font-size-lg);
  }

  .rental__product-description {
    font-size: var(--font-size-sm);
  }

  .rental__product {
    padding: var(--spacing-unit);
  }

  .rental__product-image {
    height: 150px;
  }
}

/* ====================
   ÉVÉNEMENTS PROFESSIONNELS
   ==================== */
.events {
  position: relative;
}

.events__title {
  text-align: center;
}

.events__description {
  color: var(--color-neutral);
  text-align: center;
  max-width: 900px;
  margin: 0 auto var(--spacing-large);
}

/* Grille des services */
.events__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-large);
  margin: 0 auto var(--spacing-large);
  padding: 0 var(--spacing-unit);
}

.events__service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--color-accent);
  border-radius: calc(var(--radius-base));
  padding: var(--spacing-small);
  overflow: hidden;
  min-height: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events__service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(201, 168, 106, 0.2);
}

.events__service-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.events__service-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 26, 31, 0.7) 0%, rgba(43, 26, 31, 0.5) 50%, rgba(43, 26, 31, 0.7) 100%);
  z-index: 1;
}

.events__service-card:nth-child(1) .events__service-image {
  background-image: url('../img/events/atelier-degustation.jpg');
}

.events__service-card:nth-child(2) .events__service-image {
  background-image: url('../img/events/animation-clients-vin.jpg');
}

.events__service-card:nth-child(3) .events__service-image {
  background-image: url('../img/events/prestations-sur-mesure-vins.jpg');
}

.events__service-title {
  position: relative;
  color: var(--color-light);
  font-size: var(--font-size-xl);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}

.events__service-description {
  position: relative;
  font-size: var(--font-size-sm);
  text-align: center;
  color: var(--color-neutral);
  z-index: 2;
}

/* Contenu principal : Processus + Galerie */
.events__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-large);
  padding: 0 var(--spacing-unit);
  align-items: center;
  padding-top: calc(var(--spacing-large) * 1.2);
  padding-bottom: calc(var(--spacing-large) * 1.2);
}

.events__process-title {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
}

.events__process-list {
  display: flex;
  flex-direction: column;
  list-style: decimal inside;
  padding-left: 1rem;
  color: var(--color-light);
  font-size: var(--font-size-lg);
  font-weight: var(--fw-bold);
  gap: 1rem;
}

.events__process-item {
  display: list-item;
  list-style: decimal;
}

.events__process-step {
  font-size: var(--font-size-lg);
}

.events__process-desc {
  font-size: var(--font-size-md);
  color: var(--color-neutral);
  font-weight: var(--fw-regular);
}

.events__process-step,
.events__process-desc {
  display: block;
}

/* Galerie de photos */
.events__gallery {
  position: relative;
  height: 500px;
  padding: var(--spacing-large) 0;
}

.events__gallery-item {
  position: absolute;
  width: 270px;
  height: 340px;
  border-radius: var(--radius-base);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.events__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events__gallery-item--1 {
  bottom: 0;
  left: 0;
  transform: rotate(-5deg);
}

.events__gallery-item--2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(2deg);
  z-index: 1;
}

.events__gallery-item--3 {
  top: 10%;
  left: 60%;
  transform: rotate(3deg);
}

.events__gallery-item:hover {
  transform: scale(1.05);
  z-index: 10;
}

.events__gallery-item--1:hover {
  transform: rotate(-3deg) scale(1.05);
}

.events__gallery-item--2:hover {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
}

.events__gallery-item--3:hover {
  transform: rotate(1deg) scale(1.05);
}

/* Responsive */
@media (max-width: 968px) {
  .events__services {
    grid-template-columns: 1fr;
    gap: var(--spacing-unit);
  }

  .events__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-large);
  }

  .events__gallery {
    height: 400px;
  }

  .events__gallery-item--1 {
    width: 220px;
    height: 160px;
  }

  .events__gallery-item--2 {
    width: 260px;
    height: 200px;
  }

  .events__gallery-item--3 {
    width: 240px;
    height: 180px;
  }
}

@media (max-width: 568px) {
  .events__title {
    font-size: var(--font-size-xl);
  }

  .events__description {
    font-size: var(--font-size-sm);
    padding: 0 var(--spacing-unit);
  }

  .events__service-card {
    min-height: 250px;
    padding: var(--spacing-unit);
  }

  .events__service-title {
    font-size: var(--font-size-md);
  }

  .events__gallery {
    height: 350px;
  }

  .events__gallery-item--1 {
    width: 180px;
    height: 130px;
  }

  .events__gallery-item--2 {
    width: 200px;
    height: 150px;
  }

  .events__gallery-item--3 {
    width: 190px;
    height: 140px;
  }
}

/* ====================
   ÉVÉNEMENTS & DÉGUSTATIONS AU CAVEAU
   ==================== */
.tastings {
  position: relative;
}

.tastings__title {
  text-align: center;
}

.tastings__description {
  /* font-size: var(--font-size-md); */
  color: var(--color-neutral);
  text-align: center;
  max-width: 900px;
  margin: 0 auto calc(var(--spacing-large) * 1.5);
}

/* Contenu principal : deux panneaux */
.tastings__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-large);
  max-width: 1600px;
  margin: 0 auto;
}

/* Panneaux semi-transparents */
.tastings__panel {
  background: var(--color-secondary);
  border-radius: calc(var(--radius-base));
  padding: calc(var(--spacing-large));
  display: flex;
  flex-direction: column;
  height: 400px;
}

.tastings__panel-title {
  color: var(--color-light);
  font-size: var(--font-size-lx);
  margin-bottom: 20px;
}

/* Panneau programme (gauche) */
.tastings__events-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small);
}

.tastings__event-item {
  padding-bottom: var(--spacing-small);
}

.tastings__event-date {
  font-size: var(--font-size-md);
  color: var(--color-light);
  font-weight: var(--fw-semibold);
}

.tastings__event-detail {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
}

.tastings__panel--program {
  width: 700px;
}

/* Panneau informations pratiques (droite) */
.tastings__panel--info {
  margin: 20px 0;
  width: 400px;
}

.tastings__info-item {
  margin-bottom: var(--spacing-large);
}

.tastings__info-item:last-of-type {
  margin-bottom: var(--spacing-large);
}

.tastings__info-label {
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  font-weight: var(--fw-bold);
}

.tastings__info-text {
  font-size: var(--font-size-sm);
  color: var(--color-light);
}

.tastings__info-note {
  font-size: var(--font-size-sm);
  color: var(--color-neutral);
  font-style: italic;
}

.tastings__reservation-note {
  font-size: var(--font-size-sm);
  color: var(--color-light);
  opacity: 0.75;
  font-style: italic;
  line-height: var(--lh-base);
  margin: 0;
  text-align: left;
}

/* Responsive */
@media (max-width: 968px) {
  .tastings__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-large);
  }

  .tastings__panel {
    padding: var(--spacing-unit);
  }
}

@media (max-width: 568px) {
  .tastings__description {
    font-size: var(--font-size-sm);
    padding: 0 var(--spacing-unit);
  }

  .tastings__panel-title {
    font-size: var(--font-size-lg);
  }

  .tastings__event-date {
    font-size: var(--font-size-sm);
  }

  .tastings__event-detail {
    font-size: var(--font-size-xs);
  }

  .tastings__info-label,
  .tastings__info-text {
    font-size: var(--font-size-sm);
  }
}

/* ====================
   À PROPOS / ABOUT
   ==================== */
.about {
  position: relative;
  padding-bottom: 0;
}

/* Contenu principal : texte + portrait */
.about__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: var(--spacing-large);
  /* max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-large); */
}

/* Section gauche (titre + texte) */
.about__left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-large);
  padding-right: var(--spacing-large);
}

/* Section texte (gauche) */
.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-large);
}

.about__paragraph {
  color: var(--color-light);
  max-width: 620px;
}

/* Section portrait (droite) */
.about__portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: var(--spacing-large);
}

.about__portrait-img {
  width: 300px;
  height: auto;
  object-fit: contain;
}

/* Bandeau partenaires (beige en bas) */
.about__partners {
  background: var(--color-light);
}

.about__partners .container {
  display: flex;
  align-items: center;
  gap: var(--spacing-large);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

.about__partners-title {
  color: var(--color-accent);
}

.about__partners-logos {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-large) * 2);
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-start;
}

.about__partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  max-width: 180px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.about__partner-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

.about__partner-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 968px) {
  .about__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-large);
  }

  .about__portrait {
    order: -1;
  }

  .about__portrait-img {
    max-width: 400px;
  }

  .about__partners .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-unit);
  }

  .about__partners-logos {
    width: 100%;
    justify-content: space-around;
  }

  .about__partner-logo {
    max-width: 120px;
    height: 50px;
  }
}

@media (max-width: 568px) {
  .about__portrait-img {
    max-width: 100%;
  }

  .about__partners-title {
    font-size: var(--font-size-lg);
  }

  .about__partners-logos {
    gap: var(--spacing-unit);
    justify-content: center;
  }

  .about__partner-logo {
    max-width: 100px;
    height: 40px;
  }
}

/* ====================
   AVIS / TÉMOIGNAGES
   ==================== */
.testimonials {
  position: relative;
  background: var(--color-light);
  background-image: url("/assets/img/brand/patterns/pattern-alt.svg");
  background-repeat: repeat;
  background-size: 1620px cover;
  padding-top: calc(var(--spacing-large) * 2);
  padding-bottom: calc(var(--spacing-large) * 2);
  overflow: hidden;
}

/* Contenu principal : intro + carte */
.testimonials__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-large) * 2);
  max-width: 1200px;
  margin: 0 auto calc(var(--spacing-large) * 1.5) auto;
  padding: 0 var(--spacing-unit);
}

/* Section intro (gauche) */
.testimonials__intro {
  display: flex;
  flex-direction: column;
}

.testimonials__title {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.testimonials__description {
  font-size: var(--font-size-md);
  color: var(--color-secondary);
}

/* Carousel de témoignages */
.testimonials__carousel {
  position: relative;
  width: 380px;
  height: 350px;
  perspective: 1000px;
}

.testimonials__carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Carte de témoignage */
.testimonials__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mixte-color);
  border-radius: var(--radius-base);
  padding: calc(var(--spacing-large));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.testimonials__card--active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 3;
  pointer-events: auto;
}

.testimonials__card--next {
  opacity: 0.6;
  transform: translateX(20px) translateY(20px) scale(0.95);
  z-index: 2;
  pointer-events: auto;
}

.testimonials__card--prev {
  opacity: 0;
  transform: translateX(-20px) translateY(20px) scale(0.95);
  z-index: 1;
  pointer-events: none;
}

.testimonials__card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.testimonials__card--next:hover {
  transform: translateX(20px) translateY(20px) scale(0.97);
}

.testimonials__quote {
  font-size: var(--font-size-md);
  color: var(--color-light);
  line-height: var(--lh-base);
  position: relative;
}

/* Auteur du témoignage */
.testimonials__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-unit);
}

.testimonials__avatar {
  width: 45px;
  height: 45px;
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__author-info {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-small) / 2.5);
}

.testimonials__author-name {
  font-size: var(--font-size-sm);
  color: var(--color-light);
  font-weight: var(--fw-bold);
}

.testimonials__author-role {
  font-size: var(--font-size-xs);
  color: var(--color-neutral);
}

/* Section Google avis */
.testimonials__google {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-small);
}

.google-reward {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--font-size-md);
  color: var(--color-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.google-badge__star {
  color: #F4B400;
  width: 1.125rem;
  height: 1.125rem;
}

.google-badge__star svg {
  fill: #F4B400;
  stroke: #F4B400;
}

.google-badge__rating {
  font-weight: var(--fw-bold);
}

/* Responsive */
@media (max-width: 968px) {
  .testimonials__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-large);
  }

  .testimonials__carousel {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .testimonials__card {
    padding: var(--spacing-large);
  }
}

@media (max-width: 568px) {
  .testimonials {
    padding-top: var(--spacing-large);
    padding-bottom: var(--spacing-large);
  }

  .testimonials__carousel {
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  .testimonials__card {
    padding: var(--spacing-unit);
    height: auto;
    min-height: 300px;
  }

  .testimonials__card--next {
    transform: translateX(15px) translateY(15px) scale(0.95);
  }

  .testimonials__quote {
    font-size: var(--font-size-sm);
  }

  .testimonials__author {
    gap: calc(var(--spacing-unit) * 0.75);
  }

  .testimonials__author-name {
    font-size: var(--font-size-sm);
  }

  .testimonials__author-role {
    font-size: var(--font-size-xs);
  }
}

/* ====================
   FOOTER
   ==================== */
.footer {
  position: relative;
  overflow: hidden;
}

/* Section principale bordeaux */
.footer__main {
  padding: calc(var(--spacing-large) * 2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
}

.footer__section {
  width: 380px;
}

/* Contenu principal : horaires, carte, coordonnées */
.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
}

/* Section horaires (droite, colonne 3) */
.footer__section--hours {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
  text-align: left;
  grid-column: 3;
  grid-row: 1;
}

/* Section réseaux sociaux (droite, colonne 3, sous les horaires) */
.footer__section--social {
  grid-column: 3;
  /* grid-row: 2; */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
  text-align: left;
  margin-top: var(--spacing-large);
  align-self: start;
}

.footer__section-title {
  color: var(--color-accent);
  text-transform: none;
}

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small);
  margin-bottom: var(--spacing-unit);
}

.footer__hours-item {
  font-size: var(--font-size-md);
  color: var(--color-light);
  line-height: var(--lh-base);
}

.footer__hours-item strong {
  font-weight: var(--fw-semibold);
}

.footer__hours-note {
  font-size: var(--font-size-sm);
  color: var(--color-light);
  opacity: 0.85;
  line-height: var(--lh-base);
  margin: 0;
  font-style: italic;
}

/* Section carte (centre) */
.footer__section--map {
  position: relative;
}

.footer__map-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__map-clip {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  clip-path: ellipse(49% 40% at 50% 50%);
}

.footer__map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Section coordonnées (droite) */
.footer__section--contact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
  text-align: left;
  width: 350px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__contact-item {
  font-size: var(--font-size-md);
  color: var(--color-light);
}

.footer__contact-item strong {
  font-weight: var(--fw-semibold);
  display: block;
  margin-bottom: var(--spacing-small) * 2;
}

.footer__contact-link {
  color: var(--color-neutral);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact-link:hover {
  color: var(--color-accent);
}

/* Section réseaux sociaux (bas centre) */
.footer__social {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: var(--spacing-unit);
  margin-top: var(--spacing-unit);
}

.footer__social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 106, 0.3);
}

svg.lucide {
  width: 36px;
  height: 36px;
  stroke: var(--color-light);
  stroke-width: 1.4;
}

/* Footer bottom (crédits) */
.footer__bottom {
  background: var(--color-secondary);
  color: var(--color-light);
  font-size: var(--font-size-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  flex-wrap: wrap;
  gap: var(--spacing-small);
}

.footer__bottom-link {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__bottom-link:hover {
  color: var(--color-accent);
}

/* Responsive */
@media (max-width: 968px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-large);
  }

  .footer__map-wrapper {
    height: 300px;
  }

  .footer__section--map {
    order: -1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 568px) {
  .footer__main {
    padding: var(--spacing-large) 0;
  }

  .footer__section-title {
    font-size: var(--font-size-lg);
  }

  .footer__hours-item,
  .footer__contact-item {
    font-size: var(--font-size-sm);
  }

  .footer__map-wrapper {
    height: 250px;
  }

  .footer__social-icon {
    width: 45px;
    height: 45px;
  }

  .footer__social-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform .2s ease;
}

.whatsapp-widget img,
.whatsapp-widget svg {
  width: 48px;
  height: 48px;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(201, 168, 106, 0.3);
}


@media (max-width: 767px) {
  .whatsapp-widget {
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 20px;
  }

  .whatsapp-widget img,
  .whatsapp-widget svg {
    width: 36px;
    height: 36px;
  }
}

/********************************************************************************
 * Page Mentions Légales & Politique de confidentialité
 ********************************************************************************/
.legal__content {
  margin-top: 80px;
  position: relative;
  margin: 0 auto;
  max-width: 1066px;
  justify-content: center;
  color: var(--color-light);
}

.legal__title {
  position: relative;
  text-align: center;
  font-size: var(--font-size-xl);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.legal__section {
  margin-bottom: 60px;
  color: var(--color-neutral);
}

.legal__subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--fw-bold);
  color: var(--color-light);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legal__section p {
  font-size: var(--font-size-md);
  line-height: var(--lh-base);
}

.legal__section a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s;
}

.legal__section a:hover {
  color: var(--color-neutral);
}

@media (max-width: 767px) {
  .legal__content {
    position: relative;
    margin: 0 auto;
    max-width: 266px;
    justify-content: center;
    overflow: hidden;
  }
}

/* lignes 2535 */