:root {
--primary: #FF4D6D;
--secondary: #FFBE0B;
--accent: #3A86FF;
--dark: #1A1A2E;
--light: #FFF8F0;
--card-bg: #ffffff;
--text: #1A1A2E;
--muted: #6B6B7B;
--radius: 16px;
--radius-sm: 8px;
--shadow: 0 8px 32px rgba(26,26,46,0.10);

}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'DM Sans', 
  sans-serif; background: var(--light);
  color: var(--text); 
  min-height: 100vh; }
a { 
  text-decoration: none;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  display: flex; align-items: center; 
  justify-content: space-between;
  padding: 0 2rem; height: 64px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.5px;
  cursor: pointer;
}
.nav-logo img {
  width: 50px;
  height: 50px;
}
.nav-links { 
  display: flex; 
  gap: 0.25rem; 
}
.nav-links a {
  background: none; 
  border: none; 
  cursor: pointer;
  color: #fff; 
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; 
  font-weight: 500;
  padding: 0.45rem 1rem; 
  border-radius: 50px;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary); 
  color: #fff;
}

/*  ACCUEIL */
.hero {
  min-height: 88vh;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  text-align: center; 
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 60%, #0F3460 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,77,109,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(255,190,11,0.13) 0%, transparent 55%);
}
.hero-badge {
  display: inline-block;
  background: var(--primary); 
  color: #fff;
  font-size: 0.78rem; 
  font-weight: 600; 
  letter-spacing: 2px; 
  text-transform: uppercase;
  padding: 0.35rem 1.1rem; 
  border-radius: 50px;
  margin-bottom: 1.5rem; 
  position: relative;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem); 
  font-weight: 900;
  color: #fff; 
  line-height: 1.1; 
  margin-bottom: 1.2rem; 
  position: relative;
}
.hero h1 span { 
  color: var(--secondary); 
}
.hero p {
  font-size: 1.15rem; 
  color: rgba(255,255,255,0.72);
  max-width: 560px; 
  line-height: 1.7; 
  margin-bottom: 2.5rem; 
  position: relative;
}
.hero-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  background: none;
  box-shadow: none;
  z-index: 1;
}
.a-primary {
  background: var(--primary); 
  color: #fff;
  border: none; 
  border-radius: 50px; 
  cursor: pointer;
  font-family: 'DM Sans', sans-serif; 
  font-size: 1rem; 
  font-weight: 600;
  padding: 0.85rem 2rem; 
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(255,77,109,0.35);
}
.a-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 28px rgba(255,77,109,0.45); 
}
.a-outline {
  background: transparent; 
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35); 
  border-radius: 50px; 
  cursor: pointer;
  font-family: 'DM Sans', sans-serif; 
  font-size: 1rem; 
  font-weight: 500;
  padding: 0.85rem 2rem; 
  transition: border-color 0.15s, background 0.15s;
}
.a-outline:hover { 
  border-color: var(--secondary); 
  background: rgba(255,190,11,0.08); 
}
.services-section { 
  padding: 5rem 2rem; 
  max-width: 1100px; 
  margin: 0 auto; 
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; 
  font-weight: 900; 
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-sub { 
  text-align: center;
  color: var(--muted); 
  margin-bottom: 3rem; 
  font-size: 1rem; 
}
.services-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg); 
  border-radius: var(--radius);
  padding: 2rem 1.5rem; 
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform 0.18s;
  cursor: pointer;
  color: black;
}
.services-grid a:nth-child(2) .service-card { 
  border-top-color: var(--secondary); 
}
.service-card:hover { 
  transform: translateY(-4px); 
}
.service-icon { 
  font-size: 2.4rem; 
  margin-bottom: 1rem; 
}
.service-card h3 { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.2rem; 
  margin-bottom: 0.6rem; 
}
.service-card p { 
  color: var(--muted); 
  font-size: 0.93rem; 
  line-height: 1.6; 
}

.about-banner {
  background: var(--dark); 
  color: #fff;
  padding: 1rem 2rem; 
  text-align: center;
}
.about-banner h2 { 
  font-family: 'Playfair Display', serif; 
  font-size: 2rem; 
  margin-bottom: 1rem; 
}
.about-banner p { 
  max-width: 640px; 
  margin: 0 auto; 
  color: rgba(255,255,255,0.7); 
  line-height: 1.7; 
}

