/* === BANDEAU DON MARQUEE === */
.don-marquee {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  /*z-index: 200;*/
  background: linear-gradient(90deg, #0070ba 0%, #2ea568 100%);
  color: #fff;
  padding: 0.45rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.don-marquee-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  overflow: hidden;
}

.don-marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: don-marquee-scroll 14s linear infinite;
}

@keyframes don-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-60%); }
}


.don-marquee:hover {
  background: linear-gradient(90deg, #005ea6 0%, #217a4f 100%);
  color: #fff;
  text-decoration: none;
}
/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

/* === Variables === */
:root {
  --vert:        #2ea568;
  --vert-clair:  #eaf7f0;
  --vert-fonce:  #18583a;
  --vert-moyen:  #217a4f;
  --beige:       #f6f1e6;
  --beige-fonce: #e8dfcf;
  --texte:       #132018;
  --texte-clair: #58685d;
  --accent:      #d78f2c;
  --accent-soft: #fbead1;
  --ink-soft:    #29352d;
  --blanc:       #ffffff;
  --rouge:       #e53e3e;
  --orange:      #dd6b20;
  --bleu:        #2b6cb0;
  --ombre-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --ombre:       0 4px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --ombre-lg:    0 10px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
  --max-width:   1140px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fabGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.35), 0 12px 28px rgba(15, 23, 42, 0.22); }
  70% { box-shadow: 0 0 0 14px rgba(244, 63, 94, 0), 0 12px 28px rgba(15, 23, 42, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0), 0 12px 28px rgba(15, 23, 42, 0.22); }
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--beige);
  color: var(--texte);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* p {
  max-width: 66ch;
} */

body.page-ready .hero-content {
  animation: fadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

img { max-width: 100%; display: block; }
a { color: var(--vert-fonce); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === NAVIGATION === */
header {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vert-fonce);
  text-decoration: none !important;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(24, 88, 58, 0.18);
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(30,107,69,0.3);
}

.nav-logo span { color: #1e5d3f; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.15rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--texte);
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--vert-clair);
  color: var(--vert-fonce);
  text-decoration: none;
}

.nav-links a.active { font-weight: 600; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--vert-fonce);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--vert-fonce) 0%, var(--vert-moyen) 55%, #4caf78 100%);
  color: var(--blanc);
  text-align: center;
  padding: 6rem 2rem 7rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 70% 60%, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.35rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .bi {
  font-size: 0.9rem;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  opacity: 0.88;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-badge {
  animation: softFloat 4s ease-in-out infinite;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg { display: block; width: 100%; }

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

.btn-blanc {
  background: var(--blanc);
  color: var(--vert-fonce);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-blanc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn-vert {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-moyen));
  color: var(--blanc);
  box-shadow: 0 4px 14px rgba(30,107,69,0.3);
}

.btn-vert:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,107,69,0.4);
}

.btn-paypal {
  background: linear-gradient(135deg, #0070ba, #003087);
  color: var(--blanc);
  box-shadow: 0 8px 20px rgba(0, 61, 136, 0.26);
}

.btn-paypal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 61, 136, 0.34);
}

.btn-paypal .bi {
  font-size: 1rem;
}

.btn-paypal-large {
  width: fit-content;
  margin-top: 0.6rem;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2rem;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0,0,0,0.04);
  gap: 1rem;
  max-width: var(--max-width);
  margin: -3rem auto 0;
}

.stat-item { text-align: center; padding: 0.5rem 1rem; }

.stat-item:not(:last-child) {
  border-right: 1px solid var(--beige-fonce);
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--vert-fonce);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--texte-clair);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* === SECTIONS === */
.section {
  max-width: var(--max-width);
  margin: 4.5rem auto;
  padding: 0 2rem;
}

.type-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 2rem;
  align-items: end;
}

.section-header {
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  column-gap: 2rem;
  row-gap: 0.35rem;
}

.favorites-page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  background: #1d6945;
  color: var(--blanc);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--transition);
  align-self: flex-end;
  white-space: nowrap;
  margin-bottom: 2rem;
}

.favorites-page-link:hover {
  background: #c53030;
  transform: translateY(-2px);
  box-shadow: var(--ombre);
  text-decoration: none;
  color: var(--blanc);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--texte);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--texte-clair);
  margin-top: 0.6rem;
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.65;
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
}

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(19, 32, 24, 0.08);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(19, 32, 24, 0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-lg);
}

.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.1rem;
}

.card-icon-wrap .bi {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--vert-fonce);
}

