/* ═══════════════════════════════════════════════════
   LALLA GHEE'TTA — Feuille de style globale
   Mobile-first · Version 1.0
═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --vert:       #1B3A2D;
  --vert-nuit:  #0F2219;
  --vert-mid:   #2C5040;
  --vert-pale:  #EAF0EC;
  --or:         #C8A951;
  --or-deep:    #9E7F2E;
  --or-pale:    #F7F0DC;
  --ivoire:     #FDFAF3;
  --bg:         #F9F5EE;
  --bg-alt:     #F0E9D8;
  --encre:      #1B2E23;
  --encre-mid:  #3D5447;
  --encre-soft: #6B7F72;
  --ligne:      #D8CCBA;
  --radius:     3px;
  --ombre:      0 2px 8px rgba(27,58,45,.07);
  --ombre-md:   0 8px 32px rgba(27,58,45,.10);
  --ombre-lg:   0 20px 60px rgba(27,58,45,.13);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--encre);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Conteneurs ── */
.wrap        { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { width: 100%; max-width:  680px; margin: 0 auto; padding: 0 20px; }
.wrap-text   { width: 100%; max-width:  760px; margin: 0 auto; padding: 0 20px; }

/* ── Typographie ── */
.serif { font-family: 'Playfair Display', serif; }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.1;
  color: var(--encre);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--or-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--or); }

.section-title {
  font-size: clamp(28px, 5.5vw, 44px);
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--or-deep); font-weight: 400; }

.section-lead {
  font-size: 17px; font-weight: 300;
  color: var(--encre-mid); line-height: 1.7;
  max-width: 620px;
}

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 15px 26px;
  font-family: 'Lato', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border-radius: var(--radius);
  border: none; transition: all .22s ease;
  text-decoration: none; cursor: pointer;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-primary   { background: var(--vert);    color: var(--ivoire); }
.btn-primary:hover  { background: var(--or-deep); }
.btn-secondary { background: transparent; color: var(--encre); border: 1.5px solid var(--encre); }
.btn-secondary:hover { background: var(--encre); color: var(--ivoire); }
.btn-or        { background: var(--or-deep); color: var(--ivoire); }
.btn-or:hover  { background: var(--or); color: var(--encre); }
.btn-wa        { background: #25D366; color: #fff; }
.btn-wa:hover  { background: #1db954; }
.btn-ghost-dk  { background: transparent; color: var(--ivoire); border: 1.5px solid rgba(253,250,243,.3); }
.btn-ghost-dk:hover { background: rgba(253,250,243,.1); }

/* ── Topbar ── */
.topbar {
  background: var(--vert);
  color: var(--ivoire);
  font-size: 12px; font-weight: 300;
  text-align: center; padding: 9px 20px;
  letter-spacing: .04em;
}
.topbar b { color: var(--or); font-weight: 700; }

/* ── Header nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--ligne);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 2px 16px rgba(27,58,45,.08); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 60px; padding: 0 20px;
  max-width: 1100px; margin: 0 auto;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 21px; font-weight: 700;
  color: var(--vert); letter-spacing: -.01em;
  flex-shrink: 0;
}
.logo span { color: var(--or); }
.logo small {
  display: block; font-size: 8px;
  letter-spacing: .28em; font-family: 'Lato', sans-serif;
  font-weight: 300; color: var(--encre-soft);
  text-transform: uppercase; margin-top: -3px;
}
.nav-menu {
  display: none; gap: 28px;
}
.nav-menu a {
  font-size: 14px; font-weight: 400;
  color: var(--encre-mid); transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--or-deep); }
.nav-cta-btn {
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--vert); color: var(--ivoire);
  padding: 9px 18px; border-radius: var(--radius);
  transition: background .2s; white-space: nowrap;
}
.nav-cta-btn:hover { background: var(--or-deep); }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 24px; cursor: pointer; padding: 4px 0;
  background: none; border: none;
}
.nav-burger span {
  height: 2px; background: var(--encre);
  border-radius: 2px; transition: all .25s ease;
}
/* Mobile menu overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 201;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 80px 28px 40px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.nav-overlay.open { transform: translateX(0); }
.nav-overlay a {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 500;
  color: var(--encre); padding: 14px 0;
  border-bottom: 1px solid var(--ligne);
}
.nav-overlay a:hover { color: var(--or-deep); }
.nav-overlay .close-btn {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none;
  font-size: 28px; color: var(--encre-soft);
}

/* ── Sections ── */
section { padding: 64px 0; }

/* ── Placeholders visuels ── */
.ph {
  background: linear-gradient(145deg, var(--vert) 0%, var(--vert-mid) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 28px; text-align: center;
}
.ph .ph-icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(200,169,81,.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--or);
}
.ph .ph-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(253,250,243,.8);
}
.ph .ph-prompt {
  font-size: 10px; font-weight: 300;
  color: rgba(253,250,243,.42); font-style: italic;
  line-height: 1.5; max-width: 320px;
  border-top: 1px solid rgba(200,169,81,.18);
  padding-top: 10px;
}

/* ── Cards recettes ── */
.recette-card {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  overflow: hidden;
  display: block; color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
.recette-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-md);
}
.recette-card .card-img {
  aspect-ratio: 16/9; overflow: hidden;
}
.recette-card .card-img img,
.recette-card .card-img .ph { width: 100%; height: 100%; object-fit: cover; }
.recette-card .card-body { padding: 20px; }
.recette-card .card-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--or-deep); margin-bottom: 8px;
}
.recette-card h3 {
  font-size: 19px; font-weight: 500;
  margin-bottom: 8px; line-height: 1.3;
}
.recette-card p {
  font-size: 14px; font-weight: 300;
  color: var(--encre-mid); line-height: 1.6;
  margin-bottom: 12px;
}
.card-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 12px; font-weight: 700;
  color: var(--encre-soft);
}
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-meta svg { width: 13px; height: 13px; color: var(--or-deep); }

