/* Salicorne & Fils — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait. */

@font-face { font-family: "Fraunces"; src: url("/exemples/fleuriste/fonts/fraunces-soft.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/exemples/fleuriste/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/exemples/fleuriste/fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* Contrastes mesurés (WCAG) : ink/cream 12.6 · muted/cream 5.8 · muted/card 6.4 · muted/sage-50 5.3 ·
   deep/cream 8.5 · deep/sage-50 7.7 · blanc/deep 9.6 · blanc/deep-2 7.3 · terra/cream 5.3 · terra/card 5.8 ·
   terra/sage-50 4.8 · blanc/terra 5.9 · terra-soft/night 8.3 · muted-night/night 7.5 · cream/night 13.2 ·
   sage-light/night 7.9 · terra-dark/terra-soft 5.0 · blanc/bouton désactivé 5.1 · ok/card 5.1 */
:root {
  --cream: #F6F1E6;
  --card: #FFFCF6;
  --sage-50: #E2E9DD;
  --sage: #6C8A6F;
  --sage-light: #A9C3AC;
  --deep: #2F4B3A;
  --deep-2: #3B5E49;
  --ink: #232D27;
  --muted: #55605A;
  --terra: #A24A2B;
  --terra-soft: #E8B79F;
  --terra-dark: #7A3519;
  --ok: #2F7A4B;
  --night: #1E2A23;
  --muted-night: #AEBBB2;
  --line: rgba(35, 45, 39, 0.13);
  --radius: 20px;
  --shadow: 0 1px 0 rgba(35, 45, 39, .05), 0 24px 50px -30px rgba(35, 45, 39, .5);
  --lift: translateY(-4px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); }
main, .foot { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 450; line-height: 1.08; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--deep); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
.foot :focus-visible { outline-color: var(--terra-soft); }
legend { padding: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

/* ---------- Bandeau démo ---------- */
.demo-bar { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; background: var(--night); color: var(--muted-night); font-size: 13px; text-align: center; }
.demo-bar strong { color: var(--cream); font-weight: 600; }
.demo-bar a { color: var(--terra-soft); font-weight: 600; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 999px; font: 700 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, color .2s ease; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-primary { background: var(--deep); color: #fff; box-shadow: 0 12px 26px -14px rgba(47, 75, 58, .9); }
.btn-primary:hover { background: var(--deep-2); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(47, 75, 58, .95); }
.btn-primary:disabled { background: #66716B; box-shadow: none; transform: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 230, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(35, 45, 39, .5); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(36deg); }
.brand-name { font: 500 25px/1 var(--serif); letter-spacing: -0.01em; }
.brand-name em { font-style: italic; font-weight: 400; color: var(--deep); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--deep); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vh, 64px) 0 clamp(48px, 7vh, 88px); background: radial-gradient(70% 60% at 90% 25%, rgba(169, 195, 172, .45), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(232, 183, 159, .35), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.eyebrow::before { content: ""; flex: 0 0 36px; height: 1.5px; background: var(--terra-soft); }
.hero h1 { margin-top: 18px; font-size: clamp(42px, 5.6vw, 78px); line-height: 1; letter-spacing: -0.028em; }
.hero h1 em { display: block; }
.hero-lead { margin-top: 20px; max-width: 32em; font-size: 18px; color: #3C4742; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #9AA59F; }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 122, 75, .5); animation: beacon 2.4s ease-out infinite; }
.status.is-closed .status-dot { background: var(--terra); }
@keyframes beacon { 70% { box-shadow: 0 0 0 9px rgba(47, 122, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 122, 75, 0); } }

.hero-deliv { margin-top: 18px; padding: 18px 20px; max-width: 520px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow), inset 0 3px 0 var(--terra-soft); display: grid; gap: 12px; }
.hero-cutoff { font-size: 15px; color: var(--muted); }
.hero-cutoff strong { display: block; font: 500 20px/1.25 var(--serif); color: var(--ink); }
.hero-cutoff.is-yes strong { color: var(--deep); }
.hero-cutoff.is-no strong { color: var(--terra); }
.hero-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--muted); }
.hero-pick select { flex: 1 1 200px; }
.hero-pick-out { font-size: 15px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 520px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px 28px 28px; background: var(--sage-50); box-shadow: var(--shadow); }

/* ---------- Engagements ---------- */
.promise { background: var(--deep); color: #E4ECE6; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 34px 0; }
.promise strong { display: block; margin-bottom: 4px; font: 450 22px/1.2 var(--serif); color: #fff; }
.promise span { font-size: 15px; }

/* ---------- Sections ---------- */
section[id] { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.section-head h2, .infos h2, .faq-sec h2, .deuil h2 { margin-top: 12px; font-size: clamp(34px, 4.4vw, 56px); }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); }
.mini-title { margin-bottom: 14px; font-size: 24px; }

/* ---------- Champs et boutons-choix ---------- */
.field { display: block; }
.field > span, .radio-group > legend { display: block; margin: 0 0 6px 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.field small, .radio-group small { font-weight: 500; }
.field input, .field textarea, .field select, select { width: 100%; padding: 13px 16px; border: 1.5px solid #8C978F; border-radius: 14px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .2s ease, box-shadow .2s ease; }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232F4B3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus, select:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(47, 75, 58, .22); }
.field input:focus-visible, .field textarea:focus-visible, select:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(162, 74, 43, .15); }
.field-err { margin: 6px 0 0 4px; font-size: 14px; font-weight: 600; color: var(--terra); }
.field-wide { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { min-height: 1.4em; margin-top: 12px; color: var(--terra); font-weight: 700; font-size: 15px; }
.radio-group { min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios-col { flex-direction: column; align-items: stretch; }
.radio, .opt { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.radio:hover, .opt:hover { box-shadow: inset 0 0 0 1.5px var(--deep); }
.radio input, .opt input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--deep); }
.radio:has(input:checked), .opt:has(input:checked) { background: var(--sage-50); box-shadow: inset 0 0 0 2px var(--deep); }
.radio:has(input:focus-visible), .opt:has(input:focus-visible) { outline: 3px solid var(--deep); outline-offset: 2px; }
.radio input:disabled + span { opacity: .55; }
.radio:has(input:disabled) { cursor: not-allowed; background: transparent; }
.radio small, .opt small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 17px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--deep); }
.chip[aria-pressed="true"] { background: var(--deep); color: #fff; box-shadow: none; }
.chips-small { margin: 10px 0 16px; }
.chips-small .chip { padding: 8px 14px; font-size: 14px; }

/* ---------- Livraison ---------- */
.deliv { background: linear-gradient(180deg, var(--cream), var(--sage-50)); }
.deliv-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.deliv-card { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.deliv-out { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.deliv-fee { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.deliv-fee b { font: 450 46px/1 var(--serif); color: var(--deep); }
.deliv-fee span { font-size: 16px; color: var(--muted); }
.deliv-next { font: 450 21px/1.3 var(--serif); }
.deliv-delay { font-size: 15px; color: var(--muted); }
.tour { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tour li { min-width: 52px; padding: 7px 10px; border-radius: 999px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.tour li.is-on { background: var(--deep); color: #fff; box-shadow: none; }
.tour li.is-today { outline: 2px dashed var(--terra); outline-offset: 2px; }
.deliv-holiday { padding: 10px 14px; border-radius: 12px; background: rgba(232, 183, 159, .35); color: var(--terra-dark); font-size: 14px; font-weight: 600; }
.deliv-table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.deliv-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.deliv-table th, .deliv-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 500; }
.deliv-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.deliv-table tbody th { font-weight: 700; }
.deliv-table td:nth-child(2) { font: 450 18px/1 var(--serif); white-space: nowrap; }
.deliv-table tr:last-child th, .deliv-table tr:last-child td { border-bottom: 0; }
.deliv-table tr.is-sel th, .deliv-table tr.is-sel td { background: var(--sage-50); }
.deliv-table tr.is-sel th { box-shadow: inset 3px 0 0 var(--deep); }
.deliv-table small { color: var(--muted); font-weight: 500; }

/* ---------- Bouquets ---------- */
.filters { display: grid; gap: 12px; margin-bottom: 24px; }
.filter-count { font-size: 14px; font-weight: 600; color: var(--muted); }
.bq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bq { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.bq:hover { transform: var(--lift); }
.bq img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sage-50); }
.bq-body { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 20px; }
.bq h3 { font-size: 24px; }
.bq-tags { margin-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.bq-desc { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.bq-sizes { list-style: none; margin: 14px 0 16px; padding: 10px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: 14.5px; }
.bq-sizes li { display: flex; justify-content: space-between; gap: 8px; }
.bq-sizes small { color: var(--muted); }
.bq-sizes b { font: 450 18px/1.2 var(--serif); }
.bq-pick { margin-top: auto; width: 100%; }
.bq.is-entering { animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.bq-empty { margin-top: 8px; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-align: center; }
.bq-empty .btn { margin-top: 14px; }
.bq-deuil-note { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--sage-50); font-size: 15px; }
.bq-deuil-note a { color: var(--deep); font-weight: 700; }

.subst { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.subst-photo { margin: 0; }
.subst-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--sage-50); box-shadow: var(--shadow); }
.subst-text h3 { margin: 10px 0 14px; font-size: clamp(28px, 3.4vw, 42px); }
.subst-text p { color: var(--muted); }
.subst-rules { margin: 16px 0; padding: 0; list-style: none; counter-reset: rule; display: grid; gap: 12px; }
.subst-rules li { position: relative; padding-left: 52px; counter-increment: rule; }
.subst-rules li::before { content: counter(rule); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--deep); font: italic 400 20px/1 var(--serif); color: var(--deep); }
.subst-rules strong { color: var(--ink); }

/* ---------- Commande ---------- */
.order { background: linear-gradient(180deg, var(--sage-50), var(--cream)); }
.stepper { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 252, 246, .6); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.step-n { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-50); color: var(--deep); font: 700 13px/1 var(--sans); }
.stepper li[aria-current="step"] { background: var(--deep); color: #fff; box-shadow: none; }
.stepper li[aria-current="step"] .step-n { background: #fff; }
.stepper li.is-done .step-n { background: var(--deep); color: #fff; }
.stepper li.is-done .step-n::before { content: "✓"; }
.stepper li.is-done .step-n { font-size: 0; }
.stepper li.is-done .step-n::before { font-size: 14px; }

.order-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.order-form { min-width: 0; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.step-title { margin-bottom: 18px; font: 450 28px/1.1 var(--serif); }
.step-title:focus { outline: none; }
.step-title:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
.step-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.step-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--sage-50); }
.step-fields { display: grid; gap: 16px; }
.step-hint { font-size: 14.5px; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sizes .radio { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; }
.sizes .radio span { display: grid; gap: 2px; }
.sizes b { font: 450 22px/1.1 var(--serif); }
.lieu-hint { padding: 10px 14px; border-radius: 12px; background: var(--sage-50); font-size: 14.5px; min-height: 0; }
.lieu-hint:empty { display: none; }
.deliv-line { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--sage-50); font-weight: 600; font-size: 15px; }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.date { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-family: var(--sans); color: var(--ink); cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.date span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.date b { font: 450 26px/1.1 var(--serif); }
.date small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.date:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--deep); }
.date[aria-pressed="true"] { background: var(--deep); color: #fff; box-shadow: none; }
.date[aria-pressed="true"] small { color: #D5E2D9; }
.date:disabled { background: transparent; color: var(--muted); cursor: not-allowed; }
.date:disabled small { color: var(--muted); }
.dates-hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.radio-group + .radio-group { margin-top: 20px; }
.card-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.field textarea { resize: vertical; }
.msg-meta { display: flex; justify-content: flex-end; margin-top: 4px; }
.msg-count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.msg-count.is-near { color: var(--terra); }
.card-preview { position: sticky; top: 96px; }
.cp-label { margin: 0 0 6px 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.cp-card { position: relative; padding: 28px 26px; min-height: 220px; border-radius: 6px; background: #FFFDF8; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(108, 138, 111, .18) 31px 32px); box-shadow: 0 1px 0 rgba(35, 45, 39, .06), 0 20px 36px -24px rgba(35, 45, 39, .55); transform: rotate(-1.2deg); }
.cp-card::before { content: ""; position: absolute; top: -8px; left: 50%; width: 76px; height: 20px; translate: -50% 0; background: rgba(232, 183, 159, .65); }
.cp-to { font: italic 400 20px/1.4 var(--serif); color: var(--deep); }
.cp-msg { margin-top: 10px; font: 400 19px/1.65 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.cp-msg.is-empty { color: var(--muted); font-style: italic; }
.cp-sign { margin-top: 14px; text-align: right; font: italic 400 19px/1.4 var(--serif); color: var(--terra); }
.recap { margin: 22px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--cream); display: grid; gap: 6px; font-size: 15px; }
.recap div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.recap dt { color: var(--muted); font-weight: 600; }
.recap dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding: 4px 4px 0; }
.recap-total span { font-weight: 700; color: var(--muted); }
.recap-total b { font: 450 32px/1 var(--serif); color: var(--deep); }
.order-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }
.order-actions .btn-primary { margin-left: auto; }

.summary { position: sticky; top: 96px; padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow), inset 0 3px 0 var(--terra-soft); }
.summary h3 { font-size: 26px; }
.sum-lines { margin: 16px 0 0; }
.sum-lines div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 15px; }
.sum-lines dt { color: var(--muted); }
.sum-lines dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.sum-total { margin-top: 8px; padding-top: 12px !important; border-top: 1px solid var(--line); }
.sum-total dd { font: 450 30px/1 var(--serif); color: var(--deep); }
.is-bumped { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--terra); } }

.sent { max-width: 680px; margin: 24px auto 0; padding: 34px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-align: center; }
.sent:focus { outline: none; }
.sent:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
.sent h3 { font-size: 30px; }
.sent p { margin-top: 10px; }
.sent .btn { margin-top: 18px; }
.sent-illu { width: 120px; margin: 0 auto 12px; }
.sent-stem { stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw 1s var(--ease) forwards; }
.sent-stem:nth-child(2) { animation-delay: .2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Deuil : sobre, sans mouvement ---------- */
.deuil { background: #EAEEE7; }
.deuil *, .deuil *::before, .deuil *::after { animation: none !important; }
.deuil-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.deuil-intro p:not(.kicker) { margin-top: 16px; color: #3C4742; }
.deuil .kicker { color: var(--terra-dark); }
.deuil h2 em { color: var(--ink); }
.deuil-photo { margin: 28px 0 0; }
.deuil-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--sage-50); }
.deuil-panel { padding: 30px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(35, 45, 39, .06), 0 18px 40px -32px rgba(35, 45, 39, .5); }
.deuil-form { display: grid; gap: 22px; }
.deuil-form .radio-group + .radio-group { margin-top: 0; }
.deuil .radio:has(input:checked) { background: #EAEEE7; }
.deuil-soon { font-size: 14.5px; font-weight: 600; color: var(--terra-dark); }
.deuil-soon:empty { display: none; }
.sent-quiet { margin: 0; padding: 12px 0; box-shadow: none; background: transparent; text-align: left; }
.sent-quiet h3 { font-size: 26px; }

/* ---------- Mariage ---------- */
.mariage { background: var(--card); }
.mar-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.mar-main { display: grid; gap: 20px; min-width: 0; }
.step-card { padding: 26px; border-radius: var(--radius); background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.mar-photo { margin: 0; position: sticky; top: 96px; }
.mar-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px; background: var(--sage-50); box-shadow: var(--shadow); }
.legend { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 50%; }
.lg-free { background: var(--ok); }
.lg-opt { background: transparent; box-shadow: inset 0 0 0 2.5px var(--terra); }
.lg-full { background: #66716B; }
.weekends { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.wk { display: grid; gap: 4px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; color: var(--ink); font-family: var(--sans); cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease; }
.wk b { font: 450 17px/1.2 var(--serif); }
.wk span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.wk span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.wk-free span::before { background: var(--ok); }
.wk-opt span::before { box-shadow: inset 0 0 0 2.5px var(--terra); }
.wk-full span::before { background: #66716B; }
.wk:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--deep); }
.wk[aria-pressed="true"] { background: var(--deep); color: #fff; box-shadow: none; }
.wk[aria-pressed="true"] span::before { background: #fff; box-shadow: none; }
.wk:disabled { background: transparent; color: var(--muted); cursor: not-allowed; }
.mar-form { display: grid; gap: 20px; }
.range input[type="range"] { padding: 0; border: 0; background: transparent; box-shadow: none; accent-color: var(--deep); height: 32px; }
.range b { color: var(--deep); font-size: 18px; }
.opts { display: grid; gap: 8px; }
.opt-qty { background: transparent; box-shadow: none; padding: 0 0 0 44px; cursor: default; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.opt-qty:hover { box-shadow: none; }
.opt-qty input { width: 90px; padding: 9px 12px; border: 1.5px solid #8C978F; border-radius: 12px; font: 400 16px/1.4 var(--sans); }
.opt-qty input:disabled { opacity: .5; }
.estimate { padding: 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.estimate-range { font: 450 32px/1.15 var(--serif); color: var(--deep); }
.estimate-lines { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 12px; }
.estimate-lines span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.sent-inline { margin: 0; text-align: left; padding: 8px 0; box-shadow: none; background: transparent; }

/* ---------- Abonnement ---------- */
.abo { background: var(--deep); color: #E4ECE6; }
.abo .kicker { color: var(--terra-soft); }
.abo h2 { color: #fff; }
.abo h2 em { color: var(--sage-light); }
.abo .section-lead { color: #D3DED6; }
.abo .section-lead strong { color: #fff; }
.abo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.abo-form { display: grid; gap: 22px; padding: 28px; border-radius: var(--radius); background: var(--card); color: var(--ink); }
.abo-form .radio-group + .radio-group { margin-top: 0; }
.abo-result { padding: 30px; border-radius: var(--radius); background: var(--night); box-shadow: inset 0 3px 0 var(--terra-soft); color: #D9E2DC; }
.abo-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); }
.abo-price { margin-top: 8px; }
.abo-price b { font: 450 56px/1 var(--serif); color: #fff; }
.abo-price span { font-size: 17px; color: var(--muted-night); }
.abo-detail { margin-top: 8px; font-size: 15px; color: var(--muted-night); }
.abo-points { list-style: none; margin: 18px 0; padding: 16px 0 0; border-top: 1px solid rgba(246, 241, 230, .14); display: grid; gap: 8px; font-size: 15px; }
.abo-points li { position: relative; padding-left: 24px; }
.abo-points li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--sage-light); }
.abo-result .fine { color: var(--muted-night); }
.abo-result .btn-primary { margin-top: 16px; width: 100%; background: var(--cream); color: var(--deep); box-shadow: none; }
.abo-result .btn-primary:hover { background: #fff; }
.abo-result :focus-visible { outline-color: var(--terra-soft); }
.abo-sent { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(246, 241, 230, .08); }
.abo-sent:focus { outline: none; }
.abo-sent strong { color: #fff; }

/* ---------- Dates ---------- */
.event-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.event { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.event h3 { font-size: 26px; }
.ev-date { margin-top: 6px; font-size: 15px; color: var(--muted); }
.ev-limit { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; }
.ev-limit b { display: block; font: 450 21px/1.25 var(--serif); color: var(--deep); }
.ev-limit.is-late b { color: var(--terra); }
.ev-count { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--sage-50); color: var(--deep); font-size: 13px; font-weight: 700; }
.event.is-next { box-shadow: inset 0 0 0 2px var(--deep), var(--shadow); }
.ev-tag { position: absolute; top: -12px; left: 20px; padding: 3px 12px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.events-sec .fine { margin-top: 20px; }

/* ---------- FAQ et entretien ---------- */
.faq-sec { background: var(--night); color: #D9E2DC; }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-sec .kicker { color: var(--terra-soft); }
.faq-sec h2 { color: var(--cream); }
.faq-sec h2 em { color: var(--sage-light); }
.care { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: tip; display: grid; gap: 18px; }
.care li { position: relative; padding-left: 60px; counter-increment: tip; }
.care li::before { content: counter(tip); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--sage-light); font: italic 400 21px/1 var(--serif); color: var(--sage-light); }
.care strong { display: block; color: #fff; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.faq summary { position: relative; padding: 20px 56px 20px 22px; font-weight: 700; cursor: pointer; list-style: none; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--sans); color: var(--deep); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Infos ---------- */
.infos-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.hours { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--card); font-weight: 700; }
.hours tr.is-today th { box-shadow: inset 3px 0 0 var(--deep); }
.hours-today { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(232, 183, 159, .35); color: var(--terra-dark); font-size: 14.5px; font-weight: 600; }
.infos .mini-title { margin-top: 32px; }
.exceptional { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.exceptional li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.exceptional strong { font-weight: 700; }
.exceptional span { color: var(--muted); text-align: right; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; font-size: 16px; }
.facts li { position: relative; padding-left: 26px; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); }
.facts small { color: var(--muted); }

/* ---------- Pied de page ---------- */
.foot { padding: 60px 0; background: var(--night); color: var(--muted-night); font-size: 15px; border-top: 1px solid rgba(246, 241, 230, .08); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.brand-name-foot { margin-bottom: 8px; color: var(--cream); }
.brand-name-foot em { color: var(--sage-light); }
.foot a { color: var(--cream); }
.foot-small { margin-top: 6px; font-size: 13px; }
.foot-credit a { color: var(--terra-soft); font-weight: 600; text-decoration: none; }
.foot-credit a:hover { text-decoration: underline; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.is-visible:hover { transform: var(--lift); transition-duration: .35s; }

.sticky-book { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .bq-grid { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mar-grid { grid-template-columns: 1fr; }
  .mar-photo { position: static; max-width: 380px; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { justify-self: center; max-width: 420px; }
  .promise-grid, .subst, .deuil-wrap, .faq-grid, .infos-grid, .deliv-grid, .abo-grid { grid-template-columns: 1fr; gap: 28px; }
  .card-zone { grid-template-columns: 1fr; }
  .card-preview { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .demo-long { display: none; }
  .top-inner { min-height: 64px; }
  .top-cta { display: none; }
  .brand-name { font-size: 22px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-lead { font-size: 17px; }
  .bq-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .stepper li { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; border-radius: 14px; text-align: center; font-size: 12px; line-height: 1.2; }
  .order-form, .summary, .deliv-card, .step-card, .abo-form, .abo-result, .deuil-panel, .sent { padding: 20px; }
  .step-row { grid-template-columns: 1fr; }
  .step-img { max-width: 220px; }
  .form-grid { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: 1fr; }
  .order-actions .btn { flex: 1 1 100%; }
  .order-actions .btn-primary { margin-left: 0; }
  .event-grid { grid-template-columns: 1fr; }
  .recap div { grid-template-columns: 1fr; gap: 0; }
  .deliv-table th, .deliv-table td { padding: 10px 12px; }
  .foot { padding-bottom: 110px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-book { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; transition: transform .35s var(--ease), opacity .3s ease; }
  .sticky-book .btn { padding: 16px; box-shadow: 0 16px 30px -10px rgba(35, 45, 39, .6); }
  .sticky-book.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

/* Mouvement réduit : rien ne bouge, mais l'état « ouvert » reste lisible (pastille verte fixe) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .sent-stem { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
  .cp-card { transform: none; }
}
