/* ============================================================
   XRecharge+ — Custom Styles
   Prefix: xrp-
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --xrp-blue:        #1A5FE8;
  --xrp-blue-dark:   #0D3FA8;
  --xrp-blue-light:  #4D8BFF;
  --xrp-orange:      #F7931A;
  --xrp-orange-dark: #D4750C;
  --xrp-white:       #FFFFFF;
  --xrp-dark:        #0B1120;
  --xrp-text-muted:  #6B7A9A;
  --xrp-bg-hero:     #F0F5FF;

  --xrp-font-display: 'Sora', sans-serif;
  --xrp-font-body:    'DM Sans', sans-serif;

  --xrp-radius-btn:   50px;
  --xrp-shadow-card:  0 20px 60px rgba(26, 95, 232, 0.12);
  --xrp-transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ============================================================
   HERO / BANNER SECTION
   ============================================================ */

.xrp-banner {
  background: var(--xrp-bg-hero);
  position: relative;
  /* overflow visible pour ne pas masquer les stat-cards flottantes */
  overflow: visible;
  padding: 40px 0 60px;
  min-height: auto;
  display: flex;
  align-items: center;
}

/* Mesh gradient background blob */
.xrp-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 60% 40%,
    rgba(26, 95, 232, 0.13) 0%,
    rgba(247, 147, 26, 0.06) 55%,
    transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.xrp-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
    rgba(26, 95, 232, 0.08) 0%,
    transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.xrp-banner .container {
  position: relative;
  z-index: 1;
}

/* --- Eyebrow badge --- */
.xrp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 95, 232, 0.08);
  border: 1px solid rgba(26, 95, 232, 0.2);
  color: var(--xrp-blue);
  font-family: var(--xrp-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--xrp-radius-btn);
  margin-bottom: 22px;
}

.xrp-eyebrow .xrp-dot {
  width: 8px;
  height: 8px;
  background: var(--xrp-orange);
  border-radius: 50%;
  display: inline-block;
  animation: xrp-pulse 1.8s ease-in-out infinite;
}

@keyframes xrp-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

/* --- Heading --- */
.xrp-banner .banner_text h1 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--xrp-dark);
  margin-bottom: 20px;
}

.xrp-banner .banner_text h1 span {
  color: var(--xrp-blue);
  position: relative;
  display: inline-block;
}

/* Underline accent supprimé — pas besoin du soulignement horizontal */

/* --- Subtitle --- */
.xrp-banner .banner_text p {
  font-family: var(--xrp-font-body);
  font-size: 1.05rem;
  color: var(--xrp-text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

/* --- Feature pills row --- */
.xrp-features-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
}

.xrp-features-inline li {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.12);
  border-radius: 30px;
  padding: 7px 16px;
  font-family: var(--xrp-font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--xrp-dark);
  box-shadow: 0 2px 8px rgba(26, 95, 232, 0.06);
  transition: var(--xrp-transition);
}

.xrp-features-inline li:hover {
  border-color: var(--xrp-blue);
  box-shadow: 0 4px 16px rgba(26, 95, 232, 0.14);
  transform: translateY(-2px);
}

.xrp-features-inline li .xrp-pill-icon {
  font-size: 15px;
  line-height: 1;
}

/* --- App Store Buttons — CSS pur --- */
.xrp-banner .app_btn {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin-bottom: 36px;
}

.xrp-btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: var(--xrp-radius-btn);
  font-family: var(--xrp-font-body);
  text-decoration: none;
  transition: var(--xrp-transition);
  border: 2px solid transparent;
  min-width: 180px;
  cursor: pointer;
}

.xrp-btn-store svg {
  flex-shrink: 0;
  transition: var(--xrp-transition);
}

.xrp-btn-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.xrp-btn-store span small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.85;
  display: block;
}

.xrp-btn-store span {
  font-size: 15px;
  font-weight: 700;
}

/* Primary — App Store (fond bleu) */
.xrp-btn-store--primary {
  background: linear-gradient(135deg, var(--xrp-blue) 0%, var(--xrp-blue-dark) 100%);
  color: var(--xrp-white);
  box-shadow: 0 8px 24px rgba(26, 95, 232, 0.32);
}

.xrp-btn-store--primary:hover {
  background: linear-gradient(135deg, var(--xrp-blue-dark) 0%, #081e6e 100%);
  box-shadow: 0 14px 36px rgba(26, 95, 232, 0.48);
  transform: translateY(-3px);
  color: var(--xrp-white);
}

/* Secondary — Google Play (fond blanc, bordure bleue) */
.xrp-btn-store--secondary {
  background: var(--xrp-white);
  color: var(--xrp-blue);
  border-color: rgba(26, 95, 232, 0.3);
  box-shadow: 0 4px 14px rgba(26, 95, 232, 0.08);
}

.xrp-btn-store--secondary:hover {
  background: var(--xrp-blue);
  color: var(--xrp-white);
  border-color: var(--xrp-blue);
  box-shadow: 0 10px 28px rgba(26, 95, 232, 0.35);
  transform: translateY(-3px);
}

/* --- Used App / Social proof --- */
.xrp-banner .used_app {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xrp-banner .used_app ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xrp-banner .used_app ul li {
  margin-left: -10px;
}

.xrp-banner .used_app ul li:first-child {
  margin-left: 0;
}

.xrp-banner .used_app ul li img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--xrp-white);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.xrp-banner .used_app p {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--xrp-text-muted);
  margin: 0;
}

.xrp-banner .used_app p strong {
  color: var(--xrp-dark);
  font-weight: 700;
}

/* --- Floating stat cards --- */
.xrp-stat-card {
  position: absolute;
  background: var(--xrp-white);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--xrp-shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;          /* au-dessus du slider et du frame */
  border: 1px solid rgba(26, 95, 232, 0.08);
  animation: xrp-float 4s ease-in-out infinite;
  white-space: nowrap;
}

/* Carte gauche : sort du slider vers la gauche */
.xrp-stat-card--left {
  left: -130px;
  top: 22%;
  animation-delay: 0s;
  z-index: 9999;
}

/* Carte droite : sort du slider vers la droite */
.xrp-stat-card--right {
  right: -130px;
  bottom: 22%;
  animation-delay: 2s;
  z-index: 9999;
}

/* Le slider doit laisser passer les cartes (overflow visible) */
.xrp-banner .banner_slider {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  overflow: visible;
}

@keyframes xrp-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.xrp-stat-card .xrp-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.xrp-stat-card .xrp-stat-icon--blue {
  background: rgba(26, 95, 232, 0.1);
}

.xrp-stat-card .xrp-stat-icon--orange {
  background: rgba(247, 147, 26, 0.12);
}

.xrp-stat-card .xrp-stat-label {
  font-family: var(--xrp-font-body);
  font-size: 11px;
  color: var(--xrp-text-muted);
  margin: 0;
  line-height: 1;
}

