/* ============================================
   NORIOT MUSIQUE - Style Commun
   Palette inspirée de l'affiche officielle
   ============================================ */

/* --- Variables de couleurs (palette affiche) --- */
:root {
  --rose: #F5A9B8;
  --rose-clair: #FCE4EC;
  --orange: #E67E22;
  --orange-clair: #FAD7A0;
  --jaune: #F4D03F;
  --jaune-clair: #FCF3CF;
  --noir: #1A1A1A;
  --gris: #666666;
  --gris-clair: #F5F5F5;
  --blanc: #FFFFFF;
  --bleu-lien: #2A6EFB;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--noir);
  line-height: 1.6;
  background: var(--gris-clair);
  overflow-x: hidden;
}

/* --- Liens --- */
a {
  color: var(--bleu-lien);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--orange);
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #D35400);
  color: var(--blanc);
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #D35400, var(--orange));
}

.btn-secondary {
  background: var(--noir);
  color: var(--blanc);
}

.btn-secondary:hover {
  background: #333;
}

.btn-ghost {
  background: rgba(255,255,255,0.9);
  color: var(--noir);
  border: 2px solid var(--rose);
}

.btn-ghost:hover {
  background: var(--rose-clair);
  border-color: var(--orange);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--blanc);
}

.btn-instagram:hover {
  opacity: 0.9;
}

/* --- Cartes --- */
.card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* --- Navigation flottante --- */
.nav-float {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav-float:hover {
  transform: scale(1.1);
  background: var(--rose-clair);
}

.nav-float svg {
  width: 24px;
  height: 24px;
  color: var(--noir);
}

/* --- Progress bar --- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--jaune));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* --- Sections --- */
.section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--noir);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gris);
  margin-bottom: 40px;
  max-width: 600px;
}

/* --- Footer --- */
.site-footer {
  background: var(--noir);
  color: var(--blanc);
  padding: 48px 20px 24px;
  margin-top: 60px;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-profile-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}

.footer-profile-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.footer-profile-info p {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #666;
}

/* --- Grille de cartes --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* --- Reviews placeholder --- */
.reviews-section {
  background: linear-gradient(135deg, var(--rose-clair), var(--jaune-clair));
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}

.reviews-placeholder {
  background: var(--blanc);
  border-radius: var(--radius-sm);
  padding: 32px;
  margin-top: 20px;
  border: 2px dashed var(--rose);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 80px 40px;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Tarifs visuels --- */
.price-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--jaune));
}

.price-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  margin: 16px 0;
}

.price-period {
  font-size: 0.9rem;
  color: var(--gris);
}

/* --- Tags --- */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--rose-clair);
  color: var(--noir);
  margin: 4px;
}

.tag-orange {
  background: var(--orange-clair);
  color: #8B4513;
}

/* --- Tags instruments (page Cours) --- */
.tag-piano {
  background: #E8F0FE;
  color: var(--noir);
  border: 1px solid #A8C6FA;
}

.tag-trompette {
  background: #FFF8DC;
  color: var(--noir);
  border: 1px solid #F0D878;
}

.tag-guitare {
  background: #FAEBD7;
  color: var(--noir);
  border: 1px solid #E8C8A0;
}

.tag-basse {
  background: #FFE4E1;
  color: var(--noir);
  border: 1px solid #F5A9A9;
}

.tag-impro {
  background: #FFF0E0;
  color: var(--noir);
  border: 1px solid #F5C89A;
}

.tag-mao {
  background: #F0E8FF;
  color: var(--noir);
  border: 1px solid #D4B8F0;
}

.tag-theorie {
  background: #E0F7F5;
  color: var(--noir);
  border: 1px solid #A0E0D8;
}

.tag-tous-instruments {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border: none;
}


/* --- Hero spécial index --- */
.hero-index {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 48px 36px;
  max-width: 640px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease;
}

/* --- Formulaire embed --- */
.form-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee;
  background: var(--blanc);
}

.form-embed iframe {
  width: 100%;
  border: 0;
  display: block;
}

/* --- Info box --- */
.info-box {
  background: linear-gradient(135deg, var(--rose-clair), var(--jaune-clair));
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid var(--orange);
}

.info-box p {
  margin: 8px 0;
  font-size: 0.95rem;
}

/* --- Image placeholders --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--rose-clair), var(--jaune-clair));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--gris);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--rose);
}

/* --- CTA fixe mobile --- */
.cta-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blanc);
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: flex;
  gap: 12px;
  z-index: 100;
}

.cta-fixed .btn {
  flex: 1;
  padding: 14px;
}

@media (min-width: 768px) {
  .cta-fixed {
    display: none;
  }
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--jaune));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--blanc);
  box-shadow: 0 0 0 3px var(--orange-clair);
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--noir);
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--gris);
}
