/* Sites de démonstration (entreprises fictives) */
@font-face { font-family: "Lora"; src: url(/fonts/Lora-Variable.woff) format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url(/fonts/Lora-Italic-Variable.woff) format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

.demo-body { background: var(--bg, #fff); }
.demo-banner { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 9px 20px; background: #0E1116; color: #D9DDE4; font: 600 13.5px/1.4 "Inter", system-ui, sans-serif; }
.demo-banner a { color: #fff; }
.demo-banner-actions { display: flex; gap: 16px; align-items: center; }
.demo-banner-actions a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.demo-banner .db-cta { background: #D4F53C; color: #0E1116; padding: 7px 14px; border-radius: 999px; font-weight: 800; }

.demo { background: var(--bg); color: var(--ink); font-family: "Inter", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
.demo h1, .demo h2, .demo h3, .demo h4 { margin: 0; line-height: 1.1; color: var(--ink); }
.demo p { margin: 0; }
.demo a { color: inherit; }
.demo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.d-narrow { max-width: 820px; }

/* En-tête */
.d-header { position: sticky; top: 40px; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.d-header-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.d-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.d-brand .i { color: var(--accent); }
.d-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.d-nav a { text-decoration: none; color: var(--muted); }
.d-nav a:hover { color: var(--ink); }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font: 700 16px/1 "Inter", sans-serif; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; transition: transform .15s; }
.d-btn:hover { transform: translateY(-1px); }
.d-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.d-btn-ghost { background: transparent; color: var(--ink) !important; border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.d-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Hero */
.d-hero { padding: 72px 0 84px; position: relative; }
.d-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.d-hero h1 { font-size: clamp(40px, 5.4vw, 70px); letter-spacing: -0.035em; }
.d-hero-copy > p { font-size: 20px; color: var(--muted); margin-top: 20px; max-width: 580px; }
.d-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.d-rating { display: flex; width: fit-content; align-items: center; gap: 8px; text-decoration: none; font-size: 14.5px; color: var(--muted); background: var(--surface); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-rating b { color: var(--ink); }
.d-hero-addr { display: flex; align-items: center; gap: 8px; font-size: 15px !important; margin-top: 22px !important; }
.d-hero-media { aspect-ratio: 4 / 4.3; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.d-stars { display: inline-flex; gap: 1px; color: #F4B400; }
.d-stars .on .i { fill: currentColor; }

/* Hero plein écran (restaurant, coach, plombier) */
.d-hero-full { background: linear-gradient(0deg, rgba(10,10,12,.62), rgba(10,10,12,.62)), var(--hero) center / cover no-repeat; color: #fff; padding: 132px 0 148px; }
.d-hero-full .d-hero-in { grid-template-columns: minmax(0, 760px); }
.d-hero-full h1, .d-hero-full .d-hero-copy > p, .d-hero-full .d-hero-addr { color: #fff; }
.d-hero-full .d-hero-copy > p { color: rgba(255,255,255,.88); }
.d-hero-full .d-kicker { color: #fff; opacity: .9; }
.d-hero-full .d-btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.55); }
.d-hero-full .d-rating { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.2); }
.d-hero-full .d-rating b { color: #fff; }

/* Bandeau de réassurance */
.d-trust { background: var(--accent); color: var(--accent-ink); }
.d-trust-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; font-weight: 700; font-size: 15px; }
.d-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Sections */
.d-section { padding: 96px 0; }
.d-alt { background: var(--surface); }
.d-sec-head { max-width: 720px; margin-bottom: 44px; }
.d-sec-head h2, .d-section h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.03em; }
.d-sec-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.d-sec-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; }
.d-lead { font-size: 19px; color: var(--muted); margin-top: 16px !important; }

/* Prestations */
.d-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.d-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.d-card { background: var(--surface); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 12px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-alt .d-card { background: var(--bg); }
.d-card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.d-card h3 { font-size: 23px; }
.d-card p { color: var(--muted); flex: 1; }
.d-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-price { font-size: 18px; color: var(--accent); }
.d-card-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; font-size: 15px; }

/* Galerie */
.d-gallery { padding: 0 0 8px; }
.d-gallery-in { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 8px; overflow-x: auto; padding: 0 8px; }
.d-gallery figure { margin: 0; height: 320px; border-radius: 18px; overflow: hidden; }

/* À propos */
.d-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.d-about-media { aspect-ratio: 5 / 4.2; border-radius: 24px; overflow: hidden; }
.d-split h2 { margin-bottom: 4px; }
.d-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.d-list li { display: flex; gap: 10px; align-items: flex-start; }
.d-list .i { color: var(--accent); margin-top: 3px; }

/* Étapes */
.d-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.d-steps li { background: var(--surface); border-radius: 22px; padding: 30px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 18px; }
.d-steps h3 { font-size: 21px; margin-bottom: 8px; }
.d-steps p { color: var(--muted); }

/* Avis */
.d-score { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 18px; padding: 14px 20px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-alt .d-score { background: var(--bg); }
.d-score strong { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.d-score small { display: block; color: var(--muted); font-size: 13.5px; }
.d-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.d-review { margin: 0; background: var(--surface); border-radius: 22px; padding: 28px; display: grid; gap: 14px; align-content: start; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-alt .d-review { background: var(--bg); }
.d-review blockquote { margin: 0; font-size: 17px; }
.d-review figcaption { display: flex; flex-direction: column; font-size: 14.5px; }
.d-review figcaption span { color: var(--muted); }

/* Zone */
.d-zone { display: flex; flex-wrap: wrap; gap: 10px; }
.d-zone span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--surface); font-weight: 600; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-zone .i { color: var(--accent); }

/* FAQ */
.d-faq { display: grid; gap: 10px; }
.d-faq details { background: var(--bg); border-radius: 16px; padding: 0 22px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-faq summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; }
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq details[open] summary .i { transform: rotate(45deg); }
.d-faq details p { padding-bottom: 20px; color: var(--muted); }

/* Accès */
.d-access { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.d-map-wrap { border-radius: 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.d-map { display: block; width: 100%; height: auto; }
.d-access h2 { margin-bottom: 22px; font-size: clamp(28px, 3.4vw, 40px) !important; }
.d-info { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.d-info li { display: flex; gap: 12px; align-items: flex-start; }
.d-info .i { color: var(--accent); margin-top: 3px; }
.d-hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.d-hours th, .d-hours td { padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); text-align: left; }
.d-hours td { text-align: right; color: var(--muted); }

/* Contact */
.d-contact-sec { background: var(--soft); }
.d-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.d-contact .d-btn { margin-top: 26px; }
.d-form { background: var(--surface); border-radius: 24px; padding: 30px; display: grid; gap: 14px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.d-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.d-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.d-form input, .d-form textarea, .d-form select { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--bg); color: var(--ink); width: 100%; box-sizing: border-box; }
.d-form small { color: var(--muted); font-size: 12.5px; }

/* Pied de page */
.d-footer { background: var(--ink); color: color-mix(in srgb, var(--bg) 75%, transparent); padding: 44px 0 24px; font-size: 14.5px; }
.d-footer .d-brand { color: var(--bg); }
.d-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.d-footer-in p { margin-top: 10px; }
.d-footer-links { display: flex; gap: 20px; }
.d-footer-links a { text-decoration: none; }
.d-footer-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent); font-size: 13px; }
.demo-bold.demo-bold .d-footer, .demo-split .d-footer { background: #0E1116; }
.d-call { display: none; }

/* ---------- Carte du restaurant ---------- */
.d-formule { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--ink); color: var(--bg); border-radius: 22px; padding: 26px 30px; margin-bottom: 34px; }
.d-formule-k { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #F1C9A5; }
.d-formule p { margin-top: 6px !important; font-size: 17px; }
.d-formule small { opacity: .75; }
.d-formule strong { font-family: "Lora", Georgia, serif; font-size: 44px; font-weight: 600; white-space: nowrap; }
.d-tabs { position: sticky; top: 110px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-bottom: 18px; background: var(--bg); scrollbar-width: none; }
.d-tabs a { flex: none; padding: 10px 18px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); text-decoration: none; font-weight: 700; font-size: 15px; background: var(--surface); }
.d-tabs a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.d-cat { scroll-margin-top: 180px; padding-top: 30px; }
.d-cat-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px; }
.d-cat-h h3 { font-size: 34px; }
.d-cat-h span { color: var(--muted); font-size: 15px; font-style: italic; }
.d-dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 18px; }
.d-dish { background: var(--surface); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); transition: transform .2s, box-shadow .2s; }
.d-dish:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.4); }
.d-dish-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.d-dish-img .dv { border-radius: 0; aspect-ratio: auto; height: 100%; }
.d-ribbon { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.d-dish-body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.d-dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.d-dish h4 { font-size: 20px; }
.d-dish-top b { color: var(--accent); white-space: nowrap; font-size: 17px; }
.d-dish p { color: var(--muted); font-size: 15px; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.d-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--soft); }
.t-veg { color: #2F6B3A; background: #E3F1E1; }
.t-epice { color: #A23B16; background: #FBE3D6; }
.t-nouveau { color: #5B2BB5; background: #EFE5FF; }
.t-signature { color: var(--accent); }
.d-menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 40px; }
.d-menu-row { padding: 12px 0; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.d-menu-item { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 18px; }
.d-menu-item i { flex: 1; border-bottom: 1.5px dotted color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-4px); }
.d-menu-item b { color: var(--accent); white-space: nowrap; }
.d-menu-row p { color: var(--muted); font-size: 15px; margin: 4px 0 6px !important; }
.d-menu-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; color: var(--muted); font-size: 14.5px; }
.d-menu-foot span { display: inline-flex; align-items: center; gap: 8px; }
.d-delivery { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; background: var(--surface); border-radius: 20px; padding: 22px 26px; }
.d-delivery strong { margin-right: auto; font-size: 18px; }
.d-chip { padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }

/* Illustration de secours (photo absente) */
.dv { position: relative; width: 100%; height: 100%; min-height: 220px; background: var(--soft); overflow: hidden; display: grid; place-items: center; color: var(--accent); }
.dv-shape { position: absolute; border-radius: 50%; }
.dv-shape.a { width: 70%; aspect-ratio: 1; background: color-mix(in srgb, var(--accent) 22%, var(--soft)); top: -14%; right: -18%; }
.dv-shape.b { width: 52%; aspect-ratio: 1; background: color-mix(in srgb, var(--accent) 12%, var(--soft)); bottom: -16%; left: -12%; }
.dv-shape.c { width: 26%; aspect-ratio: 1; background: var(--accent); opacity: .9; bottom: 14%; right: 14%; }
.dv-icon { position: relative; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }

/* ---------- Styles par univers ---------- */
.demo-elegant h1, .demo-elegant h2, .demo-elegant h3, .demo-elegant h4, .demo-elegant .d-brand, .demo-elegant .d-score strong,
.demo-restaurant h1, .demo-restaurant h2, .demo-restaurant h3, .demo-restaurant h4, .demo-restaurant .d-brand, .demo-restaurant .d-score strong { font-family: "Lora", Georgia, serif; font-weight: 600; letter-spacing: -0.015em; }
.demo-elegant .d-hero h1 { font-weight: 500; }
.demo-elegant .d-hero-media { border-radius: 240px 240px 28px 28px; }
.demo-elegant .d-btn { border-radius: 8px; }
.demo-restaurant .d-hero h1 { font-style: italic; font-weight: 500; font-size: clamp(46px, 6.4vw, 84px); }
.demo-bold h1, .demo-bold h2, .demo-bold h3, .demo-bold .d-score strong { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; }
.demo-bold .d-hero h1 { font-size: clamp(52px, 8vw, 108px); letter-spacing: -0.05em; line-height: .95; }
.demo-bold .d-card, .demo-bold .d-review, .demo-bold .d-steps li { border-radius: 10px; }
.demo-bold .d-btn { border-radius: 10px; }
.demo-split .d-hero { background: var(--surface); }
.demo-split h1, .demo-split h2, .demo-split h3 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 800; }
.demo-split .d-hero-media { border-radius: 16px; }

@media (max-width: 960px) {
  .d-nav, .d-header .d-btn-sm { display: none; }
  .d-header { top: 0; position: relative; }
  .d-tabs { top: 0; }
  .d-hero { padding: 44px 0 60px; }
  .d-hero-full { padding: 80px 0 90px; }
  .d-hero-in, .d-split, .d-contact, .d-access { grid-template-columns: 1fr; gap: 36px; }
  .d-hero-media { aspect-ratio: 4 / 3; }
  .d-cards, .d-cards-4, .d-reviews, .d-steps, .d-dishes, .d-menu-list { grid-template-columns: 1fr; }
  .d-section { padding: 64px 0; }
  .d-formule { flex-direction: column; align-items: flex-start; }
  .d-formule strong { font-size: 36px; }
  .d-form-row { grid-template-columns: 1fr; }
  .d-dishes { gap: 12px; }
  .d-dish { flex-direction: row; border-radius: 16px; }
  .d-dish-img { flex: none; width: 112px; aspect-ratio: auto; min-height: 112px; }
  .d-dish-img .dv { min-height: 112px; }
  .d-dish-img .dv-icon { display: none; }
  .d-ribbon { top: 8px; left: 8px; font-size: 10.5px; padding: 3px 7px; }
  .d-dish-body { padding: 12px 14px; gap: 4px; }
  .d-dish h4 { font-size: 17px; }
  .d-dish p { font-size: 13.5px; }
  .d-gallery figure { height: 220px; }
  .d-call { display: inline-flex; position: fixed; right: 16px; bottom: 16px; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); z-index: 40; }
  .demo-banner { font-size: 12.5px; padding: 8px 14px; position: relative; }
  .d-trust-in { justify-content: flex-start; font-size: 14px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .d-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
