:root {
  /* ==================================== */
  /* Couleurs */
  /* ==================================== */
  --color-primary: #007bff;
  --color-secondary: #d9380c;
  --color-success: #28a745;
  --color-dark: #202020;
  --color-light: #f8f9fa;
  --color-body: #454040;
  --color-link: #007bff;
  --color-highlight: #ffc107;
  --color-green-highlight: #63b643;
  --color-red-highlight: #ff1744;
  --color-purple-highlight: #db2f69;
  --color-bg-light: #fff5ef;
  --color-bg-dark: #0b0f19;
  --color-text-dark: #fff;
  --color-border-grey: #dee2e6;
  --color-social-icon: #333;

  /* ==================================== */
  /* Espacements et tailles */
  /* ==================================== */
  --spacing-xs: 0.5rem; /* 8px */
  --spacing-sm: 0.9375rem; /* 15px */
  --spacing-md: 1.5625rem; /* 25px */
  --spacing-lg: 3.125rem; /* 50px */
  --border-radius: 0.5rem;
  --main-border-radius: 0.5rem;
  --font-size-sm: 0.85rem;
  --font-size-md: 0.95rem;

  /* ==================================== */
  /* Animations */
  /* ==================================== */
  --transition-duration: 0.3s;
}

/* ==================================== */
/* Styles de base et utilitaires */
/* ==================================== */

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

html {
  font-size: 16px; /* Base pour les unités rem */
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--color-light);
  color: var(--color-body);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--color-link);
  transition: color var(--transition-duration) ease;
}

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

.dropdown-fullwidth {
  position: static;
}

/* ==================================== */
/* Composants */
/* ==================================== */

/* --- Boutons --- */
.rts-btn,
.theme-btn,
.btn-primary,
.btn-success {
  font-weight: 700;
  border-radius: 50px;
  padding: 0.875rem 2.5rem; /* 14px 40px */
  color: var(--color-text-dark);
  display: inline-block;
  transition: all var(--transition-duration) ease;
  border: none;
  text-align: center;
}

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

.btn-primary {
  background-color: var(--color-green-highlight);
  border-color: var(--color-green-highlight);
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-success {
  background-color: var(--color-success);
  border-color: var(--color-success);
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.right-btn-area .btn-narrow {
  font-weight: 600;
  color: var(--color-purple-highlight);
  margin: 0 var(--spacing-md);
}

.right-btn-area .btn-primary {
  background: var(--color-green-highlight);
  padding: 0.5rem 0.625rem; /* 8px 10px */
  max-width: max-content;
  border-radius: 0;
  position: relative;
}

.right-btn-area .btn-primary::after {
  content: '';
  position: absolute;
  left: -1.6875rem; /* -27px */
  top: -0.4375rem; /* -7px */
  border-left: 1.3125rem solid var(--color-green-highlight); /* 21px */
  border-top: 0 solid transparent;
  border-bottom: 2.125rem solid transparent; /* 34px */
  transform: rotate(90deg);
}

/* --- Conteneurs de page --- */
.rts-breadcrumb-area {
  position: relative;
  height: 23.75rem; /* 380px */
  padding-top: 1.875rem; /* 30px */
  background: var(--color-bg-light);
  overflow: hidden;
}

.rts-breadcrumb-area .breadcrumb-image-area {
  text-align: end;
}

.rts-breadcrumb-area .breadcrumb-shape-area {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.testim-bg {
  background-image: url(../images/banner/4.png);
  background-size: cover; /* Ajusté pour une meilleure adaptabilité */
  background-position: center;
  background-color: var(--color-light); /* Remplacé par une variable */
  border: 1px solid var(--color-border-grey); /* Remplacé par une variable */
  border-radius: var(--main-border-radius);
}

.avatar {
  width: 3.125rem; /* 50px */
  height: 3.125rem; /* 50px */
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 50%; /* Ajout pour garantir la forme ronde */
}

/* ==================================== */
/* Widgets et sections */
/* ==================================== */

/* --- Zone de valeur/échange (Trade Area) --- */
.value-trade-area {
  background: var(--color-bg-dark);
  padding: var(--spacing-sm) 0;
  overflow: hidden;
}

.trade-slider {
  display: flex;
  gap: 0.625rem; /* 10px */
  animation: scroll 25s linear infinite;
  flex-wrap: nowrap; /* Ajout pour éviter le retour à la ligne */
}

.single-value-trade-box {
  background: #141b2d;
  color: var(--color-text-dark);
  padding: 0.5rem var(--spacing-sm);
  border-radius: var(--border-radius);
  white-space: nowrap;
  flex-shrink: 0; /* Important pour l'animation de défilement */
}

.single-value-trade-box .price {
  margin: 0 var(--spacing-xs);
  font-weight: bold;
  color: var(--color-highlight);
}

.trending.up {
  color: #00c853;
}

.trending.down {
  color: var(--color-red-highlight);
}

/* --- Barres de navigation et en-tête (Topbar, Header, Navbar) --- */
.topbar,
.header {
  background-color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border-grey);
}

.topbar a {
  color: #555;
}

.logo-site img {
  max-height: 100%;
}

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

.navbar .nav-link {
  padding: 0.75rem 1rem;
  transition: background-color var(--transition-duration), color var(--transition-duration);
}

.navbar .nav-link:hover {
  background-color: #f1f1f1;
  color: var(--color-primary);
}

.nav-icon-item-2 {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-social-icon);
  text-decoration: none;
  transition: color var(--transition-duration);
}

.nav-icon-item-2:hover {
  color: var(--color-primary);
}

.nav-icon-item_sub {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-sm);
}

