/* ═══════════════════════════════════════════════════════════════
   MoneyMo · Master Killer Premium V2
   · Hero PHOTO PREMIUM + bleu MoneyMo ULTRA dominant
   · Couleurs MoneyMo partout (bordures, accents, ombres)
   · Optimisé Lighthouse perf 90+ (CSS pur, GPU-accelerated)
   · FAQ premium gold border, USP cards animées, footer riche
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* MoneyMo Palette MASTER */
  --mm-navy-darkest: #0B2431;
  --mm-navy-deep:    #144256;
  --mm-navy:         #1C466E;
  --mm-navy-mid:     #2A6A82;
  --mm-blue:         #3589A1;
  --mm-blue-light:   #4DA8C5;
  --mm-gold:         #C9A227;
  --mm-gold-bright:  #e0b834;
  --mm-gold-pale:    #f5c518;
  --mm-cream:        #FDFBF6;
  --mm-ivory:        #F7ECC8;
  --mm-stone:        #6B6760;
}

/* ── HERO PREMIUM avec PHOTO + OVERLAY MoneyMo ────────────── */
section.hero-zh,
section.hero-ja,
section.hero-ko,
section.hero,
section.hero-es,
section.hero-pt,
section.hero-fr {
  background:
    /* Overlay or gradient subtil top right */
    radial-gradient(ellipse at 85% 15%, rgba(201,162,39,0.18) 0%, transparent 50%),
    /* Overlay navy MoneyMo deep */
    linear-gradient(135deg, rgba(11,36,49,0.92) 0%, rgba(28,70,110,0.88) 40%, rgba(20,66,86,0.85) 100%),
    /* Photo premium */
    url('../images/homepage/demo-hosting-home-bg.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 120px 20px 100px !important;
}

@media (max-width: 768px) {
  section.hero-zh, section.hero-ja, section.hero-ko, section.hero, section.hero-es, section.hero-pt, section.hero-fr {
    background-attachment: scroll !important;
    padding: 90px 20px 70px !important;
  }
}

/* Gold accent line top du hero */
section.hero-zh::before,
section.hero-ja::before,
section.hero-ko::before,
section.hero::before,
section.hero-es::before,
section.hero-pt::before,
section.hero-fr::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--mm-gold) 25%, var(--mm-gold-pale) 50%, var(--mm-gold) 75%, transparent 100%);
  z-index: 5;
  box-shadow: 0 1px 8px rgba(201,162,39,0.5);
}

/* Decorative € floating sign */
section.hero-zh::after,
section.hero-ja::after,
section.hero-ko::after,
section.hero::after,
section.hero-es::after,
section.hero-pt::after,
section.hero-fr::after {
  content: "€";
  position: absolute;
  top: 18%; right: 6%;
  font-size: 320px;
  font-weight: 900;
  color: rgba(201,162,39,0.06);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 100px rgba(201,162,39,0.2);
  animation: mmFloatEuro 9s ease-in-out infinite;
  z-index: 0;
}
@keyframes mmFloatEuro {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.7; }
  50%      { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}

/* ── HERO H1 PREMIUM MoneyMo ──────────────────────────────── */
section.hero-zh h1,
section.hero-ja h1,
section.hero-ko h1,
section.hero h1,
section.hero-es h1,
section.hero-pt h1,
section.hero-fr h1 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  text-shadow:
    0 2px 24px rgba(0,0,0,0.5),
    0 0 80px rgba(201,162,39,0.15) !important;
  position: relative;
  z-index: 2;
  color: #FFFFFF !important;
  margin-bottom: 26px !important;
}
/* Gold accent dans h1 sur le mot clé central */
section[class*="hero"] h1 span[style*="C9A227"],
section[class*="hero"] h1 .hl {
  background: linear-gradient(135deg, var(--mm-gold-pale) 0%, var(--mm-gold-bright) 50%, var(--mm-gold-pale) 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: mmShimmerText 5s linear infinite;
  filter: drop-shadow(0 0 24px rgba(245,197,24,0.35));
}
@keyframes mmShimmerText {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── LEDE premium ─────────────────────────────────────────── */
section[class*="hero"] .lede {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4) !important;
  max-width: 860px !important;
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.96) !important;
  font-weight: 400 !important;
}

