/* Lune de Douceur — site public.
   Univers volontairement unique et clair : fond pêche, serif brun, rose poudré, comme les visuels de la marque. */


:root {
  --bg: #f9e8dc;
  --card: #fff7f1;
  --ink: #4b2218;
  --muted: #7d5148;
  --rose: #d98b98;
  --rose-deep: #b85a6e;
  --pill: #f6d3d2;
  --line: #e3b4b4;
  --on-ink: #fff3ea;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
  --font-script: "Great Vibes", "Snell Roundhand", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #fbece2 0%, #f8e3d6 45%, #fcefe7 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1060px; margin: 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; line-height: 1.1; }
.script { font-family: var(--font-script); color: var(--rose-deep); font-weight: 400; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.orn { display: block; width: min(300px, 80%); height: auto; color: var(--rose); margin: 10px auto; overflow: visible; }
.orn path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.orn .h { fill: currentColor; stroke: none; }

/* Annonce */
.announce { margin: 12px auto 0; max-width: 1060px; display: grid; gap: 8px; }
.announce-item { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; text-align: center; background: var(--pill); border: 1px solid var(--line); border-radius: 16px; padding: 10px 18px; font-size: 0.98rem; }
.announce-item .tag { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--rose-deep); border-radius: 999px; padding: 1px 10px; }
.announce-item p { margin: 0; }

/* Navigation */
nav.top { display: flex; justify-content: center; padding: 18px 0 4px; }
nav.top ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
nav.top li + li::before { content: "♡"; color: var(--rose); margin-right: 18px; font-size: 0.8rem; }
nav.top a { text-decoration: none; color: var(--muted); font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--ink); }