.nav-icon-item-2 .badge {
  font-size: 0.65rem;
  padding: 0.25rem 0.375rem; /* 4px 6px */
}

/* --- Offcanvas (panier, menu, etc.) --- */
.offcanvas-body ul.nav .nav-link {
  color: var(--color-social-icon);
  padding: 0.75rem;
  border-radius: 0.25rem; /* 4px */
  transition: background-color var(--transition-duration);
}

.offcanvas-body ul.nav .nav-link:hover {
  background-color: #f1f1f1;
}

#shoppingCart p {
  color: #777;
  font-style: italic;
}

/* --- Héro (Hero Section) --- */
.hero-section-one {
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative; /* Ajout pour le positionnement absolu des éléments internes */
}

.hero-content-one {
  position: relative;
  z-index: 2; /* S'assurer qu'il est au-dessus de l'image de fond */
}

.hero-content-one > span {
  background-color: #ffffff;
  padding: 0.3125rem 1.125rem; /* 5px 18px */
  display: inline-block;
  border-radius: 50px;
  font-weight: bold;
  color: var(--color-secondary);
}

.hero-content-one h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.0625rem); /* Taille de police fluide */
  padding-top: 1.0625rem; /* 17px */
  padding-bottom: 2.5rem; /* 40px */
  font-weight: bold;
  max-width: 60%;
}

.hero-content-one h1 span {
  color: var(--color-secondary);
}

.hero-content-one > div {
  display: flex;
  align-items: center; /* Centrage vertical */
  gap: 0.875rem; /* 14px */
  max-width: 38%;
  padding-bottom: 1.875rem; /* 30px */
}

.hero-content-one .theme-btn {
  margin-left: 3.75rem; /* 60px */
}

.hero-content-one > div img {
  margin-top: 0.1875rem; /* 3px */
}

.hero-one-slider {
  height: 48.125rem; /* 770px */
  overflow: hidden;
}

/* Animations de slider (Hero) */
.hero-one-slider .hero-content-one > span,
.hero-one-slider .hero-content-one h1,
.hero-one-slider .hero-content-one > div,
.hero-one-slider .hero-content-one .theme-btn {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  transform: translateX(-30px);
}

.swiper-slide-active .hero-content-one > span {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.7s;
  transform: translateX(0);
}

.swiper-slide-active .hero-content-one h1 {
  opacity: 1;
  visibility: visible;
  transition-delay: 1.1s;
  transform: translateX(0);
}

.swiper-slide-active .hero-content-one > div {
  opacity: 1;
  visibility: visible;
  transition-delay: 1.3s;
  transform: translateX(0);
}

.swiper-slide-active .hero-content-one .theme-btn {
  opacity: 1;
  visibility: visible;
  transition-delay: 1.7s;
  transform: translateX(0);
}

.hero-one-slider .swiper-custom-arrow {
  position: absolute;
  bottom: 1.875rem; /* 30px */
  width: 23.75rem; /* 380px */
  z-index: 144;
  left: 13%;
}

.hero-one-slider .swiper-pagination {
  width: fit-content;
  bottom: -0.5rem; /* -8px */
  position: relative;
}