/* ── CHIPS premium MoneyMo (navy ou gold) ─────────────────── */
.chips { position: relative; z-index: 2; }
.chips .chip {
  background: rgba(11,36,49,0.5) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.95) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  padding: 9px 18px !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  position: relative;
}
.chips .chip:hover {
  background: rgba(11,36,49,0.7) !important;
  border-color: var(--mm-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,36,49,0.4), 0 0 0 1px rgba(201,162,39,0.3);
}
.chips .chip.gold {
  background: linear-gradient(135deg, var(--mm-gold) 0%, var(--mm-gold-bright) 50%, var(--mm-gold) 100%) !important;
  border-color: var(--mm-gold) !important;
  color: var(--mm-navy-darkest) !important;
  font-weight: 800 !important;
  box-shadow:
    0 6px 16px rgba(201,162,39,0.4),
    inset 0 1px 0 rgba(255,255,255,0.35) !important;
}
.chips .chip.gold:hover {
  box-shadow:
    0 10px 24px rgba(201,162,39,0.55),
    inset 0 1px 0 rgba(255,255,255,0.45) !important;
}

/* ── CTA PRIMARY — gold premium avec shimmer ──────────────── */
.cta-row { position: relative; z-index: 2; }
.cta-primary {
  background: linear-gradient(135deg, var(--mm-gold) 0%, var(--mm-gold-bright) 50%, var(--mm-gold) 100%) !important;
  background-size: 200% auto !important;
  color: var(--mm-navy-darkest) !important;
  border: 1.5px solid var(--mm-gold) !important;
  padding: 18px 40px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.02em !important;
  box-shadow:
    0 10px 28px rgba(201,162,39,0.4),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.1) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.cta-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: mmGoldSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}
.cta-primary:hover {
  background-position: right center !important;
  transform: translateY(-3px) !important;
  box-shadow:
    0 16px 36px rgba(201,162,39,0.55),
    inset 0 1px 0 rgba(255,255,255,0.5) !important;
}
@keyframes mmGoldSweep {
  0%, 100% { transform: translateX(-120%); }
  50%      { transform: translateX(120%); }
}

.cta-secondary {
  background: rgba(11,36,49,0.4) !important;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.3) !important;
  color: #FFFFFF !important;
  padding: 18px 40px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  transition: all 0.3s !important;
}
.cta-secondary:hover {
  background: rgba(11,36,49,0.65) !important;
  border-color: var(--mm-gold) !important;
  transform: translateY(-2px);
}

/* ── USP CARDS — Navy MoneyMo + Gold accent ───────────────── */
.usp-grid .usp-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%) !important;
  border: 1.5px solid rgba(28,70,110,0.12) !important;
  border-radius: 18px !important;
  padding: 32px 26px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 6px 28px rgba(11,36,49,0.07),
    0 1px 4px rgba(11,36,49,0.04) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
/* Left navy MoneyMo border accent */
.usp-grid .usp-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--mm-navy) 0%, var(--mm-blue) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
/* Top gold accent on hover */
.usp-grid .usp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--mm-gold) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.usp-grid .usp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,162,39,0.4) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 24px 56px rgba(11,36,49,0.18),
    0 4px 8px rgba(11,36,49,0.08),
    0 0 0 1px rgba(201,162,39,0.15) !important;
}
.usp-grid .usp-card:hover::before { opacity: 1; }
.usp-grid .usp-card:hover::after  { opacity: 1; }

/* ⚠ Note : -webkit-background-clip: text rend les emojis natifs (💶 🎴 💳…)
   INVISIBLES car ce sont des bitmaps colorés. On préfère drop-shadow gold
   qui garde l'emoji visible + halo doré. */
.usp-card .icon {
  font-size: 3rem !important;
  filter: drop-shadow(0 4px 14px rgba(201,162,39,0.45)) drop-shadow(0 0 22px rgba(201,162,39,0.2));
  display: inline-block;
  margin-bottom: 14px !important;
  line-height: 1;
}
/* Subtle gold accent disc behind the icon */
.usp-card .icon::before {
  content: "";
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  z-index: -1;
  margin-left: -8px; margin-top: -8px;
}

.usp-card h3 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  font-size: 1.35rem !important;
  letter-spacing: -0.005em !important;
  color: var(--mm-navy) !important;
  margin-bottom: 14px !important;
}

.usp-card p {
  color: #444 !important;
  line-height: 1.75 !important;
  font-size: 0.98rem !important;
}

