/* Crème et Crema — colours taken from the logo */
:root {
  --green: #1F3622;
  --green-2: #2A4A2E;
  --green-3: #3D6343;
  --matcha: #9DB878;
  --cream: #F5E5D1;
  --cream-2: #FBF5EC;
  --bean: #8A5A3B;
  --ink: #1B2A1D;
  --muted: #5B6B5D;
  --line: #E5D6C2;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 54, 34, .10);
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream-2); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-3); }
h1, h2, h3 { font-family: var(--display); color: var(--green); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--cream); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--matcha); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: var(--cream); font-weight: 700; text-decoration: none; cursor: pointer; font: 700 1rem/1.2 var(--body); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: var(--green-2); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: rgba(31, 54, 34, .06); }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-cream { background: var(--cream); color: var(--green); border-color: var(--cream); width: 100%; font-size: 1.05rem; }
.btn-cream:hover { background: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 245, 236, .92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--green); white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--green-3); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn { display: inline-block; text-decoration: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .45em .9em; font: 500 .9rem var(--body); color: var(--green); cursor: pointer; }
.lang-btn:hover { border-color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2.5px; background: var(--green); border-radius: 2px; margin: 4.5px 0; transition: transform .2s; }

@media (max-width: 920px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; transform: translateY(-120%); transition: transform .25s ease; margin: 0; }
  .nav.open { transform: translateY(0); box-shadow: var(--shadow); }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .brand-name { display: none; }
  .header-actions .btn-small { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .82rem; color: var(--green-3); margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--green); font-weight: 500; font-size: .95rem; }
