:root {
  --bleu: #0066ff;
  --bleu-dark: #004ec4;
}

body {
  background: #f5f9ff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* ---------- BANDEAU SUPÉRIEUR ---------- */
.top-bar {
  background: var(--bleu);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 1002;
}

/* Ticker dans la top-bar */
.top-bar .ticker-wrap {
  height: auto;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.top-bar .ticker {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
  display: inline-block;
}

.top-bar .ticker__item {
  padding: 0 2rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.top-bar .ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

/* ---------- HEADER PRINCIPAL ---------- */
.main-header {
  background: #fff;
  border-bottom: 1px solid #e0e9ff;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1001;
}

/* ---------- LOGOS HEADER ---------- */
.header-logo {
  height: 46px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.25));
  transition: transform 0.45s;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Ajustement hauteur ticker pour centrage vertical */
.ticker-wrap {
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  position: relative;
}

.ticker {
  font-family: "Manrope", sans-serif;
  display: inline-block;
  padding-left: 100%;
  animation: ticker-desktop 25s linear infinite;
  font-size: 1.2rem;
  color: var(--bleu-dark);
  font-weight: 500;
}

.ticker__item {
  display: inline-block;
  padding: 0 3rem;
}

.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

@keyframes ticker-desktop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ---------- MENU DE NAVIGATION ---------- */
.main-nav {
  background: #fff;
  border-bottom: 1px solid #e0e9ff;
  transition: all 0.3s ease;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  color: var(--bleu-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.nav-menu a:hover {
  color: var(--bleu);
  background: rgba(0, 102, 255, 0.05);
}

.nav-menu a.active {
  color: var(--bleu);
  background: rgba(0, 102, 255, 0.1);
  font-weight: 600;
}

/* Style pour le lien "Sécurisé mon coupon" */
.nav-menu a[href="#recharge-form"] {
  background: var(--bleu);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50rem;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.nav-menu a[href="#recharge-form"]:hover {
  background: var(--bleu-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
}

/* Bouton menu hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--bleu-dark);
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1003;
}

.menu-toggle:hover {
  color: var(--bleu);
}

/* ---------- OVERLAY POUR MENU MOBILE ---------- */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ---------- MOBILE : ≤ 768 px ---------- */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.3rem 0;
  }

  .top-bar .ticker {
    font-size: 0.8rem;
  }

  .top-bar .ticker__item {
    padding: 0 1.5rem;
  }

  /* Menu responsive */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
  }

  /* Ajustements header pour mobile */
  .main-header .container {
    position: relative;
  }

  .logo-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 4rem; /* Plus d'espace pour le bouton menu */
  }

  .header-logo {
    height: 36px;
  }

  .ticker-wrap {
    height: auto;
    margin-top: 0.5rem;
  }

  .ticker {
    font-size: 1rem;
    padding-left: 0;
    animation: ticker-mobile 20s linear infinite;
  }

  @keyframes ticker-mobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  /* Menu mobile styles */
  .main-nav.d-sm-none {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
    display: block !important;
  }

  .main-nav.d-sm-none.open {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    height: auto;
    gap: 0;
    position: static;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    transition: none;
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 1.2rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    font-size: 1.1rem;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0;
  }

  .nav-menu a:hover {
    background: rgba(0, 102, 255, 0.05) !important;
  }

  .nav-menu a[href="#recharge-form"] {
    background: var(--bleu) !important;
    color: white !important;
    margin: 1.5rem 2rem !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 50rem !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25) !important;
    border: none !important;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  /* Cacher le menu de desktop */
  .d-none.d-sm-block .main-nav {
    display: none !important;
  }
}

/* ---------- MOBILE : ≤ 576 px ---------- */
@media (max-width: 576px) {
  .top-bar {
    padding: 0.2rem 0;
  }

  .top-bar .ticker {
    font-size: 0.7rem;
  }

  .top-bar .ticker__item {
    padding: 0 1rem;
  }

  .logo-line span.fs-5 {
    font-size: 1rem !important;
  }

  .header-logo {
    height: 40px;
  }

  .nav-menu a {
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

/* ---------- DESKTOP : > 768 px ---------- */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .menu-overlay {
    display: none !important;
  }

  .main-nav {
    display: block !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .nav-menu {
    display: flex !important;
    height: 60px !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
  }

  .nav-menu li {
    opacity: 1 !important;
    transform: none !important;
    width: auto !important;
  }

  .nav-menu a {
    padding: 0.5rem 1rem !important;
    border-bottom: none !important;
    font-size: 0.95rem !important;
    display: inline-block !important;
  }

  .nav-menu a[href="#recharge-form"] {
    margin: 0 !important;
    padding: 0.5rem 1.5rem !important;
  }

  /* Cacher le menu mobile */
  .main-nav.d-sm-none {
    display: none !important;
  }
}

/* ---------- HERO SWIPER ---------- */
.hero-swiper {
  position: relative;
}
.swiper-hero {
  width: 100%;
  height: 50vh;
  min-height: 400px;
}
.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
}
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.swiper-slide .container {
  z-index: 2;
}
.swiper-slide h2 {
  font-size: 2.2rem;
}
.swiper-slide p {
  font-size: 1.1rem;
}

/* Boutons de nav */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Pagination */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Mobile Swiper */
@media (max-width: 768px) {
  .swiper-slide h2 {
    font-size: 1.8rem;
  }
  .swiper-slide p {
    font-size: 1rem;
  }
  .swiper-hero {
    height: 45vh;
    min-height: 350px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .swiper-slide h2 {
    font-size: 1.6rem;
  }
  .swiper-slide p {
    font-size: 0.95rem;
  }
  .swiper-hero {
    height: 40vh;
    min-height: 300px;
  }
}

@media (min-width: 992px) {
  .swiper-hero {
    height: 60vh;
    min-height: 500px;
  }
}

/* ---------- SPONSORS SECTION ---------- */
.sponsors {
  overflow: hidden;
}

.sponsors .card {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsors .card-img-top {
  object-fit: contain;
  max-height: 80px;
  width: auto;
  margin: auto;
  padding: 1rem;
}

/* Responsive sponsors */
@media (max-width: 768px) {
  .sponsors .row-cols-2 {
    row-cols: 2 !important;
  }

  .sponsors .card {
    min-height: 100px;
  }

  .sponsors .card-img-top {
    max-height: 70px;
    padding: 0.75rem;
  }

  .sponsors h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 576px) {
  .sponsors .row-cols-2 {
    row-cols: 2 !important;
  }

  .sponsors .card {
    min-height: 90px;
  }

  .sponsors .card-img-top {
    max-height: 60px;
    padding: 0.5rem;
  }

  .sponsors h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem !important;
  }
}

/* ---------- FORMULAIRE RECHARGE ---------- */
.recharge-form {
  background: #fff;
  padding: 3rem 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.12);
  margin: 2rem auto;
  max-width: 1200px;
}

/* Responsive formulaire */
@media (max-width: 768px) {
  .recharge-form {
    padding: 2rem 1rem;
    margin: 1.5rem 0.5rem;
    border-radius: 1rem;
  }

  .recharge-form h2 {
    font-size: 1.75rem;
  }

  .col-md-12.ms-5 {
    margin-left: 0 !important;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .recharge-form {
    padding: 1.5rem 0.75rem;
    margin: 1rem 0.25rem;
    border-radius: 0.75rem;
  }

  .recharge-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem !important;
  }

  .form-control,
  .form-select {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .recharge-form .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* boutons montant */
.btn-outline-blue {
  color: var(--bleu);
  border-color: var(--bleu);
  border-radius: 50rem;
  padding: 0.55rem 0;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-outline-blue:hover,
.btn-outline-blue.active {
  background: var(--bleu);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

/* champs */
.form-label {
  font-weight: 500;
  color: var(--bleu-dark);
  margin-bottom: 0.35rem;
}
.form-control {
  border: 1.5px solid #d0e2ff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
  border-color: var(--bleu);
  box-shadow: 0 0 0 0.1rem rgba(0, 102, 255, 0.2);
}

.form-check-input:checked {
  background-color: var(--bleu);
  border-color: #198754;
}

/* bouton principal */
.recharge-form .btn-primary {
  border-radius: 50rem;
  padding: 0.65rem 2.5rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
}
.recharge-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* ---------- FORMULAIRE MULTI-CODES ---------- */
.form-control,
.form-select {
  border: 1.5px solid #d0e2ff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--bleu);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.2);
}
.code-montant-row {
    display: flex;
    flex-direction: column; /* empile les enfants verticalement */
    gap: 5px; /* espace entre select et input */
    margin-bottom: 10px;
    align-items: stretch; /* pour que select et input prennent toute la largeur */
}

.code-montant-row select,
.code-montant-row input {
    width: 100%; /* s'assure qu'ils remplissent la ligne */
}


.hide-mode input[type="text"],
.hide-mode input[type="number"] {
  -webkit-text-security: disc;
}

/* ---------- FOOTER ---------- */
footer {
  background: #f8f9fa;
  border-top: 1px solid #e0e9ff;
  margin-top: 3rem;
}

.payment-methods {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
}

.payment-methods img {
  height: 30px;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.payment-methods img:hover {
  transform: scale(1.1);
}

/* Responsive footer */
@media (max-width: 768px) {
  footer {
    margin-top: 2rem;
    padding: 1.5rem 0 !important;
  }

  .payment-methods {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .payment-methods img {
    height: 25px;
    margin: 0 3px;
  }

  .d-inline-block.align-middle.me-1 img {
    width: 150px;
    height: auto;
  }
}

@media (max-width: 576px) {
  footer {
    margin-top: 1.5rem;
    padding: 1rem 0 !important;
  }

  .payment-methods {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .payment-methods img {
    height: 22px;
    margin: 0 2px;
  }

  .d-inline-block.align-middle.me-1 img {
    width: 120px;
  }

  .small {
    font-size: 0.75rem !important;
  }
}

/* ---------- ANIMATIONS ET EFFETS ---------- */
.animate-card {
  width: 100%;
  height: 100px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.animate-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

/* Container responsive */
.container-fluid,
.container {
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus visible */
:focus {
  outline: 2px solid var(--bleu);
  outline-offset: 2px;
}

/* Skip to main content */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bleu);
  color: white;
  padding: 8px;
  z-index: 1004;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
}

/* Style pour le bouton back to top */
.btn-back-to-top {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: none !important;
  z-index: 999 !important;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3) !important;
  transition: opacity 0.3s ease !important;
}

/* Empêcher le body de scroll quand le menu est ouvert */
body.menu-open {
  overflow: hidden;
}

/* ===== SECTION TEMOIGNAGES ===== */
.testimonials {
  background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
  border-radius: 1.5rem;
  margin: 3rem auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
}

.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #e0e9ff;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .testimonial-content {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.testimonial-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid #e0e9ff;
}

@media (min-width: 768px) {
  .testimonial-image {
    margin: 0;
    width: 100px;
    height: 100px;
  }
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-text p {
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--bleu-dark);
  margin-bottom: 0.25rem;
}

.testimonial-date {
  font-size: 0.85rem;
  color: #777;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Responsive testimonials */
@media (max-width: 767px) {
  .testimonials {
    margin: 2rem 0.5rem;
    padding: 2rem 1rem;
    border-radius: 1rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .testimonials {
    margin: 1.5rem 0.25rem;
    padding: 1.5rem 0.75rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-image {
    width: 100px;
    height: 100px;
  }
}

/* ===== SECTION CONTACT ===== */
.contact-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 1.5rem;
  margin: 3rem auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.05);
}

.contact-form-card,
.contact-info-card,
.faq-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
  border: 1px solid #e0e9ff;
  height: 100%;
}

.contact-form-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%);
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bleu);
  font-size: 1.25rem;
}

.contact-content h5 {
  color: var(--bleu-dark);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-link {
  color: var(--bleu);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--bleu-dark);
  text-decoration: underline;
}

/* Accordéon FAQ */
.accordion-button {
  background-color: #f8fbff;
  color: var(--bleu-dark);
  font-weight: 500;
  padding: 1rem 1.25rem;
  border: 1px solid #e0e9ff;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(0, 102, 255, 0.1);
  color: var(--bleu);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--bleu);
  box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.2);
}

.accordion-body {
  padding: 1rem 1.25rem;
  background-color: #f8fbff;
  border: 1px solid #e0e9ff;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
}

.accordion-item {
  border: none;
  margin-bottom: 0.75rem;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

/* Bouton de soumission */
#contactForm .btn-primary {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50rem;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
  transition: all 0.3s ease;
}

#contactForm .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
}

/* Responsive contact */
@media (max-width: 992px) {
  .contact-section {
    margin: 2rem 0.5rem;
    padding: 2rem 1rem;
    border-radius: 1rem;
  }

  .contact-form-card,
  .contact-info-card,
  .faq-card {
    padding: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .contact-section {
    margin: 1.5rem 0.25rem;
    padding: 1.5rem 0.75rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-icon {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .contact-form-card,
  .contact-info-card,
  .faq-card {
    padding: 1.25rem !important;
  }

  .contact-section h2 {
    font-size: 1.75rem;
  }

  .contact-section .lead {
    font-size: 1rem;
  }
}/* ===== BOUTON REMBOURSEMENT ===== */
.btn-remboursement {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50rem !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-remboursement:hover {
    background: linear-gradient(135deg, #218838 0%, #1ba87e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.35) !important;
}

.btn-remboursement.active {
    background: linear-gradient(135deg, #1e7e34 0%, #198c6b 100%) !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Bouton mobile intégré dans la ligne des logos */
.btn-remboursement-mobile {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 50rem !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.25) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin: 0 0.3rem !important;
    flex-shrink: 0 !important;
    min-width: fit-content !important;
}

.btn-remboursement-mobile:hover {
    background: linear-gradient(135deg, #218838 0%, #1ba87e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.35) !important;
    color: white !important;
}

/* Texte des boutons mobile - versions différentes */
.btn-remboursement-mobile .btn-text-full {
    display: inline !important;
}

.btn-remboursement-mobile .btn-text-short {
    display: none !important;
}

/* Ajustement de la ligne des logos pour mobile */
.logo-line {
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
    gap: 0.5rem !important;
}

/* Ajustement pour les logos dans la ligne mobile */
.logo-line .header-logo {
    height: 36px !important;
    flex-shrink: 0 !important;
    max-width: 35% !important;
    object-fit: contain !important;
}

/* Ajustements responsive pour mobile */
@media (max-width: 768px) {
    /* Assure que le menu-toggle est bien positionné */
    .menu-toggle {
        position: absolute !important;
        right: 1rem !important;
        top: 1rem !important;
        z-index: 1003 !important;
    }
    
    /* Ajustement des logos pour faire de la place au bouton */
    .logo-line {
        padding-right: 3.5rem !important; /* Espace pour le menu hamburger */
    }
    
    /* Ajustement des logos pour mobile */
    .logo-line .header-logo {
        height: 32px !important;
        max-width: 30% !important;
    }
    
    /* Bouton mobile pour tablette et grands mobiles */
    .btn-remboursement-mobile {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
        margin: 0 0.2rem !important;
    }
}

@media (max-width: 576px) {
    /* Version courte du texte pour mobiles moyens */
    .btn-remboursement-mobile .btn-text-full {
        display: none !important;
    }
    
    .btn-remboursement-mobile .btn-text-short {
        display: inline !important;
    }
    
    .btn-remboursement-mobile {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
        margin: 0 0.15rem !important;
    }
    
    .logo-line .header-logo {
        height: 30px !important;
        max-width: 28% !important;
    }
    
    /* Ajuster l'espace pour le menu hamburger */
    .logo-line {
        padding-right: 3rem !important;
    }
}

@media (max-width: 480px) {
    /* Version encore plus compacte pour petits mobiles */
    .btn-remboursement-mobile {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
        margin: 0 0.1rem !important;
    }
    
    .btn-remboursement-mobile i {
        margin-right: 0.2rem !important;
    }
    
    .logo-line .header-logo {
        height: 28px !important;
        max-width: 25% !important;
    }
}

@media (max-width: 380px) {
    /* Version minimale pour très petits écrans */
    .btn-remboursement-mobile {
        padding: 0.3rem 0.4rem !important;
        font-size: 0.65rem !important;
    }
    
    .btn-remboursement-mobile i {
        margin-right: 0.1rem !important;
    }
    
    .logo-line .header-logo {
        height: 26px !important;
    }
}

@media (max-width: 320px) {
    /* Dernier recours pour très très petits écrans */
    .btn-remboursement-mobile .btn-text-short {
        display: none !important;
    }
    
    .btn-remboursement-mobile {
        padding: 0.3rem !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }
    
    .btn-remboursement-mobile i {
        margin: 0 !important;
        font-size: 0.9rem !important;
    }
    
    .logo-line .header-logo {
        height: 24px !important;
        max-width: 22% !important;
    }
}

/* Masquer le bouton mobile sur desktop */
@media (min-width: 769px) {
    .btn-remboursement-mobile {
        display: none !important;
    }
}

/* Ajustement pour le menu desktop */
.desktop-remb-btn {
    margin: 0 0.5rem !important;
}