/* ── FAQ PREMIUM MASTER KILLER — Gold border gradient + Navy ── */
.faq-item,
details.faq-item {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
  border: 1.5px solid rgba(28,70,110,0.1) !important;
  border-radius: 16px !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 4px 14px rgba(11,36,49,0.06),
    0 0 0 1px rgba(28,70,110,0.04) !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
/* Gold gradient border mask technique */
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(201,162,39,0.2) 20%,
    rgba(201,162,39,0.5) 50%,
    rgba(201,162,39,0.2) 80%,
    transparent 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.faq-item:hover::before,
.faq-item[open]::before { opacity: 1; }

.faq-item:hover,
.faq-item[open] {
  border-color: transparent !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 12px 32px rgba(11,36,49,0.12),
    0 4px 8px rgba(11,36,49,0.06) !important;
}

.faq-item summary {
  padding: 24px 32px !important;
  background: transparent !important;
  font-weight: 700 !important;
  color: var(--mm-navy-darkest) !important;
  font-size: 1.1rem !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  letter-spacing: -0.005em !important;
  list-style: none !important;
  cursor: pointer !important;
  position: relative !important;
  transition: color 0.2s !important;
}
.faq-item summary::-webkit-details-marker { display: none !important; }
.faq-item summary:hover { color: var(--mm-blue) !important; }
.faq-item summary::after {
  content: "+" !important;
  position: absolute !important;
  right: 32px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: linear-gradient(135deg, var(--mm-gold) 0%, var(--mm-gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.9rem !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.faq-item[open] summary::after {
  content: "−" !important;
  transform: translateY(-50%) rotate(180deg) !important;
}

.faq-item .faq-answer {
  padding: 8px 32px 28px !important;
  background: linear-gradient(180deg, transparent 0%, rgba(28,70,110,0.02) 100%) !important;
  color: #4a5560 !important;
  line-height: 1.85 !important;
  font-size: 1.02rem !important;
  border-top: 1px solid rgba(201,162,39,0.15) !important;
  margin-top: -8px;
  padding-top: 22px !important;
}
.faq-item .faq-answer strong {
  color: var(--mm-navy-darkest) !important;
  font-weight: 700 !important;
}

/* ── SECTION H2 premium éditorial ─────────────────────────── */
section[class*="section"] h2,
.section-zh h2, .section-ja h2, .section-ko h2,
.section-es h2, .section-pt h2, .section-fr h2,
.section h2 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
  letter-spacing: -0.02em !important;
  color: var(--mm-navy) !important;
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 20px !important;
}
section[class*="section"] h2::after,
.section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent 0%, var(--mm-gold) 30%, var(--mm-gold-bright) 50%, var(--mm-gold) 70%, transparent 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(201,162,39,0.3);
}

/* Section background subtle */
.section, .section-zh, .section-ja, .section-ko,
.section-es, .section-pt, .section-fr {
  position: relative;
}

/* ── STEPS premium ─────────────────────────────────────────── */
.steps-grid .step-card,
.step-card {
  background:
    radial-gradient(ellipse at top, rgba(201,162,39,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
  border: 1.5px solid rgba(28,70,110,0.1) !important;
  border-radius: 18px !important;
  padding: 36px 26px 28px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 8px 28px rgba(11,36,49,0.08) !important;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--mm-navy) 50%, transparent 100%);
  opacity: 0.4;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.3) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 18px 44px rgba(11,36,49,0.15) !important;
}
.step-num {
  background: linear-gradient(135deg, var(--mm-gold) 0%, var(--mm-gold-bright) 50%, var(--mm-gold) 100%) !important;
  box-shadow:
    0 6px 18px rgba(201,162,39,0.45),
    inset 0 1px 0 rgba(255,255,255,0.5) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 800 !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 1.4rem !important;
}
.step-card h4 {
  color: var(--mm-navy) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
}

/* ── FOOTER PREMIUM Navy MoneyMo ──────────────────────────── */
footer[class*="footer"] {
  background:
    radial-gradient(ellipse at top, rgba(201,162,39,0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--mm-navy-darkest) 0%, var(--mm-navy) 100%) !important;
  position: relative;
  padding: 70px 20px 40px !important;
}
footer[class*="footer"]::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--mm-gold) 50%, transparent 100%);
  box-shadow: 0 1px 8px rgba(201,162,39,0.4);
}
footer[class*="footer"] h3 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  font-size: 2rem !important;
  letter-spacing: -0.01em !important;
  background: linear-gradient(135deg, var(--mm-gold) 0%, var(--mm-gold-bright) 50%, var(--mm-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px !important;
}
footer[class*="footer"] p { line-height: 1.85 !important; }
footer[class*="footer"] .langs a {
  transition: all 0.25s !important;
  display: inline-block;
  padding: 6px 0;
  font-weight: 500;
}
footer[class*="footer"] .langs a:hover {
  color: var(--mm-gold) !important;
  transform: translateY(-2px);
}

/* ── ANIMATIONS subtle on-scroll ──────────────────────────── */
@keyframes mmFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section h2, .section .lead-text,
.section-zh h2, .section-ja h2, .section-ko h2,
.usp-grid .usp-card, .step-card, .faq-item {
  animation: mmFadeUp 0.7s ease-out both;
}
.usp-grid .usp-card:nth-child(2) { animation-delay: 0.08s; }
.usp-grid .usp-card:nth-child(3) { animation-delay: 0.16s; }
.usp-grid .usp-card:nth-child(4) { animation-delay: 0.24s; }
.usp-grid .usp-card:nth-child(5) { animation-delay: 0.32s; }
.usp-grid .usp-card:nth-child(6) { animation-delay: 0.4s; }

/* ── LANGUAGE SWITCHER PREMIUM ─────────────────────────────── */
.mm-langswitch {
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
}
.mm-langswitch-btn {
  padding: 11px 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%) !important;
  border: 2px solid var(--mm-gold) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  color: var(--mm-navy-darkest) !important;
  box-shadow:
    0 8px 24px rgba(11,36,49,0.22),
    0 0 0 1px rgba(201,162,39,0.3) inset !important;
}
.mm-langswitch-btn:hover {
  border-color: var(--mm-gold-bright) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 14px 32px rgba(11,36,49,0.28),
    0 0 0 1px rgba(201,162,39,0.5) inset !important;
}
.mm-langswitch-list {
  border-radius: 18px !important;
  padding: 12px !important;
  border: 1.5px solid rgba(201,162,39,0.25) !important;
  box-shadow:
    0 24px 64px rgba(11,36,49,0.3),
    0 4px 12px rgba(11,36,49,0.12),
    0 0 0 1px rgba(255,255,255,0.5) inset !important;
}
.mm-langswitch-list a {
  font-weight: 600 !important;
}
.mm-langswitch-list a.active {
  background: linear-gradient(135deg, var(--mm-gold) 0%, var(--mm-gold-bright) 50%, var(--mm-gold) 100%) !important;
  color: var(--mm-navy-darkest) !important;
  font-weight: 800 !important;
  box-shadow:
    0 6px 14px rgba(201,162,39,0.4),
    inset 0 1px 0 rgba(255,255,255,0.4) !important;
}