.xrp-stat-card .xrp-stat-value {
  font-family: var(--xrp-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--xrp-dark);
  margin: 0;
  line-height: 1.2;
}

/* --- Anim lines color override --- */
.xrp-banner .anim_line span {
  opacity: 0.25;
}

/* ============================================================
   TRUST BADGES BAR (below hero)
   ============================================================ */

.xrp-trust-bar {
  background: var(--xrp-white);
  border-top: 1px solid rgba(26, 95, 232, 0.08);
  border-bottom: 1px solid rgba(26, 95, 232, 0.08);
  padding: 20px 0;
}

.xrp-trust-bar .xrp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--xrp-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--xrp-text-muted);
}

.xrp-trust-bar .xrp-trust-item .xrp-trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(26, 95, 232, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .xrp-banner {
    padding: 90px 0 60px;
    min-height: auto;
  }

  .xrp-banner .banner_text h1 {
    font-size: 2rem;
  }

  .xrp-stat-card--left,
  .xrp-stat-card--right {
    display: none;
  }
}

@media (max-width: 576px) {
  .xrp-banner .app_btn {
    flex-direction: column;
    align-items: flex-start;
  }

  .xrp-btn-store {
    min-width: 160px;
  }

  .xrp-features-inline {
    gap: 8px;
  }

  .xrp-stat-card--left,
  .xrp-stat-card--right {
    display: none;
  }
}

.banner_section {
    margin-top: 0;
}

/* ============================================================
   COUNTRIES SECTION
   ============================================================ */
 
.xrp-countries-section .section_title h2 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--xrp-dark);
}
 
.xrp-countries-section .section_title h2 span {
  color: var(--xrp-blue);
}
 
.xrp-countries-section .section_title p {
  font-family: var(--xrp-font-body);
  color: var(--xrp-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
 
/* --- Carte pays --- */
.xrp-country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 28px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.1);
  border-radius: 18px;
  cursor: default;
  transition: var(--xrp-transition);
  box-shadow: 0 4px 16px rgba(26, 95, 232, 0.06);
  margin: 8px 6px;
}
 
.xrp-country-card:hover {
  border-color: var(--xrp-blue);
  box-shadow: 0 10px 32px rgba(26, 95, 232, 0.14);
  transform: translateY(-4px);
}
 
.xrp-country-flag {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
  transition: var(--xrp-transition);
}
 
.xrp-country-card:hover .xrp-country-flag {
  transform: scale(1.12);
}
 
.xrp-country-name {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--xrp-dark);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
 
/* Override Owl dots/nav pour cette section */
.xrp-countries-logos .owl-dots {
  margin-top: 20px;
}
 
.xrp-countries-logos .owl-dot span {
  background: rgba(26, 95, 232, 0.2) !important;
  transition: var(--xrp-transition);
}
 
.xrp-countries-logos .owl-dot.active span,
.xrp-countries-logos .owl-dot:hover span {
  background: var(--xrp-blue) !important;
}
 
/* ============================================================
   TRUST BADGES BAR (below hero)
   ============================================================ */
 
.xrp-trust-bar {
  background: var(--xrp-white);
  border-top: 1px solid rgba(26, 95, 232, 0.08);
  border-bottom: 1px solid rgba(26, 95, 232, 0.08);
  padding: 20px 0;
}
 
.xrp-trust-bar .xrp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--xrp-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--xrp-text-muted);
}
 
.xrp-trust-bar .xrp-trust-item .xrp-trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(26, 95, 232, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
 
.xrp-country-flag {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: var(--xrp-transition);
}

.xrp-country-card:hover .xrp-country-flag {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.xrp-countries-logos .xrp-country-flag {
  filter: none !important;
  opacity: 1 !important;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

/* Icône service : image carrée arrondie */
.xrp-service-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 14px !important;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26, 95, 232, 0.15);
  border: 2px solid rgba(26, 95, 232, 0.1);
}

.xrp-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}

/* 5e service centré sous le feature_detail */
.xrp-service-extra {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 460px;
  margin: 40px auto 0;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.1);
  border-radius: 18px;
  padding: 22px 28px;
  box-shadow: 0 6px 24px rgba(26, 95, 232, 0.08);
  transition: var(--xrp-transition);
}

.xrp-service-extra:hover {
  border-color: var(--xrp-blue);
  box-shadow: 0 12px 36px rgba(26, 95, 232, 0.14);
  transform: translateY(-3px);
}

.xrp-service-extra .text h4 {
  font-family: var(--xrp-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--xrp-dark);
  margin-bottom: 6px;
}

