/* ================================================
   MonHymne — Landing Page Styles
   Mobile-first, festive, warm
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-purple: #7C3AED;
  --brand-pink: #DB2777;
  --brand-orange: #EA580C;
  --brand-amber: #F59E0B;
  --bg-warm: #FFFBF7;
  --bg-lavender: #F5F0FF;
  --bg-dark: #1C1033;
  --text-dark: #1C1033;
  --text-mid: #4A3F6B;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-card: 0 4px 24px rgba(124,58,237,0.10);
  --shadow-hover: 0 8px 40px rgba(124,58,237,0.18);
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Utilities ---- */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
  color: var(--brand-purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,251,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,58,237,0.08);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo span { font-weight: 400; opacity: 0.7; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  border: none;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(124,58,237,0.45); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-purple);
  color: var(--brand-purple);
}
.btn-outline:hover { background: var(--bg-lavender); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-white {
  background: var(--white);
  color: var(--brand-purple);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3B0764 0%, #7C3AED 35%, #DB2777 70%, #EA580C 100%);
  padding: 80px 0 100px;
  text-align: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: #FDE68A;
}
.hero-badge .dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #FDE68A, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 3vw, 1.2rem);
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.hero-social-proof {
  margin-top: 48px;
  opacity: 0.8;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.hero-social-proof strong { color: #FDE68A; }

/* ---- Audio Gallery ---- */
.audio-section {
  padding: 80px 0;
  background: var(--bg-warm);
}
.audio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .audio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .audio-grid { grid-template-columns: repeat(3, 1fr); } }

.audio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.audio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.audio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.audio-card.style-rap::before { background: linear-gradient(90deg, #F59E0B, #EF4444); }
.audio-card.style-pop::before { background: linear-gradient(90deg, #DB2777, #7C3AED); }
.audio-card.style-corporate::before { background: linear-gradient(90deg, #059669, #0284C7); }
.audio-card.style-ete::before { background: linear-gradient(90deg, #EA580C, #F59E0B); }
.audio-card.style-emotion::before { background: linear-gradient(90deg, #7C3AED, #DB2777); }

.audio-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.audio-art {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.style-rap .audio-art { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.style-pop .audio-art { background: linear-gradient(135deg, #FCE7F3, #F9A8D4); }
.style-corporate .audio-art { background: linear-gradient(135deg, #D1FAE5, #6EE7B7); }
.style-ete .audio-art { background: linear-gradient(135deg, #FFEDD5, #FED7AA); }
.style-emotion .audio-art { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }

.audio-meta { flex: 1; min-width: 0; }
.audio-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-context { font-size: 0.78rem; color: var(--text-mid); }
.audio-style-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.style-rap .audio-style-tag { background: #FEF3C7; color: #92400E; }
.style-pop .audio-style-tag { background: #FCE7F3; color: #9D174D; }
.style-corporate .audio-style-tag { background: #D1FAE5; color: #065F46; }
.style-ete .audio-style-tag { background: #FFEDD5; color: #7C2D12; }
.style-emotion .audio-style-tag { background: #EDE9FE; color: #4C1D95; }

/* Fake waveform player */
.player-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s;
  border: none;
}
.play-btn:hover { transform: scale(1.1); }
.style-rap .play-btn { background: linear-gradient(135deg, #F59E0B, #EF4444); color: white; }
.style-pop .play-btn { background: linear-gradient(135deg, #DB2777, #7C3AED); color: white; }
.style-corporate .play-btn { background: linear-gradient(135deg, #059669, #0284C7); color: white; }
.style-ete .play-btn { background: linear-gradient(135deg, #EA580C, #F59E0B); color: white; }
.style-emotion .play-btn { background: linear-gradient(135deg, #7C3AED, #DB2777); color: white; }

.waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.waveform-bar {
  flex: 1;
  border-radius: 3px;
  min-height: 4px;
  animation: wave 1.2s ease-in-out infinite alternate;
}
.style-rap .waveform-bar { background: linear-gradient(180deg, #F59E0B, #EF4444); }
.style-pop .waveform-bar { background: linear-gradient(180deg, #DB2777, #7C3AED); }
.style-corporate .waveform-bar { background: linear-gradient(180deg, #059669, #0284C7); }
.style-ete .waveform-bar { background: linear-gradient(180deg, #EA580C, #F59E0B); }
.style-emotion .waveform-bar { background: linear-gradient(180deg, #7C3AED, #DB2777); }

.waveform-bar:nth-child(1) { height: 40%; animation-delay: 0.0s; }
.waveform-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { height: 55%; animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { height: 85%; animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { height: 90%; animation-delay: 0.15s; }
.waveform-bar:nth-child(7) { height: 45%; animation-delay: 0.25s; }
.waveform-bar:nth-child(8) { height: 75%; animation-delay: 0.35s; }
.waveform-bar:nth-child(9) { height: 50%; animation-delay: 0.05s; }
.waveform-bar:nth-child(10) { height: 65%; animation-delay: 0.45s; }
.waveform-bar:nth-child(11) { height: 80%; animation-delay: 0.2s; }
.waveform-bar:nth-child(12) { height: 35%; animation-delay: 0.3s; }

@keyframes wave {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}

.audio-duration { font-size: 0.78rem; color: var(--text-light); white-space: nowrap; }
.audio-desc {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
}

.audio-note {
  margin-top: 40px;
  text-align: center;
  background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--brand-purple);
  font-weight: 600;
}

/* ---- Comment ça marche ---- */
.how-section {
  padding: 80px 0;
  background: var(--bg-lavender);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.step-icon { font-size: 2.4rem; margin-bottom: 16px; }
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.55; }

/* ---- Pour qui ---- */
.personas-section {
  padding: 80px 0;
  background: var(--bg-warm);
}
.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .personas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .personas-grid { grid-template-columns: repeat(4, 1fr); } }
.persona-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124,58,237,0.15);
}
.persona-emoji { font-size: 3rem; margin-bottom: 16px; }
.persona-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.persona-benefit {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.persona-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--bg-lavender);
  color: var(--brand-purple);
}

/* ---- Pricing ---- */
.pricing-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #3B0764 0%, #7C3AED 50%, #DB2777 100%);
  text-align: center;
  color: white;
}
.pricing-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  margin: 0 auto;
  display: inline-block;
  width: 100%;
}
.pricing-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FDE68A;
  margin-bottom: 12px;
}
.pricing-price {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sub { font-size: 1.2rem; font-weight: 500; vertical-align: baseline; }
.pricing-period { font-size: 0.95rem; opacity: 0.75; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 32px; text-align: left; }
.pricing-features li {
  padding: 8px 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: #4ADE80; font-size: 1.1rem; }
.pricing-note {
  margin-top: 24px;
  font-size: 0.8rem;
  opacity: 0.65;
}
.distribution-mention {
  margin-top: 40px;
  opacity: 0.6;
  font-size: 0.85rem;
}

/* ---- Contact Form ---- */
.contact-section {
  padding: 80px 0;
  background: var(--bg-warm);
  scroll-margin-top: 80px;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) { .contact-wrapper { grid-template-columns: 1fr 1fr; } }
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { color: var(--text-mid); line-height: 1.6; margin-bottom: 24px; }
.contact-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.contact-perks .perk-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #FAFAFA;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
  background: white;
}
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { width: 100%; margin-top: 8px; font-size: 1rem; padding: 15px; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-mid); font-size: 0.9rem; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.8;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #A78BFA, #F472B6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer a:hover { color: rgba(255,255,255,0.9); }
.footer-sep { margin: 0 8px; opacity: 0.4; }

/* ---- Scroll to demo anchor ---- */
#demo { scroll-margin-top: 80px; }
