[hidden] { display: none !important; }
img { max-width: 100%; }

/* Concept : les teintes du logo (miel, pêche, rose poudré, brun chocolat) sur une page douce qui se lit comme on berce. Le logo est le seul grand motif. */
:root {
  --bg: #fff8ee;
  --surface: #fffdf8;
  --ink: #5a2e1e;
  --muted: #8a5a45;
  --rose: #f8d5d0;
  --butter: #f8e5bd;
  --peach: #f5cf9f;
  --heart: #e0708a;
  --accent: #a9581a;
  --on-accent: #fffaf0;
  --line: #eed9bd;
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #2b1b14; --surface: #3a261c; --ink: #fbeedd; --muted: #dcc0aa;
    --rose: #5e3b3b; --butter: #6a5326; --peach: #6e4a2c; --heart: #f08aa2;
    --accent: #f2a65a; --on-accent: #2b1b14; --line: #55392b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #2b1b14; --surface: #3a261c; --ink: #fbeedd; --muted: #dcc0aa;
  --rose: #5e3b3b; --butter: #6a5326; --peach: #6e4a2c; --heart: #f08aa2;
  --accent: #f2a65a; --on-accent: #2b1b14; --line: #55392b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.brand { font-family: var(--font-display); font-size: 1.2rem; text-decoration: none; }
nav { display: flex; gap: 6px 22px; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
nav a { text-decoration: none; color: var(--muted); padding: 4px 0; }
nav a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 48px; align-items: center; padding-block: 28px 64px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 4rem); margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 999px; background: var(--accent); color: var(--on-accent); transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.soft { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.logo { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; border-radius: 50%; box-shadow: 0 18px 48px rgba(169, 88, 26, .22); }

.band { background: var(--rose); border-radius: 36px; padding: 48px clamp(20px, 5vw, 64px); text-align: center; }
.band p { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.3; max-width: 22em; margin: 0 auto; text-wrap: balance; }
.band .heart { color: var(--heart); }

section { padding-block: 72px 8px; }
.head { max-width: 38em; margin-bottom: 36px; }
.head h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-top: 10px; }
.head p { color: var(--muted); margin-top: 14px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.about > * { min-width: 0; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; align-content: start; }
.promises li { background: var(--surface); border-radius: 22px; padding: 18px 22px; border: 1px solid var(--line); }
.promises b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 2px; }
.promises span { color: var(--muted); font-size: .97rem; }

.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.theme { border-radius: 28px; padding: 28px 24px 30px; min-width: 0; }
.theme:nth-child(1) { background: var(--rose); border-radius: 28px 28px 28px 90px; }
.theme:nth-child(2) { background: var(--peach); border-radius: 28px 90px 28px 28px; }
.theme:nth-child(3) { background: var(--butter); border-radius: 90px 28px 28px 28px; }
.theme:nth-child(4) { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 28px 28px 90px 28px; }
.theme h3 { font-size: 1.4rem; margin-bottom: 10px; }
.theme p { font-size: .98rem; }

/* Tarifs */
.price { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.pack { border-radius: 32px; padding: 30px 26px 28px; min-width: 0; }
.pack.a { background: var(--peach); }
.pack.b { background: var(--rose); }
.pack h3 { font-size: 1.55rem; }
.pack .when { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.lines { list-style: none; margin: 18px 0 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.lines li > span:first-child { min-width: 0; }
.lines .total { border-bottom: 0; padding-top: 16px; font-family: var(--font-display); font-size: 1.3rem; }
.lines .total .price { font-family: var(--font-display); font-weight: 400; color: var(--accent); }
.monthly { font-size: .95rem; color: var(--muted); }
.tag { display: inline-block; background: var(--surface); border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 700; margin-top: 18px; }

.sub { font-size: 1.5rem; margin: 48px 0 18px; }
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 8px; min-width: 0; }
.group h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; margin: 0 0 4px; text-wrap: balance; }
.group .for { font-size: .88rem; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 12px; }
.row > span:first-child { min-width: 0; }
.row small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; margin-top: 2px; }
.row + .row { margin-top: 0; }

.km { margin-top: 18px; background: var(--butter); border-radius: 28px; padding: 26px 26px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.km > * { min-width: 0; }
.km h3 { font-size: 1.3rem; margin-bottom: 8px; }
.km p { font-size: .95rem; }
.km dl { margin: 0; display: grid; gap: 0; }
.km dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.km dl div:last-child { border-bottom: 0; }
.km dt { min-width: 0; }
.km dd { margin: 0; font-weight: 700; white-space: nowrap; }
.ttc { color: var(--muted); font-size: .9rem; margin-top: 16px; }

.nights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 2px solid var(--line); }
.night { padding: 22px 18px 6px 0; min-width: 0; position: relative; }
.night::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.night time { display: block; font-family: var(--font-display); font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.night p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

.join { margin-top: 72px; background: var(--butter); border-radius: 40px; padding: 56px clamp(20px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px 48px; align-items: center; }
.join > * { min-width: 0; }
.join h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.join p { margin-top: 12px; }
.handle { font-family: var(--font-display); font-size: 1.35rem; overflow-wrap: anywhere; margin-bottom: 14px; display: block; }
.contact { display: grid; gap: 4px; margin-bottom: 18px; font-weight: 600; overflow-wrap: anywhere; }
.contact a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Rendez-vous */
.book { display: grid; grid-template-columns: 1.5fr .85fr; gap: 28px 40px; align-items: start; }
.book > * { min-width: 0; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.two { grid-template-columns: 1fr 1fr; gap: 14px; }
.field.two > div { display: grid; gap: 6px; min-width: 0; }
label, .lbl { font-weight: 700; font-size: .92rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; min-width: 0; }
textarea { min-height: 96px; resize: vertical; }
.hint { color: var(--muted); font-size: .9rem; margin: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.slot:disabled { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.err { color: var(--accent); font-weight: 700; margin: 0; }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; justify-self: start; }
.how { background: var(--butter); border-radius: 28px; padding: 26px 24px; }
.how h3 { font-size: 1.35rem; }
.how ol { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 10px; }
.how p { margin-top: 16px; font-size: .93rem; color: var(--muted); }
.result { margin-top: 18px; background: var(--rose); border-radius: 28px; padding: 26px 24px; }
.result h3 { font-size: 1.4rem; margin-bottom: 8px; }
.result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: var(--surface); border-radius: 18px; padding: 16px 18px; margin: 14px 0; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fb { font-weight: 700; margin: 10px 0 0; min-height: 1.4em; }
.own { margin-top: 40px; border: 2px dashed var(--line); border-radius: 28px; padding: 26px 24px; }
.own h3 { font-size: 1.45rem; }
.own-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 32px; margin-top: 18px; }
.own-grid > * { min-width: 0; }
.own-form { display: grid; gap: 12px; align-content: start; }
.rdv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rdv-item { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.rdv-main { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.rdv-main small { display: block; color: var(--muted); }
.rdv-act { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--butter); margin-left: 6px; }
.chip.ok { background: var(--peach); }
.chip.no { background: var(--rose); }
.mini { font: inherit; font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.own details { margin-top: 18px; }
.own summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }

/* Calendrier */
.cal { background: var(--bg); border: 1.5px solid var(--line); border-radius: 22px; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal-nav { font: inherit; font-size: 1.3rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day { font: inherit; font-variant-numeric: tabular-nums; aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); cursor: pointer; position: relative; padding: 0; }
.cal-day:disabled { opacity: .35; cursor: default; }
.cal-day.free { background: var(--butter); font-weight: 700; }
.cal-day.full { box-shadow: inset 0 0 0 2px var(--peach); }
.cal-day.free::after, .cal-day.full::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); }
.cal-day.full::after { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal-day[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.cal-day[aria-pressed="true"]::after { background: var(--on-accent); box-shadow: none; }
.own-day h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin: 0 0 10px; }
.o-add { display: grid; gap: 14px; margin-top: 16px; }
.savebar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.savebar span { font-weight: 700; margin-right: auto; }

footer { padding-block: 40px 48px; text-align: center; color: var(--muted); font-size: .92rem; }

@media (max-width: 760px) {
  .hero, .about, .join, .km, .book, .own-grid, .field.two { grid-template-columns: 1fr; }
  .logo { max-width: 300px; order: -1; }
  .hero { padding-bottom: 40px; }
  section { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.own-form.narrow { max-width: 360px; }
footer a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cal { max-width: 440px; }