/* ── PAGE BG global subtle ────────────────────────────────── */
body {
  background:
    radial-gradient(ellipse at top, rgba(28,70,110,0.02) 0%, transparent 60%),
    #ffffff !important;
}

/* ── SIMULATOR SECTION KICKER GOLD PILL ───────────────────── */
section[style*="rgba(201,162,39"] div[style*="C9A227"],
section div div[style*="rgba(201,162,39"] {
  /* fallback no-op */
}

/* ── RESPONSIVE FINETUNING ────────────────────────────────── */
@media (max-width: 768px) {
  section[class*="hero"] h1, section.hero h1 {
    font-size: 2.1rem !important;
    line-height: 1.18 !important;
  }
  section[class*="hero"] .lede, section.hero .lede {
    font-size: 1.05rem !important;
  }
  .faq-item summary {
    padding: 20px 24px !important;
    font-size: 1.02rem !important;
  }
  .faq-item .faq-answer {
    padding: 8px 24px 22px !important;
  }
  .mm-langswitch { top: 14px !important; right: 14px !important; }
  .mm-langswitch-btn { padding: 8px 14px !important; font-size: 12px !important; }
  .usp-card { padding: 24px 20px !important; }
  .step-card { padding: 28px 20px 22px !important; }
}

/* ── HIGH CONTRAST text on hero ───────────────────────────── */
section[class*="hero"] {
  color: #FFFFFF !important;
}
section[class*="hero"] p,
section[class*="hero"] span,
section[class*="hero"] div {
  position: relative;
  z-index: 2;
}
