:root {
  --red: #c0392b;
  --dark: #2b2118;
  --cream: #fdf8f2;
  --border: #e6dccb;
  --muted: #8a7c68;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark);
  padding: 16px 24px;
}
.topbar .logo {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.topbar nav { display: flex; align-items: center; gap: 14px; }
.topbar nav a { color: #e6dccb; text-decoration: none; font-size: 0.9rem; font-family: Arial, sans-serif; }
.topbar nav a:hover { color: white; }
.user-tag {
  color: white;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 999px;
}

.lang-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--dark);
  padding: 6px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lang-flag {
  font-size: 1.15rem;
  text-decoration: none;
  opacity: 0.55;
  filter: grayscale(20%);
  transition: opacity 0.15s, transform 0.15s;
  line-height: 1;
}
.lang-flag:hover { opacity: 0.9; transform: scale(1.15); }
.lang-flag.lang-active { opacity: 1; transform: scale(1.15); }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.hero { text-align: center; margin-bottom: 40px; }
.hero-cover { max-width: 220px; border-radius: 8px; margin: 0 auto 16px; display: block; }
.hero h1 { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--red); font-size: 1.8rem; margin-bottom: 4px; }
.hero .subtitle { color: var(--muted); font-style: italic; margin: 0; }

.points-forts {
  text-align: center;
  margin-bottom: 24px;
}
.point-fort {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  color: var(--muted);
  margin: 6px 0;
  font-size: 1rem;
}

.translation-notice {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  background: #f3ede0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.presentation {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  text-align: justify;
  line-height: 1.75;
  font-size: 1rem;
}

.cta-amazon, .cta-access {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.demandes-list li { align-items: flex-start; }
.demande-info { font-family: Arial, sans-serif; font-size: 0.9rem; }
.demande-traitee { opacity: 0.55; }

.section-block { margin-bottom: 32px; }
.section-block h2 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.recipe-list { list-style: none; padding: 0; margin: 0; }
.recipe-list li { border-bottom: 1px solid var(--border); }
.recipe-list a {
  display: block;
  padding: 12px 4px;
  color: var(--dark);
  text-decoration: none;
  font-size: 1.05rem;
}
.recipe-list a:hover { color: var(--red); }

.back { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-family: Arial, sans-serif; font-size: 0.9rem; }

.recipe .eyebrow {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.recipe h1 { color: var(--red); font-family: "Helvetica Neue", Arial, sans-serif; margin-top: 0; }
.recipe .infos {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.recipe-photo { width: 100%; border-radius: 8px; margin: 16px 0; }
.recipe-content h3 { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--dark); border-bottom: 1px solid var(--border); padding-bottom: 4px; }

.video-callout {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin: 20px 0;
  text-align: center;
}
.video-callout p { margin-top: 0; }
.video-player { width: 100%; border-radius: 8px; margin-top: 16px; background: black; }

.auth-box {
  max-width: 380px;
  margin: 40px auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.auth-box h1 { font-family: "Helvetica Neue", Arial, sans-serif; color: var(--red); font-size: 1.3rem; margin-top: 0; }

.form-page { display: flex; flex-direction: column; gap: 14px; font-family: Arial, sans-serif; }
.form-page label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.form-page input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}
.grid-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: white; border-color: var(--red); }

.card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 20px; font-family: Arial, sans-serif; }
.card h2 { font-size: 1rem; margin-top: 0; }

.item-list { list-style: none; padding: 0; margin: 0; font-family: Arial, sans-serif; }
.item-list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.item-list li.empty { color: var(--muted); font-style: italic; }
.item-list form { margin: 0; }
.item-actions { display: flex; align-items: center; gap: 4px; }
.btn-danger { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; }
.btn-danger:hover { color: var(--red); }
.btn-icon { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; padding: 2px 8px; }
.btn-icon:hover { color: #2e7d32; }

.admin-head { display: flex; align-items: center; justify-content: space-between; font-family: Arial, sans-serif; margin-bottom: 20px; }
.admin-head h1 { color: var(--red); }

.error { color: var(--red); font-family: Arial, sans-serif; font-size: 0.9rem; }
.success { color: #2e7d32; font-family: Arial, sans-serif; font-size: 0.9rem; }
.muted { color: var(--muted); font-family: Arial, sans-serif; font-size: 0.85rem; }

.footer { text-align: center; padding: 20px; color: var(--muted); font-family: Arial, sans-serif; font-size: 0.8rem; }

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
}
