/* Menu NFC — styles page service */

.page-menu-nfc {
  overflow-x: hidden;
}

/* ── HERO ── */
.mnfc-hero {
  position: relative;
  background: linear-gradient(145deg, var(--cream) 0%, #f5f2ec 45%, var(--smoke) 100%);
  padding: 5rem 8% 4.5rem;
  border-bottom: 1px solid var(--light);
  overflow: hidden;
}

.mnfc-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 169, 138, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mnfc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.mnfc-hero-left .section-h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
}

.mnfc-hero-left .section-intro {
  max-width: 520px;
  margin-top: 1.2rem;
}

.mnfc-hero-cta {
  display: inline-flex;
  margin-top: 2rem;
}

.mnfc-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.mnfc-hero-phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(26, 28, 32, 0.12));
  will-change: transform;
  animation: mnfcPhoneFloat 3s ease-in-out infinite;
}

@keyframes mnfcPhoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mnfc-hero-tag {
  position: absolute;
  bottom: 18%;
  left: -8%;
  width: 100px;
  animation: mnfcTagFloat 2.6s ease-in-out infinite;
  animation-delay: 0.4s;
  filter: drop-shadow(0 8px 20px rgba(26, 28, 32, 0.1));
}

@keyframes mnfcTagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mnfc-hero-nfc-waves {
  position: absolute;
  top: 22%;
  right: 8%;
  opacity: 0.35;
  animation: mnfcWavePulse 2s ease-in-out infinite;
}

@keyframes mnfcWavePulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.05); }
}

/* ── REVEAL ── */
.mnfc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.mnfc-reveal.mnfc-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTIONS COMMUNES ── */
.mnfc-section {
  padding: 5rem 8%;
}

.mnfc-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.mnfc-section-header .section-label {
  margin-bottom: 1rem;
}

.mnfc-section-header .section-h2 {
  margin-bottom: 0.8rem;
}

.mnfc-section-header .section-intro {
  max-width: 640px;
  margin: 0 auto;
}

/* ── POURQUOI ── */
.mnfc-why {
  background: var(--white);
}

.mnfc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.mnfc-card {
  background: var(--cream);
  border: 1px solid rgba(184, 169, 138, 0.2);
  border-radius: 0.4rem;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.mnfc-card:hover {
  box-shadow: 0 12px 36px rgba(26, 28, 32, 0.07);
  transform: translateY(-3px);
}

.mnfc-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(184, 169, 138, 0.15);
  color: var(--gold);
  margin-bottom: 1rem;
  animation: mnfcIconBob 3s ease-in-out infinite;
}

.mnfc-card:nth-child(2) .mnfc-card-icon { animation-delay: 0.3s; }
.mnfc-card:nth-child(3) .mnfc-card-icon { animation-delay: 0.6s; }

@keyframes mnfcIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mnfc-card-icon svg {
  width: 18px;
  height: 18px;
}

.mnfc-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.mnfc-card-text {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
}

/* ── COMMENT ÇA FONCTIONNE ── */
.mnfc-how {
  background: linear-gradient(180deg, var(--smoke) 0%, var(--cream) 100%);
  border-top: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
}

.mnfc-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mnfc-step {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0 0.5rem;
}

.mnfc-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(184, 169, 138, 0.3);
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.mnfc-step-icon svg {
  width: 16px;
  height: 16px;
}

.mnfc-step-num {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.mnfc-step-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.mnfc-step-text {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.65;
}

.mnfc-step-arrow {
  flex-shrink: 0;
  align-self: center;
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0.6;
  padding-top: 1rem;
}

/* ── INCLUS + TARIF ── */
.mnfc-included-wrap {
  background: var(--white);
}

.mnfc-included-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.mnfc-included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mnfc-included-item {
  background: var(--cream);
  border: 1px solid rgba(184, 169, 138, 0.18);
  border-radius: 0.35rem;
  padding: 1.25rem 1.2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.mnfc-included-item:hover {
  box-shadow: 0 8px 24px rgba(26, 28, 32, 0.06);
  transform: translateY(-2px);
}

.mnfc-included-item-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.mnfc-included-item-text {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
}

.mnfc-pricing-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 0.4rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 16px 48px rgba(184, 169, 138, 0.18);
  position: sticky;
  top: 90px;
}

.mnfc-pricing-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  background: var(--smoke);
  border: 1px solid var(--light);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.mnfc-pricing-from {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

.mnfc-pricing-amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin: 0.2rem 0 0.5rem;
}

.mnfc-pricing-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--light);
}

