/* ===== Crêpes et Plus — design chaleureux moderne, avec relief ===== */
:root {
  --cream:      #fbf3e7;
  --cream-2:    #f4e6d4;
  --bordeaux:   #8a2b35;
  --bordeaux-d: #6f2029;
  --bordeaux-l: #a23440;
  --brown:      #3a2b22;
  --brown-2:    #5a4434;
  --accent:     #c9772f; /* caramel/orange chaleureux */
  --ink:        #2c211a;
  --muted:      #6b5645;
  --white:      #ffffff;
  --radius:     18px;
  --maxw:       1120px;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Poppins', system-ui, -apple-system, sans-serif;

  /* Ombres en couches pour le relief */
  --shadow-sm:  0 2px 6px rgba(58, 43, 34, 0.10);
  --shadow:     0 10px 30px rgba(58, 43, 34, 0.14), 0 2px 8px rgba(58, 43, 34, 0.10);
  --shadow-lg:  0 22px 55px rgba(58, 43, 34, 0.20), 0 6px 16px rgba(58, 43, 34, 0.12);
  --inset-hi:   inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --inset-lo:   inset 0 -3px 8px rgba(58, 43, 34, 0.12);
  /* Texture grain (noise SVG) pour casser le plat */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(251, 243, 231, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 43, 34, 0.08);
  box-shadow: 0 4px 20px rgba(58, 43, 34, 0.10);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow), var(--inset-hi); border: 1px solid rgba(58,43,34,.10); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--bordeaux); letter-spacing: .3px; }