/* CATALOGUE */
.page-header {
  background: var(--dark); 
  padding: 3.5rem 2rem 2.5rem; 
  text-align: center;
}
.page-header h1 {
  font-family: 'Playfair Display', serif; 
  font-size: 2.4rem; 
  color: #fff; 
  margin-bottom: 0.5rem;
}
.page-header p {
  color: rgba(255,255,255,0.6); 
}

.search-bar-wrap { 
  max-width: 500px; 
  margin: 2rem auto; 
  padding: 0 1.5rem; 
}
.search-bar {
  width: 100%; 
  padding: 0.8rem 1.2rem; 
  border-radius: 50px;
  border: 2px solid #e0ddd8; 
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; 
  outline: none; 
  transition: border-color 0.18s;
  background: #fff;
}
.search-bar:focus { 
  border-color: var(--primary); 
}

.filter-tabs {
  display: flex; 
  gap: 0.5rem; 
  flex-wrap: wrap;
  max-width: 900px; 
  margin: 0 auto 2.5rem; 
  padding: 0 1.5rem;
}
.filter-tab {
  background: #fff; 
  border: 2px solid #e0ddd8; 
  border-radius: 50px;
  padding: 0.4rem 1.1rem; 
  font-family: 'DM Sans', sans-serif; 
  font-size: 0.88rem;
  cursor: pointer; 
  font-weight: 500; 
  transition: all 0.15s; 
  color: var(--text);
}
.filter-tab:hover, .filter-tab.active { 
  background: var(--primary); 
  border-color: var(--primary); 
  color: #fff; 
}