.xrp-service-extra .text p {
  font-family: var(--xrp-font-body);
  font-size: 0.9rem;
  color: var(--xrp-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SERVICES — fix disposition data_block
   ============================================================ */

/* Layout en ligne : icône à gauche, texte à droite */
.xrp-services-section .data_block {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
  gap: 16px;
}

.xrp-services-section .data_block .icon {
  margin: 0 !important;
  flex-shrink: 0;
}

.xrp-services-section .data_block .text h4 {
  font-family: var(--xrp-font-display);
  font-weight: 700;
  color: var(--xrp-blue);
  margin-bottom: 6px;
}

.xrp-services-section .data_block .text p {
  font-family: var(--xrp-font-body);
  font-size: 0.9rem;
  color: var(--xrp-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Correction marge colonne droite */
.xrp-services-section .right_data.feature_box {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* ============================================================
   SERVICES — Perfect Money intégré sur mobile
   ============================================================ */

@media (max-width: 991px) {

  /* Perfect Money devient un data_block standard dans le flux */
  .xrp-service-extra {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 20px 0;
    border-top: 1px solid rgba(26, 95, 232, 0.08);
  }

  .xrp-service-extra:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ============================================================
   HERO MOBILE — fixes
   ============================================================ */

@media (max-width: 767px) {

  /* Trust bar — padding et wrap correct */
  .xrp-trust-bar .xrp-trust-item {
    justify-content: flex-start;
    padding: 0 12px;
  }

  /* Feature pills — retrait du débordement */
  .xrp-features-inline {
    padding-right: 8px;
  }

  /* Boutons store — largeur fixe, côte à côte si possible */
  .xrp-banner .app_btn {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  .xrp-btn-store {
    min-width: unset;
    width: auto;
    flex: 1 1 auto;
    max-width: 200px;
    padding: 11px 16px;
  }

  .xrp-btn-store span {
    font-size: 13px;
  }

  .xrp-btn-store svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   SERVICES MOBILE — fix marge colonne gauche
   ============================================================ */

@media (max-width: 991px) {

  /* Colonne gauche — même padding que la droite */
  .xrp-services-section .left_data.feature_box {
    padding: 0 15px;
  }

  .xrp-services-section .right_data.feature_box {
    padding: 0 15px;
  }

  /* Harmoniser l'espacement entre data_block */
  .xrp-services-section .data_block {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .xrp-features-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .xrp-features-inline li {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .xrp-trust-bar .row {
    flex-direction: column;
  }

  .xrp-trust-bar .row > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .xrp-trust-bar .xrp-trust-item {
    justify-content: flex-start;
    padding: 6px 20px;
    gap: 14px;
  }

  .xrp-trust-bar .xrp-trust-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 20px !important;
    flex-shrink: 0;
  }
}

@media (max-width: 991px) {
  .xrp-services-section .left_data.feature_box {
    padding: 0 15px !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .xrp-services-section .left_data .data_block {
    flex-direction: row !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

.xrp-services-section .right_data.feature_box {
    margin: 15px !important;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.xrp-about-section .section_title h2 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--xrp-dark);
}

.xrp-about-section .section_title h2 span {
  color: var(--xrp-blue);
}

.xrp-about-section .section_title p {
  font-family: var(--xrp-font-body);
  color: var(--xrp-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Bouton CTA */
.xrp-about-cta {
  font-family: var(--xrp-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */

.xrp-partners-section .section_title h2 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--xrp-dark);
}

.xrp-partners-section .section_title h2 span {
  color: var(--xrp-blue);
}

/* Carte partenaire */
.xrp-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.1);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(26, 95, 232, 0.07);
  transition: var(--xrp-transition);
  cursor: default;
}

.xrp-partner-card:hover {
  border-color: var(--xrp-blue);
  box-shadow: 0 14px 40px rgba(26, 95, 232, 0.14);
  transform: translateY(-5px);
}

/* Logo rond */
.xrp-partner-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(26, 95, 232, 0.1);
  box-shadow: 0 4px 14px rgba(26, 95, 232, 0.12);
  transition: var(--xrp-transition);
  flex-shrink: 0;
}

.xrp-partner-card:hover .xrp-partner-logo {
  border-color: var(--xrp-blue);
  box-shadow: 0 6px 20px rgba(26, 95, 232, 0.22);
}

.xrp-partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}

/* Nom du partenaire */
.xrp-partner-name {
  font-family: var(--xrp-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--xrp-dark);
  letter-spacing: 0.01em;
}

/* Badge de réassurance */
.xrp-partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  background: rgba(26, 95, 232, 0.06);
  border: 1px solid rgba(26, 95, 232, 0.15);
  color: var(--xrp-blue);
  font-family: var(--xrp-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 20px;
  border-radius: 50px;
  /* Centrage */
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */

.xrp-howitworks-section .section_title h2 {
  font-family: var(--xrp-font-display);
  font-weight: 800;
  color: var(--xrp-dark);
}

.xrp-howitworks-section .section_title h2 span {
  color: var(--xrp-blue);
}

.xrp-howitworks-section .section_title p {
  font-family: var(--xrp-font-body);
  color: var(--xrp-text-muted);
  line-height: 1.75;
}

/* Texte des étapes */
.xrp-howitworks-section .step_text h4 {
  font-family: var(--xrp-font-display);
  font-weight: 700;
  color: var(--xrp-dark);
}

.xrp-howitworks-section .step_text span {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--xrp-orange);
}

.xrp-howitworks-section .step_text span a {
  color: var(--xrp-blue);
  text-decoration: underline;
}

.xrp-howitworks-section .step_text p {
  font-family: var(--xrp-font-body);
  color: var(--xrp-text-muted);
  line-height: 1.7;
}

/* Numéros d'étape */
.xrp-howitworks-section .step_number h3 {
  font-family: var(--xrp-font-display);
  font-weight: 800;
  color: rgba(26, 95, 232, 0.12);
}

/* Icônes store */
.xrp-howitworks-section .app_icon a {
  color: var(--xrp-blue);
  font-size: 1.6rem;
  margin-right: 10px;
  transition: var(--xrp-transition);
}

.xrp-howitworks-section .app_icon a:hover {
  color: var(--xrp-orange);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.xrp-testimonial-section .section_title h2 {
  font-family: var(--xrp-font-display);
  font-weight: 800;
  color: var(--xrp-dark);
}

.xrp-testimonial-section .section_title h2 span {
  color: var(--xrp-blue);
}

.xrp-testimonial-section .section_title p {
  font-family: var(--xrp-font-body);
  color: var(--xrp-text-muted);
  line-height: 1.75;
}

/* Nom utilisateur */
.xrp-testimonial-section .testimonial_slide_box h3 {
  font-family: var(--xrp-font-display);
  font-weight: 700;
  color: var(--xrp-dark);
}

/* Pays / désignation */
.xrp-testimonial-section .testimonial_slide_box .designation {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: var(--xrp-blue);
  font-weight: 500;
}

/* Lien total reviews */
.xrp-testimonial-section .total_review a {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--xrp-blue);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--xrp-transition);
}

.xrp-testimonial-section .total_review a:hover {
  color: var(--xrp-orange);
}

/* ============================================================
   XRecharge+ — FAQ Section — Custom Styles
   À ajouter dans custom.css
   Prefix: xrp-faq-
   ============================================================ */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

.xrp-faq-section {
  padding: 90px 0 80px;
  background: var(--xrp-bg-hero);
  position: relative;
  overflow: hidden;
}

/* Blob décoratif fond */
.xrp-faq-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(26, 95, 232, 0.07) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.xrp-faq-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(247, 147, 26, 0.06) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.xrp-faq-section .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */

.xrp-faq-title {
  text-align: center;
  margin-bottom: 56px;
}

.xrp-faq-title h2 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--xrp-dark);
  margin-bottom: 14px;
  line-height: 1.18;
}

.xrp-faq-title h2 span {
  color: var(--xrp-blue);
}

.xrp-faq-title p {
  font-family: var(--xrp-font-body);
  font-size: 1rem;
  color: var(--xrp-text-muted);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 520px;
}

.xrp-faq-contact-link {
  color: var(--xrp-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--xrp-transition);
}

.xrp-faq-contact-link:hover {
  color: var(--xrp-orange);
}

/* ============================================================
   GRID 2 COLONNES
   ============================================================ */

.xrp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 991px) {
  .xrp-faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   FAQ ITEM — CARD
   ============================================================ */

.xrp-faq-item {
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.1);
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 18px rgba(26, 95, 232, 0.05);
}

.xrp-faq-item:hover {
  border-color: rgba(26, 95, 232, 0.22);
  box-shadow: 0 8px 32px rgba(26, 95, 232, 0.1);
  transform: translateY(-2px);
}

.xrp-faq-item--open {
  border-color: var(--xrp-blue) !important;
  box-shadow: 0 10px 40px rgba(26, 95, 232, 0.14) !important;
  transform: translateY(-2px);
}

/* ============================================================
   QUESTION BUTTON
   ============================================================ */

.xrp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: background var(--xrp-transition);
}

.xrp-faq-question:hover {
  background: rgba(26, 95, 232, 0.02);
}

/* Icon rond gauche */
.xrp-faq-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(26, 95, 232, 0.08);
  color: var(--xrp-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--xrp-transition);
}

.xrp-faq-item--open .xrp-faq-icon {
  background: var(--xrp-blue);
  color: var(--xrp-white);
  box-shadow: 0 4px 14px rgba(26, 95, 232, 0.35);
}

/* Texte de la question */
.xrp-faq-question-text {
  flex: 1;
  font-family: var(--xrp-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--xrp-dark);
  line-height: 1.45;
  transition: color var(--xrp-transition);
}

.xrp-faq-item--open .xrp-faq-question-text {
  color: var(--xrp-blue);
}

/* Toggle +/- */
.xrp-faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 95, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--xrp-blue);
  transition: var(--xrp-transition);
  background: transparent;
}

.xrp-faq-item--open .xrp-faq-toggle {
  background: rgba(26, 95, 232, 0.08);
  border-color: var(--xrp-blue);
}

/* Affichage conditionnel + et - */
.xrp-faq-minus {
  display: none;
}

.xrp-faq-item--open .xrp-faq-plus {
  display: none;
}

.xrp-faq-item--open .xrp-faq-minus {
  display: block;
}

/* ============================================================
   ANSWER / BODY — Accordion animé
   ============================================================ */

.xrp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.xrp-faq-answer p {
  font-family: var(--xrp-font-body);
  font-size: 0.94rem;
  color: var(--xrp-text-muted);
  line-height: 1.8;
  margin: 0;
  padding: 0 24px 22px 76px; /* aligné avec le texte de la question */
}

.xrp-faq-answer p strong {
  color: var(--xrp-dark);
  font-weight: 600;
}

/* ============================================================
   CTA BOTTOM
   ============================================================ */

.xrp-faq-cta {
  display: flex;
  justify-content: center;
}

.xrp-faq-cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.12);
  border-radius: 22px;
  padding: 24px 32px;
  box-shadow: 0 8px 32px rgba(26, 95, 232, 0.09);
  max-width: 680px;
  width: 100%;
  transition: var(--xrp-transition);
}

