/* ============================================================
   O'PTI DÉJ DU LUNDI — Styles
   Palette: #C4956A (kraft) | #FFF8F0 (crème) | #3D4A2E (olive)
            #D4A843 (doré) | #FFFFFF (blanc)
   ============================================================ */

:root {
  --kraft:  #C4956A;
  --cream:  #FFF8F0;
  --olive:  #3D4A2E;
  --gold:   #D4A843;
  --white:  #FFFFFF;
  --text:   #2A2218;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--olive);
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }

.text-kraft { color: var(--kraft) !important; }
.text-olive { color: var(--olive) !important; }
.text-gold  { color: var(--gold) !important; }

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255,248,240,0.96);
  backdrop-filter: blur(8px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(196,149,106,0.15);
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(61,74,46,0.08);
}

.navbar-brand img { height: 40px; }

.navbar-nav .nav-link {
  color: var(--olive) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover { color: var(--kraft) !important; }

.btn-whatsapp-nav {
  background: #25D366;
  color: white !important;
  border-radius: 4px;
  font-weight: 700 !important;
  padding: 0.4rem 1rem !important;
  font-size: 0.85rem !important;
}

.btn-whatsapp-nav:hover { background: #1daa53; color: white !important; }

/* ---------- CTA Buttons ---------- */
.btn-wa {
  background: #25D366;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-wa:hover {
  background: #1daa53;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-wa-outline {
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-wa-outline:hover {
  background: var(--olive);
  color: var(--cream);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--olive);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(196,149,106,0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(212,168,67,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 120%;
  background: rgba(196,149,106,0.06);
  border-radius: 60% 0 0 60%;
  display: none;
}

@media (min-width: 992px) { .hero-bg-pattern { display: block; } }

.hero h1 { color: var(--cream); }
.hero .hero-sub {
  color: rgba(255,248,240,0.75);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-family: 'Inter', sans-serif;
  max-width: 480px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

/* ---------- Section ---------- */
.section { padding: 5.5rem 0; }
.section-white { background: var(--white); }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kraft);
  margin-bottom: 0.6rem;
}

.divider-kraft {
  width: 44px;
  height: 3px;
  background: var(--kraft);
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* ---------- Box Cards ---------- */
.box-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(61,74,46,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 4px solid transparent;
}

.box-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61,74,46,0.12);
}

.box-card.classique { border-bottom-color: var(--kraft); }
.box-card.gourmande  { border-bottom-color: var(--gold); }
.box-card.premium    { border-bottom-color: var(--olive); }

.box-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.box-card.classique .box-card-img { background: linear-gradient(135deg, #f5e6d3, #eedcc4); }
.box-card.gourmande  .box-card-img { background: linear-gradient(135deg, #fef3e0, #fde8b4); }
.box-card.premium    .box-card-img { background: linear-gradient(135deg, #e8eddf, #d4ddc9); }

.box-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--olive);
  color: var(--cream);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}

.box-card-body { padding: 1.5rem; }
.box-card-body h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.box-card-body p  { font-size: .9rem; color: #6b5a4a; margin-bottom: 1rem; }

.box-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: .85rem;
  color: #5a4a3a;
  margin-bottom: 0.3rem;
}

.box-item::before {
  content: '✦';
  color: var(--kraft);
  font-size: 0.6rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ---------- Steps ---------- */
.step-number {
  width: 56px;
  height: 56px;
  background: var(--olive);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--kraft) 0, var(--kraft) 6px, transparent 6px, transparent 12px);
    margin-top: -28px;
    position: relative;
    z-index: 0;
  }
}

/* ---------- Livraison zones ---------- */
.zone-badge {
  display: inline-block;
  background: rgba(196,149,106,0.12);
  color: var(--olive);
  border: 1px solid rgba(196,149,106,0.35);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin: 0.2rem;
}

/* ---------- About strip ---------- */
.about-strip {
  background: var(--olive);
  padding: 5rem 0;
  color: var(--cream);
}

.about-strip h2 { color: var(--cream); }
.about-strip p   { color: rgba(255,248,240,0.75); }

/* ---------- Footer ---------- */
footer {
  background: var(--olive);
  color: rgba(255,248,240,0.7);
  padding: 3rem 0 1.5rem;
}

footer h5 {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

footer p { font-size: .9rem; margin-bottom: 0.3rem; }

footer a {
  color: rgba(255,248,240,0.6);
  text-decoration: none;
  font-size: .9rem;
  transition: color 0.2s;
}

footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.footer-logo { height: 44px; margin-bottom: 0.75rem; }

/* ---------- Social links ---------- */
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,248,240,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
}

.social-link:hover { background: var(--kraft); color: white; }
.social-link.wa     { background: #25D366; color: white; }
.social-link.wa:hover { background: #1daa53; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ---------- Sticky WhatsApp FAB ---------- */
.fab-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1000;
  transition: transform 0.2s;
}

.fab-wa:hover { transform: scale(1.08); color: white; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 90vh; }
}
