/* ============================================================
   Les Délices de Juju — Design system
   Warm, artisanal, high-contrast, senior-friendly.
   Brand colours sampled from the logo.
   ============================================================ */

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

:root {
  /* Brand */
  --brown:        #4E2A1E;   /* brun chocolat — titres, ruban */
  --brown-soft:   #6B3F2E;
  --amber:        #E6B143;   /* or / ambre — accent principal */
  --amber-deep:   #C98F25;   /* texte ambre lisible sur clair */
  --terracotta:   #BD5A33;   /* accent gourmand (CTA secondaire) */
  --cream:        #F5EEDD;   /* crème */
  --cream-2:      #FBF6EA;
  --gray-warm:    #EAE7E1;   /* gris chaud clair */
  --paper:        #FCFAF4;   /* fond de page, blanc chaud */

  /* Texte */
  --ink:          #2A1B12;   /* corps — fort contraste */
  --muted:        #6E5C4E;   /* texte secondaire */
  --line:         #E7DECC;

  /* Effets */
  --radius:       22px;
  --radius-sm:    14px;
  --radius-lg:    32px;
  --shadow:       0 18px 40px -22px rgba(78,42,30,.40);
  --shadow-soft:  0 10px 30px -18px rgba(78,42,30,.30);
  --shadow-lift:  0 28px 60px -28px rgba(78,42,30,.50);

  --maxw:         1180px;
  --gutter:       clamp(20px, 5vw, 56px);

  /* Type */
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-script: 'Grand Hotel', cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; color: var(--brown); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p  { margin: 0 0 1em; text-wrap: pretty; }

.script { font-family: var(--font-script); font-weight: 400; color: var(--amber-deep); letter-spacing: .01em; line-height: 1; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-gray   { background: var(--gray-warm); }
.bg-brown  { background: var(--brown); color: var(--cream); }
.bg-brown h1, .bg-brown h2, .bg-brown h3 { color: #fff; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

/* eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .82rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-deep);
  margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--amber); border-radius: 2px; }
.kicker.center { justify-content: center; }

.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); font-weight: 500; }

/* section title with script flourish */
.title-script { display: block; font-family: var(--font-script); font-weight: 400; color: var(--amber-deep); font-size: clamp(1.4rem,3vw,2rem); margin-bottom: .1em; letter-spacing: .01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 800; font-size: 1.02rem;
  padding: .85em 1.5em; border-radius: 999px;
  border: 2px solid transparent; transition: .18s ease;
  line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--brown); box-shadow: 0 10px 22px -10px rgba(230,177,67,.8); }
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-brown { background: var(--brown); color: var(--cream); }
.btn-brown:hover { background: #3a1f15; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-ghost { background: rgba(255,255,255,.85); border-color: rgba(78,42,30,.18); color: var(--brown); }
.btn-ghost:hover { border-color: var(--brown); }
.btn-lg { font-size: 1.1rem; padding: 1em 1.8em; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,244,.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(78,42,30,.08);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 26px -16px rgba(78,42,30,.5); }
.nav {
  display: flex; align-items: center; gap: 1rem;
  height: 86px; transition: height .2s ease;
}
.site-header.scrolled .nav { height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { height: 42px; width: auto; transition: height .2s ease; }
.site-header.scrolled .brand img { height: 34px; }
.brand-name { font-family: var(--font-script); font-size: 1.55rem; color: var(--brown); line-height: 1; }
@media (max-width: 380px){ .brand-name{ display:none; } }

.nav-links { display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; white-space: nowrap; }
.nav-links a {
  font-weight: 700; font-size: 1rem; color: var(--ink);
  padding: .5em .68em; border-radius: 10px; transition: .15s; position: relative;
}
.nav-links a:hover { color: var(--brown); background: rgba(230,177,67,.16); }
.nav-links a.active { color: var(--brown); }
.nav-links a.active::after {
  content:""; position:absolute; left:.8em; right:.8em; bottom:.28em;
  height:3px; border-radius:3px; background: var(--amber);
}
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.nav-tel {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 800; color: var(--brown); font-size: 1rem;
  padding: .5em .6em; border-radius: 10px;
}
.nav-tel:hover { background: rgba(230,177,67,.16); }
.nav-tel svg { width: 18px; height: 18px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--brown); }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1040px) {
  .nav { flex-wrap: wrap; height: auto; min-height: 86px; row-gap: 0; align-items: center; }
  .site-header.scrolled .nav { height: auto; min-height: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    order: 5; width: 100%; flex-basis: 100%;
    padding: .5rem 0 .3rem; margin-top: .5rem;
    border-top: 1px solid rgba(78,42,30,.1);
  }
  .nav-links.open a { font-size: 1.15rem; padding: .7em .6em; }
  .nav-links.open a.active::after { display: none; }
  .nav-links.open a.active { background: rgba(230,177,67,.18); }
  .nav-cta.open {
    display: flex; order: 6; width: 100%; flex-basis: 100%; padding: .2rem 0 1rem;
  }
  .nav-cta.open .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-block: clamp(48px, 7vw, 96px);
}
.hero-badge { width: clamp(120px, 16vw, 168px); margin-bottom: 1.2rem; filter: drop-shadow(0 14px 24px rgba(78,42,30,.22)); }
.hero h1 { margin-bottom: .5rem; }
.hero .tagline { font-family: var(--font-script); font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--amber-deep); margin-bottom: 1rem; line-height: 1; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-media {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .float-card {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(252,250,244,.95); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem;
  box-shadow: var(--shadow-soft); backdrop-filter: blur(4px);
}
.hero-media .float-card strong { color: var(--brown); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero .kicker { justify-content: center; }
  .hero-media { aspect-ratio: 16/11; max-width: 560px; margin-inline: auto; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); border: 1px solid rgba(78,42,30,.06);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-pad { padding: clamp(22px, 3vw, 34px); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.icon-badge {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--cream); color: var(--brown);
}
.icon-badge.amber { background: rgba(230,177,67,.2); }
.icon-badge svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; }

/* numbered step */
.step-num {
  font-family: var(--font-script); font-size: 2.6rem; color: var(--amber);
  line-height: .8; margin-bottom: .4rem; display: block;
}

/* ---------- Trust band ---------- */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1rem, 4vw, 3.2rem); padding-block: 2rem;
}
.trust-item { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--brown); }
.trust-item .big { font-size: 1.7rem; line-height: 1; }
.trust-item svg { width: 26px; height: 26px; color: var(--amber-deep); }
.trust-sep { width: 1px; height: 34px; background: rgba(78,42,30,.15); }
@media (max-width: 720px) { .trust-sep { display: none; } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .tick {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber); color: var(--brown); display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 17px; height: 17px; }
.checklist strong { display: block; color: var(--brown); font-size: 1.08rem; }
.checklist span { color: var(--muted); }

