/* =========================================================
   CUSTOM CSS — Anne Caroline
   Nettoyé / rangé / corrigé
   ========================================================= */

/* ---------------------------------------------------------
   1. Variables globales
   --------------------------------------------------------- */
:root {
  /* Couleurs principales */
  --primary-color: #1B3A67;
  --primary-dark: #2B1A24;
  --primary-light: #ffb357;

  --secondary-color: #e46c8c;
  --secondary-dark: #b0a070;
  --secondary-light: #e5d9b8;
  --secondary-button-bg-color: #E46C8C;

  /* Backgrounds */
  --dark-background-color: #2A1F2E;
  --medium-background-color: #F4E6EE;
  --light-background-color: #FFF4F8;

  /* Accents */
  --accent-color: #C9A3E6;
  --accent2-color: #7DC7B5;
  --accent3-color: #F2A1B3;
  --accent4-color: #E6B87A;

  /* Textes */
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;

  --dark-text-color: #2B1A24;
  --gray-text-color: #6E4B5F;
  --light-text-color: #ffffff;

  /* Bordures */
  --dark-border-color: #333333;
  --light-border-color: #cccccc;

  /* Typographies */
  --font-heading: 'Dancing Script', sans-serif;
  --font-family-heading: 'Dancing Script', sans-serif;
  --font-family-body: 'Plus Jakarta Sans', sans-serif;

  /* UI */
  --button-padding-x: 16px;
  --button-padding-y: 8px;
  --button-rounded-radius: 18px;
  --border-radius: 4px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 24px rgba(0, 0, 0, 0.14);
  --transition: all 0.3s ease;

  /* Boutons */
  --primary-button-text-color: #ffffff;
  --primary-button-hover-bg-color: #134060;
  --primary-button-hover-text-color: #ffffff;

  --secondary-button-text-color: #ffffff;
  --secondary-button-hover-bg-color: #c19a5d;
  --secondary-button-hover-text-color: #ffffff;

  /* Divers */
  --color-dark: #c19a5d;
  --color-primary: var(--primary-color);
  --bs-primary-rgb: 0, 74, 153;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 25px;
    padding: 15px 0px;
}

.offcanvas-menu .btn-primary, .offcanvas-menu .btn-secondary {
font-family: var(--font-family-body) !important;
    color: #fff !important;
    border-radius: 5px;
    margin-top: 25px;
  }
.burger-icon>span {
    background-color: var(--primary-color);
}

.sp-contact-info li {
    font-size: 15px;
}

/* ---------------------------------------------------------
   2. Base globale
   --------------------------------------------------------- */
html {
  scroll-padding-top: 80px;
}

section[id],
div[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-family-body);
}

#sp-main-body {
    padding: 20px 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-gray);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.text-primary {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

.text-dark-custom { color: var(--dark-text-color); }
.text-muted-custom { color: var(--gray-text-color); }
.alternate { background-color: var(--light-gray); }

/* ---------------------------------------------------------
   3. Boutons
   --------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover,
.btn:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: var(--button-rounded-radius);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-dark);
  color: #fff;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--primary-color);
  background-color: #fff;
  color: var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

.btn-technique {
  padding: 0.5rem 1.2rem;
  border: 1px solid #dee2e6;
  background-color: #f8f9fa;
  color: #495057;
  font-size: 0.85rem;
}

.btn-technique:hover,
.btn-technique:focus {
  border-color: #adb5bd;
  background-color: #e9ecef;
  color: #212529;
}

/* ---------------------------------------------------------
   4. Top bar / contacts
   --------------------------------------------------------- */
.top-bar {
  padding: 0.5rem 0;
  font-size: 18px;
}

.top-bar-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  font-family: var(--font-heading);
}

.top-bar a,
.top-bar i {
  color: var(--secondary-color);
}

.top-bar i {
  margin-right: 0.5rem;
}

.sp-contact-info span {
  color: var(--primary-color);
}

.sp-contact-mobile span {
  display: none;
}

ul.contact-info {
  padding-left: 0;
}

/* ---------------------------------------------------------
   5. Header / navigation Joomla Helix
   --------------------------------------------------------- */
nav {
  display: flex;
  align-items: center;
}

.sp-menu-separator {
  cursor: pointer;
}

.sp-page-title {
  min-height: 300px;
  background: none;
}