/* ── Footer ── */
footer.footer {
  background: var(--vert-nuit);
  color: var(--ivoire);
  padding: 52px 0 28px;
}
.foot-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; margin-bottom: 36px;
}
.foot-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--ivoire); margin-bottom: 10px;
}
.foot-logo span { color: var(--or); }
.foot-brand p {
  font-size: 13px; font-weight: 300;
  color: rgba(253,250,243,.55); line-height: 1.7;
}
.foot-col h5 {
  font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--or); margin-bottom: 14px;
}
.foot-col li { margin-bottom: 9px; }
.foot-col a {
  font-size: 14px; font-weight: 300;
  color: rgba(253,250,243,.55); transition: color .2s;
}
.foot-col a:hover { color: var(--or); }
.foot-bottom {
  border-top: 1px solid rgba(253,250,243,.08);
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; font-weight: 300;
  color: rgba(253,250,243,.3);
}
.foot-bottom a { color: rgba(253,250,243,.3); }
.foot-bottom a:hover { color: var(--or); }

/* ── Sticky mobile CTA ── */
.sticky-mobile {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--vert-nuit);
  border-top: 1px solid rgba(200,169,81,.4);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px;
  max-width: 100%; box-sizing: border-box;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sticky-mobile.show { transform: translateY(0); }
.sticky-mobile .sm-main {
  flex: 1; min-width: 0;
  background: var(--or-deep); color: var(--ivoire);
  border-radius: var(--radius); padding: 10px 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; white-space: nowrap;
}
.sticky-mobile .sm-main svg { width: 18px; height: 18px; flex-shrink: 0; }
.sticky-mobile .sm-wa {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: #25D366;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.sticky-mobile .sm-wa svg { width: 22px; height: 22px; color: #fff; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ── Responsive ── */
@media (min-width: 640px) {
  section { padding: 80px 0; }
}
@media (min-width: 900px) {
  section { padding: 96px 0; }
  .nav-menu { display: flex; }
  .nav-burger { display: none; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
  .foot-bottom { flex-direction: row; justify-content: space-between; }
  .sticky-mobile { display: none; }
}