.card-icon-wrap {
  background: linear-gradient(145deg, #33a86b, #1f7c4d);
  box-shadow: 0 8px 18px rgba(31, 124, 77, 0.25);
}

.card-icon-wrap.vert,
.card-icon-wrap.orange,
.card-icon-wrap.bleu,
.card-icon-wrap.rouge {
  background: linear-gradient(145deg, #33a86b, #1f7c4d);
}

.card-icon-wrap.vert   { background: var(--vert-clair); }
.card-icon-wrap.orange { background: #fff7ed; }
.card-icon-wrap.bleu   { background: #ebf8ff; }
.card-icon-wrap.rouge  { background: #fff5f5; }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.card p { color: var(--texte-clair); font-size: 0.95rem; line-height: 1.65; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vert-fonce);
}

.card-link .arrow {
  transition: transform var(--transition);
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}
.card:hover .card-link .arrow { transform: translateX(4px); }

/* === ALIMENTS === */
.aliments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.aliments-card {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.aliments-ok { border-top: 4px solid var(--vert); }
.aliments-non { border-top: 4px solid var(--rouge); }

.aliments-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--beige-fonce);
}

.aliments-ok h3 { color: var(--vert-fonce); }
.aliments-non h3 { color: var(--rouge); }

.aliments-card ul { list-style: none; }

.aliments-card ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--beige-fonce);
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--texte);
}

.aliments-card ul li:last-child { border-bottom: none; }

.aliments-ok ul li::before  { content: '✓'; color: var(--vert); font-weight: 700; flex-shrink: 0; }
.aliments-non ul li::before { content: '✕'; color: var(--rouge); font-weight: 700; flex-shrink: 0; }

/* === RECETTES === */
.recettes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.recette-card {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.recette-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-lg);
}

.recette-image {
  width: 100%;
  height: 185px;
  display: block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #e9ecef;
}

.recette-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms ease;
}

.recette-card:hover .recette-image img {
  transform: scale(1.06);
}

