/* Variables CSS pour le thème Chile Frederic */

/* outfit-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/outfit-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/outfit-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/outfit-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  /* Couleurs de texte */
  --bs-dark: #3b3949;
  --bs-text: #6b687d;
  --bs-primary: #c5b38a;
  --bs-white: #ffffff;

  /* Couleurs de fond */
  --bg-white: #ffffff;
  --bg-light: #fafafa;
  --bg-darker: #34333c;

  /* Polices */
  --font-family-primary: 'Outfit', sans-serif;

  /* Tailles de police */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --display-xs: 1.5rem;
  --display-sm: 1.875rem;
  --display-2sm: 2rem;
  --display-md: 2.25rem;
  --display-2md: 2.625rem;
  --display-lg: 3rem;
  --display-2lg: 3.375rem;
  --display-xl: 3.75rem;
  --display-2xl: 4.5rem;

  /* Espacements */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-2lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4.7rem;
  --spacing-3xl: 5.5rem;
  --spacing-4xl: 7rem;
  --spacing-5xl: 9rem;

  /* Bordures */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 0.9375rem;
  --radius-2xl: 1.25rem;
}

/* Body */
html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Boutons */
.button-primary {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-md);
  cursor: pointer;
  display: inline-block;
  border: 1px solid var(--bs-primary);
}
.button-primary:hover {
  background-color: var(--bs-white);
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
}
.button-secondary {
  background-color: var(--bs-white);
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-md);
  cursor: pointer;
  display: inline-block;
}
.button-secondary:hover {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

/* Header */
.site-header {
  padding-top: calc(env(safe-area-inset-top));
  background-color: var(--bg-white);
  position: fixed;
  top: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border-radius: var(--radius-xl);
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.5);
  width: 70%;
}
.page-template-contact .footer-banner {
  display: none;
}
.site-header .navbar {
  padding: var(--spacing-md);
}

.site-header .navbar-brand {
  margin-right: 0;
}

.site-logo {
  height: 50px;
  width: auto;
}

/* Reset WordPress menu styles */
.navbar-nav .menu-menu-principal-container {
  display: contents;
}

.menu-menu-principal-container .navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-lg) !important;
  align-items: center;
}

.navbar-nav li {
  position: relative;
  margin: 0;
  padding: 0;
}

.navbar-nav a {
  color: var(--bs-dark);
  text-decoration: none;
  font-size: var(--text-md);
  font-weight: 400;
  padding: var(--spacing-sm) 0;
  transition: color 0.3s ease;
  display: block;
}

.navbar-nav a:hover {
  color: var(--bs-primary);
}

/* Dropdown indicators */
.navbar-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: var(--spacing-xs);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B687D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.navbar-nav .menu-item-has-children > a:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C5B38A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color: var(--bs-primary);
}

/* Submenu styles */
.navbar-nav .sub-menu {
  position: absolute;
  top: 180%;
  left: 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-30px) scaleY(0);
  transform-origin: top center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Pont invisible pour maintenir le hover */
.navbar-nav .menu-item-has-children > a::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 60px; /* Pont pour couvrir l'espace jusqu'au sous-menu */
  background: transparent;
  z-index: 999;
}

.navbar-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scaleY(1);
}

.navbar-nav .sub-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-nav .sub-menu a {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: background-color 0.3s ease;
}

.navbar-nav .sub-menu a:hover {
  color: var(--bs-primary);
}

/* Contact button styling */
.menu-menu-principal-container .navbar-nav > li:last-child > a {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--bs-primary);
}

