/* BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .005em;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  min-height: 48px;
  white-space: normal;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-light:hover { background: #fff; color: var(--text); }

.btn-wa {
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; }

.btn-sm { padding: 10px 16px; font-size: .92rem; min-height: 40px; }

@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* CHIPS */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--ff-ui);
  font-size: .82rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* USP PILLS (sous le hero) */
.usp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.usp-pills li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.16);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: .88rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.usp-pills li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  display: inline-block;
}

/* CARDS RISOGRAPH (LAY-3) */
.c-riso {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.c-riso:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
.c-riso h3 { margin: 0; font-size: 1.25rem; color: var(--text); }
.c-riso p { margin: 0; font-size: .98rem; color: var(--text-2); }
.c-riso .c-riso__num {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
}
.c-riso .c-riso__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
}
.c-riso .c-riso__icon svg { width: 22px; height: 22px; }

/* Variante card foncee (texte clair sur fond fonce) */
.c-riso--dark,
.c-riso--dark :where(h1, h2, h3, h4, p, li, span, a, small) {
  color: #F3EFE7;
}
.c-riso--dark {
  background: var(--surface-deep);
  border-color: var(--accent);
  box-shadow: 5px 5px 0 var(--accent-2);
}
.c-riso--dark .c-riso__num { color: var(--accent-2); }
.c-riso--dark .c-riso__icon {
  background: rgba(255,255,255,.10);
  color: var(--accent-2);
}
.c-riso--dark:hover { box-shadow: 7px 7px 0 var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  .c-riso { transition: none; }
  .c-riso:hover { transform: none; }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox .lb-image {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-sm);
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.lightbox button:hover { background: rgba(255,255,255,.20); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}

/* MODAL (mentions legales) */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.modal-box h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: var(--text);
}
.modal-box h3 {
  font-family: var(--ff-ui);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin: 18px 0 6px;
}
.modal-box p { font-size: .92rem; line-height: 1.55; color: var(--text-2); margin: 0 0 .6em; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.modal-close:hover { background: var(--accent-soft); }

/* FAB Appel mobile */
.fab-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  text-decoration: none;
  transition: transform var(--t-fast);
}
.fab-call:hover { transform: scale(1.06); text-decoration: none; color: #fff; }
.fab-call svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .fab-call { display: none; } }

/* HORAIRES TABLE */
.horaires-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.horaires-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 16px;
  font-size: .95rem;
  border-bottom: 1px solid var(--border-soft);
}
.horaires-row:last-child { border-bottom: 0; }
.horaires-row .jour { font-family: var(--ff-ui); font-weight: 500; color: var(--text); text-transform: capitalize; }
.horaires-row .heures { color: var(--text-2); font-variant-numeric: tabular-nums; }
.horaires-row.is-today {
  background: var(--accent-soft);
}
.horaires-row.is-today .jour,
.horaires-row.is-today .heures { color: var(--accent); font-weight: 600; }
.horaires-row.is-closed .heures { color: var(--text-mute); font-style: italic; }

/* DOT statut ouverture */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: .9rem;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--text);
}
.open-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
  flex-shrink: 0;
}
.open-badge.is-open .dot { background: #2D9559; box-shadow: 0 0 0 4px rgba(45,149,89,.18); }
.open-badge.is-closed .dot { background: #B84A4A; }