.sp-megamenu-parent > li {
  margin-left: 30px;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  position: relative;
  padding: 10px 0 !important;
  line-height: inherit !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sp-megamenu-parent > .sp-menu-item > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.sp-megamenu-parent > .sp-menu-item > a:hover,
.sp-megamenu-parent > .sp-menu-item > a:focus {
  color: var(--secondary-color);
}

.sp-megamenu-parent > .sp-menu-item > a:hover::after,
.sp-megamenu-parent > .sp-menu-item > a:focus::after,
.sp-megamenu-parent > .current-item > a::after,
.sp-megamenu-parent > .active > a::after {
  width: 100%;
}

ul.social-icons > li a:hover,
ul.social-icons > li a:focus {
  color: var(--secondary-color);
}

/* Navigation custom éventuelle */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
  color: var(--dark-gray);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  color: var(--dark-gray);
  font-size: 1.5rem;
  cursor: pointer;
}



#sp-title .sp-page-title {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(228,108,140,.26), transparent 32%),
    radial-gradient(circle at 85% 30%, rgba(201,163,230,.28), transparent 34%),
    linear-gradient(135deg, var(--primary-color), var(--dark-background-color));
}

#sp-title .sp-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .25;
  pointer-events: none;
}

#sp-title .sp-page-title::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  filter: blur(2px);
}

#sp-title .sp-page-title .container {
  position: relative;
  z-index: 2;
}

#sp-title .sp-page-title-heading {
  position: relative;
  display: inline-block;
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-family: var(--font-family-heading);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

#sp-title .sp-page-title-heading::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--secondary-button-bg-color);
  box-shadow: 0 0 24px rgba(228,108,140,.55);
}

@media (max-width: 767.98px) {
  #sp-title .sp-page-title {
    min-height: 200px;
    text-align: center;
  }

  #sp-title .sp-page-title-heading::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------------------------------------------------------
   6. Hero section
   --------------------------------------------------------- */
.hero-section {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--light-background-color), #fff);
}

.hero-container {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero-bg-image {
  object-fit: cover;
  opacity: 0.2;
}

.hero-deco {
  z-index: 0;
  filter: blur(80px);
  opacity: 0.1;
}

.hero-deco-1 {
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: var(--secondary-button-bg-color);
}

.hero-deco-2 {
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background-color: var(--accent4-color);
}

.hero-title {
  color: var(--primary-color);
  font-family: var(--font-family-heading);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.15;
}

.hero-subtitle {
  max-width: 40rem;
  color: var(--gray-text-color);
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-text-secondary,
.hero-icon-secondary { color: var(--secondary-button-bg-color); }
.hero-text-primary { color: var(--primary-color); }
.hero-icon-accent3 { color: var(--accent3-color); }
.hero-icon-accent4 { color: var(--accent4-color); }

.hero-btn-primary {
  border: none;
  border-radius: var(--button-rounded-radius);
  background-color: var(--primary-color);
  color: var(--primary-button-text-color);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
  background-color: var(--primary-button-hover-bg-color);
  color: var(--primary-button-text-color);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
  transform: scale(1.05);
}

.hero-btn-primary i {
  transition: transform 0.3s ease;
}

.hero-btn-primary:hover i {
  transform: translateX(4px);
}

.hero-btn-outline {
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--button-rounded-radius);
  background-color: #fff;
  color: var(--primary-color);
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
  border-color: var(--primary-color);
  background-color: var(--light-background-color);
  color: var(--primary-color);
}

.hero-image-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.18);
}

.hero-main-image {
  height: 440px;
  object-fit: cover;
}

.hero-image-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1), transparent);
}

.hero-floating-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  animation: none !important;
}

.hero-floating-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--secondary-button-bg-color);
}

.hero-top-badge {
  top: 0;
  right: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.85);
  color: var(--dark-text-color);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-scroll {
  bottom: -60px;
}

.hero-bounce {
  animation: heroBounce 2s infinite;
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ---------------------------------------------------------
   7. Cartes / blocs réutilisables
   --------------------------------------------------------- */
.pillar-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pillar-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
}

.pillar-icon {
  font-size: 1.35rem;
  opacity: 0.9;
}