.xrp-faq-cta-inner:hover {
  border-color: rgba(26, 95, 232, 0.25);
  box-shadow: 0 14px 48px rgba(26, 95, 232, 0.14);
  transform: translateY(-3px);
}

.xrp-faq-cta-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.xrp-faq-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xrp-faq-cta-text strong {
  font-family: var(--xrp-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--xrp-dark);
}

.xrp-faq-cta-text span {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: var(--xrp-text-muted);
  line-height: 1.5;
}

/* Bouton WhatsApp */
.xrp-faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--xrp-white);
  font-family: var(--xrp-font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--xrp-radius-btn);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: var(--xrp-transition);
}

.xrp-faq-cta-btn:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: var(--xrp-white);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
  .xrp-faq-section {
    padding: 60px 0 56px;
  }

  .xrp-faq-title {
    margin-bottom: 36px;
  }

  .xrp-faq-title h2 {
    font-size: 1.65rem;
  }

  .xrp-faq-grid {
    margin-bottom: 36px;
  }

  .xrp-faq-question {
    padding: 18px 18px;
    gap: 12px;
  }

  .xrp-faq-answer p {
    padding: 0 18px 18px 64px;
    font-size: 0.9rem;
  }

  .xrp-faq-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
    gap: 14px;
  }

  .xrp-faq-cta-text {
    align-items: center;
  }

  .xrp-faq-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .xrp-faq-icon {
    width: 32px;
    height: 32px;
  }

  .xrp-faq-answer p {
    padding: 0 16px 16px 16px;
  }
}

/* ============================================================
   XRecharge+ — Section Téléchargement
   À ajouter dans custom.css
   Prefix: xrp-download-
   ============================================================ */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

.xrp-download-section {
  padding: 0 0 80px;
}

.xrp-download-inner {
  background: linear-gradient(135deg, var(--xrp-blue-dark) 0%, var(--xrp-blue) 55%, #2a7bff 100%);
  border-radius: 32px;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
}

/* Blob décoratif interne */
.xrp-download-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}

.xrp-download-inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(247, 147, 26, 0.12) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Lignes d'animation — opacité réduite sur fond sombre */
.xrp-download-inner .anim_line span {
  opacity: 0.08;
}

/* ============================================================
   COL GAUCHE — TEXTE
   ============================================================ */

.xrp-download-text {
  position: relative;
  z-index: 2;
}

/* Eyebrow variante claire (fond sombre) */
.xrp-eyebrow--light {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: var(--xrp-white) !important;
}

.xrp-download-text h2 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--xrp-white);
  margin-bottom: 18px;
}

.xrp-download-text h2 span {
  color: var(--xrp-orange);
}

.xrp-download-text > p {
  font-family: var(--xrp-font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 28px;
}

/* --- Checklist --- */
.xrp-download-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xrp-download-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--xrp-font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.xrp-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--xrp-white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

/* --- Boutons store sur fond sombre --- */
.xrp-download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  list-style: none;
  margin-bottom: 30px;
}

/* Variante blanc (fond sombre) */
.xrp-btn-store--light-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: var(--xrp-radius-btn);
  font-family: var(--xrp-font-body);
  text-decoration: none;
  transition: var(--xrp-transition);
  border: 2px solid transparent;
  min-width: 180px;
  cursor: pointer;
  background: var(--xrp-white);
  color: var(--xrp-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.xrp-btn-store--light-primary svg {
  flex-shrink: 0;
}

.xrp-btn-store--light-primary span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 700;
}

.xrp-btn-store--light-primary span small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  display: block;
}

.xrp-btn-store--light-primary:hover {
  background: var(--xrp-orange);
  color: var(--xrp-white);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(247, 147, 26, 0.4);
  transform: translateY(-3px);
  text-decoration: none;
}

/* Variante outline blanc */
.xrp-btn-store--light-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: var(--xrp-radius-btn);
  font-family: var(--xrp-font-body);
  text-decoration: none;
  transition: var(--xrp-transition);
  min-width: 180px;
  cursor: pointer;
  background: transparent;
  color: var(--xrp-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.xrp-btn-store--light-secondary svg {
  flex-shrink: 0;
}

.xrp-btn-store--light-secondary span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 700;
}

.xrp-btn-store--light-secondary span small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  display: block;
}

.xrp-btn-store--light-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--xrp-white);
  color: var(--xrp-white);
  transform: translateY(-3px);
  text-decoration: none;
}

/* --- Social proof --- */
.xrp-download-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xrp-download-stars {
  color: var(--xrp-orange);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}

