/* ==========================================================
   Onespa Sàrl, variante 1 : épurée, dark mode, violet primaire
   ========================================================== */

:root {
  /* Dark mode : fond anthracite violacé, violet clair en accent */
  --violet: #7C5CD6;        /* primaire : boutons, accents */
  --violet-dark: #5B3FA6;   /* hover, fonds pleins */
  --violet-text: #B9A4F0;   /* liens et kickers sur fond sombre */
  --violet-soft: #241E36;   /* fonds de pastilles, icônes */
  --violet-line: #3A3155;
  --ink: #F3F0FA;           /* texte principal (clair) */
  --muted: #A9A3BD;
  --line: #2A2540;
  --bg: #16121F;            /* fond de page */
  --surface: #1E1930;       /* cartes, formulaires */
  --white: #FFFFFF;
  --star: #E8A317;

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-head: "Fraunces", Georgia, serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 27, 46, 0.08);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-text); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 42rem; }
.container { width: min(var(--container), 100% - 2rem); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head .kicker { color: var(--violet-text); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-outline { border-color: var(--violet-line); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--violet-soft); }
.btn-white { background: var(--white); color: #2A1F4E; }
.btn-white:hover { background: #E9E3F7; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }

/* Placeholder d'image, remplacé en phase 2 */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, #221C34 0 12px, #1C172B 12px 24px);
  color: #8E86A8; font-size: 0.8rem; line-height: 1.4; border-radius: var(--radius);
  min-height: 200px; overflow: hidden;
}
.ph span { max-width: 22ch; }
.ph.ph-transparent { background: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22,18,31,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.logo { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo-icon { width: 30px; height: 30px; color: var(--violet-text); }
.logo em { color: var(--violet-text); font-style: normal; }
.nav { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; min-width: 0; }
.nav li { white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--violet-text); }
.nav .nav-cta { margin-left: 0.5rem; }
.nav .nav-cta .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; margin-right: -0.5rem; cursor: pointer; flex-shrink: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Entre 721 et 1040px : liens plus serrés pour tenir sur une ligne */
@media (max-width: 1040px) {
  .nav { gap: 1rem; }
  .nav a { font-size: 0.9rem; }
  .nav .nav-cta .btn { padding: 0.55rem 0.9rem; }
}
/* Sous 900px : menu burger (les liens ne tiennent plus sur une ligne) */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none; padding: 0.5rem 0;
    max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .nav.open { display: flex; }
  .nav li { padding: 0; }
  .nav li a:not(.btn) { display: block; padding: 0.9rem 1.5rem; font-size: 1rem; }
  .nav li a:not(.btn):hover { background: var(--violet-soft); }
  .nav .nav-cta { margin: 0.75rem 1.5rem 1rem; }
  .nav .nav-cta .btn { display: flex; justify-content: center; width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; background: var(--violet-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg .ph { position: absolute; inset: 0; border-radius: 0; min-height: 0; background: linear-gradient(135deg, #4E3A8C 0%, #2E2256 45%, #16121F 100%); color: rgba(255,255,255,0.75); align-items: flex-end; justify-content: flex-end; padding: 2rem; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,18,31,0.85) 0%, rgba(22,18,31,0.45) 50%, rgba(22,18,31,0.1) 100%), linear-gradient(0deg, rgba(22,18,31,0.6) 0%, rgba(22,18,31,0) 30%); }
.hero .container { position: relative; z-index: 1; padding: 6rem 0; }
.hero-content { max-width: 34rem; color: var(--white); }
.hero-content h1 { color: var(--white); }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Bandeau dépannage */
.sos { background: var(--violet-dark); }
.sos .container { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.8rem 0; flex-wrap: wrap; font-size: 0.95rem; }
.sos { color: rgba(255,255,255,0.85); }
.sos strong { color: var(--white); }
.sos a { font-weight: 600; color: var(--white); }

/* Barre de confiance */
.trust { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--violet-soft); color: var(--violet-text); display: grid; place-items: center; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.trust-item span { color: var(--muted); font-size: 0.9rem; }
.stars { color: var(--star); letter-spacing: 1px; }

/* Grilles de cartes */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.35); border-color: var(--violet-line); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card .ph { border-radius: 0; min-height: 220px; }

/* Nos spas, produits détourés */
.spa-card { text-align: center; border: 0; background: transparent; }
.spa-card:hover { transform: none; box-shadow: none; }
.spa-card .ph { min-height: 260px; border-radius: var(--radius); }
.spa-card .card-body { align-items: center; padding: 0.75rem 1.5rem 2rem; gap: 0.4rem; }
.spa-card .card-body .btn { align-self: center; margin-top: 1rem; }
.spa-card .meta { color: var(--muted); font-size: 0.9rem; }

/* Prestations */
.service-card .card-body { padding: 2rem; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--violet-soft); color: var(--violet-text); display: grid; place-items: center; margin-bottom: 1rem; }
.service-card ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.95rem; }
.service-card li { margin-bottom: 0.25rem; }

/* À propos, deux colonnes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split .ph { min-height: 460px; }
.split h2 { margin-bottom: 1rem; }
.split p { color: var(--muted); }
.signature { margin-top: 1.5rem; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }

/* Carte */
.map-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: stretch; }
.map-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.map-info h3 { margin-bottom: 1rem; }
.map-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: 0.95rem; }
.map-info dt { color: var(--muted); }
.map-info dd { margin: 0; }
.map-info .zones { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.map-info .zones p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Boutique entretien */
.product-card .ph { min-height: 200px; }
.product-card .price { font-weight: 600; color: var(--violet-text); }
.product-card .card-body { gap: 0.3rem; }
.product-card .cat { font-size: 0.8rem; color: var(--violet-text); font-weight: 600; }

/* Avis */
.review { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.75rem 0 0; display: flex; flex-direction: column; gap: 0.9rem; }
.review p { color: var(--ink); margin: 0; font-size: 1.02rem; line-height: 1.65; font-family: var(--font-head); font-weight: 500; }
.review .stars { font-size: 0.8rem; opacity: 0.85; }
.review .author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 0.5rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--line); color: var(--muted); font-weight: 600; display: grid; place-items: center; font-size: 0.9rem; }
.author strong { display: block; font-size: 0.95rem; }
.author span { color: var(--muted); font-size: 0.8rem; }
.google-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.9rem; margin-top: 3rem; }
.google-badge:hover { color: var(--ink); border-color: var(--violet-line); }

