/* Crepe N'go — styles */
:root {
  --cream: #fff8ec;
  --vanilla: #f6e3b4;
  --gold: #e9b44c;
  --crust: #c8862e;
  --pod: #2a1a10;
  --ink: #23170f;
  --muted: #7a6656;
  --card: #ffffff;
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 600; text-decoration: none; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(35,23,15,.5); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,248,236,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(35,23,15,.08); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -.02em; }
.logo-img { display: flex; align-items: center; }
.logo-img img { height: 40px; width: auto; display: block; transition: transform .2s; }
.logo-img:hover img { transform: rotate(-2deg) scale(1.03); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.header.open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.header.open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; padding: 110px 0 60px;
  background:
    radial-gradient(60% 50% at 85% 40%, var(--vanilla) 0%, transparent 70%),
    radial-gradient(40% 40% at 0% 100%, #fbeccc 0%, transparent 70%);
}
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(28px, 4vw, 48px); }
.sign {
  display: block; width: 100%; height: auto; border-radius: clamp(14px, 2vw, 26px);
  box-shadow: 0 30px 60px -30px rgba(120,70,20,.55);
  animation: sign-in .9s cubic-bezier(.2,.8,.2,1) both;
}
.hero-text { display: flex; flex-direction: column; align-items: center; }
.hero .lead { max-width: 40ch; }
.hero-cta { justify-content: center; }
@keyframes sign-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: rgba(233,180,76,.2); color: #8a5a14; font-weight: 600; font-size: 13px; letter-spacing: .02em;
}
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.03em; line-height: 1; }
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; margin: 18px 0 18px; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--crust); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Visuel crêpe */
.crepe-art { position: relative; width: min(480px, 100%); aspect-ratio: 1; margin-inline: auto; }
.crepe-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.crepe-ring text { font: 600 9.5px var(--sans); letter-spacing: 1px; fill: var(--ink); }
.crepe {
  position: absolute; inset: 15%; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(200,134,46,.55) 0 3%, transparent 4%),
    radial-gradient(circle at 62% 22%, rgba(200,134,46,.45) 0 2%, transparent 3%),
    radial-gradient(circle at 72% 60%, rgba(200,134,46,.5) 0 3.5%, transparent 4.5%),
    radial-gradient(circle at 40% 70%, rgba(200,134,46,.4) 0 2.5%, transparent 3.5%),
    radial-gradient(circle at 22% 52%, rgba(200,134,46,.35) 0 2%, transparent 3%),
    radial-gradient(circle at 55% 45%, #f7d58b 0%, #efbe5e 55%, #d9953a 82%, #b8732a 100%);
  box-shadow: 0 40px 60px -30px rgba(120,70,20,.55), inset 0 0 30px rgba(140,80,20,.35);
  animation: float 6s ease-in-out infinite;
}
.crepe-fold {
  position: absolute; right: 0; bottom: 0; width: 50%; height: 50%;
  border-radius: 0 0 100% 0;
  background: linear-gradient(135deg, #f9e0a6 0%, #eebc60 70%, #d39340 100%);
  box-shadow: -10px -10px 24px -8px rgba(120,70,20,.35);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.pod {
  position: absolute; width: 62%; left: 20%; top: 50%;
  transform: rotate(-28deg); filter: drop-shadow(0 8px 8px rgba(0,0,0,.25));
  animation: float 6s ease-in-out infinite; animation-delay: -1.5s;
}
.pod path { fill: var(--pod); }
.pod .pod-line { fill: none; stroke: #5a3a22; stroke-width: 1.5; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 140px) 0; }
.kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--crust); margin-bottom: 14px; }
h2 { font-size: clamp(38px, 5.5vw, 68px); font-weight: 700; }
.section-head { margin-bottom: 44px; }

.concept {
  position: relative; color: var(--cream);
  background:
    linear-gradient(180deg, rgba(35,23,15,.72) 0%, rgba(35,23,15,.55) 50%, rgba(35,23,15,.75) 100%),
    url("../img/concept.webp") center 45% / cover no-repeat var(--ink);
}
.concept-in { position: relative; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
@media (max-width: 860px) {
  .concept {
    background:
      linear-gradient(180deg, rgba(35,23,15,.72) 0%, rgba(35,23,15,.6) 50%, rgba(35,23,15,.78) 100%),
      url("../img/concept-900.webp") center / cover no-repeat var(--ink);
  }
}
.concept-in { max-width: 860px; text-align: center; }
.concept h2 span { color: var(--gold); font-style: italic; font-weight: 500; }
.concept-text { margin: 28px auto 0; font-size: clamp(17px, 1.7vw, 21px); color: rgba(255,248,236,.9); max-width: 52ch; }

/* ---------- Menu ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(35,23,15,.06); margin-bottom: 32px; }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 14px var(--sans); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.tab.active { background: var(--ink); color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 26px 24px 24px;
  box-shadow: 0 1px 0 rgba(35,23,15,.06), 0 18px 40px -28px rgba(35,23,15,.4);
  animation: pop .45s both; animation-delay: var(--d, 0ms);
  transition: transform .25s, box-shadow .25s;
}
.card::before {
  content: ""; display: block; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  background: radial-gradient(circle at 40% 40%, #f7d58b, #e2a347 80%);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(35,23,15,.06), 0 26px 50px -26px rgba(35,23,15,.5); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 23px; font-weight: 700; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.tag { flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--vanilla); color: #7a4c10; }
.price { display: inline-block; margin-top: 16px; font-family: var(--serif); font-weight: 700; font-size: 20px; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Étapes ---------- */
.steps { background: var(--vanilla); }
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 30px 26px; }
.step-n { font-family: var(--serif); font-size: 46px; font-weight: 900; color: var(--gold); line-height: 1; }
.step h3 { font-size: 28px; margin: 18px 0 8px; }
.step p { color: var(--muted); }

/* ---------- Infos ---------- */
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: 0 18px 40px -30px rgba(35,23,15,.4); }
.info-card h3 { font-size: 26px; margin-bottom: 16px; }
.hours, .contact { list-style: none; display: grid; gap: 10px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(35,23,15,.15); padding-bottom: 8px; }
.contact a { text-decoration: none; border-bottom: 1.5px solid var(--gold); }
.muted { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,248,236,.7); padding: 34px 0; font-size: 14px; }
.footer .logo { color: var(--cream); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-credit { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,248,236,.25); transition: color .2s, border-color .2s; }
.footer-credit:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 90px; min-height: auto; }
  .step-list, .info-cards { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 72px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: var(--cream); border-radius: 18px; box-shadow: 0 20px 40px -20px rgba(35,23,15,.4);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s;
  }
  .nav a:not(.btn) { padding: 12px 8px; }
  .header.open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .header.open { background: var(--cream); }
  .tabs { display: flex; overflow-x: auto; }
}