@media (min-width: 992px) {
  .row.g-4 > [class*='col-lg-4'] {
    display: flex;
  }

  .row.g-4 > [class*='col-lg-4'] > a,
  .row.g-4 > [class*='col-lg-4'] > div {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .row.g-4 > [class*='col-lg-4'] > a > div,
  .row.g-4 > [class*='col-lg-4'] > div > div {
    flex: 1;
  }
}

/* ---------------------------------------------------------
   8. Sections anciennes / pages internes éventuelles
   --------------------------------------------------------- */
.about-short,
.testimonials {
  background-color: var(--white);
}

.about-content,
.mission-content,
.team-intro,
.distributors-intro,
.distributors-contact,
.intro-text {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-content {
  max-width: 1200px;
}

.values,
.product-preview,
.commitment-items,
.team-leaders,
.certification-list,
.contact-cards,
.regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.values { margin: 40px 0; }
.certification-list,
.commitment-items { margin-top: 40px; }
.regions { margin: 30px 0; gap: 20px; }

.value-item,
.commitment-item,
.team-member,
.certification-item,
.contact-card,
.region,
.product-card,
.event,
.contact-form {
  border-radius: 8px;
  background-color: #fff;
  box-shadow: var(--shadow);
}

.value-item,
.commitment-item,
.team-member,
.contact-form {
  padding: 30px;
}

.value-item,
.commitment-item,
.team-member {
  flex: 1 1 300px;
}

.value-item i,
.commitment-item .icon,
.contact-card .icon,
.map-placeholder i {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.featured-products {
  background-color: var(--light-gray);
}

.featured-products h2 {
  margin-bottom: 40px;
  text-align: center;
}

.product-card {
  flex: 1 1 250px;
  max-width: 400px;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.2rem;
}

.product-card p {
  height: 135px;
  padding: 0 20px 20px;
  color: var(--medium-gray);
}

.product-card .btn-small,
.card-body .btn-small {
  display: block;
  margin: 0 20px 20px;
  text-align: center;
}

.card-body .btn-small {
  margin: 0;
}

.products-link {
  margin-top: 40px;
  text-align: center;
}

.testimonial-slider,
.sppb-carousel-inner {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial,
.sppb-carousel-inner .sppb-item {
  margin: 20px 0;
  padding: 30px !important;
  border-radius: 8px;
  background-color: var(--light-gray);
  box-shadow: var(--shadow);
}

.testimonial .quote {
  position: relative;
  padding: 0 20px;
  font-size: 1.1rem;
  font-style: italic;
}

.testimonial .quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  color: var(--secondary-color);
  font-size: 3rem;
  opacity: 0.5;
}

#sppb-carousel1 {
  min-height: 235px;
}

.sppb-addon-testimonial-pro-client-name,
.testimonial .author,
.product-info h2,
.team-member h3,
.certification-item h3,
.department h3,
.region h3 {
  color: var(--primary-color);
  font-weight: 700;
}

.cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta .btn {
  background-color: #fff;
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: var(--secondary-color);
  color: var(--dark-gray);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-header {
  padding: 60px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url('../images/hero-banner.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-header h1 {
  color: #fff;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.product-detail,
.about-story {
  padding: 80px 0;
}

.product-content,
.contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
}

.product-content {
  align-items: center;
}

.product-image { flex: 1 1 400px; }
.product-info { flex: 1 1 500px; }
.form-container { flex: 1 1 600px; }
.contact-details { flex: 1 1 400px; }

.product-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.specifications,
.advantages {
  margin-bottom: 30px;
}

.specifications h3,
.advantages h3 {
  margin-bottom: 15px;
  color: var(--dark-gray);
  font-size: 1.3rem;
}

.specifications ul {
  list-style: none;
}

.specifications li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
}

.specifications li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--primary-light);
}

.timeline-item {
  display: flex;
  position: relative;
  margin-bottom: 40px;
}

.year {
  flex: 0 0 80px;
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
}

.event {
  position: relative;
  flex: 1;
  margin-left: 30px;
  padding: 20px;
}

.event::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -38px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.mission-statement {
  margin: 30px 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
}

.certification-item { flex: 1 1 45%; padding: 30px; }
.contact-info-section { padding: 60px 0; }
.contact-card { flex: 1 1 200px; max-width: 250px; padding: 30px; text-align: center; }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: #fff;
}

.form-group {
  flex: 1 1 45%;
  margin-bottom: 20px;
}

.form-group.full-width { flex: 1 1 100%; }

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea { resize: vertical; }

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-checkbox input {
  width: auto;
  margin-top: 6px;
}

