/* ═══════════════════════════════════════════════════════════
   STYLE HOW IT WORKS — nouveau style dark, cohérent avec landing.css
   Chargé après styleFunctionality.css — redéfinit les styles partagés
   pour éviter tout écrasement par l'ancienne valeur
════════════════════════════════════════════════════════════ */

/* ═══════════ BASE PARTAGÉE (évite l'écrasement par l'ancienne valeur) ═══════════ */
:root {
  --vp: #764ba2; --vb: #667eea; --vc: #c4b5fd;
  --g: linear-gradient(135deg, #764ba2, #667eea);
  --bg: #0a0a14; --bg2: #0f0e1a;
  --muted: rgba(255,255,255,.5); --border: rgba(255,255,255,.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Syne', sans-serif; color: #fff; background: var(--bg); line-height: 1.75; overflow-x: hidden; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,20,.75); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 16px; padding: 14px 24px; }
.logo { flex-shrink: 0; font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: .18em; background: var(--g); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; background: var(--g); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#imgLogo { width: 28px; height: 28px; border-radius: 6px; margin-left: 0; }
.header nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 28px; font-size: .85rem; color: var(--muted); }
.header nav a { color: inherit; text-decoration: none; transition: color .15s; }
.header nav a:hover { color: #fff; }
#lang-buttons { display: flex; gap: 6px; border-left: 1px solid rgba(255,255,255,.1); padding-left: 16px; margin-left: 8px; }
.lang-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .72rem; padding: 5px 9px; border-radius: 6px; cursor: pointer; font-family: 'DM Mono', monospace; transition: all .15s; }
.lang-btn.active, .lang-btn:hover { background: rgba(167,139,250,.2); border-color: rgba(167,139,250,.4); color: var(--vc); }
.hamburger-btn { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 4px; flex-shrink: 0; }
.lang-section { display: none; }
.lang-section.active { display: block; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); background: var(--g); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; letter-spacing: .04em; text-align: center; }
.section-subtitle { text-align: center; color: rgba(255,255,255,.78); margin: 0 auto 3rem; font-size: 1.05rem; max-width: 640px; font-weight: 400; }
.back-link { display: inline-flex; align-items: center; gap: 8px; background: var(--g); color: #fff; padding: 12px 28px; border-radius: 99px; text-decoration: none; font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; margin-top: 2rem; box-shadow: 0 8px 30px rgba(118,75,162,.4); transition: transform .15s, box-shadow .15s; }
.back-link:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(118,75,162,.55); }
footer.footer { padding: 48px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-content { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: .16em; color: rgba(255,255,255,.4); }
.footer-links { display: flex; gap: 24px; font-size: .82rem; color: var(--muted); }
.footer-links a { color: inherit; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-social a:hover { color: #fff; }
.footer-copy { font-family: 'DM Mono', monospace; font-size: .75rem; color: var(--muted); }

/* ═══════════ HOW IT WORKS (spécifique) ═══════════ */
.how-it-works {
  padding: 5rem 2rem;
  width: 100%;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps { display: flex; justify-content: center; gap: 2.5rem; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.step { flex: 1; min-width: 250px; text-align: center; position: relative; }

.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  background: var(--g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: -2rem;
  letter-spacing: 2px;
}

.step-content {
  padding: 2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.adapteHauteur { min-height: 280px; height: auto; }

.step-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(118,75,162,.2);
  border-color: rgba(167,139,250,.45);
}

.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--vc);
  margin-bottom: .5rem;
  letter-spacing: .03em;
}

.step-desc { color: rgba(255,255,255,.7); line-height: 1.7; font-size: .9rem; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 760px) {
  .hamburger-btn { display: block; }
  .header nav { display: none; position: absolute; top: 57px; left: 0; right: 0; background: rgba(10,10,20,.97); backdrop-filter: blur(14px); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .header nav.nav-open { display: flex; }
  #lang-buttons { border-left: none; padding-left: 0; margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .how-it-works { padding: 3rem 1rem; }
  .steps { flex-direction: column; gap: 1.5rem; }
  .step { min-width: unset; width: 100%; }
  .adapteHauteur { min-height: unset; }
  .section-title { font-size: 2rem; }
  .section-subtitle { font-size: .95rem; }
}
@media (max-width: 600px) {
  .how-it-works { padding: 2.5rem 1rem; }
  .step-content { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .step-number { font-size: 3.5rem; }
  .step-content { border-radius: 16px; }
}


/* ═══════════════════════════════════════════════════════════
   ANCIEN STYLE (conservé) — remplacé par le style dark ci-dessus
════════════════════════════════════════════════════════════ */
/*

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; color: #333; background: #f8f9fa; line-height: 1.8; }
.header { background: rgba(255, 255, 255, 0.95); padding: 1.5rem 2rem; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1000; }
nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: black; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s; position: relative; }
.logo { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: pulse 2s ease-in-out infinite; }
.lang-section { display: none; background: white; padding: 3rem; border-radius: 20px; box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1); }
.lang-section.active { display: block; }
.back-link { background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); color: white; border-radius: 25px; font-weight: 700; display: inline-block; padding: 1rem 2rem; text-decoration: none; margin-top: 2rem; transition: background 0.3s, transform 0.2s; }
.how-it-works { padding: 5rem 2rem; width: 100%; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); display: flex; flex-direction: column; align-items: center; }
.section-title { text-align: center; margin-bottom: 1rem; font-family: 'Bangers', cursive; font-size: 3.5rem; color: #764ba2; letter-spacing: 2px; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 3rem; font-size: 1.3rem; font-weight: 500; }
.steps { display: flex; justify-content: center; gap: 3rem; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.step { flex: 1; min-width: 250px; text-align: center; position: relative; }
.step-number { font-family: 'Bangers', cursive; font-size: 5rem; color: #e63848; opacity: 0.2; margin-bottom: -2rem; letter-spacing: 2px; }
.step-content { padding: 2rem; background: linear-gradient(135deg, #fff 80%, #f8f9fa 100%); box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08); border: 2px solid #764ba2; border-radius: 50px; transition: all 0.4s; }
.step-content:hover { transform: translateY(-10px) scale(1.04); box-shadow: 0 20px 50px rgba(230, 56, 72, 0.2); border-color: #e63848; }
.step-icon { font-size: 3rem; margin-bottom: 1rem; }
.step-title { font-size: 1.3rem; font-weight: 800; color: #0063a3; margin-bottom: 0.5rem; }
.step-desc { color: #666; line-height: 1.6; }
.footer { background: linear-gradient(135deg, #4a7fd6 0%, #5e8eea 100%); color: #fff; padding: 3rem 2rem; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a { color: white; text-decoration: none; transition: color 0.3s; }
.hamburger-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #764ba2; padding: 0.3rem 0.5rem; line-height: 1; border-radius: 8px; transition: background 0.2s; }
@keyframes pulse { 0% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.08); filter: brightness(1.2); } 100% { transform: scale(1); filter: brightness(1); } }

*/