.brand-name em { font-style: italic; color: var(--accent); font-weight: 600; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 500; color: var(--brown);
  position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent); transition: width .25s ease;
}
.nav-links a:hover { color: var(--bordeaux); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--brown); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  min-height: 82vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brown) 0%, var(--bordeaux-d) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--grain),
    url("assets/pile-fraises.jpg");
  background-size: 160px 160px, cover;
  background-position: center, center;
  filter: blur(8px) saturate(1.05);
  transform: scale(1.08);
  opacity: .85;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(58,43,34,.25), transparent 60%),
    linear-gradient(180deg, rgba(42,28,20,.55) 0%, rgba(42,28,20,.72) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-logo {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 18px; display: block;
  border: 3px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-lg), 0 14px 30px rgba(0,0,0,.45);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 4px; font-size: .8rem;
  font-weight: 600; color: #f3c9a8; margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3rem, 9vw, 6rem); line-height: 1; color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 4px 18px rgba(0,0,0,.55), 0 2px 4px rgba(0,0,0,.45);
}
.hero h1 .amp { color: var(--accent); font-style: italic; }
.tagline { font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.8rem); color: #f7ece2; margin-top: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.sub { color: #ead9cb; font-size: 1.05rem; margin-top: 6px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--bordeaux-l) 0%, var(--bordeaux) 55%, var(--bordeaux-d) 100%);
  color: #fff; border: 1px solid rgba(111,32,41,.55);
  box-shadow: var(--shadow), var(--inset-hi);
}
.btn-primary:hover { background: linear-gradient(180deg, #8a2b35 0%, var(--bordeaux-d) 100%); transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--inset-hi); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm), var(--inset-hi); }
.btn-ghost {
  background: rgba(255,255,255,.55); color: var(--bordeaux);
  border: 2px solid var(--bordeaux); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bordeaux); color: #fff; box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

/* ===== SECTION GENERIC ===== */
section { padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem); color: var(--bordeaux); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.section-head p { color: var(--muted); margin-top: 8px; }

/* ===== HISTOIRE ===== */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.story-text h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--bordeaux); margin-bottom: 18px; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.story-text p { color: var(--muted); margin-bottom: 14px; }
.story-text strong { color: var(--brown); }
.story-text .note { font-style: italic; color: var(--accent); font-weight: 500; }
.story-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg), var(--inset-hi); border: 1px solid rgba(58,43,34,.10); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ===== MENU ===== */
.menu { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: var(--maxw); margin: 0 auto; }
.menu-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdf6ec 100%);
  border: 1px solid rgba(138,43,53,.12);
  border-top: 5px solid var(--bordeaux);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow), var(--inset-hi);
}
.menu-card h3 { font-family: var(--font-head); font-size: 1.7rem; color: var(--bordeaux); margin-bottom: 18px; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.items { list-style: none; }
.items li {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "desc desc";
  gap: 2px 12px; padding: 12px 0; border-bottom: 1px dashed rgba(58,43,34,.18);
}
.items li:last-child { border-bottom: 0; }
.items .name { grid-area: name; font-weight: 600; color: var(--brown); }
.items .price { grid-area: price; font-weight: 700; color: var(--bordeaux); white-space: nowrap; }
.items .desc { grid-area: desc; font-size: .9rem; color: var(--muted); }
.trio { margin-top: 18px; text-align: center; font-size: .95rem; color: var(--brown); background: linear-gradient(180deg, #fdf6ec, var(--cream)); padding: 14px; border-radius: 12px; border: 1px solid rgba(138,43,53,.10); box-shadow: var(--inset-lo); }
.trio span { color: var(--muted); font-size: .85rem; }
.allergen {
  max-width: 760px; margin: 40px auto 0; text-align: center; font-size: .88rem;
  color: var(--muted); background: rgba(138,43,53,.07); padding: 16px 22px; border-radius: 12px;
  border: 1px solid rgba(138,43,53,.10); box-shadow: var(--inset-lo);
}
.menu-source { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 14px; }

/* ===== GALERIE ===== */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: var(--maxw); margin: 0 auto; }
.gallery-grid figure { overflow: hidden; border-radius: 14px; box-shadow: var(--shadow), var(--inset-hi); border: 1px solid rgba(58,43,34,.10); aspect-ratio: 1/1; transition: box-shadow .3s ease; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover { box-shadow: var(--shadow-lg), var(--inset-hi); }
.gallery-grid figure:hover img { transform: scale(1.07); }

/* ===== CARNET DE COMMANDE ===== */
.order { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.order-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; max-width: var(--maxw); margin: 0 auto; align-items: start; }
.order-menu { background: linear-gradient(180deg, #fff 0%, #fdf6ec 100%); border: 1px solid rgba(138,43,53,.12); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow), var(--inset-hi); }
.order-cat { font-family: var(--font-head); font-size: 1.3rem; color: var(--bordeaux); margin: 18px 0 10px; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.order-cat:first-child { margin-top: 0; }
.order-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; padding: 12px 0; border-bottom: 1px dashed rgba(58,43,34,.18); }
.order-item:last-child { border-bottom: 0; }
.oi-name { font-weight: 600; color: var(--brown); }
.oi-price { color: var(--bordeaux); font-weight: 700; white-space: nowrap; margin-left: 8px; }
.oi-desc { grid-column: 1; font-size: .85rem; color: var(--muted); }
.oi-qty { display: flex; align-items: center; gap: 8px; }
.oi-qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(138,43,53,.3); background: #fff; color: var(--bordeaux); font-size: 1.1rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm), var(--inset-hi); transition: transform .12s ease, background .2s ease; }
.oi-qty button:hover { background: var(--bordeaux); color: #fff; transform: translateY(-1px); }
.oi-qty button:active { transform: translateY(0); }
.qty-val { min-width: 22px; text-align: center; font-weight: 700; color: var(--brown); }
.order-summary { background: linear-gradient(180deg, #fff 0%, #fdf6ec 100%); border: 1px solid rgba(138,43,53,.12); border-top: 5px solid var(--bordeaux); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow), var(--inset-hi); position: sticky; top: 90px; }
.order-summary h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--bordeaux); margin-bottom: 16px; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.order-lines { list-style: none; min-height: 40px; margin-bottom: 12px; }
.order-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed rgba(58,43,34,.15); font-size: .95rem; }
.order-lines .ol-name { color: var(--brown); }
.order-lines .ol-price { color: var(--bordeaux); font-weight: 600; white-space: nowrap; }
.order-empty { color: var(--muted); font-style: italic; justify-content: center !important; border-bottom: 0 !important; }
.order-total { text-align: right; font-size: 1.1rem; color: var(--brown); margin: 8px 0 4px; }
.order-total strong { color: var(--bordeaux); font-size: 1.35rem; }
.order-tax-note { font-size: .8rem; color: var(--muted); font-weight: 400; }
.order-form { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--brown); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: .95rem; padding: 10px 12px; border: 1px solid rgba(58,43,34,.2); border-radius: 10px; background: #fff; color: var(--ink); box-shadow: var(--inset-lo); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,119,47,.18); }
.order-send { grid-column: 1 / -1; margin-top: 4px; }
.order-help { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); text-align: center; margin-top: 4px; }

/* ===== INFOS ===== */
.infos { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--brown) 0%, var(--bordeaux-d) 100%); color: #f7ece2; }
.infos::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 160px 160px;
  opacity: .5; mix-blend-mode: overlay;
}
.infos-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: var(--maxw); margin: 0 auto; }
.info-block h2 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 18px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hours-current, .hours-soon { font-size: 1.05rem; margin-bottom: 16px; }
.hours-current strong, .hours-soon strong { color: #fff; }
.badge { display: inline-block; background: var(--cream); color: var(--bordeaux); font-weight: 600; font-size: .75rem; padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; box-shadow: var(--inset-hi), 0 2px 6px rgba(0,0,0,.18); }
.badge-warm { background: var(--accent); color: #fff; }
.hours-note, .contact-note { font-size: .9rem; color: #e9d8cb; margin-top: 12px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.05rem; }
.contact-list .ico { font-size: 1.3rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.to-confirm { color: #f3c9a8; font-style: italic; }
.map-wrap {
  margin-top: 22px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.42), var(--inset-hi);
  border: 1px solid rgba(255,255,255,.22);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== FOOTER ===== */
.footer { text-align: center; padding: 48px 20px; background: var(--cream); }
.footer-logo { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; box-shadow: var(--shadow), var(--inset-hi); object-fit: cover; border: 1px solid rgba(58,43,34,.10); }
.footer-slogan { font-family: var(--font-head); font-style: italic; color: var(--bordeaux); font-size: 1.2rem; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.footer-copy { color: var(--muted); font-size: .85rem; margin-top: 8px; }

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid rgba(58,43,34,.12);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 320px; box-shadow: var(--shadow); }
  .nav-links a { padding: 14px 24px; border-top: 1px solid rgba(58,43,34,.08); }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .story-grid, .menu-cols, .infos-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