.mnfc-pricing-list-title {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.mnfc-pricing-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.mnfc-pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.mnfc-pricing-list li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--gold);
  margin-top: 2px;
}

.mnfc-pricing-extra {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light);
}

.mnfc-pricing-extra strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.mnfc-pricing-card .btn-primary {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ── DÉMONSTRATION ── */
.mnfc-demo {
  background: linear-gradient(180deg, var(--cream) 0%, var(--smoke) 100%);
  border-top: 1px solid var(--light);
}

.mnfc-demo-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.mnfc-demo-step {
  flex: 1;
  text-align: center;
}

.mnfc-demo-visual {
  background: var(--white);
  border: 1px solid rgba(184, 169, 138, 0.25);
  border-radius: 0.5rem;
  padding: 1.5rem 1rem;
  margin-bottom: 1rem;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(26, 28, 32, 0.05);
  transition: transform 0.3s;
}

.mnfc-demo-step:hover .mnfc-demo-visual {
  transform: translateY(-4px);
}

.mnfc-demo-visual svg {
  width: 100%;
  max-width: 120px;
  height: auto;
}

.mnfc-demo-step:nth-child(3) .mnfc-demo-visual svg {
  animation: mnfcDemoPhone 3s ease-in-out infinite;
}

@keyframes mnfcDemoPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.mnfc-demo-text {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}

.mnfc-demo-arrow {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.6;
}

/* ── CTA FINAL ── */
.mnfc-cta {
  padding: 4.5rem 8%;
  background: var(--ink);
  color: var(--white);
}

.mnfc-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.mnfc-cta-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.mnfc-cta-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 520px;
}

.mnfc-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.mnfc-cta-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-end;
}

.mnfc-cta-perks li {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mnfc-cta-perks li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .mnfc-included-layout {
    grid-template-columns: 1fr;
  }

  .mnfc-pricing-card {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .mnfc-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mnfc-hero-left { order: 1; }
  .mnfc-hero-visual { order: 2; min-height: 300px; }

  .mnfc-why-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .mnfc-steps {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
    margin: 0 auto;
  }

  .mnfc-step-arrow { display: none; }

  .mnfc-step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(184, 169, 138, 0.2);
  }

  .mnfc-step:last-child { border-bottom: none; }

  .mnfc-step-icon,
  .mnfc-step-num { grid-column: 1; }
  .mnfc-step-icon { grid-row: 1 / 3; align-self: start; margin-bottom: 0; }
  .mnfc-step-num { align-self: end; margin-bottom: 0; }
  .mnfc-step-title,
  .mnfc-step-text { grid-column: 2; }

  .mnfc-demo-steps {
    flex-direction: column;
    max-width: 320px;
  }

  .mnfc-demo-arrow { transform: rotate(90deg); }

  .mnfc-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mnfc-cta-text { max-width: none; margin: 0 auto; }
  .mnfc-cta-action { align-items: center; }
  .mnfc-cta-perks { align-items: center; }
}

@media (max-width: 768px) {
  .mnfc-hero,
  .mnfc-section {
    padding: 4rem 6% 3rem;
  }

  .mnfc-cta { padding: 3.5rem 6%; }

  .mnfc-included-grid {
    grid-template-columns: 1fr;
  }

  .mnfc-hero-phone { animation-name: mnfcPhoneFloatMobile; }
  .mnfc-hero-tag { animation-name: mnfcTagFloatMobile; }

  @keyframes mnfcPhoneFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  @keyframes mnfcTagFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .mnfc-hero-phone,
  .mnfc-hero-tag,
  .mnfc-hero-nfc-waves,
  .mnfc-card-icon,
  .mnfc-demo-step:nth-child(3) .mnfc-demo-visual svg,
  .mnfc-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