/* ---------- Image placeholder (client to provide) ---------- */
.ph {
  position: relative; display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--cream) 0 14px, var(--cream-2) 14px 28px);
  color: var(--brown-soft); text-align: center; aspect-ratio: 4/3;
  border-radius: var(--radius); border: 1px dashed rgba(78,42,30,.25);
}
.ph span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(252,250,244,.85); padding: .4em .8em; border-radius: 8px;
  text-transform: uppercase;
}
.ph.tall { aspect-ratio: 3/4; }
.ph.wide { aspect-ratio: 16/9; }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff; border-radius: var(--radius); padding: clamp(26px,3.5vw,40px);
  box-shadow: var(--shadow-soft); border: 1px solid rgba(78,42,30,.07);
  text-align: center; position: relative; display: flex; flex-direction: column; height: 100%;
}
.price-card.featured { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.price-tag-zone { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); }
.price-name { font-size: 1.35rem; font-weight: 800; color: var(--brown); margin: .3rem 0 .8rem; }
.price-amount { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 900; color: var(--brown); line-height: 1; }
.price-amount sup { font-size: .45em; top: -.6em; font-weight: 800; }
.price-note { color: var(--muted); font-size: .95rem; margin-top: .6rem; }
.ribbon {
  position: absolute; top: 16px; right: -6px; background: var(--terracotta); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .4em .9em; border-radius: 6px 0 0 6px; box-shadow: var(--shadow-soft);
}
.ribbon::after { content:""; position:absolute; right:0; bottom:-6px; border:3px solid #7e3a20; border-right-color:transparent; border-bottom-color:transparent; }

/* ---------- Menu / download rows ---------- */
.menu-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  background: #fff; border-radius: var(--radius); padding: clamp(18px,2.5vw,26px) clamp(20px,3vw,32px);
  box-shadow: var(--shadow-soft); border: 1px solid rgba(78,42,30,.06);
}
.menu-row .menu-info { flex: 1 1 280px; }
.menu-row h3 { margin-bottom: .15rem; }
.menu-row .menu-info span { color: var(--muted); font-size: .92rem; font-weight: 700; letter-spacing: .03em; }
.menu-row .menu-dl { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Newsletter ---------- */
.newsletter { border-radius: var(--radius-lg); overflow: hidden; }
.newsletter-inner { padding: clamp(34px,5vw,64px); text-align: center; }
.news-form { display: flex; gap: .7rem; max-width: 520px; margin: 1.5rem auto 0; flex-wrap: wrap; }
.news-form input { flex: 1 1 220px; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 800; color: var(--brown); margin-bottom: .35rem; font-size: 1rem; }
input, textarea, select {
  width: 100%; font-family: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 2px solid rgba(78,42,30,.16); border-radius: 14px;
  padding: .8em 1em; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #a59689; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(230,177,67,.22);
}
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); }