.recette-image.pancakes   { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.recette-image.granola    { background: linear-gradient(135deg, #ffd89b 0%, #c9a227 100%); }
.recette-image.avocat     { background: linear-gradient(135deg, #c6f6d5 0%, #68d391 100%); }
.recette-image.bolognaise { background: linear-gradient(135deg, #fed7d7 0%, #fc8181 100%); }
.recette-image.poulet     { background: linear-gradient(135deg, #fefcbf 0%, #f6e05e 100%); }
.recette-image.lentilles  { background: linear-gradient(135deg, #fed7aa 0%, #f97316 100%); }
.recette-image.saumon     { background: linear-gradient(135deg, #bee3f8 0%, #63b3ed 100%); }
.recette-image.galettes   { background: linear-gradient(135deg, #e9d8fd 0%, #b794f4 100%); }
.recette-image.bowl       { background: linear-gradient(135deg, #c6f6d5 0%, #48bb78 100%); }
.recette-image.chocolat   { background: linear-gradient(135deg, #c8a97c 0%, #6b3f10 100%); }
.recette-image.cookies    { background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%); }
.recette-image.pannacotta { background: linear-gradient(135deg, #e9d8fd 0%, #d6bcfa 100%); }

.recette-image span {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
  display: inline-block;
}

.recette-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 30, 18, 0.38), rgba(7, 30, 18, 0.06));
}

.recipe-count {
  font-size: 0.92rem;
  color: var(--texte-clair);
  font-weight: 600;
}

.recette-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  color: #8f5b12;
  border-radius: 50px;
  padding: 0.18rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.recette-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.recette-card-body .ingredients {
  font-size: 0.86rem;
  color: var(--texte-clair);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.recette-card-body .instruction {
  font-size: 0.9rem;
  color: var(--texte);
  line-height: 1.65;
  flex: 1;
  opacity: 0.85;
}

.recette-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--texte-clair);
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--beige-fonce);
  font-weight: 500;
}

/* === CONSEILS === */
.conseil-card {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 1.75rem 2rem;
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--bleu);
  transition: transform var(--transition), box-shadow var(--transition);
}

.conseil-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-lg);
}

.conseil-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 0.5rem;
}

.conseil-card p { color: var(--texte-clair); font-size: 0.97rem; line-height: 1.75; }
.conseil-card strong { color: var(--texte); }

/* === ALERTE === */
.alerte {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

.alerte strong {
  color: var(--orange);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

/* === ASTUCES === */
.astuce-card {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.astuce-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-lg);
}

.astuce-num {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert));
  color: var(--blanc);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(30,107,69,0.3);
}

.astuce-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.astuce-card p { color: var(--texte-clair); font-size: 0.95rem; line-height: 1.65; }

/* === PAGE BANNER === */
.page-banner {
  background: linear-gradient(150deg, var(--vert-fonce) 0%, var(--vert-moyen) 60%, var(--vert) 100%);
  color: var(--blanc);
  padding: 5rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-banner-content { position: relative; z-index: 1; }

.page-banner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-banner p {
  margin: 0.75rem auto 0;
  opacity: 0.88;
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.7;
}

.page-banner-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}

.page-banner-wave svg { display: block; width: 100%; }

/* === FOOTER === */
footer {
  background: linear-gradient(180deg, #14231a, #0d1611);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.footer-logo img {
  width: 34px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blanc);
  text-decoration: none;
}

hr.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1.5rem 0;
}

.disclaimer {
  font-size: 0.78rem;
  opacity: 0.4;
  max-width: 520px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

.footer-legal-links {
  margin-top: -0.4rem;
}

.footer-donate-wrap {
  margin-bottom: 1.1rem;
}

.footer-donate-wrap .btn {
  min-width: 190px;
  justify-content: center;
}

.don-cta {
  display: grid;
  gap: 0.7rem;
}

.don-cta .section-subtitle {
  grid-column: auto;
  grid-row: auto;
  max-width: 64ch;
  margin-top: 0;
}

.don-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.don-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.don-card {
  background: var(--blanc);
  border: 1px solid rgba(19, 32, 24, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--ombre-sm);
  padding: 1.4rem;
}

.don-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.don-card ul {
  margin-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.don-card-highlight {
  border-color: rgba(0, 112, 186, 0.28);
  background: linear-gradient(160deg, #ffffff 0%, #f1f8ff 100%);
}

.don-note {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--texte-clair);
}

/* === FILTRES RECETTES === */
.recipe-filters {
  margin-bottom: 2rem;
  background-color: #fff;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: center;
}

.recipe-filters label {
  color: var(--ink-soft);
}

.filter-checks {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-result {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--texte-clair);
  text-align: center;
}

.recipe-link {
  margin: 1rem auto;
  width: fit-content;
}

.recipe-submit-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  pointer-events: auto;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #f43f5e, #fb7185, #fb923c, #f43f5e);
  background-size: 240% 240%;
  color: var(--blanc);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  animation: fabGradientShift 6s ease infinite, fabPulse 2.6s ease-in-out infinite;
  transition: transform 220ms ease, filter 220ms ease;
}

.recipe-submit-fab:hover {
  transform: translateY(-3px) scale(1.02);
  filter: saturate(1.08) brightness(1.02);
}

.recipe-submit-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  pointer-events: none;
}

.recipe-submit-modal.is-open {
  display: block;
  pointer-events: auto;
}

.recipe-submit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 13, 0.52);
}

.recipe-submit-modal-panel {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  margin: 1.5rem auto;
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre-lg);
  padding: 1.4rem;
  z-index: 1;
}

.recipe-submit-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--beige);
  color: var(--texte);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.recipe-submit-close .bi {
  font-size: 1rem;
  line-height: 1;
}

.recipe-submit-intro {
  color: var(--texte-clair);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.recipe-submit-feedback {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}

.recipe-submit-feedback-success {
  background: var(--vert-clair);
  border: 1px solid var(--vert);
  color: var(--vert-fonce);
}

.recipe-submit-feedback-error {
  background: #fff5f5;
  border: 1px solid var(--rouge);
  color: var(--rouge);
}

.recipe-submit-form {
  display: grid;
  gap: 0.75rem;
}

.recipe-submit-form label {
  font-weight: 500;
  color: var(--ink-soft);
}

.recipe-submit-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.recipe-submit-checks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.recipe-submit-checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

/* === FICHE RECETTE === */
.recipe-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.recipe-detail-image {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  max-height: 370px;
}

.detail-list {
  margin: 0.8rem 0 1.25rem;
  padding-left: 1rem;
}

.detail-list li {
  margin-bottom: 0.45rem;
}

.detail-list.ordered {
  padding-left: 1.2rem;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Make it responsive */
  gap: 2rem; /* Increase spacing */
  align-items: start; /* Align items at the top */
}

.contact-card h2,
.legal-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 1rem; /* Increase spacing below headings */
  font-size: 1.5rem; /* Adjust font size for better readability */
}

.contact-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

/* === FAVORIS, RATINGS, PARTAGE === */
.recipe-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.recipe-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  border: 1px solid rgba(24, 88, 58, 0.12);
  box-shadow: 0 10px 30px rgba(19, 32, 24, 0.06);
  min-height: 132px;
  text-align: center;
}

.recipe-action-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert-moyen);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--vert);
  color: var(--blanc);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
  width: fit-content;
  margin: auto;
}

.btn-icon:hover {
  background: var(--vert-fonce);
  transform: translateY(-2px);
  box-shadow: var(--ombre);
}

.btn-icon.is-favorited {
  background: var(--rouge);
}

.btn-icon.is-favorited:hover {
  background: #c53030;
}

.btn-outline-shopping {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(24, 88, 58, 0.25);
  background: rgba(255, 255, 255, 0.94);
  color: var(--vert-fonce);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
  width: fit-content;
}

.btn-outline-shopping:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 88, 58, 0.45);
  box-shadow: var(--ombre-sm);
}