.catalog { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 1.5rem 4rem; 
}
.category-section { 
  margin-bottom: 3rem; 
}
.category-label {
  font-family: 'Playfair Display', serif; 
  font-size: 1.4rem;
  margin-bottom: 1.2rem; 
  display: flex; 
  align-items: center; 
  gap: 0.6rem;
}
.category-label::after {
  content: ''; 
  flex: 1; 
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
  border-radius: 1px;
}
.items-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}
.item-card {
  background: var(--card-bg); 
  border-radius: var(--radius);
  overflow: hidden; 
  box-shadow: var(--shadow); 
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid rgba(0,0,0,0.05);
}
.item-card:hover {
  transform: translateY(-4px); 
  box-shadow: 0 12px 32px rgba(0,0,0,.13);
} 
.item-img {
  width: 100%; 
  height: 160px; 
  object-fit: cover;
  background: linear-gradient(135deg, #f0e6ff, #ffe0e8);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 3rem;
}
.item-info { 
  padding: 1rem; 
}
.item-info h4 { 
  font-weight: 600; 
  margin-bottom: 0.3rem; 
  font-size: 0.97rem; 
}
.item-info p { 
  color: var(--muted); 
  font-size: 0.83rem; 
  line-height: 1.5; 
}
.item-btn {
  display: block; 
  width: 100%; 
  margin-top: 0.8rem;
  background: var(--primary); 
  color: #fff;
  border: none; 
  border-radius: 8px; 
  padding: 0.55rem;
  font-family: 'DM Sans', sans-serif; 
  font-size: 0.88rem; 
  font-weight: 600;
  cursor: pointer; 
  transition: background 0.15s;
}
.item-btn:hover { 
  background: #e63558; 
}

/* BOISSONS */
.boissons-hero {
  background: linear-gradient(135deg, #1A1A2E, #2D1B00);
  padding: 4rem 2rem; 
  text-align: center; 
  color: #fff;
}
.boissons-hero h1 {
  font-family: 'Playfair Display', serif; 
  font-size: 2.6rem;
  margin-bottom: 0.6rem; 
  color: var(--secondary);
}
.boissons-hero p { 
  color: rgba(255,255,255,0.65); 
  max-width: 540px; 
  margin: 0 auto; 
}

.reprise-banner {
  background: #e8f5e9; 
  color: #2e7d32;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.7rem;
  padding: 0.85rem 2rem; 
  font-size: 0.92rem; 
  font-weight: 500;
  border-bottom: 2px solid #c8e6c9;
}
.reprise-icon { 
  font-size: 1.1rem; 
}

.boissons-catalog {
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 2.5rem 1.5rem 4rem;
  display: flex; 
  flex-direction: column; 
  gap: 3.5rem;
}

.drink-section-header {
  display: flex; 
  align-items: center; 
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.drink-section-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.drink-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  font-weight: 900;
  color: var(--dark);
  white-space: normal;
  word-break: break-word;
}
.drink-section-line {
  flex: 1; 
  height: 2px;
  background: linear-gradient(to right, var(--secondary), transparent);
  border-radius: 1px;
}

.boissons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.bois-card {
  background: var(--card-bg); 
  border-radius: var(--radius); 
  overflow: hidden;
  box-shadow: var(--shadow); 
  border-top: 4px solid var(--secondary);
  transition: transform 0.18s;
}
.bois-card:hover { 
  transform: translateY(-4px); 
}
.bois-img {
  height: 150px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #fff8e0, #fff0d4);
}
.bois-body { 
  padding: 1.2rem 1.3rem; 
}
.bois-body h3 { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.05rem; 
  margin-bottom: 0.4rem; 
}
.bois-body p { 
  color: var(--muted); 
  font-size: 0.85rem; 
  line-height: 1.6; 
  margin-bottom: 0.8rem; 
}
.price-badge {
  display: inline-block; 
  background: #fff8e0; 
  color: #7a5200;
  border-radius: 50px; 
  font-size: 0.82rem; 
  font-weight: 700;
  padding: 0.25rem 0.8rem; 
  margin-bottom: 0.8rem;
}

.bois-card--request {
    border: 2px dashed var(--primary);
    background: linear-gradient(135deg, #fff8f0, #fff0f3);
}
.bois-card--request .bois-img {
    background: linear-gradient(135deg, #ffe0e8, #fff0d0);
    font-size: 2.5rem;
}

/* MODAL */
.modal-overlay {
  display: none; 
  position: fixed; 
  inset: 0; 
  z-index: 200;
  background: rgba(26,26,46,0.55); 
  backdrop-filter: blur(2px);
  align-items: center; 
  justify-content: center; 
  padding: 1rem;
}
.modal-overlay.open { 
  display: flex; 
}
.modal {
  background: #fff; 
  border-radius: 20px; 
  padding: 2.2rem;
  max-width: 540px; 
  width: 100%;
  max-height: 90vh; 
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(26,26,46,0.25);
  position: relative;
}
.modal-close {
  position: absolute; 
  top: 1rem; 
  right: 1rem;
  background: #f0ede8; 
  border: none; 
  border-radius: 50%;
  width: 32px; 
  height: 32px; 
  font-size: 1.1rem; 
  cursor: pointer;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--text); 
  font-weight: 700;
}
.modal-close:hover { 
  background: var(--primary); 
  color: #fff; 
}
.modal-item-name {
  font-family: 'Playfair Display', serif; 
  font-size: 1.5rem; 
  font-weight: 900;
  margin-bottom: 0.25rem;
}
.modal-item-desc { 
  color: var(--muted); 
  font-size: 0.9rem; 
  margin-bottom: 1.5rem; 
}
.form-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 0.8rem; 
}
.form-grid .full { 
  grid-column: 1/-1; 
}
label { 
  display: block; 
  font-size: 0.82rem; 
  font-weight: 600; 
  color: var(--muted);
  margin-bottom: 0.3rem; 
}
input, textarea, select {
  width: 100%; 
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e0ddd8; 
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif; 
  font-size: 0.93rem;
  background: #faf9f7; 
  outline: none; 
  transition: border-color 0.15s;
  color: var(--text);
}
input:focus, textarea:focus { 
  border-color: var(--primary); 
  background: #fff; 
}
textarea { 
  resize: vertical; 
  min-height: 90px; 
}
.submit-btn {
  width: 100%; 
  margin-top: 1.2rem;
  background: var(--primary); 
  color: #fff;
  border: none; 
  border-radius: 50px; 
  padding: 0.9rem;
  font-family: 'DM Sans', sans-serif; 
  font-size: 1rem; 
  font-weight: 700;
  cursor: pointer; 
  transition: background 0.15s, transform 0.12s;
  box-shadow: 0 4px 20px rgba(255,77,109,0.3);
}
.submit-btn:hover { 
  background: #e63558; 
  transform: translateY(-1px); 
}
.submit-btn:disabled { 
  background: #ccc; 
  cursor: not-allowed; 
  transform: none; 
}
.form-msg { 
  margin-top: 0.8rem; 
  text-align: center; 
  font-size: 0.9rem; 
  font-weight: 500; 
  padding: 0.6rem; 
  border-radius: 8px; 
}
.form-msg.success { 
  background: #e8f5e9; 
  color: #2e7d32; 
}
.form-msg.error { 
  background: #fdecea; 
  color: #c62828; 
}

/* CARD PREVIEW */
.preview-modal {
  background: var(--card-bg);
  border-radius: 18px;
  max-width: 520px;
  width: 90%;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 90vh;
  overflow-y: auto;
}

.preview-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  font-size: 5rem;
}


.preview-img-wrap img {
  width: 100%;
  max-height: 360px;
  object-fit: scale-down;
  display: block;
}

.preview-emoji { line-height: 1; }

.preview-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 0;
}