/* contact info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-ico {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); color: var(--brown);
}
.info-ico svg { width: 24px; height: 24px; }
.info-list .label { font-weight: 800; color: var(--brown); display: block; }
.info-list a { font-weight: 700; }
.info-list a:hover { color: var(--amber-deep); }

/* ---------- Page header banner ---------- */
.page-head { background: var(--cream); padding-block: clamp(48px, 7vw, 84px); text-align: center; position: relative; overflow: hidden; }
.page-head p { color: var(--muted); max-width: 620px; margin: .8rem auto 0; font-size: 1.15rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brown); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(34px,5vw,64px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(245,238,221,.85); max-width: 560px; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: rgba(245,238,221,.82); padding-block: clamp(48px,6vw,72px) 0; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.site-footer h4 { color: var(--amber); font-size: 1.05rem; letter-spacing: .04em; margin-bottom: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { height: 84px; }
.footer-brand .fb-name { font-family: var(--font-script); font-size: 1.7rem; color: var(--amber); line-height: 1; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: .55rem; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(245,238,221,.1); display: grid; place-items: center; color: var(--cream); transition: .15s; }
.footer-social a:hover { background: var(--amber); color: var(--brown); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: clamp(32px,4vw,52px); border-top: 1px solid rgba(245,238,221,.14);
  padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center;
  font-size: .9rem; color: rgba(245,238,221,.6);
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-bottom strong { color: rgba(245,238,221,.85); font-weight: 800; }

/* ---------- Misc ---------- */
.note-box {
  background: rgba(230,177,67,.12); border: 1px solid rgba(230,177,67,.4);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; color: var(--brown-soft);
  display: flex; gap: .8rem; align-items: flex-start; font-weight: 600;
}
.note-box svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--amber-deep); margin-top: 2px; }
.tag { display:inline-block; white-space:nowrap; background: rgba(230,177,67,.2); color: var(--amber-deep); font-weight:800; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; padding:.35em .8em; border-radius:999px; }

/* reveal — kept as a no-op hook: content is ALWAYS visible.
   (Avoids any reliance on transitions/IntersectionObserver, which can be
   frozen in some embedded/iframe contexts and trap content at opacity:0.) */
.reveal { opacity: 1; transform: none; }
