/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform .15s ease;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { font-size: .85rem; padding: .5rem 1.1rem; min-height: 36px; }

/* CARDS */
.c-stripe {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--text) 3%, var(--bg));
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.c-stripe:hover {
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .c-stripe { transition: none; }
  .c-stripe:hover { transform: none; }
}

.c-plain {
  background: color-mix(in srgb, var(--text) 4%, var(--bg));
  border-radius: var(--r-lg);
  padding: 24px;
}

.c-line {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  background: transparent;
}

/* Étoiles */
.stars {
  display: inline-flex;
  gap: 3px;
}
.stars svg {
  width: 18px; height: 18px;
  fill: #D4AF37;
  flex-shrink: 0;
}

/* Badge Google */
.badge-google {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-google svg { width: 14px; height: 14px; }

/* Chip / pill */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Section head */
.section-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  color: var(--text);
}
.section-head .section-eyebrow {
  font-family: var(--ff-ui);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-top: 12px;
  max-width: 52ch;
}

/* Formulaire */
.form-grid {
  display: grid;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0; /* anti-select overflow PIEGE PROD #10 */
}
.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-2);
  font-family: var(--ff-ui);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  min-height: 44px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }

/* Horaires table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.hours-table td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--text-2);
  text-transform: capitalize;
  width: 120px;
}
.hours-table td:last-child { color: var(--text-mute); text-align: right; }
.hours-table tr.is-today td { color: var(--accent); font-weight: 700; }
.hours-table tr.is-today td:first-child::after { content: " ←"; font-size: .7rem; }
.hours-table tr.is-closed td { color: var(--text-mute); opacity: .5; }

/* Status badge ouvert/fermé */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-ui);
  font-size: .85rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 100px;
}
.status-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-badge.is-open { background: color-mix(in srgb, #25a244 14%, var(--bg)); color: #1a7a32; }
.status-badge.is-open .dot { background: #25a244; animation: pulse-dot 1.5s ease infinite; }
.status-badge.is-closed { background: color-mix(in srgb, #b94444 10%, var(--bg)); color: #9a2e2e; }
.status-badge.is-closed .dot { background: #b94444; }
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,162,68,.4); }
  50% { box-shadow: 0 0 0 5px rgba(37,162,68,0); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.92);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lb-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r-md);
  display: block;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 1;
}
.lb-close { top: 20px; right: 20px; font-size: 1.2rem; }
.lb-prev  { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }

/* Modal mentions légales */
.ml-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ml-box {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.ml-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-mid);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--text);
}
.ml-box h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-right: 40px;
}
.ml-box p, .ml-box li {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: none;
}
.ml-box h3 {
  font-size: .9rem;
  font-family: var(--ff-ui);
  margin: 14px 0 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--text-mute);
}
