/* Gabarit commun des démos – les couleurs viennent des variables --p (primaire), --a (accent), --f (fond) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.0625rem; line-height: 1.6; color: #222; background: var(--f); }
h1, h2, h3 { line-height: 1.2; color: var(--p); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--p); }
a:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }
.d-conteneur { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Bandeau de démonstration (interface de VitrinePro, police système) */
.bandeau-demo { position: sticky; top: 0; z-index: 60; background: #0b3d2e; color: #e8f0eb; font: .9rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.bandeau-demo p { margin: 0; }
.bandeau-liens { display: flex; gap: 14px; align-items: center; }
.bandeau-demo a { color: #fff; }
.bandeau-cta { background: #f2a541; color: #0b3d2e !important; font-weight: 700; text-decoration: none; padding: .45em 1em; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }

/* En-tête de la démo */
.d-entete { background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.d-entete-in { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.d-logo { font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.d-entete nav { display: flex; gap: 18px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: .95rem; }
.d-entete nav a { text-decoration: none; color: #333; padding: .5em 0; }

/* Hero */
.d-hero { padding: 48px 0; }
.d-hero-grille { display: grid; gap: 32px; align-items: center; }
.d-metier { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 700; color: var(--a); }
.d-accroche { font-size: 1.2rem; color: #444; max-width: 32em; }
.d-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.d-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7em 1.5em; border-radius: 8px; background: var(--p); color: #fff; border: 2px solid var(--p); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; text-decoration: none; }
.d-btn-contour { background: transparent; color: var(--p); }
.d-visuel { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--a), var(--p)); box-shadow: 0 20px 40px rgba(0, 0, 0, .12); }
.d-visuel img, .d-carte-img img, .d-histoire-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Points forts */
.d-atouts { background: var(--p); color: #fff; }
.d-atouts ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: grid; gap: 8px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; }
.d-atouts li::before { content: "✓"; color: var(--a); margin-right: .5em; }

/* Sections */
.d-section { padding: 56px 0; }
.d-section-alt { background: #fff; }
.d-note { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: .9rem; color: #666; }
.d-grille { display: grid; gap: 20px; }
.d-carte { background: #fff; border-radius: 14px; padding: 16px 16px 20px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.d-carte-img { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--f), var(--a)); margin-bottom: 14px; }
.d-histoire { display: grid; gap: 32px; align-items: center; }
.d-histoire-img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--f); }
.d-chiffres { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.d-chiffres li { background: var(--f); border-radius: 12px; padding: 14px 6px; }
.d-chiffres strong { display: block; font-size: 1.35rem; color: var(--p); }
.d-chiffres span { font-size: .85rem; color: #555; }
.d-carte p { color: #555; margin-bottom: .5em; }
.d-prix { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 700; color: var(--p) !important; font-size: 1.1rem; margin: 0; }
.d-avis { margin: 0; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); border-radius: 14px; padding: 22px; }
.d-avis blockquote { margin: 0; font-style: italic; }
.d-etoiles { color: var(--a); letter-spacing: 2px; margin-bottom: .4em; }
.d-avis figcaption { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; }
.d-avis figcaption small { font-weight: 400; color: #777; }
.d-horaires { width: 100%; border-collapse: collapse; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.d-horaires th, .d-horaires td { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); text-align: left; vertical-align: top; }
.d-horaires td { text-align: right; padding-left: 12px; }
address { font-style: normal; margin-bottom: 1em; }
.d-carte-plan { height: 200px; border-radius: 14px; background: repeating-linear-gradient(45deg, #e9ecef 0 12px, #f4f5f7 12px 24px); display: grid; place-items: center; color: #555; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 600; }

/* Pied */
.d-pied { background: #1d1d1d; color: #bbb; padding: 28px 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: .92rem; }
.d-pied a { color: #fff; }
.d-pied p { margin: .3em 0; }

@media (min-width: 640px) {
  .d-grille { grid-template-columns: 1fr 1fr; }
  .d-atouts ul { grid-template-columns: repeat(3, 1fr); text-align: center; }
}
@media (min-width: 960px) {
  .d-hero { padding: 80px 0; }
  .d-hero-grille { grid-template-columns: 1.1fr .9fr; }
  .d-grille { grid-template-columns: repeat(4, 1fr); }
  .d-grille-2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .d-histoire { grid-template-columns: 1fr 1fr; gap: 56px; }
  .d-section { padding: 80px 0; }
}