.form-actions {
  margin-top: 30px;
  text-align: center;
}

.department,
.map-container {
  border-radius: 8px;
  background-color: var(--light-gray);
}

.department {
  margin-bottom: 20px;
  padding: 20px;
}

.map-container {
  height: 400px;
  margin-top: 30px;
  overflow: hidden;
}

.map-placeholder {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #eaeaea;
  font-size: 1.2rem;
  text-align: center;
}

.map-placeholder .btn {
  margin-top: 20px;
}

.region {
  flex: 1 1 45%;
  padding: 20px;
}

/* ---------------------------------------------------------
   9. Footer
   --------------------------------------------------------- */
.site-footer h3 {
  min-height: 28px;
  margin-bottom: 1.5rem !important;
}

.site-footer ul {
  padding-left: 0;
  margin-left: 0;
}

.site-footer .footer-links li,
.site-footer .footer-contact li {
  min-height: 28px;
}

.site-footer .footer-links a,
.site-footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.site-footer .footer-links i,
.site-footer .footer-contact i {
  width: 16px;
  min-width: 16px;
  text-align: center;
  line-height: 1.5;
}

#sp-footer a {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

#sp-footer a:hover,
#sp-footer a:focus {
  color: var(--secondary-button-bg-color) !important;
}

#sp-footer .footer-links a:hover,
#sp-footer .footer-links a:focus {
  transform: translateX(4px);
}

#sp-footer .footer-contact i,
#sp-footer .footer-links i {
  color: var(--secondary-button-bg-color);
}

/* ---------------------------------------------------------
   10. Correctifs SP Page Builder / modules
   --------------------------------------------------------- */
#sppb-addon-1654467081575 a {
  color: inherit !important;
}

/* ---------------------------------------------------------
   11. Responsive
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
  #sp-footer section, #section-id-501af877-df07-480b-ae2e-c7ae32cb488b {padding:0!important;}
  .hero-section {
    min-height: auto;
  }

  .hero-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3.25rem);
  }

  .hero-subtitle {
    margin-right: auto;
    margin-left: auto;
  }

  .sp-contact-info li:not(:has(a[href^='tel:'])) {
    display: none;
  }

  .sp-contact-info li {
    margin-right: 0 !important;
  }

  .container {
    padding-right: 30px;
    padding-left: 30px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 767.98px) {


  #sp-section-1 {
    padding: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
    gap: 0;
    background-color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 15px;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.1rem; }

  .value-item,
  .product-card,
  .region {
    flex: 1 1 100%;
  }

  .product-card {
    max-width: 350px;
  }

  .product-content,
  .footer-content {
    gap: 30px;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .year {
    margin-bottom: 10px;
    margin-left: 40px;
  }

  .event {
    margin-left: 40px;
  }

  .event::before {
    left: -25px;
  }

  .contact-form,
  .form-group {
    width: 100%;
  }

  #sp-footer,
  #sp-footer .sppb-column,
  #sp-footer .sppb-addon {
    text-align: center !important;
  }

  /* Colonnes */
  #sp-footer .sppb-col-md-3 {
    margin-bottom: 2rem;
  }

  /* Logo */
  #sp-footer img {
    margin: 0 auto;
    display: block;
  }

  /* Listes (menu + contact) */
  #sp-footer ul {
    padding-left: 0;
  }

  #sp-footer ul li {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: .5rem;
  }

  /* Liens */
  #sp-footer a {
    justify-content: center;
  }

  /* Icônes */
  #sp-footer i {
    text-align: center;
  }
  .sp-contact-info li {
    font-size: 18px;
}

  .top-bar, .offcanvas-menu .offcanvas-inner .sp-contact-info,.offcanvas-menu .offcanvas-inner .social-icons {
    font-size: 20px
}
.menu.nav-pills > li > a, .menu.nav-pills > li > span, .menu.nav-pills .sp-dropdown li.sp-menu-item > a {
    font-family: var(--font-family-body)!important;
  font-size:20px!important;
}
}

@media (max-width: 575.98px) {
  .kinesio-card-content {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .kinesio-card-content > .flex-shrink-0 {
    align-self: center !important;
    margin-bottom: .75rem !important;
  }

  .kinesio-card-content h3,
  .kinesio-card-content p {
    width: 100%;
  }
}

@media (max-width: 480px) {


  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    min-height: 350px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .contact-card {
    flex: 1 1 100%;
  }
}
