﻿html {
  scroll-behavior: smooth;
}

/* ===== HERO BLOBS ===== */
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}
.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(239,125,0,0.12) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}
.hero-blob-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(145,123,110,0.15) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
}

/* ===== FILTRES ===== */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: #F3EEE7;
  color: #5D4F46;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.filter-btn:hover {
  border-color: #EF7D00;
  color: #EF7D00;
}
.filter-btn.active-filter {
  background-color: #EF7D00;
  color: white;
  border-color: #EF7D00;
  box-shadow: 0 4px 12px rgba(239,125,0,0.3);
}

/* ===== CARTES RECETTES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recette-card {
  animation: fadeInUp 0.45s ease both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recette-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(93,79,70,0.15);
}

/* ===== CHIPS ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  background-color: #F3EEE7;
  color: #5D4F46;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

/* ===== MODAL ===== */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-inner {
  animation: modalIn 0.25s ease both;
}

/* Scrollbar modale */
.modal-inner::-webkit-scrollbar {
  width: 6px;
}
.modal-inner::-webkit-scrollbar-track {
  background: #F3EEE7;
}
.modal-inner::-webkit-scrollbar-thumb {
  background: #EF7D00;
  border-radius: 9999px;
}