.badges li { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--matcha); }
.hero-copy { position: relative; z-index: 1; }
.hero-art { position: relative; display: grid; place-items: center; width: min(420px, 100%); justify-self: center; }
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 24px 40px rgba(31, 54, 34, .28)); transform: rotate(-4deg); }
.halo { position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--cream) 0 55%, transparent 56%), radial-gradient(circle, rgba(157, 184, 120, .35) 0 70%, transparent 71%); }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art { width: min(240px, 60vw); }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--cream); }
.section-green { background: var(--green); color: var(--cream); }
.section-green h2, .section-green h3 { color: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-green .section-head p { color: rgba(245, 229, 209, .82); }
.note { color: var(--muted); font-size: .95rem; margin-top: 24px; }

/* Menu */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.menu-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.menu-card h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px dashed var(--line); }
.menu-card ul { list-style: none; padding: 0; margin: 0; }
.menu-card li { padding: 12px 0; border-bottom: 1px solid #F1E7DA; }
.menu-card li:last-child { border-bottom: 0; }
.item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.item-name { font-weight: 700; color: var(--ink); }
.item-desc { color: var(--muted); font-size: .93rem; margin: 2px 0 0; }
.tags { display: flex; gap: 4px; flex-shrink: 0; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tag-hot { background: #F6E3D3; color: var(--bean); }
.tag-iced { background: #E4EEDB; color: var(--green-3); }
.menu-card.signature { background: var(--green); border-color: var(--green); }
.menu-card.signature h3 { color: var(--cream); border-color: rgba(245, 229, 209, .25); }
.menu-card.signature li { border-color: rgba(245, 229, 209, .14); }
.menu-card.signature .item-name { color: var(--cream); }
.menu-card.signature .item-desc { color: rgba(245, 229, 209, .75); }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package { background: var(--green-2); border: 1.5px solid rgba(245, 229, 209, .14); border-radius: var(--radius); padding: 28px 26px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.package.featured { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.package.featured h3 { color: var(--green); }
.package h3, .package-custom h3 { margin: 0; }
.tagline { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--matcha); margin: 0 0 8px; align-self: end; }
.package.featured .tagline { color: var(--green-3); }
.price { font-family: var(--display); font-size: 1.9rem; font-weight: 600; margin: 10px 0 14px; }
.price small { display: block; font-family: var(--body); font-size: .85rem; font-weight: 500; opacity: .75; }
.price-quote { font-size: 1.3rem; white-space: nowrap; opacity: .9; }
.package ul, .package-custom ul { padding: 0; margin: 0 0 22px; list-style: none; }
.package li, .package-custom li { padding: 6px 0 6px 26px; position: relative; }
.package li::before, .package-custom li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 8px; border-left: 2.5px solid var(--matcha); border-bottom: 2.5px solid var(--matcha); transform: rotate(-45deg); }
.package.featured li::before { border-color: var(--green-3); }
.package .btn, .package-custom .btn { background: var(--cream); color: var(--green); border-color: var(--cream); align-self: end; }
.package.featured .btn { background: var(--green); color: var(--cream); border-color: var(--green); }
.package-custom { margin-top: 20px; border: 1.5px dashed rgba(245, 229, 209, .4); border-radius: var(--radius); padding: 28px 30px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 48px; align-items: center; }
.pkg-desc { opacity: .85; margin: 10px 0 0; max-width: 52ch; }
.pc-side ul { margin-bottom: 18px; }
.pc-side .btn { width: 100%; }
@media (max-width: 980px) {
  .packages { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .package { padding: 24px 20px; }
}
@media (max-width: 820px) {
  .package-custom { grid-template-columns: 1fr; padding: 24px 22px; }
}
.extras { margin-top: 36px; }
.extras h3 { font-size: 1.1rem; }
.extras ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.extras li { border: 1.5px solid rgba(245, 229, 209, .3); border-radius: 999px; padding: 6px 14px; font-size: .93rem; }

/* Menu tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.tab { font: 600 1rem var(--display); padding: .6em 1.15em; border-radius: 999px; border: 2px solid var(--green); background: transparent; color: var(--green); cursor: pointer; transition: background .15s, color .15s; }
.tab:hover { background: rgba(31, 54, 34, .06); }
.tab.active { background: var(--green); color: var(--cream); }
.tab:focus-visible { outline: 3px solid var(--matcha); outline-offset: 2px; }
.menu-grid:has(.panel) { display: block; }
.menu-card.panel ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 32px; }
.menu-card.panel li:last-child { border-bottom: 1px solid #F1E7DA; }
.menu-card.signature.panel li:last-child { border-color: rgba(245, 229, 209, .14); }
@media (max-width: 520px) { .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tab { flex: 0 0 auto; font-size: .95rem; } .menu-card.panel { padding: 8px 20px; } }

/* Package dots (phone) */
.pkg-dots { display: none; justify-content: center; gap: 0; margin-top: 6px; }
.dot-btn { min-width: 28px; height: 28px; padding: 0 2px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot-btn::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgba(245, 229, 209, .35); transition: width .2s, background .2s; }
.dot-btn.active::before { width: 24px; background: var(--cream); }
@media (max-width: 720px) {
  .packages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: stretch; }
  .packages::-webkit-scrollbar { display: none; }
  .package { flex: 0 0 86%; scroll-snap-align: center; padding: 24px 22px; display: flex; flex-direction: column; }
  .package ul { flex: 1; }
  .package .btn, .package .tagline { align-self: stretch; }
  .pkg-dots { display: flex; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--cream); font: 600 1.05rem var(--display); }
.steps h3 { font-size: 1.05rem; margin: 5px 0 .25em; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.45; }
#fonctionnement.section { padding-top: 56px; padding-bottom: 56px; }
#fonctionnement .section-head { margin-bottom: 28px; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; gap: 20px 18px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 14px; } .steps p { font-size: .92rem; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Areas + about */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.areas { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.areas li { display: flex; align-items: center; gap: 12px; background: var(--cream-2); border-radius: 14px; padding: 12px 16px; font-weight: 500; }
.areas .zone { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 500; }
.about p { color: var(--muted); font-size: 1.05rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; position: relative; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 600 1.5rem var(--display); color: var(--green-3); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* Quote form */
.quote { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: .93rem; color: var(--cream); padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: 1rem var(--body); color: var(--ink); background: var(--cream-2); border: 2px solid transparent; border-radius: 12px; padding: .7em .85em; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--matcha); outline: none; }
.field .invalid, .field input.invalid, .field select.invalid { border-color: #E9A07B; }
.hint { color: #F2C6A8; font-size: .85rem; min-height: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; background: var(--green-2); border: 1.5px solid rgba(245, 229, 209, .2); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: .95rem; }
.checks input { accent-color: var(--matcha); width: 18px; height: 18px; }
/* When: calendar + time / duration / guests */
.when { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px 24px; align-items: start; }
.when-side { display: grid; gap: 18px; }
@media (max-width: 720px) { .when { grid-template-columns: 1fr; } }
.cal { background: var(--cream-2); color: var(--ink); border-radius: 16px; padding: 14px; border: 2px solid transparent; }
.cal.invalid { border-color: #E9A07B; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font: 600 1.1rem var(--display); color: var(--green); text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--green); font-size: 1.3rem; cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: var(--cream); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 10px; background: transparent; font: 500 .95rem var(--body); color: var(--ink); cursor: pointer; position: relative; }
.cal-day:hover:not(:disabled) { background: var(--cream); }
.cal-day:disabled { color: #B9B2A6; cursor: default; }
.cal-day.full { text-decoration: line-through; }
.cal-day.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--matcha); }
.cal-day.sel { background: var(--green); color: var(--cream); font-weight: 700; }
.cal-picked { margin: 2px 0 0; font-weight: 700; color: var(--cream); min-height: 1.4em; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-width: 58px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(245, 229, 209, .3); background: var(--green-2); color: var(--cream); font: 700 .98rem var(--body); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--cream); color: var(--green); border-color: var(--cream); }
.stepper { display: flex; align-items: stretch; background: var(--cream-2); border-radius: 12px; overflow: hidden; border: 2px solid transparent; }
.stepper:focus-within { border-color: var(--matcha); }
.stepper .step { width: 52px; border: 0; background: var(--cream); color: var(--green); font: 600 1.4rem var(--display); cursor: pointer; }
.stepper .step:hover { background: #EFDCC4; }
.field .stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.consent input { accent-color: var(--matcha); width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.consent a, .section-green a { color: var(--cream); }
.estimate { background: var(--green-2); border-radius: 16px; padding: 16px 20px; display: grid; gap: 2px; }
.estimate strong { font-family: var(--display); font-size: 1.8rem; color: var(--cream); font-weight: 600; }
.estimate small { opacity: .75; }
.form-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fs-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .95rem var(--display); border: 2px solid rgba(245, 229, 209, .4); color: rgba(245, 229, 209, .7); }
.fs-dot.active { background: var(--cream); border-color: var(--cream); color: var(--green); }
.fs-line { width: 34px; height: 2px; background: rgba(245, 229, 209, .3); }
.fs-label { margin-left: 6px; font-weight: 500; color: rgba(245, 229, 209, .85); font-size: .95rem; }
.form-step { display: grid; gap: 18px; }
.form-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.btn-ghost-cream { background: transparent; color: var(--cream); border-color: rgba(245, 229, 209, .5); }
.btn-ghost-cream:hover { background: rgba(245, 229, 209, .08); }
.check-inline { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; cursor: pointer; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--matcha); }
.cal.off { opacity: .8; filter: saturate(.4); }
select:disabled { opacity: .5; }
.opt { font-weight: 400; opacity: .7; font-size: .9em; }
.form-status { font-weight: 500; }
.form-status.ok { background: var(--cream); color: var(--green); border-radius: 16px; padding: 18px 20px; }
.form-status.err { color: #F2C6A8; }
.form-status strong { display: block; font-family: var(--display); font-size: 1.4rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(245, 229, 209, .8); padding: 48px 0 28px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-brand img { margin-bottom: 10px; }
.footer-contact h3 { color: var(--cream); font-size: 1.1rem; }
.footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--cream); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(245, 229, 209, .15); padding-top: 20px; margin: 0; font-size: .85rem; }
@media (max-width: 620px) { .footer-inner { grid-template-columns: 1fr; } }

/* Simple pages (privacy, 404) */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page h2 { font-size: 1.4rem; margin-top: 1.6em; }
[data-lang-block] { display: none; }
html[lang="fr"] [data-lang-block="fr"], html[lang="en"] [data-lang-block="en"] { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