.xrp-download-proof p {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.xrp-download-proof p strong {
  color: var(--xrp-white);
}

/* ============================================================
   COL DROITE — MOCKUP
   ============================================================ */

.xrp-download-mockup {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
  padding-bottom: 20px;
}

/* Cercle décoratif derrière les écrans */
.xrp-download-circle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* --- Écrans --- */
.xrp-download-screens {
  position: relative;
  width: 260px;
  height: 400px;
}

.xrp-download-screen {
  position: absolute;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.xrp-download-screen--back {
  width: 200px;
  top: 20px;
  left: -20px;
  opacity: 0.75;
  transform: rotate(-6deg);
  z-index: 1;
}

.xrp-download-screen--front {
  width: 220px;
  bottom: 0;
  right: -20px;
  z-index: 2;
  transform: rotate(3deg);
  animation: xrp-download-float 5s ease-in-out infinite;
}

@keyframes xrp-download-float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%       { transform: rotate(3deg) translateY(-12px); }
}

/* --- Badges flottants --- */
.xrp-download-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--xrp-white);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  z-index: 10;
  animation: xrp-float 4s ease-in-out infinite;
  white-space: nowrap;
}

.xrp-download-badge--top {
  top: 30px;
  left: -10px;
  animation-delay: 0s;
}

.xrp-download-badge--bottom {
  bottom: 40px;
  right: -10px;
  animation-delay: 2s;
}

.xrp-download-badge-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.xrp-download-badge strong {
  display: block;
  font-family: var(--xrp-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--xrp-dark);
  line-height: 1.2;
}

.xrp-download-badge small {
  display: block;
  font-family: var(--xrp-font-body);
  font-size: 11px;
  color: var(--xrp-text-muted);
  line-height: 1.3;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .xrp-download-inner {
    padding: 50px 30px;
    border-radius: 24px;
  }

  .xrp-download-mockup {
    margin-top: 48px;
    min-height: 340px;
  }

  .xrp-download-badge--top,
  .xrp-download-badge--bottom {
    display: none;
  }
}

@media (max-width: 767px) {
  .xrp-download-inner {
    padding: 40px 22px;
    border-radius: 20px;
  }

  .xrp-download-text h2 {
    font-size: 1.6rem;
  }

  .xrp-download-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .xrp-btn-store--light-primary,
  .xrp-btn-store--light-secondary {
    min-width: unset;
    width: 100%;
    max-width: 260px;
  }

  .xrp-download-screens {
    width: 220px;
    height: 340px;
  }

  .xrp-download-screen--back {
    width: 170px;
  }

  .xrp-download-screen--front {
    width: 190px;
  }
}

.xrp-download-section  { overflow: hidden; }
.xrp-download-inner    { overflow: hidden; }

/* ============================================================
   XRecharge+ — Footer & Modales Légales
   À ajouter dans custom.css
   Prefix: xrp-footer-  |  xrp-modal-
   ============================================================ */

/* ============================================================
   FOOTER — STRUCTURE GÉNÉRALE
   ============================================================ */

.xrp-footer {
  position: relative;
  background: var(--xrp-dark);
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   TOP FOOTER
   ============================================================ */

.xrp-footer-top {
  position: relative;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

/* Lignes d'animation — très discrètes sur fond sombre */
.xrp-footer-top .anim_line span {
  opacity: 0.05;
}

/* ============================================================
   COL 1 — BRAND
   ============================================================ */

.xrp-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.xrp-footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.xrp-footer-tagline {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
  margin: 0;
}

/* Contact liste */
.xrp-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xrp-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xrp-footer-contact-icon {
  font-size: 15px;
  line-height: 1;
  opacity: 0.7;
}

.xrp-footer-contact a {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--xrp-transition);
}

.xrp-footer-contact a:hover {
  color: var(--xrp-orange);
}

/* Réseaux sociaux */
.xrp-footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.xrp-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--xrp-transition);
}

.xrp-social-btn:hover {
  background: var(--xrp-blue);
  border-color: var(--xrp-blue);
  color: var(--xrp-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 95, 232, 0.35);
}

/* ============================================================
   COLONNES LIENS
   ============================================================ */

.xrp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.xrp-footer-heading {
  font-family: var(--xrp-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--xrp-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.xrp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.xrp-footer-links li a {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--xrp-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xrp-footer-links li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--xrp-blue);
  opacity: 0;
  transition: opacity var(--xrp-transition);
  flex-shrink: 0;
}

.xrp-footer-links li a:hover {
  color: var(--xrp-white);
  padding-left: 4px;
}

.xrp-footer-links li a:hover::before {
  opacity: 1;
}

/* ============================================================
   COL 4 — BOUTONS TÉLÉCHARGEMENT
   ============================================================ */

.xrp-footer-app-text {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

.xrp-footer-app-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xrp-footer-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: var(--xrp-radius-btn);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--xrp-white);
  text-decoration: none;
  transition: var(--xrp-transition);
}

.xrp-footer-app-btn svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.xrp-footer-app-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: var(--xrp-font-body);
  font-size: 14px;
  font-weight: 700;
}

.xrp-footer-app-btn span small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
  display: block;
}

.xrp-footer-app-btn:hover {
  background: var(--xrp-blue);
  border-color: var(--xrp-blue);
  color: var(--xrp-white);
  box-shadow: 0 8px 24px rgba(26, 95, 232, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ============================================================
   BOTTOM FOOTER
   ============================================================ */

.xrp-footer-bottom {
  padding: 22px 0;
  background: rgba(0, 0, 0, 0.25);
}

.xrp-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.xrp-footer-copy {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.xrp-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.xrp-footer-legal-links a {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--xrp-transition);
}

.xrp-footer-legal-links a:hover {
  color: var(--xrp-blue-light);
}

.xrp-footer-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

/* Drapeaux pays */
.xrp-footer-countries {
  display: flex;
  gap: 8px;
  font-size: 20px;
}

.xrp-footer-countries span {
  opacity: 0.7;
  transition: opacity var(--xrp-transition), transform var(--xrp-transition);
  cursor: default;
  line-height: 1;
}

.xrp-footer-countries span:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* ============================================================
   GO TOP BUTTON
   ============================================================ */

.xrp-go-top {
  bottom: 30px;
  right: 30px;
}

/* ============================================================
   MODALES LÉGALES
   ============================================================ */

.xrp-modal .modal-dialog {
  max-width: 700px;
}

.xrp-modal-content {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22) !important;
}

/* Header modale */
.xrp-modal-header {
  background: var(--xrp-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 22px 28px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xrp-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xrp-modal-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.xrp-modal-header .modal-title {
  font-family: var(--xrp-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--xrp-white);
  margin: 0;
}

.xrp-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--xrp-transition);
  padding: 0;
  flex-shrink: 0;
}

.xrp-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--xrp-white);
}

/* Body modale */
.xrp-modal-body {
  padding: 32px 28px !important;
  background: var(--xrp-white);
  max-height: 65vh;
}