.preview-modal p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
/* FOOTER */
footer {
  background: var(--dark); 
  color: rgba(255,255,255,0.5);
  text-align: center; 
  padding: 2rem; 
  font-size: 0.85rem;
}
footer span { 
  color: var(--secondary); 
}

@media (max-width: 600px) {
  .form-grid { 
    grid-template-columns: 1fr; 
  }
  nav { 
    padding: 0 1rem; 
  }
  .nav-logo { 
    font-size: 1.1rem; 
  }
  .nav-links a { 
    padding: 0.4rem 0.6rem; 
    font-size: 0.8rem; 
  }
  .drink-section-header h2 { 
    font-size: 1.3rem; 
  }
}

/* PANIER FLOTTANT */

/* Bouton flottant */
.cart-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255,77,109,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cart-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(255,77,109,0.55);
}
.cart-float-btn.cart-pulse {
  animation: cartPulse 0.5s ease;
}
@keyframes cartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Badge compteur */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Panneau latéral */
.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 400;
  box-shadow: -8px 0 40px rgba(26,26,46,0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  border-left: 3px solid var(--primary);
}
.cart-panel.open {
  right: 0;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1.5px solid #f0ede8;
  background: var(--dark);
  color: #fff;
}
.cart-panel-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--secondary);
}
.cart-panel-close {
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cart-panel-close:hover {
  background: var(--primary);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  margin-top: 3rem;
  font-size: 0.95rem;
}

.cart-item {
  background: #faf9f7;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1.5px solid #f0ede8;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-desc {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}
.qty-btn {
  background: #fff;
  border: 1.5px solid #e0ddd8;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  transition: background 0.12s, border-color 0.12s;
}
.qty-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
}
.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 2px 4px;
  border-radius: 6px;
  transition: background 0.12s;
  color: var(--muted);
}
.remove-btn:hover {
  background: #fdecea;
  color: #c62828;
}

.cart-panel-footer {
  padding: 1.2rem 1.4rem;
  border-top: 1.5px solid #f0ede8;
}
.cart-panel-footer .submit-btn {
  margin-top: 0;
}

/* Récapitulatif dans la modal panier */
.cart-modal-summary {
  background: #faf9f7;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 160px;
  overflow-y: auto;
  border: 1.5px solid #f0ede8;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.qty-chip {
  background: var(--secondary);
  color: var(--dark);
  border-radius: 50px;
  padding: 0.1rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Bouton ajouter au panier (variante) */
.add-cart-btn {
  background: var(--dark);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.add-cart-btn:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* Particule volante */
.cart-fly-particle {
  position: fixed;
  z-index: 9999;
  font-size: 1.8rem;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity   0.65s ease;
  will-change: transform, opacity;
  line-height: 1;
}

/* État "Ajouté !" sur le bouton */
.add-cart-btn.cart-btn-added {
  background: #1a7a3c !important;
  border-color: #1a7a3c !important;
  color: #fff !important;
  transform: scale(0.96);
  transition: background 0.15s, transform 0.15s;
}
