/* ═══════════════════════════════════════════════
   O'RÉGALE DES SAISONS — Feuille de style
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&display=swap');

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', 'Nunito', sans-serif;
  background: #f4f1eb;
  color: #333;
  min-height: 100vh;
}
::selection { background: #2e502466; color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2e502433; border-radius: 3px; }
img { max-width: 100%; display: block; }

/* ─── Animations ─── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(118,255,3,0.4); } 50% { box-shadow: 0 0 0 6px rgba(118,255,3,0); } }
@keyframes toastIn { from { transform: translateX(-50%) translateY(20px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(-50%) translateY(0); opacity: 1; } to { transform: translateX(-50%) translateY(20px); opacity: 0; } }

/* ─── Admin Banner ─── */
.admin-banner {
  background: linear-gradient(90deg, #1b5e20, #2e7d32, #43a047);
  color: #fff; padding: 9px 24px;
  display: none; align-items: center; justify-content: center;
  gap: 16px; font-size: 0.88rem; font-weight: 500;
  animation: slideDown 0.3s ease;
}
.admin-banner.visible { display: flex; flex-wrap: wrap; }
.admin-banner .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #76ff03; display: inline-block;
  animation: pulse 2s infinite;
}
.admin-banner button {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; padding: 5px 16px; border-radius: 8px;
  cursor: pointer; font-weight: 600; font-size: 0.82rem; font-family: inherit;
  transition: background 0.2s;
}
.admin-banner button:hover { background: rgba(255,255,255,0.25); }
.admin-banner .btn-logout { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

/* ─── Header ─── */
.site-header {
  background: linear-gradient(160deg, #2e5024 0%, #4a7c3f 40%, #6a994e 100%);
  position: relative; overflow: hidden;
}
.header-circle {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.header-circle-1 { top: -60px; right: -60px; width: 200px; height: 200px; background: rgba(255,255,255,0.04); }
.header-circle-2 { bottom: -30px; left: 20%; width: 120px; height: 120px; background: rgba(255,255,255,0.03); }
.header-circle-3 { top: 50%; right: 15%; width: 80px; height: 80px; background: rgba(255,183,3,0.08); }

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 22px 24px 16px; position: relative; z-index: 1;
}
.header-top {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.site-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff; font-weight: 900;
  cursor: default; user-select: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  line-height: 1.1;
}
.site-tagline {
  color: rgba(255,255,255,0.85); font-style: italic;
  margin-top: 6px; font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300; letter-spacing: 0.02em;
}
.header-admin-btns { display: none; gap: 8px; }
.header-admin-btns.visible { display: flex; }
.header-admin-btns button {
  border-radius: 12px; cursor: pointer; font-weight: 700;
  font-size: 0.88rem; font-family: inherit; color: #fff;
  padding: 10px 20px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.header-admin-btns button:hover { background: rgba(255,255,255,0.25); }
.header-admin-btns .btn-logout-header {
  padding: 10px 16px; background: rgba(230,57,70,0.2);
  border-color: rgba(230,57,70,0.4);
}
.wave-separator { display: block; width: 100%; margin-top: -1px; }

/* ─── Navigation ─── */
.main-nav { margin-top: 24px; display: flex; gap: 6px; flex-wrap: wrap; }
.nav-btn {
  padding: 11px 24px; border: none; border-radius: 12px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  font-weight: 500; cursor: pointer; font-size: 0.92rem;
  font-family: inherit; transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.nav-btn:hover { background: rgba(255,255,255,0.22); }
.nav-btn.active {
  background: rgba(255,255,255,0.95); color: #2e5024;
  font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ─── Main Content ─── */
.site-main {
  max-width: 1200px; margin: 0 auto;
  padding: 10px 24px 60px;
}
.page-section { animation: slideUp 0.4s ease; }
.page-section[hidden] { display: none; }

/* ─── Season Filter ─── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  color: #1d3557; font-size: 1.6rem; font-weight: 800;
}
.season-filter {
  display: flex; gap: 6px; background: #fff; padding: 5px;
  border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.season-btn {
  padding: 9px 20px; border: none; border-radius: 10px;
  background: transparent; color: #666; font-weight: 500;
  cursor: pointer; font-size: 0.88rem; font-family: inherit;
  transition: all 0.25s;
}
.season-btn.active-all { background: linear-gradient(135deg, #2e5024, #6a994e); color: #fff; font-weight: 700; }
.season-btn.active-ete { background: linear-gradient(135deg, #ffb703, #fb8500); color: #fff; font-weight: 700; }
.season-btn.active-hiver { background: linear-gradient(135deg, #457b9d, #1d3557); color: #fff; font-weight: 700; }

/* ─── Product Grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(46,80,36,0.08);
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  cursor: default; position: relative;
  display: flex; flex-direction: column;
  animation: slideUp 0.4s ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(46,80,36,0.15);
}
.card-badge-promo {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, #e63946, #d62828);
  color: #fff; padding: 4px 14px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(230,57,70,0.3);
}
.card-badge-season {
  border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.card-badge-season.ete { background: rgba(255,183,3,0.15); color: #e09f00; }
.card-badge-season.hiver { background: rgba(69,123,157,0.12); color: #457b9d; }

.card-pricing-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 8px; margin-top: 12px;
}

.card-image-wrap {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.card-image-wrap.ete { background: linear-gradient(135deg, #fefae0 0%, #dda15e33 100%); }
.card-image-wrap.hiver { background: linear-gradient(135deg, #e8f0f2 0%, #a8dadc55 100%); }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-emoji { font-size: 4.5rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08)); }
.card-upload-btn {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(255,255,255,0.92); border: none; border-radius: 8px;
  padding: 6px 12px; cursor: pointer; font-size: 0.75rem;
  font-weight: 600; color: #2e5024; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: none;
}
.card-remove-btn {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(230,57,70,0.9); border: none; border-radius: 8px;
  padding: 6px 10px; cursor: pointer; font-size: 0.72rem;
  font-weight: 600; color: #fff; display: none;
}
body.admin-mode .card-upload-btn { display: block; }
body.admin-mode .card-remove-btn { display: block; }

.card-info { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-name { margin: 0; font-size: 1.05rem; font-weight: 700; color: #1d3557; line-height: 1.3; }
.card-pricing { }
.card-price { font-size: 1.35rem; font-weight: 800; color: #2e5024; }
.card-unit { font-size: 0.8rem; color: #888; margin-left: 4px; }
.card-promo-desc { margin: 0 0 4px; font-size: 0.78rem; color: #e63946; font-weight: 600; line-height: 1.4; }
.card-price-old { text-decoration: line-through; color: #999; font-size: 0.95rem; }
.card-price-promo { font-size: 1.35rem; font-weight: 800; color: #e63946; }

/* ─── Contact Page ─── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 36px;
}
.contact-card {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 16px rgba(46,80,36,0.08);
}
.contact-card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-card-label { color: #2e5024; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.contact-card-value { color: #1d3557; font-size: 1.05rem; font-weight: 600; }

.rdv-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.rdv-card {
  background: linear-gradient(135deg, #fff 0%, #f0f7ec 100%);
  border-radius: 16px; padding: 24px; border: 1.5px solid #d4dcc4;
  transition: all 0.3s;
}
.rdv-card:hover { border-color: #2e5024; box-shadow: 0 8px 24px rgba(46,80,36,0.12); }
.rdv-card-title { color: #2e5024; font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.rdv-detail { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rdv-detail-label { font-size: 0.85rem; color: #888; min-width: 70px; }
.rdv-detail-value { font-weight: 600; color: #1d3557; }

/* ─── Promo Page ─── */
.promo-subtitle { color: #666; margin-bottom: 28px; font-size: 0.95rem; }
.empty-state {
  text-align: center; padding: 60px 20px; color: #888;
  background: #fff; border-radius: 16px;
}
.empty-state-icon { font-size: 3rem; }
.empty-state-text { margin-top: 12px; font-size: 1.1rem; }
.empty-state-sub { font-size: 0.9rem; color: #aaa; margin-top: 4px; }

/* ─── Footer ─── */
.site-footer {
  background: linear-gradient(160deg, #2e5024, #1a3015);
  color: rgba(255,255,255,0.7); text-align: center;
  padding: 28px 24px; font-size: 0.85rem;
}
.footer-title {
  font-family: 'Playfair Display', serif; color: #fff;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 6px;
}
.footer-copy { margin-top: 10px; font-size: 0.78rem; opacity: 0.5; }

/* ─── Toast Notification ─── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 99999; background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff; padding: 14px 28px; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(46,125,50,0.35);
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; font-family: inherit;
  white-space: nowrap; pointer-events: none;
  animation: toastIn 0.4s ease forwards;
}
.toast.hiding { animation: toastOut 0.4s ease forwards; }
.toast-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

/* ─── Modal Overlay ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.visible { display: flex; }

/* ─── Login Modal ─── */
.login-modal {
  background: #fff; border-radius: 20px; padding: 36px;
  width: min(420px, 90vw); box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  text-align: center;
}
.login-icon { font-size: 3rem; margin-bottom: 12px; }
.login-title { font-family: 'Playfair Display', serif; color: #2e5024; margin-bottom: 6px; }
.login-desc { color: #888; font-size: 0.9rem; margin-bottom: 24px; }
.login-input {
  width: 100%; padding: 14px 18px; border: 2px solid #d4dcc4;
  border-radius: 12px; font-size: 1rem; font-family: inherit;
  outline: none; text-align: center; background: #fafdf7;
  box-sizing: border-box; transition: border-color 0.2s;
}
.login-input:focus { border-color: #2e5024; }
.login-input.error { border-color: #e63946; }
.login-error { color: #e63946; font-size: 0.85rem; margin-top: 8px; display: none; }
.login-error.visible { display: block; }
.login-btns { display: flex; gap: 12px; margin-top: 20px; }
.login-btns button {
  flex: 1; padding: 12px; border-radius: 12px; cursor: pointer;
  font-weight: 600; font-family: inherit; font-size: 0.95rem; transition: all 0.2s;
}
.btn-cancel { border: 1.5px solid #ddd; background: transparent; color: #666; }
.btn-cancel:hover { border-color: #aaa; }
.btn-login {
  border: none; background: linear-gradient(135deg, #2e5024, #4a7c3f);
  color: #fff; font-weight: 700;
}
.btn-login:hover { filter: brightness(1.1); }

/* ─── Admin Panel ─── */
.admin-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.admin-overlay.visible { display: flex; }
.admin-panel {
  background: #fff; border-radius: 20px; width: min(900px, 94vw);
  max-height: 88vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.admin-header {
  padding: 20px 28px;
  background: linear-gradient(135deg, #2e5024, #4a7c3f);
  color: #fff; display: flex; justify-content: space-between;
  align-items: center; flex-shrink: 0;
}
.admin-header h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.admin-header p { margin: 4px 0 0; opacity: 0.8; font-size: 0.85rem; }
.admin-close {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  font-size: 1.3rem; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s;
}
.admin-close:hover { background: rgba(255,255,255,0.35); }

.admin-tabs {
  display: flex; border-bottom: 2px solid #eee;
  background: #fafdf7; flex-shrink: 0;
}
.admin-tab {
  flex: 1; padding: 14px; border: none; background: transparent;
  font-weight: 500; color: #888; cursor: pointer;
  font-size: 0.92rem; font-family: inherit;
  border-bottom: 3px solid transparent; transition: all 0.2s;
}
.admin-tab.active {
  background: #fff; font-weight: 700; color: #2e5024;
  border-bottom-color: #2e5024;
}
.admin-content { flex: 1; overflow: auto; padding: 24px 28px; }
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }

.admin-footer {
  padding: 14px 28px; border-top: 1px solid #eee;
  display: flex; justify-content: flex-end; background: #fafdf7; flex-shrink: 0;
}
.admin-footer button {
  background: #fff; border: 1.5px solid #ccc; color: #555;
  border-radius: 10px; padding: 10px 28px; font-weight: 600;
  cursor: pointer; font-size: 0.9rem; font-family: inherit; transition: all 0.2s;
}
.admin-footer button:hover { border-color: #2e5024; color: #2e5024; }

/* Admin form styles */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.admin-label { display: block; font-size: 0.82rem; font-weight: 600; color: #2e5024; margin-bottom: 4px; }
.admin-input, .admin-select {
  width: 100%; padding: 10px 14px; border: 1.5px solid #d4dcc4;
  border-radius: 10px; font-size: 0.92rem; font-family: inherit;
  outline: none; box-sizing: border-box; background: #fafdf7;
  transition: border-color 0.2s;
}
.admin-input:focus, .admin-select:focus { border-color: #2e5024; }
.admin-actions { display: flex; gap: 12px; margin-top: 20px; }

.btn-primary {
  background: linear-gradient(135deg, #2e5024, #4a7c3f); color: #fff;
  border: none; border-radius: 10px; padding: 10px 22px; font-weight: 700;
  cursor: pointer; font-size: 0.9rem; font-family: inherit; transition: filter 0.2s;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-danger {
  background: linear-gradient(135deg, #e63946, #d62828); color: #fff;
  border: none; border-radius: 10px; padding: 10px 22px; font-weight: 700;
  cursor: pointer; font-size: 0.9rem; font-family: inherit;
}
.btn-secondary {
  background: transparent; border: 1.5px solid #2e5024; color: #2e5024;
  border-radius: 10px; padding: 9px 22px; font-weight: 600;
  cursor: pointer; font-size: 0.9rem; font-family: inherit;
}
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

.admin-list { display: flex; flex-direction: column; gap: 6px; }
.admin-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #fafdf7; border-radius: 10px;
  border: 1px solid #e8ede3;
}
.admin-list-item-info { display: flex; align-items: center; gap: 12px; }
.admin-list-item-emoji { font-size: 1.4rem; }
.admin-list-item-name { font-weight: 600; color: #1d3557; }
.admin-list-item-meta { font-size: 0.8rem; color: #888; margin-left: 8px; }
.admin-list-item-btns { display: flex; gap: 8px; flex-shrink: 0; }

.promo-item { padding: 14px 16px; border-radius: 10px; }
.promo-item.active { background: #fef3f3; border: 1px solid #f5c6cb; }
.promo-item.draft { background: #f5f5f5; border: 1px solid #ddd; }
.promo-badge {
  font-size: 0.72rem; padding: 2px 10px; border-radius: 12px;
  color: #fff; font-weight: 600;
}
.promo-badge.active { background: #2e5024; }
.promo-badge.draft { background: #888; }
.promo-visibility-label { font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 10px; }

.rdv-edit-row {
  display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 8px; margin-bottom: 8px; align-items: end;
}

/* ─── Responsive ─── */
@media (max-width: 700px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .rdv-edit-row { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════
   PAGE ACCUEIL
   ═══════════════════════════════════════ */

.home-label {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  color: #2e5024; background: #e8f0e2; padding: 6px 16px;
  border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.02em;
}

/* Hero Banner */
.home-hero {
  position: relative; border-radius: 20px; overflow: hidden;
  min-height: 260px; display: flex; align-items: center;
  background: linear-gradient(135deg, #2e5024 0%, #4a7c3f 50%, #8cb369 100%);
  margin-bottom: 40px;
}
.home-hero-overlay {
  position: absolute; inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.2; mix-blend-mode: luminosity;
}
.home-hero-content {
  position: relative; z-index: 1; padding: 36px 40px;
  max-width: 640px;
}
.home-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem); color: #fff;
  font-weight: 900; line-height: 1.1; margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.home-hero-sub {
  color: rgba(255,255,255,0.9); font-size: 1.1rem;
  line-height: 1.6; margin-bottom: 24px; font-weight: 300;
}
.home-hero-cta {
  background: #fff; color: #2e5024; border: none;
  padding: 14px 32px; border-radius: 14px; font-weight: 700;
  font-size: 1rem; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.25s;
}
.home-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* About / Présentation */
.home-about {
  margin-bottom: 40px;
}
.home-about-title {
  font-family: 'Playfair Display', serif; color: #1d3557;
  font-size: 1.6rem; font-weight: 800; margin-bottom: 12px;
}
.home-about-desc {
  color: #555; line-height: 1.7; font-size: 0.95rem; margin-bottom: 12px;
  max-width: 760px;
}
.home-about-values {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
}
.home-value {
  display: flex; align-items: center; gap: 8px;
  background: #f0f7ec; padding: 10px 18px; border-radius: 12px;
  border: 1px solid #d4dcc4;
}
.home-value-icon { font-size: 1.2rem; }
.home-value-label { font-weight: 600; color: #2e5024; font-size: 0.88rem; }

/* Portrait du maraîcher — section autonome */
.home-portrait-section {
  margin-bottom: 48px;
  display: flex; justify-content: center;
}
.home-portrait-card {
  width: 100%; max-width: 700px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(46,80,36,0.12);
  min-height: 200px;
}
.home-portrait-card img {
  width: 100%; height: auto; display: block; max-height: 480px; object-fit: cover;
}
.home-portrait-card .home-img-empty {
  min-height: 200px;
}
.home-img-empty {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #f0f7ec, #e0edd5);
  color: #888; font-size: 0.9rem;
}
.home-img-empty span { font-size: 3rem; }
.home-img-hint { font-size: 0.75rem; color: #aaa; }

/* Gallery */
.home-gallery-section { margin-bottom: 56px; }
.home-gallery-title {
  font-family: 'Playfair Display', serif; color: #1d3557;
  font-size: 1.5rem; font-weight: 800; margin-bottom: 24px;
}
.home-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 14px;
}
.home-gallery-item {
  border-radius: 16px; overflow: hidden;
  position: relative; cursor: default;
  transition: all 0.3s;
}
.home-gallery-item:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.home-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.home-gallery-empty {
  background: linear-gradient(135deg, #f4f1eb, #e8ede3);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: #bbb; gap: 4px;
  border: 2px dashed #d4dcc4;
}
.home-gallery-empty span { font-size: 2rem; }
.home-gallery-empty p { font-size: 0.8rem; }

/* First gallery item spans 2 rows */
.home-gallery-item:first-child {
  grid-row: 1 / 3;
}

/* Video */
.home-video-section { margin-bottom: 56px; }
.home-video-title {
  font-family: 'Playfair Display', serif; color: #1d3557;
  font-size: 1.5rem; font-weight: 800; margin-bottom: 24px;
}
.home-video-wrap {
  width: 100%; max-width: 800px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.home-video-wrap iframe {
  width: 100%; aspect-ratio: 16/9; border: none; display: block;
}
.home-video-empty {
  width: 100%; aspect-ratio: 16/9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #1d3557, #2e5024);
  color: rgba(255,255,255,0.6); font-size: 0.95rem; text-align: center;
  padding: 20px;
}
.home-video-empty span { font-size: 3.5rem; }

/* CTA bar */
.home-cta-bar {
  background: linear-gradient(135deg, #2e5024, #4a7c3f);
  border-radius: 20px; padding: 40px; text-align: center;
  margin-bottom: 20px;
}
.home-cta-bar h3 {
  font-family: 'Playfair Display', serif; color: #fff;
  font-size: 1.6rem; font-weight: 800; margin-bottom: 8px;
}
.home-cta-bar p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.home-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.home-cta-btn {
  padding: 14px 32px; border-radius: 14px; font-weight: 700;
  font-size: 1rem; cursor: pointer; font-family: inherit;
  border: none; transition: all 0.25s;
}
.home-cta-btn.primary { background: #fff; color: #2e5024; }
.home-cta-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.home-cta-btn.secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.home-cta-btn.secondary:hover { background: rgba(255,255,255,0.25); }

/* Admin: accueil image upload row */
.admin-image-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; background: #fafdf7; border-radius: 10px;
  border: 1px solid #e8ede3; margin-bottom: 8px;
}
.admin-image-row img {
  width: 80px; height: 60px; object-fit: cover; border-radius: 8px;
}
.admin-image-preview-empty {
  width: 80px; height: 60px; border-radius: 8px;
  background: #e8ede3; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}

@media (max-width: 768px) {
  /* Home page */
  .home-hero { min-height: 200px; margin-bottom: 28px; }
  .home-hero-content { padding: 24px 20px; }
  .home-hero-title { margin-bottom: 10px; }
  .home-hero-sub { font-size: 0.95rem; margin-bottom: 16px; }
  .home-hero-cta { padding: 12px 24px; font-size: 0.9rem; }

  .home-about { margin-bottom: 28px; }
  .home-portrait-card img { max-height: 320px; }
  .home-about-title { font-size: 1.4rem; }

  .home-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .home-gallery-item:first-child { grid-row: 1 / 2; }

  .home-cta-bar { padding: 28px 20px; }
  .home-cta-bar h3 { font-size: 1.3rem; }

  /* Product cards — shorter image area, no zoom crop */
  .card-image-wrap { height: 150px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-info { padding: 12px 14px 16px; }
  .card-name { font-size: 0.92rem; }
  .card-price, .card-price-promo { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════
   SCROLL REVEAL — animations au défilement
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