.xrp-modal-date {
  font-family: var(--xrp-font-body);
  font-size: 12px;
  color: var(--xrp-text-muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26, 95, 232, 0.08);
}

.xrp-modal-section {
  margin-bottom: 24px;
}

.xrp-modal-section:last-child {
  margin-bottom: 0;
}

.xrp-modal-section h6 {
  font-family: var(--xrp-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--xrp-blue);
  margin-bottom: 10px;
}

.xrp-modal-section p {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  color: var(--xrp-text-muted);
  line-height: 1.8;
  margin: 0;
}

.xrp-modal-section p + p {
  margin-top: 8px;
}

.xrp-modal-section ul {
  padding-left: 0;
  list-style: none;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.xrp-modal-section ul li {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  color: var(--xrp-text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.xrp-modal-section ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xrp-orange);
  flex-shrink: 0;
  margin-top: 7px;
}

.xrp-modal-section a {
  color: var(--xrp-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.xrp-modal-section a:hover {
  color: var(--xrp-orange);
}

/* Footer modale */
.xrp-modal-footer {
  background: var(--xrp-bg-hero);
  border-top: 1px solid rgba(26, 95, 232, 0.08) !important;
  padding: 16px 28px !important;
  justify-content: flex-end;
}

.xrp-modal-btn-close {
  font-family: var(--xrp-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--xrp-white);
  background: linear-gradient(135deg, var(--xrp-blue) 0%, var(--xrp-blue-dark) 100%);
  border: none;
  border-radius: var(--xrp-radius-btn);
  padding: 10px 28px;
  cursor: pointer;
  transition: var(--xrp-transition);
  box-shadow: 0 4px 14px rgba(26, 95, 232, 0.3);
}

.xrp-modal-btn-close:hover {
  background: linear-gradient(135deg, var(--xrp-blue-dark) 0%, #081e6e 100%);
  box-shadow: 0 8px 24px rgba(26, 95, 232, 0.45);
  transform: translateY(-1px);
}

/* Backdrop légèrement bleuté */
.xrp-modal.show ~ .modal-backdrop,
.modal-backdrop {
  background-color: rgba(11, 17, 32, 0.75) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .xrp-footer-top {
    padding: 60px 0 40px;
  }
}

@media (max-width: 767px) {
  .xrp-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .xrp-footer-countries {
    font-size: 18px;
  }

  .xrp-modal-body {
    padding: 24px 18px !important;
  }

  .xrp-modal-header {
    padding: 18px 18px !important;
  }

  .xrp-modal-footer {
    padding: 14px 18px !important;
  }

  .xrp-footer-app-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .xrp-footer-app-btn {
    flex: 1 1 auto;
    min-width: 150px;
  }
}

/* ============================================================
   XRecharge+ — Pages Légales (CGU & Confidentialité)
   À ajouter dans custom.css
   Prefix: xrp-legal-
   ============================================================ */

/* ============================================================
   HERO LÉGAL
   ============================================================ */

.xrp-legal-hero {
  position: relative;
  background: var(--xrp-dark);
  padding: 100px 0 70px;
  overflow: hidden;
}

/* Blob déco */
.xrp-legal-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(26, 95, 232, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(247, 147, 26, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

.xrp-legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

/* Lien retour */
.xrp-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--xrp-font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color var(--xrp-transition);
}

.xrp-legal-back:hover {
  color: var(--xrp-blue-light);
}

/* Eyebrow — variante claire */
.xrp-legal-hero .xrp-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

/* Titre */
.xrp-legal-hero h1 {
  font-family: var(--xrp-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--xrp-white);
  line-height: 1.18;
  margin-bottom: 18px;
}

.xrp-legal-hero h1 span {
  color: var(--xrp-blue-light);
}

/* Sous-titre */
.xrp-legal-hero > .container > .xrp-legal-hero-inner > p {
  font-family: var(--xrp-font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Méta badges */
.xrp-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.xrp-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--xrp-font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 30px;
}

/* ============================================================
   CONTENT SECTION
   ============================================================ */

.xrp-legal-content {
  padding: 80px 0 100px;
  background: var(--xrp-bg-hero);
}

/* ============================================================
   SOMMAIRE LATÉRAL (sticky)
   ============================================================ */

.xrp-legal-toc {
  position: sticky;
  top: 100px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.1);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 6px 24px rgba(26, 95, 232, 0.07);
}

.xrp-legal-toc-title {
  font-family: var(--xrp-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xrp-text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26, 95, 232, 0.08);
}

.xrp-legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xrp-legal-toc ul li a {
  display: block;
  font-family: var(--xrp-font-body);
  font-size: 13px;
  color: var(--xrp-text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--xrp-transition);
  line-height: 1.4;
}

.xrp-legal-toc ul li a:hover {
  background: rgba(26, 95, 232, 0.06);
  color: var(--xrp-blue);
  padding-left: 14px;
}

/* ============================================================
   DOCUMENT PRINCIPAL
   ============================================================ */

.xrp-legal-doc {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Section */
.xrp-legal-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(26, 95, 232, 0.07);
  position: relative;
  scroll-margin-top: 100px;
}

.xrp-legal-section:last-child {
  border-bottom: none;
}

/* Numéro de section */
.xrp-legal-section-num {
  font-family: var(--xrp-font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(26, 95, 232, 0.06);
  line-height: 1;
  position: absolute;
  top: 32px;
  right: 0;
  letter-spacing: -0.03em;
  user-select: none;
  pointer-events: none;
}

/* Titre h2 */
.xrp-legal-section h2 {
  font-family: var(--xrp-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--xrp-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.xrp-legal-section h2::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--xrp-blue) 0%, var(--xrp-blue-light) 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Paragraphes */
.xrp-legal-section p {
  font-family: var(--xrp-font-body);
  font-size: 15px;
  color: var(--xrp-text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.xrp-legal-section p:last-child {
  margin-bottom: 0;
}

.xrp-legal-section p strong {
  color: var(--xrp-dark);
  font-weight: 600;
}

.xrp-legal-section p a {
  color: var(--xrp-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--xrp-transition);
}

.xrp-legal-section p a:hover {
  color: var(--xrp-orange);
}

/* Listes */
.xrp-legal-section ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.xrp-legal-section ul li {
  font-family: var(--xrp-font-body);
  font-size: 15px;
  color: var(--xrp-text-muted);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.08);
  border-radius: 10px;
}

.xrp-legal-section ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xrp-blue);
  flex-shrink: 0;
  margin-top: 8px;
}

.xrp-legal-section ul li strong {
  color: var(--xrp-dark);
}

/* Alerte / encart */
.xrp-legal-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(247, 147, 26, 0.07);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-left: 4px solid var(--xrp-orange);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}

.xrp-legal-alert--info {
  background: rgba(26, 95, 232, 0.05);
  border-color: rgba(26, 95, 232, 0.15);
  border-left-color: var(--xrp-blue);
}

.xrp-legal-alert > span {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.xrp-legal-alert p {
  margin: 0 !important;
  font-size: 14px !important;
}

/* Cards de contact */
.xrp-legal-contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.xrp-legal-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--xrp-white);
  border: 1px solid rgba(26, 95, 232, 0.12);
  border-radius: 14px;
  padding: 14px 20px;
  text-decoration: none;
  flex: 1 1 200px;
  box-shadow: 0 4px 16px rgba(26, 95, 232, 0.06);
  transition: var(--xrp-transition);
}

.xrp-legal-contact-card:hover {
  border-color: var(--xrp-blue);
  box-shadow: 0 8px 28px rgba(26, 95, 232, 0.14);
  transform: translateY(-2px);
  text-decoration: none;
}

.xrp-legal-contact-card > span {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.xrp-legal-contact-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xrp-legal-contact-card strong {
  font-family: var(--xrp-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--xrp-dark);
  display: block;
}

.xrp-legal-contact-card small {
  font-family: var(--xrp-font-body);
  font-size: 12px;
  color: var(--xrp-text-muted);
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .xrp-legal-hero {
    padding: 80px 0 50px;
  }

  .xrp-legal-content {
    padding: 56px 0 70px;
  }

  .xrp-legal-section-num {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .xrp-legal-hero h1 {
    font-size: 1.7rem;
  }

  .xrp-legal-section {
    padding: 28px 0;
  }

  .xrp-legal-section ul li {
    padding: 9px 12px;
    font-size: 14px;
  }

  .xrp-legal-contact-cards {
    flex-direction: column;
  }

  .xrp-legal-contact-card {
    flex: 1 1 100%;
  }
}

/* ============================================================
   XRecharge+ — Header
   Prefix: xrp-header- / xrp-nav-
   ============================================================ */

/* ============================================================
   FIX OVERFLOW-X GLOBAL
   overflow-x sur html/body uniquement — ne pas toucher aux
   sections pour ne pas casser le slider et les cartes flottantes.
   ============================================================ */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  /* Compense la hauteur du header fixed */
  padding-top: 72px;
}

/* ============================================================
   FIX DOUBLE ESPACEMENT HERO
   Le body a padding-top:72px ET .xrp-banner avait padding-top:40px
   → on annule le padding-top du banner pour éviter le double espace.
   ============================================================ */

.banner_section.xrp-banner {
  padding-top: 0 !important;
}

/* Ancres one-page */
section[id], div[id] {
  scroll-margin-top: 80px;
}

/* ============================================================
   FIX HEADER TOUJOURS VISIBLE
   Le template original anime le header (top: -200px au chargement).
   On force la visibilité permanente.
   ============================================================ */

header {
  top: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* ============================================================
   HEADER BASE
   ============================================================ */

.xrp-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 245, 255, 0.70);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  transition:
    background      0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow      0.35s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.35s ease;
}

/* Glassmorphism renforcé au scroll */
.xrp-header--scrolled {
  background: rgba(240, 245, 255, 0.90) !important;
  backdrop-filter: blur(22px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(200%) !important;
  box-shadow:
    0 1px 0 rgba(26, 95, 232, 0.08),
    0 8px 32px rgba(26, 95, 232, 0.10);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.xrp-navbar {
  height: 72px;
  flex-wrap: nowrap;
}

/* ============================================================
   LIENS NAV
   ============================================================ */

.xrp-nav-links .xrp-nav-link {
  font-family: var(--xrp-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--xrp-dark) !important;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.xrp-nav-links .xrp-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--xrp-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.xrp-nav-links .xrp-nav-link:hover,
.xrp-nav-links .xrp-nav-link--active {
  color: var(--xrp-blue) !important;
}

.xrp-nav-links .xrp-nav-link:hover::after,
.xrp-nav-links .xrp-nav-link--active::after {
  transform: scaleX(1);
}

/* ============================================================
   BOUTON CTA
   ============================================================ */

.xrp-nav-links .xrp-nav-cta {
  font-family: var(--xrp-font-body) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--xrp-blue) 0%, var(--xrp-blue-dark) 100%);
  padding: 10px 26px !important;
  border-radius: 50px !important;
  margin-left: 10px;
  box-shadow: 0 6px 20px rgba(26, 95, 232, 0.35);
  letter-spacing: 0.04em;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform  0.25s ease;
  white-space: nowrap;
}

.xrp-nav-links .xrp-nav-cta::after {
  display: none !important;
}

.xrp-nav-links .xrp-nav-cta:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xrp-blue-dark) 0%, #081e6e 100%);
  box-shadow: 0 10px 28px rgba(26, 95, 232, 0.5);
  transform: translateY(-2px);
}

/* ============================================================
   BURGER MOBILE
   ============================================================ */

.xrp-nav-toggler {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.xrp-nav-toggler:hover {
  background: rgba(26, 95, 232, 0.08);
}

.xrp-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.xrp-burger span {
  display: block;
  height: 2px;
  background: var(--xrp-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.xrp-burger span:nth-child(2) { width: 18px; }

.xrp-nav-toggler--open .xrp-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.xrp-nav-toggler--open .xrp-burger span:nth-child(2) {
  opacity: 0;
}
.xrp-nav-toggler--open .xrp-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   OVERLAY MOBILE
   ============================================================ */

.xrp-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.xrp-nav-overlay--visible {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 991px)
   ============================================================ */

@media (max-width: 991px) {

  .xrp-nav-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .xrp-nav-menu {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    background: var(--xrp-white);
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    padding: 90px 20px 40px;
    z-index: 999;
    box-shadow: -8px 0 40px rgba(11, 17, 32, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex !important;
    visibility: visible !important;
    height: 100% !important;
  }

  .xrp-nav-menu--open {
    transform: translateX(0) !important;
  }

  .xrp-nav-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px;
    width: 100%;
  }

  .xrp-nav-links .nav-item {
    width: 100%;
  }

  .xrp-nav-links .xrp-nav-link {
    display: block;
    width: 100%;
    font-size: 16px !important;
    padding: 12px 16px !important;
    border-radius: 10px;
  }

  .xrp-nav-links .xrp-nav-link::after {
    display: none;
  }

  .xrp-nav-links .xrp-nav-cta {
    display: block !important;
    text-align: center;
    margin-left: 0 !important;
    margin-top: 16px;
    padding: 13px 22px !important;
    font-size: 15px !important;
    width: 100%;
  }

  /* Sur mobile le banner peut garder un petit padding */
  .banner_section.xrp-banner {
    padding-top: 20px !important;
  }
}

/* ============================================================
   FIX cartes flottantes — overflow-x
   Les stat-cards ont left:-130px/right:-130px.
   On les cache sous 1200px (déjà fait dans xrp-custom.css
   pour < 991px — on étend à 1200px).
   ============================================================ */

@media (max-width: 1200px) {
  .xrp-stat-card--left,
  .xrp-stat-card--right {
    display: none;
  }
}

.banner_section.xrp-banner { padding-top: 0 !important; }

.features_section .feature_detail .feature_img {
    display: flex;
    justify-content: center;
}

.features_section .feature_detail .feature_img img {
    width: 59%;
    border-radius: 16px;
}

@media (max-width: 767px) {
  .features_section .feature_detail .feature_img img {
        width: 98%;
        border-radius: 16px;
    }
}

/* ============================================================
   SERVICES — Phone frame central
   ============================================================ */

.xrp-services-section .feature_img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.xrp-services-section .feature_img::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 61%;
  height: 104%;
  background: var(--xrp-dark);
  border-radius: 42px;
  z-index: 0;
  box-shadow:
    0 0 0 2px #2a2a3a,
    0 0 0 4px #1a1a2e,
    0 30px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
    .xrp-services-section .feature_img::before {
        width: 100%;
    }
}

/* Bouton power (droite) */
.xrp-services-section .feature_img::after {
  content: '';
  position: absolute;
  right: 18.2%;
  top: 28%;
  width: 4px;
  height: 48px;
  background: #2a2a3a;
  border-radius: 0 3px 3px 0;
  z-index: 10;
  box-shadow: 0 28px 0 #2a2a3a;
}

.xrp-services-section .feature_img img {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  width: 90%;
}

/* Encoche (notch) */
.xrp-services-section .feature_img .xrp-notch {
  position: absolute;
  top: 0.8%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 22px;
  background: var(--xrp-dark);
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

/* Boutons volume (gauche) */
.xrp-services-section .feature_img .xrp-vol {
  position: absolute;
  left: 18.1%;
  top: 22%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xrp-services-section .feature_img .xrp-vol span {
  display: block;
  width: 4px;
  border-radius: 3px 0 0 3px;
  background: #2a2a3a;
}

.xrp-services-section .feature_img .xrp-vol span:first-child { height: 28px; }
.xrp-services-section .feature_img .xrp-vol span:last-child  { height: 44px; }

#features {
    margin-bottom: 8em;
}

@media (max-width: 767px) {
    #features {
        margin-bottom: 0;
    }
}

#frmae_slider img {
    border-radius: 35px;
}

.xrp-header {
    padding-bottom: 1em;
}

.banner_section .banner_slider #frmae_slider, .banner_section .banner_slider .slider_frame {
    margin-top: 2em;
}

.about_app_section .about_img img {
    margin-left: 4em;
}

@media (max-width: 767px) {
    .about_app_section .about_img img {
        margin-left: 0;
    }
}

/* ============================================================
   PRELOADER
   ============================================================ */

#xrp-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--xrp-bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#xrp-preloader.xrp-pre--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.xrp-pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Logo avec pulse */
.xrp-pre-logo {
  animation: xrp-pre-pulse 1.6s ease-in-out infinite;
}

.xrp-pre-logo img {
  height: 60px;
  width: auto;
}

@keyframes xrp-pre-pulse {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%       { transform: scale(1.06); opacity: 0.75; }
}

/* Barre de progression */
.xrp-pre-bar {
  width: 180px;
  height: 4px;
  background: rgba(26, 95, 232, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.xrp-pre-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--xrp-blue), var(--xrp-orange));
  animation: xrp-pre-fill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes xrp-pre-fill {
  0%   { width: 0%;   }
  60%  { width: 75%;  }
  100% { width: 100%; }
}

/* Label */
.xrp-pre-label {
  font-family: var(--xrp-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--xrp-text-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Points clignotants */
.xrp-pre-dots::after {
  content: '';
  animation: xrp-pre-dots 1.4s steps(4, end) infinite;
}

@keyframes xrp-pre-dots {
  0%   { content: '';    }
  25%  { content: '.';   }
  50%  { content: '..';  }
  75%  { content: '...'; }
  100% { content: '';    }
}

/* ============================================================
   XRecharge+ — Footer Mobile Fix v3
   Remplace toutes les versions précédentes dans custom.css
   ============================================================ */

@media (max-width: 991px) {

  /* ── Toutes les colonnes : pleine largeur, empilées ── */
  .xrp-footer-top .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* ── Brand : aligné gauche ── */
  .xrp-footer-brand {
    align-items: flex-start;
    text-align: left;
  }

  .xrp-footer-tagline {
    max-width: 100%;
  }

  .xrp-footer-contact {
    align-items: flex-start;
  }

  .xrp-footer-social {
    justify-content: flex-start;
    /* Marge sous les icônes sociales avant les colonnes suivantes */
    margin-bottom: 8px;
  }

  /* ── Séparation visuelle entre social et navigation ── */
  .xrp-footer-top .row > .col-lg-2 {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* ── Colonnes liens : alignées gauche, espacement réduit ── */
  .xrp-footer-col {
    gap: 14px;
    align-items: flex-start;
    text-align: left;
  }

  .xrp-footer-heading {
    font-size: 13px;
  }

  .xrp-footer-links {
    gap: 10px;
  }

  .xrp-footer-links li a {
    font-size: 14px;
  }

  /* ── Télécharger : boutons côte à côte, gauche ── */
  .xrp-footer-app-btns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }

  .xrp-footer-app-btn {
    flex: 1 1 auto;
    max-width: 220px;
  }

  /* ── Bottom footer : tout centré ── */
  .xrp-footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .xrp-footer-legal-links {
    justify-content: center;
  }

  .xrp-footer-countries {
    justify-content: center;
  }

}

/* ============================================================
   XRecharge+ — Pages Légales — Fix alignement mobile
   À ajouter à la fin du bloc xrp-legal- dans custom.css
   ============================================================ */

@media (max-width: 991px) {

  /* Hero : tout à gauche */
  .xrp-legal-hero-inner {
    text-align: left;
  }

  .xrp-legal-hero h1,
  .xrp-legal-hero p {
    text-align: left;
  }

  .xrp-legal-meta {
    justify-content: flex-start;
  }

  .xrp-legal-hero .xrp-eyebrow {
    align-self: flex-start;
  }

  /* Document : tout à gauche */
  .xrp-legal-section,
  .xrp-legal-section h2,
  .xrp-legal-section p,
  .xrp-legal-section ul,
  .xrp-legal-section li,
  .xrp-legal-alert {
    text-align: left;
  }

  .xrp-legal-section h2 {
    justify-content: flex-start;
  }

  .xrp-legal-contact-cards {
    justify-content: flex-start;
  }

  .xrp-legal-contact-card {
    text-align: left;
  }

}

.xrp-legal-hero,
.xrp-legal-content {
  text-align: left;
}