/* Formulaire de devis : section claire, formulaire violet encadré */
.quote { border-top: 0; }
.quote-form { background: #221B3A; border: 1px solid #4A3C7A; box-shadow: 0 30px 60px rgba(43, 31, 78, 0.25), 0 0 0 6px rgba(91, 63, 166, 0.08); color: #F3F0FA; border-radius: 20px; padding: 2.5rem; max-width: 820px; margin: 0 auto; }
.quote-form .field label { color: #F3F0FA; }
.quote-form .form-foot small { color: #B9B3CC; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); color-scheme: dark;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
.field textarea { min-height: 110px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span:hover { border-color: var(--violet-line); }
.choice span { display: inline-block; padding: 0.55rem 1rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 0.9rem; cursor: pointer; transition: all .15s; }
.choice input:checked + span { background: var(--violet); border-color: var(--violet); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success.show { display: block; }

/* Footer */
.footer { background: #0F0C17; color: rgba(255,255,255,0.7); border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer .logo { color: var(--white); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; }

/* Page Showroom */
.hero-page { min-height: 70vh; }
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.feature .service-icon { margin-bottom: 0.9rem; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.gallery .ph { min-height: 0; height: 100%; }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 2.6rem; color: var(--violet-line); line-height: 1; display: block; margin-bottom: 0.75rem; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.practical { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.closed td:last-child { color: #E07A7A; }
.cta-band { background: var(--violet-dark); color: var(--white); text-align: center; padding: 5rem 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 36rem; margin: 0 auto 2rem; }
.cta-band .hero-actions { justify-content: center; }
.founders-band { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; }
.founders-band .ph { min-height: 260px; }
.founders-band p { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .grid-4, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .map-wrap, .practical, .founders-band { grid-template-columns: 1fr; }
  .split .ph { min-height: 340px; }
}
@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .hero { min-height: 70vh; }
  .hero .container { padding: 4rem 0; }
  .trust-grid, .grid-3, .steps, .form-grid { grid-template-columns: 1fr; }
  .grid-4, .feature-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; }
  .quote-form { padding: 1.5rem; border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Images générées (phase 2) */
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.spa-media { height: 280px; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.spa-media img { max-height: 100%; width: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.45)); transition: transform .3s ease; }
.spa-card:hover .spa-media img { transform: translateY(-6px); }
.split-img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border-radius: var(--radius); }
.product-media { height: 220px; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: radial-gradient(ellipse at center, #2A2342 0%, var(--surface) 70%); border-bottom: 1px solid var(--line); }
.product-media img { max-height: 100%; width: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.4)); }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.band-img { width: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radius); }
/* Laptop : l'image carree (1024x1024) ne doit pas dominer la colonne texte */
@media (max-width: 1200px) { .split-img { min-height: 0; max-height: 440px; } }
/* Tablet (1 colonne) : image recadree en paysage, hauteur bornee, pas pleine largeur carree */
@media (max-width: 960px) { .split-img { min-height: 0; height: auto; max-height: none; aspect-ratio: 16 / 10; max-width: 640px; margin: 0 auto; } }
@media (max-width: 720px) { .spa-media { height: 220px; } .gallery-item { height: 100%; } }

/* Bouton WhatsApp flottant */
.wa-btn {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: 52px; padding: 0 1rem 0 0.8rem; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: wa-pulse 2.8s ease-out 1.5s 3;
}
.wa-btn:hover { background: #1EBE5B; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.5); }
.wa-btn svg { flex-shrink: 0; }
@keyframes wa-pulse { 0% { box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0.55); } 70% { box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 720px) {
  .wa-btn { right: 1rem; bottom: 1rem; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-btn { animation: none; } }

/* Sections claires (À propos, Devis) : respiration dans le dark mode */
.section-light { background: #F4F1FA; color: #1F1B2E; }
.section-light h2, .section-light h3 { color: #1F1B2E; }
.section-light p, .section-light .split p { color: #5E5873; }
.section-light .kicker, .section-light .section-head .kicker { color: #5B3FA6; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; }
.section-light .section-head p { color: #5E5873; }
.section-light .signature { color: #1F1B2E; }
.section-light .split-img { box-shadow: 0 24px 50px rgba(31, 27, 46, 0.18); }
.section-light + .section.alt, .section-light + .section { border-top: 0; }

/* ---------- Audit couleurs 2026-11-02 : rythme sombre / clair ---------- */
/* Sections claires : deux teintes pour alterner */
.section-light-2 { background: #FBFAFD; }
.section-light .card { background: #FFFFFF; border-color: #E6E1F1; }
.section-light .card:hover { box-shadow: 0 16px 40px rgba(31,27,46,0.12); border-color: #D6CDEB; }
.section-light .spa-card .card-body h3 { color: #1F1B2E; }
.section-light .spa-card .meta { color: #5E5873; }
.section-light .btn-outline { border-color: #D6CDEB; color: #3C2A70; }
.section-light .btn-outline:hover { background: #EFEAF8; }
.section-light .spa-media img { filter: drop-shadow(0 26px 28px rgba(31,27,46,0.28)); }

/* Prestations : fond sombre, titre blanc, images */
.services { background: var(--bg); }
.services-title { color: var(--white); font-size: clamp(2rem, 4.2vw, 3rem); text-align: center; margin: 0 auto 0.75rem; }
.services-lead { color: var(--muted); text-align: center; max-width: 40rem; margin: 0 auto 3rem; font-size: 1.05rem; }
.service { display: block; text-decoration: none; color: var(--ink); }
.service-media { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem; background: var(--surface); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-media img { transform: scale(1.04); }
.service h3 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.service p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* À propos : ambiance showroom */
.about-visual { position: relative; }
.about-visual .split-img { min-height: 460px; }
.about-inset { position: absolute; left: -2.5rem; bottom: -2.5rem; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid #F4F1FA; box-shadow: 0 20px 40px rgba(31,27,46,0.2); }
#a-propos.section { padding-bottom: 7.5rem; }

/* Carte + vitrine (fond clair) */
.section-light .map-info { background: #FFFFFF; border-color: #E6E1F1; color: #1F1B2E; }
.section-light .map-info dt, .section-light .map-info .zones p { color: #5E5873; }
.section-light .map-info .zones { border-top-color: #E6E1F1; }
.section-light .map-info a { color: #3C2A70; }
.section-light .map-info .btn-primary { color: #fff; }
.section-light .map-frame { border-color: #E6E1F1; }
.map-wrap { grid-template-columns: 1fr 1.4fr; grid-template-areas: "info map" "vitrine vitrine"; }
.map-wrap .map-info { grid-area: info; }
.map-wrap .map-frame { grid-area: map; }
.vitrine { grid-area: vitrine; margin: 0.5rem 0 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.vitrine img { width: 100%; height: 420px; object-fit: cover; }
.vitrine figcaption { position: absolute; left: 1.5rem; bottom: 1.5rem; background: rgba(31,27,46,0.72); color: #fff; padding: 0.6rem 1rem; border-radius: 10px; font-size: 0.9rem; backdrop-filter: blur(6px); }

/* Avis : fond clair, cartes blanches */
.section-light .review { background: #FFFFFF; border: 1px solid #E6E1F1; border-radius: var(--radius); padding: 1.75rem; }
.section-light .review p { color: #1F1B2E; }
.section-light .avatar { background: #EFEAF8; color: #3C2A70; }
.section-light .author span { color: #5E5873; }
.section-light .google-badge { background: #FFFFFF; border-color: #E6E1F1; color: #3C2A70; }
.section-light .google-badge:hover { border-color: #5B3FA6; }

/* Formulaire : fond clair uni */
.quote.section-light { background: #EEE8F8; } /* violet clair, décliné du primaire #5B3FA6 */

@media (max-width: 960px) {
  .map-wrap { grid-template-columns: 1fr; grid-template-areas: "info" "map" "vitrine"; }
  .about-inset { left: 1rem; bottom: -1.5rem; width: 42%; }
  .vitrine img { height: 300px; }
}
@media (max-width: 720px) {
  .about-inset { display: none; }
  #a-propos.section { padding-bottom: 4rem; }
}

/* Page 404 */
.page-404 { min-height: calc(100vh - 72px); display: flex; align-items: center; text-align: center; padding: 4rem 0; }
.page-404 .code { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; font-weight: 700; color: var(--violet-text); letter-spacing: -0.04em; }
.page-404 h1 { margin: 1rem 0 0.75rem; }
.page-404 p { color: var(--muted); max-width: 48ch; margin: 0 auto 2rem; }
.page-404 .actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Vitrine : adresse sous la légende */
.vitrine figcaption span { display: block; margin-top: 0.25rem; font-size: 0.85rem; opacity: 0.85; }

/* Boutique : 6 produits sur 3 colonnes */
.products-grid { grid-template-columns: repeat(3, 1fr); }
.products-grid .product-media { height: 240px; }

/* Avis mis en avant avec photo */
.reviews-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-bottom: 1.75rem; }
.review-photo { padding: 0; overflow: hidden; }
.review-photo > img { width: 100%; height: 300px; object-fit: cover; display: block; }
.review-photo .review-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.avatar-img { object-fit: cover; }
@media (max-width: 960px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .reviews-featured, .products-grid { grid-template-columns: 1fr; } .review-photo > img { height: 220px; } }
.review-note { color: #5E5873 !important; font-style: italic; }

/* Carrousel d'avis : 3 visibles, boucle infinie */
.rv { --rv-per: 3; --rv-gap: 1.5rem; position: relative; }
.rv-viewport { overflow: hidden; padding: 6px; margin: -6px; transition: height .45s cubic-bezier(.22,.61,.36,1); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.rv.is-dragging .rv-viewport { cursor: grabbing; }
.rv-viewport img { -webkit-user-drag: none; pointer-events: none; }
.rv-track { display: flex; align-items: flex-start; gap: var(--rv-gap); transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.rv-track.no-anim { transition: none; }
.rv-slide { flex: 0 0 calc((100% - (var(--rv-per) - 1) * var(--rv-gap)) / var(--rv-per)); display: flex; }
.rv-slide .review { width: 100%; height: auto; }
.rv-slide .review-photo > img { height: 220px; }
.rv-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #D6CDEB; background: #fff; color: #3C2A70; font-size: 1.1rem; cursor: pointer; transition: all .2s; }
.rv-btn:hover { background: #5B3FA6; border-color: #5B3FA6; color: #fff; }
.rv-dots { display: flex; gap: 0.5rem; }
.rv-dot { width: 8px; height: 8px; border-radius: 50%; background: #D6CDEB; transition: all .2s; }
.rv-dot.active { background: #5B3FA6; width: 22px; border-radius: 999px; }
@media (max-width: 960px) { .rv { --rv-per: 2; } }
@media (max-width: 720px) { .rv { --rv-per: 1; } }