.hero-one-slider .swiper-custom-arrow i {
  color: #222;
  border-color: #222;
}

.hero-one-slider .swiper-custom-arrow span.swiper-pagination-bullet {
  background-color: #999;
}

/* --- Sitewide --- */
.sitewide {
  position: absolute;
  bottom: 2.5rem; /* 40px */
  right: 13%;
  background-color: #ffffff;
  padding: 2rem 2.625rem; /* 32px 42px */
  width: 20%;
  border: 1px solid #999;
  z-index: 11;
}

.sitewide h3 {
  font-size: 1.25rem; /* 20px */
  text-transform: uppercase;
  padding-bottom: 0.625rem; /* 10px */
}

.sitewide p {
  color: #444;
  font-family: 'Azeret Mono', monospace;
  font-weight: 500;
}

.sitewide p span {
  color: var(--color-secondary);
}

.swiper-custom-arrow {
  display: flex;
  gap: 0.625rem; /* 10px */
}

.swiper-custom-arrow i {
  border: 1px solid #999;
  width: 2.8125rem; /* 45px */
  height: 2.8125rem; /* 45px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-custom-arrow i:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text-dark);
}

/* --- Section "Coming Soon" --- */
.coming-soon {
  background-color: #f2f2f2;
  background-size: cover;
  background-position: center;
  color: var(--color-body);
}

.circle-text {
  position: relative;
  width: 12.5rem; /* 200px */
  height: 12.5rem; /* 200px */
  margin: auto;
}

.circle-text svg {
  width: 100%;
  height: 100%;
}

.circle-text text {
  fill: var(--color-link);
  font-size: 0.625rem; /* 10px */
  letter-spacing: 2px;
  animation: rotateText 20s linear infinite;
  transform-origin: 50% 50%;
}

.circle-text text > tspan {
  font-size: 3.5rem; /* 56px */
  fill: var(--color-body);
  transition: fill 0.2s;
}

.circle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.75rem; /* 60px */
  height: 3.75rem; /* 60px */
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: transform var(--transition-duration) ease;
}

.circle-text:hover .circle-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

/* --- Liens sociaux --- */
.social-icons a {
  color: var(--color-body);
  transition: color var(--transition-duration) ease;
}

.social-icons a:hover {
  color: var(--color-primary);
}

/* ==================================== */
/* Pied de page */
/* ==================================== */

.footer-area {
  background: var(--color-dark);
  margin-top: 14.375rem; /* 230px */
  padding-top: 5rem; /* 80px */
}

.section-newsletter-holder {
  color: var(--color-text-dark);
  border-radius: 0.9375rem; /* 15px */
  margin-top: -14.375rem; /* -230px */
  padding: 0 1.25rem 0.9375rem 6.25rem; /* 0 20px 15px 100px */
  background-color: #97c13c;
}

.section-newsletter-holder .image-holder {
  margin-top: -2.8125rem; /* -45px */
  margin-right: -0.625rem; /* -10px */
}

.single-footer-widget .our-info .text p {
  color: rgb(132, 132, 132);
  margin: 0 0 1.5rem; /* 24px */
}

.single-footer-widget .our-info .text a {
  color: var(--color-highlight);
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  text-transform: capitalize;
}

.single-footer-widget .usefull-links li a {
  color: #848484;
  font-size: 1rem; /* 16px */
  font-weight: 400;
}

.footer-area .trade-warning {
  width: 70%;
  color: rgba(219, 47, 105, 0.7);
  border: 1px solid rgba(219, 47, 105, 0.4);
  border-radius: 0.625rem; /* 10px */
  margin: 0 auto 2.5rem; /* 40px */
  padding: 1.125rem 1.25rem; /* 18px 20px */
  text-align: left;
}

.footer-contact-box {
  border-top: 1px solid #333;
  margin-top: 3.125rem; /* 50px */
  padding: 1.6875rem 0 1.625rem; /* 27px 0 26px */
}

.footer-contact-box .footer-social-links a i {
  color: var(--color-text-dark);
  font-size: 0.875rem; /* 14px */
  display: block;
}

.footer-bottom-area {
  background: #202020;
  padding: 1.25rem 0; /* 20px */
}

.footer-bottom-area .footer-bottom .copyright-text p {
  color: #ffffff;
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  margin: 0.125rem 0; /* 2px */
  line-height: 1.625rem; /* 26px */
}