.menu-menu-principal-container .navbar-nav > li:last-child > a:hover {
  background-color: var(--bs-white) !important;
  color: var(--bs-primary) !important;
  border: 1px solid var(--bs-primary);
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(env(safe-area-inset-top));
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 60%,
      var(--bg-bg-white, #fff) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  padding-top: calc(env(safe-area-inset-top));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bs-white);
}

.hero-title {
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-size: var(--display-lg);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.hero-subtitle {
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

/* Home Presentation */
.home-presentation {
  margin-bottom: var(--spacing-4xl);
  margin-top: var(--spacing-5xl);
}

.home-presentation .row {
  --bs-gutter-x: 4rem;
}

.home-presentation h2 {
  color: var(--bs-dark);
  font-size: var(--display-2md);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: var(--spacing-lg);
}

.home-presentation p {
  color: var(--bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5625rem;
}

/* Presentation Images Grid */
.presentation-images-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: 0.8fr 1fr;
  gap: var(--spacing-lg);
  height: 450px;
  position: relative;
}

.presentation-image-1 {
  grid-column: 1;
  grid-row: 1;
  width: 85%;
  height: 100%;
  object-fit: cover;
  justify-self: end;
}

.presentation-image-2 {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  justify-self: start;
}

.presentation-image-3 {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 90%;
  height: 85%;
  object-fit: cover;
  justify-self: center;
  align-self: center;
  z-index: 1;
}

/* Slider */
.slider-section {
  margin: var(--spacing-4xl) auto;
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.slider-section .slider {
  display: flex;
  margin-top: var(--spacing-xl);
  padding-inline-start: calc(50% - 647px);
  padding-right: 30px;
}

.slider .slide {
  width: 26.5rem;
  height: 32.2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--bs-white);
  overflow: hidden;
}

.slider .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.slider .slide h2 {
  position: relative;
  z-index: 1;
  color: var(--bs-white);
}

.slider-section .slider-nav .swiper-button-prev,
.slider-section .slider-nav .swiper-button-next {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
}
.slider-section .slider-nav .swiper-button-prev::after,
.slider-section .slider-nav .swiper-button-next::after {
  font-size: 1.25rem;
}

/* Key Figures */
.keyfigures {
  margin: var(--spacing-4xl) auto;
}

.keyfigures h2 {
  color: var(--grey-tones-dark);
  text-align: center;
  font-size: var(--display-md);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.keyfigures p {
  color: var(--bs-text);
  text-align: center;
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 400;
  line-height: 1.875rem;
}

.keyfigures__value {
  color: var(--bs-primary);
  text-align: center;
  font-size: var(--display-xl);
  font-style: normal;
  font-weight: 600;
  line-height: 4.5rem;
  letter-spacing: -0.075rem;
}

.keyfigfures__item {
  color: var(--bs-dark);
  text-align: center;
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;
}

/* Home Banner Showroom */
.home-banner-showroom {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 25rem;
  margin-top: var(--spacing-3xl);
  padding: var(--spacing-2xl) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--bs-white);
  position: relative;
}

.home-banner-showroom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 0;
  pointer-events: none;
}

.home-banner-showroom > .container {
  position: relative;
  z-index: 1;
}

.home-banner-showroom-address {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2.5px);
  padding: var(--spacing-lg);
}

.home-banner-showroom h4 {
  font-size: var(--display-md);
  font-weight: 600;
  line-height: normal;
  margin-bottom: var(--spacing-lg);
}

.home-banner-showroom p {
  font-size: var(--text-md);
  font-weight: 400;
  line-height: normal;
  margin: 0 !important;
}

/* Avis */
.avis {
  margin-bottom: var(--spacing-2xl);
  background-color: var(--bg-light);
  padding: var(--spacing-2xl) 0;
}

.gallery {
  margin-top: var(--spacing-4xl);
}

/* SEO Texts */
.seo-texts {
  margin: var(--spacing-2xl) auto;
}

/* Footer Banner */
.footer-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 25rem;
  border-radius: var(--radius-xl);
  margin: var(--spacing-3xl) auto;
  padding-right: 7rem;
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.footer-banner-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  margin-top: 5.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-lg);
  position: absolute;
  top: var(--spacing-xl);
}
.footer-banner-card-content p:first-child {
  color: var(--text-bs-dark);
  font-size: var(--display-md);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.footer-banner-card-content p:nth-child(2) {
  color: var(--text-bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Footer */
footer {
  background-color: var(--bg-white);
  margin-top: 5rem;
}

.footer-content {
  padding: var(--spacing-2xl) 0;
}

.footer-global-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-global-info a {
  color: var(--bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.footer-global-info a:hover {
  color: var(--bs-primary);
}

.footer-mentions-links a {
  color: var(--bs-text);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.footer-mentions-links a:hover {
  color: var(--bs-primary);
}

/* Footer Widget Menu Styles */
.footer-produits .menu-menu-nos-produits-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5rem;
}

.footer-produits .menu-menu-nos-produits-container li {
  margin: 0;
  padding: 0;
}

.widget-title {
  color: var(--bs-dark);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.footer-produits .menu-menu-nos-produits-container a {
  color: var(--text-bs-text, #6b687d);
  font-family: var(--font-family-body, Outfit);
  font-size: var(--font-size-text-md, 1rem);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  display: block;
  padding: var(--spacing-xs) 0;
  transition: color 0.3s ease;
}

.footer-produits .menu-menu-nos-produits-container a:hover {
  color: var(--bs-primary);
}

/* Footer Nous Connaitre Menu Styles */
.footer-nous-connaitre .menu-menu-nous-connaitre-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nous-connaitre .menu-menu-nous-connaitre-container li {
  margin: 0;
  padding: 0;
}

.footer-nous-connaitre .menu-menu-nous-connaitre-container a {
  color: var(--text-bs-text, #6b687d);
  font-family: var(--font-family-body, Outfit);
  font-size: var(--font-size-text-md, 1rem);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  display: block;
  padding: var(--spacing-xs) 0;
  transition: color 0.3s ease;
}

.footer-nous-connaitre .menu-menu-nous-connaitre-container a:hover {
  color: var(--bs-primary);
}

.copyright {
  color: var(--bs-text);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: var(--spacing-sm) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Text-Image Bloc */
.text-image-bloc .row {
  /* 6rem de gap horizontal entre colonnes par défaut (desktop-first) */
  --bs-gutter-x: 6rem;
}

.text-image-bloc h2 {
  color: var(--bs-dark);
  font-size: var(--display-md);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.text-image-bloc h3 {
  color: var(--bs-dark);
  font-size: var(--display-sm);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.text-image-bloc p {
  color: var(--bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Espacement vertical entre plusieurs blocs (n'affecte pas le premier) */
.text-image-bloc .row + .row {
  margin-top: 8rem !important;
}

.contact-section {
  margin: var(--spacing-4xl) auto;
}

.contact-content {
  background-color: var(--bg-light);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  width: 25rem;
}

.contact-content .contact-content-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  border-bottom: 1px solid #e9e9e9;
  padding: var(--spacing-sm) 0;
}

.contact-content .contact-content-info:last-child {
  border-bottom: none;
}

.contact-content .contact-content-info p {
  margin: 0;
}

/* Contact Section */
.contact-section .row {
  justify-content: space-between;
}

.contact-section .contact-content {
  max-width: none;
  flex: 0 0 auto;
}

.contact-section .form-content {
  max-width: none;
  flex: 0 0 auto;
}

/* Gravity Forms Customization */
.gform_wrapper input[type='text'],
.gform_wrapper input[type='email'],
.gform_wrapper input[type='tel'],
.gform_wrapper textarea {
  border: none !important;
  border-radius: var(--radius-lg) !important;
  background-color: var(--bg-light) !important;
  padding: var(--spacing-md) !important;
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
  color: var(--bs-dark) !important;
}

.gform_wrapper input[type='text']::placeholder,
.gform_wrapper input[type='email']::placeholder,
.gform_wrapper input[type='tel']::placeholder,
.gform_wrapper textarea::placeholder {
  color: var(--bs-text) !important;
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
}

.gform_wrapper input[type='text']:focus,
.gform_wrapper input[type='email']:focus,
.gform_wrapper input[type='tel']:focus,
.gform_wrapper textarea:focus {
  outline: none !important;
  border: 2px solid var(--bs-primary) !important;
}

.gform_wrapper .gform_button {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  font-weight: 500 !important;
  font-size: var(--text-md) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.gform_wrapper .gform_button:hover {
  background-color: var(--bs-white) !important;
  color: var(--bs-primary) !important;
  border: 1px solid var(--bs-primary) !important;
}

.gform_wrapper .gform_footer {
  display: flex !important;
  justify-content: flex-end !important;
}

.contact-content .contact-content-text p:first-child {
  color: var(--bs-dark);
  font-size: var(--display-2sm);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0;
}

.contact-content .contact-content-text p:last-child {
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: var(--spacing-sm);
  margin-bottom: 0;
}

/* Avis */
.avis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.avis-header p:first-child {
  color: var(--bs-dark);
  font-size: var(--display-md);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.avis-header p:last-child {
  max-width: 45%;
  color: var(--bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Trustindex Widget Customization */
.ti-widget.ti-goog .ti-controls-line .dot {
  background: var(--bs-primary) !important;
}

/* Blog Section */
.blog-section {
  margin: var(--spacing-4xl) auto;
  background-color: var(--bg-light);
  padding-bottom: var(--spacing-xl);
  padding-top: var(--spacing-sm);
}

.blog-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: end;
}

.blog-card-image img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.blog-card-content {
  padding: var(--spacing-md) 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.blog-card-content h3 {
  color: var(--bs-dark);
  font-size: var(--display-xs);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.blog-card-content p {
  color: var(--bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card-link {
  color: var(--bs-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
  transition: color 0.3s ease;
}

.blog-card-link:hover {
  color: var(--bs-dark);
}

.blog-card-link svg {
  transition: transform 0.3s ease;
}

.blog-card-link svg path {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.blog-card-link:hover svg {
  transform: translateX(3px);
  color: var(--bs-dark);
}

/* Pagination du blog (remplacer le bleu Bootstrap par la couleur du thème) */
.blog-section .pagination .page-link {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.blog-section .pagination .page-link:hover {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.blog-section .pagination .page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.blog-section .pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(197, 179, 138, 0.25);
}

.last-article {
  color: var(--bs-white);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--bs-primary);
  border-radius: var(--radius-2xl);
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

/* Single post */
.single-post .post-date {
  color: var(--bs-primary);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.single-post .post-content {
  color: var(--bs-text);
  font-size: var(--text-md);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--bs-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--bs-dark);
  transform: translateY(-2px);
}

.back-to-top.visible:hover {
  transform: translateY(-2px);
}

/* WYSIWYG toggle button */
.wysiwyg-toggle {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0 !important;
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all 0.3s ease;
}

.wysiwyg-toggle:hover {
  color: var(--bs-text);
}

/* Transition smooth pour le contenu "Voir plus" */
.wysiwyg-remaining {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s ease, font-size 0.3s ease,
    padding 0.3s ease;
}

.wysiwyg-remaining.visible {
  opacity: 1;
  max-height: 999em;
  font-size: inherit;
  padding-top: var(--spacing-sm);
}

/* Animation du bouton lui-même */
.wysiwyg-toggle {
  transition: all 0.3s ease;
}

.wysiwyg-toggle:active {
  transform: scale(0.98);
}

/* Animation de l'icône */
.wysiwyg-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wysiwyg-toggle:hover svg {
  transform: translateY(1px);
}

.default-page {
  margin-top: var(--spacing-5xl);
}

.default-page a {
  color: var(--bs-primary) !important;
}

.wysiwyg-toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--bs-primary);
  font-size: var(--text-sm);
  border: none;
  background: none;
  cursor: pointer;
  margin: var(--spacing-md) 0;
}

.wysiwyg-toggle:hover {
  color: var(--bs-text);
}

/* 404 */
.error-title {
  font-size: 10rem;
  font-weight: 700;
  line-height: normal;
  color: var(--bs-primary);
}
.error-subtitle {
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: normal;
  color: var(--bs-text);
}

/* Ajustements progressifs du header pour éviter les chevauchements */
@media (min-width: 1200px) and (max-width: 1399px) {
  .site-header {
    width: 85%;
  }

  .menu-menu-principal-container .navbar-nav {
    gap: var(--spacing-md) !important;
  }

  .navbar-nav a {
    font-size: var(--text-sm);
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .site-header {
    width: 80%;
  }

  .menu-menu-principal-container .navbar-nav {
    gap: var(--spacing-lg) !important;
  }
}

@media (min-width: 1600px) {
  .site-header {
    width: 70%;
  }
}

@media (max-width: 1199px) {
  .menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .avis-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .avis-header p:last-child {
    max-width: 100%;
  }

  .line {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center;
  }

  .top {
    transform-origin: 23% 16%;
  }

  .bottom {
    transform-origin: 50% 100%;
  }

  .menu-btn.active .top {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-btn.active .middle {
    opacity: 0;
  }

  .menu-btn.active .bottom {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .site-header {
    width: 95%;
    top: var(--spacing-md);
  }

  .site-header .navbar {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .navbar-toggler {
    border: none;
    padding: 0;
    margin-left: auto;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-collapse {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--bg-light);
  }

  .navbar-nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
    width: 100%;
  }

  .navbar-nav li {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav li a {
    width: 100%;
    text-align: left;
  }

  /* Contact button - width auto */
  .navbar-nav li:last-child {
    width: auto;
    align-self: flex-start;
  }

  .navbar-nav li:last-child a {
    width: auto;
    display: inline-block;
  }

  .navbar-nav .sub-menu {
    display: block !important;
    position: static !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    margin-left: var(--spacing-md);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.25s ease,
      padding 0.2s ease;
  }

  .navbar-nav .sub-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: var(--spacing-sm) 0;
    max-height: 500px;
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.5s ease,
      padding 0.4s ease;
  }

  .navbar-nav .sub-menu li {
    width: 100%;
  }

  .navbar-nav .sub-menu a {
    padding: var(--spacing-xs) 0;
    font-size: var(--text-sm);
    width: 100%;
    text-align: left;
  }

  .menu-menu-principal-container .navbar-nav > li:last-child > a {
    display: inline;
  }

  .hero-title {
    font-size: var(--display-2sm);
  }
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  .home-presentation {
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-xl);
  }

  /* Presentation Images Grid - Mobile */
  .presentation-images-grid {
    height: 300px;
    gap: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .presentation-image-1 {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
  }

  .presentation-image-2,
  .presentation-image-3 {
    display: none;
  }

  .slider-section {
    margin: var(--spacing-sm) auto;
    padding: var(--spacing-xl) 10px;
  }

  /* Fix overflow: retirer les paddings de déport du slider en mobile */
  .slider-section .slider {
    padding-inline-start: 0;
    padding-right: 0;
  }
  .slider .slide h2 {
    padding-right: 40px;
  }
  .keyfigures {
    margin: var(--spacing-2xl) auto;
  }
  .text-image-bloc .row + .row {
    margin-top: 3rem !important;
  }
  .footer-banner {
    height: 16.5rem;
    padding: 0;
    justify-content: center;
  }

  .footer-banner-card {
    width: 85%;
    padding: var(--spacing-md);
  }
  .footer-banner-card-content .d-flex {
    gap: var(--spacing-sm);
    align-items: flex-start;
  }
  .footer-banner-card-content .button-primary,
  .footer-banner-card-content .button-secondary {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    display: inline-block !important;
  }
  footer {
    margin-top: 15rem;
  }

  .footer-content {
    padding-bottom: var(--spacing-sm);
  }

  .copyright {
    flex-direction: column;
    align-items: flex-center;
  }

  .copyright p {
    text-align: center;
    margin: 0;
  }

  .footer-produits .menu-menu-nos-produits-container ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-section {
    margin-top: var(--spacing-xl);
  }

  .contact-section .row {
    justify-content: center;
  }
  .default-page {
    margin-top: var(--spacing-2xl);
  }

  .text-image-link {
    text-align: center;
  }
}
