* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: #fff5f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

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

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(231, 90, 151, 0.2); }
  50% { box-shadow: 0 0 30px rgba(231, 90, 151, 0.4); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Logo ---- */
.logo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
  animation: fadeInScale 0.8s ease-out, pulseGlow 3s ease-in-out infinite;
}

/* ---- Header ---- */
header {
  background: linear-gradient(135deg, #ff9ec6, #ffb6d3, #ffd1e8, #ffb6d3);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  text-align: center;
  padding: 60px 20px 44px;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

header h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 3.6rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 1px;
  animation: slideDown 0.8s ease-out;
  position: relative;
}

.tagline {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-top: 8px;
  font-weight: 300;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

nav {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 22px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ---- Section divider ---- */
.section-divider {
  text-align: center;
  margin: 10px auto;
  color: #ffc0d9;
  font-size: 1.5rem;
  letter-spacing: 12px;
}

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

section h2 {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  font-size: 2.6rem;
  color: #e75a97;
  margin-bottom: 6px;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff9ec6, #e75a97);
  margin: 10px auto 16px;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: #999;
  margin-bottom: 36px;
  font-weight: 300;
  font-size: 0.95rem;
}

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

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

/* ---- Nail Grid ---- */
.nail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.nail-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  animation: fadeInScale 0.6s ease-out forwards;
}

.nail-card:nth-child(1) { animation-delay: 0.1s; }
.nail-card:nth-child(2) { animation-delay: 0.2s; }
.nail-card:nth-child(3) { animation-delay: 0.3s; }
.nail-card:nth-child(4) { animation-delay: 0.4s; }
.nail-card:nth-child(5) { animation-delay: 0.5s; }
.nail-card:nth-child(6) { animation-delay: 0.6s; }
.nail-card:nth-child(7) { animation-delay: 0.7s; }

.nail-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(231, 90, 151, 0.18);
}

.nail-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nail-card:hover img {
  transform: scale(1.05);
}

.nail-card h3 {
  font-family: 'Dancing Script', cursive;
  margin: 14px 0 4px;
  font-size: 1.3rem;
  color: #444;
  transition: color 0.3s ease;
}

.nail-card:hover h3 {
  color: #e75a97;
}

.nail-card .price {
  color: #e75a97;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.nail-card:hover .price {
  transform: scale(1.1);
}

/* ---- How It Works ---- */
#how-it-works {
  background: #fff;
  border-radius: 24px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.step {
  text-align: center;
  max-width: 220px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ff9ec6, #e75a97);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(231, 90, 151, 0.25);
}

.step:hover .step-number {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 25px rgba(231, 90, 151, 0.4);
}

.step h3 {
  color: #e75a97;
  margin-bottom: 6px;
  font-weight: 600;
  transition: letter-spacing 0.3s ease;
}

.step:hover h3 {
  letter-spacing: 1px;
}

.step p {
  color: #666;
  font-size: 0.9rem;
  font-weight: 300;
}

/* ---- Tuto Mesures (Timeline) ---- */
#tuto-mesures {
  background: #fff;
  border-radius: 24px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.timeline {
  max-width: 520px;
  margin: 32px auto 0;
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(to bottom, #ff9ec6, #e75a97);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #fff;
  border: 3px solid #e75a97;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-left: -50px;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(231, 90, 151, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.15);
  background: linear-gradient(135deg, #fff5f9, #ffd1e8);
  box-shadow: 0 5px 20px rgba(231, 90, 151, 0.3);
}

.timeline-content h3 {
  color: #e75a97;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.timeline-content p {
  color: #666;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
}

.mesure-order {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.finger {
  background: linear-gradient(135deg, #fff5f9, #ffd1e8);
  color: #e75a97;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 25px;
  border: 1px solid rgba(231, 90, 151, 0.15);
  transition: all 0.3s ease;
}

.finger:hover {
  background: linear-gradient(135deg, #ffd1e8, #ff9ec6);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(231, 90, 151, 0.25);
}

/* ---- Contact ---- */
.contact-card {
  max-width: 480px;
  margin: 28px auto 0;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: box-shadow 0.4s ease;
  animation: pulseGlow 3s ease-in-out infinite;
}

.contact-card:hover {
  box-shadow: 0 8px 35px rgba(231, 90, 151, 0.2);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-label {
  display: block;
  font-weight: 600;
  color: #e75a97;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.contact-value {
  color: #555;
  font-size: 1.05rem;
}

a.snap-link {
  color: #e75a97;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

a.snap-link:hover {
  color: #ff9ec6;
}

.contact-note {
  margin-top: 24px;
  color: #aaa;
  font-size: 0.88rem;
  font-weight: 300;
  font-style: italic;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ---- Smooth scroll ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .logo {
    width: 180px;
    height: 180px;
  }

  header h1 {
    font-size: 2.4rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .steps {
    gap: 28px;
  }

  .nail-grid {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 8px;
  }

  nav a {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .timeline {
    padding-left: 44px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-icon {
    margin-left: -44px;
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .mesure-order {
    gap: 8px;
  }

  .finger {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}