.payment-methold-option ul li {
  display: inline-block;
  margin-right: 0.625rem; /* 10px */
}

/* --- Formulaire de contact --- */
.contact_info {
  background-color: #151515;
  padding: 3.125rem; /* 50px */
  border-radius: 0.3125rem; /* 5px */
  color: var(--color-text-dark);
  border: 2px solid var(--color-primary);
  margin-top: 4rem; /* 64px */
}

.contact_info a {
  color: var(--color-green-highlight);
}

.contact-heading {
  display: flex;
  align-items: center;
  gap: 1.75rem; /* 28px */
  margin-bottom: 1.5625rem; /* 25px */
}

.contact_link_step {
  background: #fff;
  border-radius: 0.1875rem; /* 3px */
  padding: 1.875rem; /* 30px */
  border: 1px solid #efefef;
  box-shadow: -0.083333333in 0.5pc 1.125pc -7px rgba(25, 42, 70, 0.13);
  width: 100%;
  margin-top: 1.875rem; /* 30px */
  text-align: center;
  display: block;
  transition: transform 0.3s ease;
}

.contact_link_step:hover {
  transform: translateY(-5px); /* Ajout d'une petite animation au survol */
}

.contact_link_step i {
  width: 4.375rem; /* 70px */
  color: var(--color-dark);
}

.contact_link_step h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1.625rem; /* 26px */
  color: #333;
  text-align: center;
  margin-top: 1.5rem; /* 24px */
}

/* --- Cookie bar --- */
.cookie {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 72.5rem; /* 1160px */
  width: calc(100% - 2rem);
  background-color: #fff;
  color: #333;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  justify-content: space-between;
  align-items: center;
  gap: 1.3rem;
  display: flex;
  font-family: system-ui, sans-serif;
  font-size: var(--font-size-md);
  line-height: 1.4;
  z-index: 1000;
  opacity: 0;
  transform: translate(-50%, 20px);
  animation: slideUp 0.4s ease-out forwards;
}

.cookie p {
  margin: 0;
  flex: 1;
}

.cookie a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.cookie a:hover {
  text-decoration: underline;
}

.cookie_btn {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 0.375rem; /* 6px */
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.5px;
  transition: background-color 0.25s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.cookie_btn:hover {
  background-color: #0056b3;
}

.cookie_btn:active {
  transform: scale(0.96);
}

/* ==================================== */
/* Animations */
/* ==================================== */

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ==================================== */
/* Média Queries */
/* ==================================== */

@media (max-width: 1400px) {
  .hero-section-one {
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 991px) {
  /* Styles pour tablettes et moins */
  .hero-section-one {
    padding-top: 6.25rem; /* 100px */
    padding-bottom: 11.875rem; /* 190px */
  }

  .hero-content-one {
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content-one h1 {
    max-width: 100%;
  }

  .hero-content-one > div {
    max-width: 54%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    flex-direction: column; /* Mise à jour pour les petits écrans */
    align-items: center; /* Centrage des éléments */
  }

  .hero-content-one .theme-btn {
    margin-left: 0;
    margin-top: 1.25rem; /* 20px */
  }

  .sitewide {
    width: 220px;
    right: 7%;
    padding: 1.25rem; /* 20px */
    bottom: 1.25rem; /* 20px */
  }

  .footer-area .trade-warning {
    width: 100%;
  }
}

@media (max-width: 767px) {
  /* Styles pour téléphones et moins */
  .topbar {
    display: none;
  }

  .header {
    padding: 1rem 0.5rem;
  }

  .nav-icon-item_sub {
    display: none;
  }

  .hero-content-one h1 {
    font-size: 2.5rem; /* 40px */
    padding-bottom: 1.25rem; /* 20px */
  }

  .sitewide {
    position: static;
    width: 100%;
    margin-top: 1.25rem; /* 20px */
    padding: 0.9375rem; /* 15px */
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .section-newsletter-holder {
    padding: 1.25rem; /* 20px */
    margin-top: -6.25rem; /* -100px */
  }

  .section-newsletter-holder .image-holder {
    display: none;
  }

  .cookie {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }

  .cookie_btn {
    width: 100%;
  }

  .footer-area {
    margin-top: 0;
  }

  .footer-contact-box {
    margin-top: 2rem;
  }

  .contact_info {
    padding: 2rem;
  }

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