/* bandeau commun aux démos (copié en tête de chaque feuille de démo) */
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 10px max(16px, 3vw); padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: #1A2BC3; color: #FFFFFF; font: 500 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.demo-banner p { margin: 0; }
.demo-banner a { color: #FFFFFF; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.demo-note { margin: 12px 0 0; font-weight: 700; }
/* Démo Pavé Fleuri : fleuriste de quartier. Blanc, prune, coquelicot, pivoine, feuille. Gloock + Figtree. */
@font-face { font-family: "Gloock"; src: url("../../fonts/gloock.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
:root { --blanc: #FFFDFB; --encre: #23151C; --encre-2: #6A5560; --coquelicot: #E8432A; --pivoine: #F7A1C4; --rose-pale: #FDEEF3; --feuille: #2E6B47; --mimosa: #F7C948; --ligne: rgba(35,21,28,.14); color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --blanc: #1B1217; --encre: #FBEFF3; --encre-2: #CDB6C1; --rose-pale: #2A1A22; --ligne: rgba(251,239,243,.16); color-scheme: dark; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.65 "Figtree", system-ui, sans-serif; }
svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Gloock", Georgia, serif; font-weight: 400; line-height: 1.04; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); margin-bottom: .45em; }
h3 { font-size: 1.6rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--coquelicot); outline-offset: 3px; }
.f-wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

.f-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 16px clamp(18px, 4vw, 40px); background: color-mix(in srgb, var(--blanc) 90%, transparent); backdrop-filter: blur(8px); }
.f-logo { font: 400 1.7rem/1 "Gloock", serif; text-decoration: none; letter-spacing: -.01em; }
.f-logo span { color: var(--coquelicot); }
.f-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.f-nav a:not(.f-btn) { padding: 8px 12px; text-decoration: none; font-weight: 600; border-radius: 999px; }
.f-nav a:not(.f-btn):hover { background: var(--rose-pale); }
.f-burger { display: none; margin-left: auto; font: 700 1rem "Figtree", sans-serif; background: var(--rose-pale); color: var(--encre); border: 0; border-radius: 999px; padding: 10px 18px; }
.f-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #D63A22; color: #fff; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.f-btn:hover { background: #C33419; }
.f-btn--clair { background: #FFFDFB; color: #23151C; }
.f-btn--clair:hover { background: var(--mimosa); }
@media (max-width: 860px) {
  .f-burger { display: inline-block; }
  .f-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px clamp(18px, 4vw, 40px) 20px; background: var(--blanc); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .f-nav.is-open { display: flex; }
}

.f-hero { overflow: hidden; background: radial-gradient(circle at 78% 40%, var(--rose-pale) 0 32%, transparent 33%); }
.f-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px); }
.f-hero h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); }
.f-lead { font-size: 1.2rem; max-width: 38ch; color: var(--encre-2); margin: 24px 0 30px; }
.f-ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.f-link { font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--coquelicot); }
.f-bouquet { margin: 0; justify-self: center; width: min(100%, 500px); }
.fleur { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .f-bouquet .tige { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tige 1.2s cubic-bezier(.4,0,.2,1) .1s forwards; }
  .js .f-bouquet .feuille { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: eclot .5s cubic-bezier(.2,.9,.3,1.3) 1s forwards; }
  .js .f-bouquet .fleur { transform: scale(0) rotate(-40deg); animation: eclot .7s cubic-bezier(.2,.9,.3,1.25) forwards; animation-delay: calc(1.1s + var(--d)); }
  .f-carte.is-in .fleur { animation: eclot .6s cubic-bezier(.2,.9,.3,1.25) both; animation-delay: calc(.2s + var(--d)); }
}
@keyframes tige { to { stroke-dashoffset: 0; } }
@keyframes eclot { to { transform: none; } }
@media (max-width: 860px) { .f-hero-in { grid-template-columns: 1fr; } .f-bouquet { width: min(86%, 380px); } .f-hero { background: none; } }

.f-saison { background: var(--encre); color: var(--blanc); padding-block: 34px; }
@media (prefers-color-scheme: dark) { .f-saison { background: #2E1F27; } }
.f-saison h2 { font-size: 1.6rem; margin-bottom: 16px; color: #FFFDFB; }
.f-pastilles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.f-pastilles li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #FFFDFB; font-weight: 600; }
.f-pastilles li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }

.f-section { padding-block: clamp(64px, 9vw, 120px); }
.f-section--vert { background: var(--feuille); color: #F4FBF6; }
.f-section--rose { background: var(--rose-pale); }
.f-intro { font-size: 1.15rem; color: var(--encre-2); max-width: 56ch; margin-bottom: 40px; }
.f-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.f-carte { background: var(--rose-pale); border-radius: 200px 200px 24px 24px; padding: 30px 26px 26px; display: grid; }
.f-carte svg { width: 78%; margin: 0 auto 10px; }
.f-carte-txt p { color: var(--encre-2); }
.f-prix { font: 400 1.9rem/1 "Gloock", serif; color: var(--coquelicot) !important; margin: 0; }
@media (max-width: 900px) { .f-cartes { grid-template-columns: 1fr; max-width: 420px; } }

.f-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.f-split p { font-size: 1.12rem; max-width: 50ch; }
.f-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.f-points li { background: rgba(0,0,0,.16); border-radius: 18px; padding: 18px 22px; }
.f-points strong { display: block; font: 400 1.4rem/1.2 "Gloock", serif; }
.f-points span { color: #EDF7F0; }
.f-citation { margin: 0; padding: 32px; border-radius: 28px; background: var(--rose-pale); }
.f-citation p { font: 400 1.6rem/1.3 "Gloock", serif; margin-bottom: 14px; }
.f-citation footer { color: var(--encre-2); font-size: .95rem; }
.f-adresse { font-weight: 700; }
.f-horaires { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: 18px; overflow: hidden; }
.f-horaires caption { text-align: left; font: 400 1.5rem "Gloock", serif; padding-bottom: 12px; }
.f-horaires th, .f-horaires td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ligne); }
.f-horaires td { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.f-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.f-form .f-full { grid-column: 1 / -1; }
.f-form input, .f-form select, .f-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--ligne); background: var(--blanc); color: var(--encre); font: inherit; }
.f-form button { justify-self: start; }
.f-form .demo-note { grid-column: 1 / -1; color: var(--feuille); }
@media (max-width: 860px) { .f-split, .f-form { grid-template-columns: 1fr; } }

.f-footer { background: var(--encre); color: #E6D6DD; padding-block: 28px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .f-footer { background: #120B0F; } }
.f-footer p { margin: 0; }

.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.will-reveal.is-in { opacity: 1; transform: none; }
.f-cartes .will-reveal:nth-child(2) { transition-delay: .1s; }
.f-cartes .will-reveal:nth-child(3) { transition-delay: .2s; }