/* Accueil */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; padding-block: 10px 40px; }
.hero-photo { margin: 0; min-width: 0; }
.hero-photo img { width: 100%; border-radius: 30px 0 0 30px; -webkit-mask-image: linear-gradient(to right, #000 72%, transparent); mask-image: linear-gradient(to right, #000 72%, transparent); }
.hero-copy { text-align: center; min-width: 0; padding-left: 4px; }
.logo { width: 100%; max-width: 560px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect; }
.locality { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.locality svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--rose-deep); stroke-width: 1.6; stroke-linejoin: round; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; border: 1px solid var(--ink); }
.btn:hover { border-color: var(--rose-deep); }

section { padding-block: 52px; scroll-margin-top: 10px; }
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
.sec-head p { margin: 4px auto 0; color: var(--muted); max-width: 520px; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: 236px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.tarifs-photo { margin: 0; background: #f7e6d9; }
.tarifs-photo img { width: 100%; height: 100%; object-fit: cover; }
.tarifs-body { padding: 34px clamp(20px, 4vw, 48px); min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.tarifs-body .sec-head { margin-bottom: 8px; }
.price-list { list-style: none; margin: 8px 0 0; padding: 0; }
.price-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; }
.price-list .what { display: flex; align-items: center; gap: 14px; min-width: 0; }
.price-list .what::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose-deep); flex: none; }
.price-list .name { font-size: 1.2rem; }
.price-list .sub { display: block; font-size: 0.85rem; color: var(--muted); }
.pill { background: var(--pill); border-radius: 999px; padding: 4px 20px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; margin-left: 8px; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--rose); border-radius: 999px; padding: 1px 10px; vertical-align: middle; }
.handmade { font-size: 2.6rem; text-align: center; margin: 6px 0 0; }
.contact-note { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: 0.98rem; }
.contact-note svg { width: 42px; height: 42px; flex: none; fill: none; stroke: var(--rose-deep); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.contact-note p { margin: 0; }
.contact-note a { text-underline-offset: 3px; }

/* Catalogue */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.chip { font-family: var(--font-display); font-size: 0.95rem; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.perfs { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 20px; align-items: start; }
.perfs.filtered { display: block; max-width: 600px; margin: 0 auto; }
.fam { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 18px 22px 20px; min-width: 0; --accent: #f9ddd0; --accent-ink: #c4566a; }
.fam.tall { grid-row: span 2; }
.fam[hidden] { display: none; }
.fam.a-peche { --accent: #f9ddd0; --accent-ink: #c4566a; }
.fam.a-rose  { --accent: #efd3e4; --accent-ink: #a8517a; }
.fam.a-ambre { --accent: #f8e0c2; --accent-ink: #9a5f1c; }
.fam.a-bleu  { --accent: #d9e3f2; --accent-ink: #4e5d78; }
.fam.a-lilas { --accent: #e4dbf3; --accent-ink: #6b52a1; }
.fam.a-sauge { --accent: #dfe9d6; --accent-ink: #4f6b44; }
.ptitle { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 600; padding: 8px 20px; border-radius: 999px; margin-bottom: 14px; background: linear-gradient(90deg, var(--accent), transparent); }
.ptitle i { font-weight: 500; color: var(--accent-ink); }
.pbody { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.pbody.with-art { grid-template-columns: auto 1fr; }
.art img { width: auto; height: auto; max-width: min(130px, 26vw); max-height: 340px; border-radius: 14px; }
.fam.tall .art img { max-height: 560px; }
.plist { list-style: none; margin: 0; padding: 0; min-width: 0; }
.plist li { padding: 9px 0 9px 20px; position: relative; border-bottom: 1px dotted var(--line); font-size: 1.05rem; overflow-wrap: anywhere; }
.plist li:last-child { border-bottom: 0; }
.plist li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--rose-deep); }
.plist small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.plist .soon { color: var(--muted); font-style: italic; padding-left: 0; }
.plist .soon::before { display: none; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 10px 26px; min-width: 0; }
.row { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.ico { width: 52px; height: 52px; border-radius: 50%; background: var(--pill); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.row .lbl { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.row .val { overflow-wrap: anywhere; text-underline-offset: 3px; }
.mini { font-family: var(--font-display); font-size: 0.82rem; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.mini:hover { border-color: var(--rose-deep); }
.thanks { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; text-align: center; min-width: 0; }
.thanks-text { padding: 36px 24px 8px; }
.thanks .script { font-size: clamp(3.4rem, 9vw, 5rem); margin: 0; }
.thanks p { margin: 0; }
.thanks img { width: 100%; }

/* Informations légales */
.legal-wrap { max-width: 760px; margin: 0 auto; }
.back { display: inline-block; margin-bottom: 14px; font-family: var(--font-display); font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.lcard { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 26px 24px; margin-top: 18px; min-width: 0; }
.lcard h2 { font-size: 1.35rem; }
.lcard p { margin: 8px 0 0; color: var(--muted); }
.lcard dl { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 10px 18px; margin: 14px 0 0; }
.lcard dt { font-family: var(--font-display); font-weight: 600; }
.lcard dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.lcard a { text-underline-offset: 3px; }
.invite { border-top: 1px dotted var(--line); padding-top: 14px; margin-top: 16px !important; }

footer.site { text-align: center; padding: 28px 0 48px; color: var(--muted); font-size: 0.92rem; }
footer.site .script { display: block; font-size: 2rem; margin-bottom: 2px; }
.legal-link { margin-top: 10px; font-size: 0.85rem; }
.legal-link a { color: var(--muted); text-underline-offset: 3px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 6px; padding-bottom: 20px; }
  .hero-photo img { border-radius: 30px 30px 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .tarifs { grid-template-columns: 1fr; }
  .tarifs-photo { display: flex; justify-content: center; max-height: 300px; overflow: hidden; }
  .tarifs-photo img { width: auto; height: 300px; }
  .perfs { grid-template-columns: 1fr; }
  .fam.tall { grid-row: auto; }
  .contact { grid-template-columns: 1fr; }
  section { padding-block: 38px; }
}
@media (max-width: 560px) {
  .lcard dl { grid-template-columns: 1fr; gap: 2px; }
  .lcard dd { margin-bottom: 10px; }
  .lcard { padding-inline: 18px; }
}
@media (max-width: 480px) {
  .fam { padding-inline: 16px; }
  .card { padding-inline: 16px; }
  .row { grid-template-columns: 44px 1fr; gap: 12px; }
  .row .mini { grid-column: 2; justify-self: start; }
  .ico { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.min0 { min-width: 0; }
.sec-title { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