#add-shopping-list {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 140;
  background: linear-gradient(135deg, var(--vert), var(--vert-fonce));
  color: var(--blanc);
  border: none;
  box-shadow: 0 10px 24px rgba(19, 32, 24, 0.22);
}

#add-shopping-list:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(19, 32, 24, 0.26);
}

.recipe-inline-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--vert-fonce);
  text-decoration: none;
}

.recipe-inline-link:hover {
  text-decoration: underline;
}

.shopping-list-feedback {
  font-size: 0.8rem;
  color: var(--vert-moyen);
  min-height: 1.2em;
}

/* === Rating stars === */
.rating-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rating-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--texte);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rating-label span {
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--texte-clair);
}

.rating-stars {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: auto;
}

.star {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(221, 107, 32, 0.5);
  background: var(--blanc);
  color: var(--orange);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.star::before {
  content: '★';
}

.star.filled {
  background: linear-gradient(135deg, #f59e0b, #dd6b20);
  border-color: transparent;
  color: var(--blanc);
}

.star.hover {
  background: #fbead1;
  transform: translateY(-2px);
}

.star:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(221, 107, 32, 0.3);
}

/* === Social share buttons === */
.social-share {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: auto;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blanc);
  color: var(--texte);
  border: 1px solid rgba(19, 32, 24, 0.12);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.1rem;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.share-facebook { border-color: #1877f2; color: #1877f2; }
.share-facebook:hover { background: #1877f2; color: var(--blanc); }

.share-twitter { border-color: #1da1f2; color: #1da1f2; }
.share-twitter:hover { background: #1da1f2; color: var(--blanc); }

.share-pinterest { border-color: #e60023; color: #e60023; }
.share-pinterest:hover { background: #e60023; color: var(--blanc); }

.share-whatsapp { border-color: #25d366; color: #25d366; }
.share-whatsapp:hover { background: #25d366; color: var(--blanc); }

.share-email { border-color: var(--texte); color: var(--texte); }
.share-email:hover { background: var(--texte); color: var(--blanc); }

.shopping-root {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 88, 58, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--ombre-sm);
  padding: 1.2rem;
}

.shopping-toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.shopping-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.shopping-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(19, 32, 24, 0.1);
  border-radius: 10px;
  background: var(--blanc);
}

.shopping-item.is-checked {
  opacity: 0.65;
}

.shopping-check-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.shopping-text {
  line-height: 1.35;
}

.shopping-item.is-checked .shopping-text {
  text-decoration: line-through;
}

.shopping-qty {
  font-size: 0.82rem;
  color: var(--texte-clair);
  background: var(--beige);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.shopping-remove {
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(229, 62, 62, 0.1);
  color: #c53030;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shopping-remove:hover {
  background: rgba(229, 62, 62, 0.2);
}

@media (max-width: 640px) {
  #add-shopping-list {
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.82rem;
    padding: 0.58rem 0.85rem;
  }

  .shopping-item {
    grid-template-columns: 1fr auto;
  }

  .shopping-remove {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 900px) {
  .recipe-actions {
    grid-template-columns: 1fr;
  }

  .recipe-action-card {
    min-height: auto;
  }
}


/* === LEGAL === */
.legal-content {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  border: 1px solid rgba(0,0,0,0.04);
  padding: 2rem;
}

.legal-content p + p {
  margin-top: 0.7rem;
}

.reference-list {
  margin-left: 1rem;
}

.reference-list li + li {
  margin-top: 0.45rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0.6rem;
    overflow-y: auto;
    border-top: 1px solid rgba(19, 32, 24, 0.08);
    box-shadow: 0 10px 30px rgba(19, 32, 24, 0.12);
    height: calc(100vh - 68px);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
  }

  .brand-logo {
    width: 34px;
    height: 32px;
  }

  .footer-logo img {
    width: 30px;
    height: 34px;
  }

  .aliments-grid { grid-template-columns: 1fr; }

  .stats-bar {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--beige-fonce);
    padding-bottom: 1rem;
  }

  .hero { padding: 4rem 1.5rem 6rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 0 1.25rem; margin: 3rem auto; }
  .page-banner { padding: 3.5rem 1.5rem 5rem; }
  .type-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .section-header { grid-template-columns: 1fr; }
  .section-subtitle { grid-column: auto; grid-row: auto; max-width: 60ch; }
  .filter-grid { grid-template-columns: 1fr; }
  .recipe-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .recipe-submit-row { grid-template-columns: 1fr; }
  .don-grid { grid-template-columns: 1fr; }
  .recipe-submit-fab {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
  }
}

.faq-item{
  margin-bottom: 0.8rem;
}