:root {
  --yellow: #FFF275;
  --black: #000;
  --white: #FFFFFF;
  --gray-light: #f8f9fa;
  --gray-dark: #333;
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
  --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 20px;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--yellow);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* CONTAINER CENTRAL */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER AVEC MENU DÉROULANT */
header {
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--black);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* MENU DESKTOP */
.desktop-nav {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.desktop-nav a i {
  font-size: 16px;
}

/* MENU MOBILE - BOUTON HAMBURGER */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--black);
  border-radius: 3px;
  transition: var(--transition);
  position: absolute;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

/* MENU MOBILE - OVERLAY */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* MENU MOBILE - NAVIGATION */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background: var(--yellow);
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--black);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: rgba(0,0,0,0.1);
}

.mobile-nav-links {
  flex: 1;
  padding: 20px 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 30px;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(0,0,0,0.1);
  border-left-color: var(--black);
}

.mobile-nav-links a i {
  width: 24px;
  text-align: center;
  font-size: 20px;
}

.mobile-nav-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--black);
  font-weight: 600;
}

/* HERO SECTION */
.hero {
  padding: 60px 0;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-img {
  max-width: 90%;
  height: auto;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

.notification {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 20px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(0,0,0,0.1);
  max-width: 600px;
}

.notification i {
  color: #FFD700;
  font-size: 22px;
}

/* BOUTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
}

.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
  padding: 20px 40px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  box-shadow: var(--shadow);
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border: 2px solid rgba(0,0,0,0.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 2px solid rgba(0,0,0,0.1);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  background: var(--gray-light);
}

.btn-primary:active, .btn-secondary:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Effet de clic */
.btn-click-effect {
  position: absolute;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
  transform: scale(0);
  animation: clickEffect 0.5s ease-out;
  pointer-events: none;
}

@keyframes clickEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Effet de pulsation */
.pulse-on-hover:hover {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1); }
  70% { box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* BANKS MARQUEE SECTION */
.banks-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.3);
  margin: 40px 0;
  overflow: hidden;
}

.banks-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 900;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: fit-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bank-logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  padding: 20px 30px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  min-width: 200px;
}

.bank-logo:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.bank-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  object-fit: contain;
  filter: grayscale(20%);
}

.bank-logo:hover img {
  filter: grayscale(0%);
}

.bank-logo span {
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  text-align: center;
}

/* CONTENT SECTION */
.content-section {
  padding: 60px 0;
}

.section-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--shadow);
  text-align: center;
}

.section-card h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-card h2 i {
  color: #FFD700;
  font-size: 32px;
}

.section-card p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* FEATURES */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 50px 0;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: var(--gray-light);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 36px;
  color: var(--black);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-card p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 0;
}

/* CONTENT IMAGE */
.content-img {
  width: 60%;
  max-width: 100px;
  height: auto;
  border-radius: var(--border-radius);
  margin: 60px auto;
  box-shadow: var(--shadow);
  display: block;
}

/* HIGHLIGHT TEXT */
.highlight-text {
  background: linear-gradient(135deg, var(--yellow), #FFE55C);
  padding: 40px;
  border-radius: var(--border-radius);
  margin-top: 60px;
}

.highlight-text h3 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 15px;
}

.highlight-text p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--yellow);
}

.footer-section p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-section a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
}

/* ANIMATIONS */
.slide-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .marquee-track {
    animation-duration: 40s;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Cacher menu desktop, afficher menu mobile */
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
  
  .mobile-nav.active {
    right: 0;
  }
  
  /* Animations bouton hamburger */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
  }
  
  /* Ajustements responsive */
  .logo {
    font-size: 28px;
  }
  
  .notification {
    font-size: 16px;
    padding: 15px 25px;
    margin: 0 20px 30px;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero-img {
    max-width: 95%;
    margin-bottom: 30px;
  }
  
  .banks-section h2 {
    font-size: 28px;
  }
  
  .bank-logo {
    min-width: 100px;
    padding: 15px 20px;
    margin: 0 10px;
  }
  
  .bank-logo img {
    height: 50px;
  }
  
  .marquee-track {
    animation-duration: 50s;
  }
  
  .section-card {
    padding: 30px 20px;
  }
  
  .section-card h2 {
    font-size: 28px;
    flex-direction: column;
    gap: 10px;
  }
  
  .features {
    gap: 20px;
  }
  
  .feature-card {
    min-width: 100%;
  }
  
  .highlight-text {
    padding: 30px 20px;
  }
  
  .highlight-text h3 {
    font-size: 22px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .notification {
    font-size: 14px;
    padding: 12px 20px;
  }
  
  .btn-primary, .btn-secondary {
    padding: 16px 25px;
    font-size: 15px;
  }
  
  .banks-section {
    padding: 40px 0;
  }
  
  .banks-section h2 {
    font-size: 24px;
  }
  
  .bank-logo {
    min-width: 140px;
    padding: 12px 15px;
  }
  
  .bank-logo img {
    height: 40px;
  }
  
  .bank-logo span {
    font-size: 14px;
  }
  
  .section-card h2 {
    font-size: 24px;
  }
  
  .section-card p {
    font-size: 16px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i {
    font-size: 28px;
  }
}