/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 35%, transparent);
  color: #fff;
}

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

.btn-light {
  background: color-mix(in srgb, #fff 92%, transparent);
  color: var(--accent-dark);
  border-color: transparent;
}
.btn-light:hover {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn-wa:hover {
  background: #1da851;
  border-color: #1da851;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  color: #fff;
}

/* ===== CARDS RISOGRAPH (LAY-3) ===== */
.c-riso {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.c-riso:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .c-riso { transition: none; }
  .c-riso:hover { transform: none; }
}

/* Card sombre (service accent) */
.c-riso--dark {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 5px 5px 0 var(--accent-2);
  color: var(--on-dark);
}
.c-riso--dark,
.c-riso--dark :where(h3, p, .svc-num, .svc-desc, .svc-icon) {
  color: var(--on-dark);
}
.c-riso--dark .svc-icon { color: color-mix(in srgb, var(--on-dark) 75%, transparent); }
.c-riso--dark:hover { box-shadow: 7px 7px 0 var(--accent-2); }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--accent-dark);
  color: var(--on-dark);
  padding: clamp(32px, 5vw, 56px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: color-mix(in srgb, var(--on-dark) 18%, transparent);
}
.stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--on-dark);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--on-dark) 68%, transparent);
  margin-top: 4px;
}

/* ===== AVIS CARDS (LAY-3) ===== */
.avis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.avis-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.avis-stars {
  display: flex;
  gap: 3px;
}
.avis-stars svg { color: #E8A020; }
.avis-quote {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}
.avis-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.avis-author-name {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.avis-date {
  font-size: 0.75rem;
  color: var(--text-mute);
}
.badge-google {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-mute);
  background: color-mix(in srgb, var(--text) 6%, var(--bg));
  border-radius: 100px;
  padding: 3px 9px;
}
.lien-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  color: var(--accent);
  margin-top: 24px;
  text-decoration: underline;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 12px;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.28s ease, border-color 0.2s;
}
.faq-chevron::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  color: var(--text-mute);
}
.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  border-color: var(--accent);
}
.faq-trigger[aria-expanded="true"] .faq-chevron::after { color: var(--accent); }
/* Etat fermé: padding 0 + max-height 0 (fix mémoire avenir-vert) */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  padding: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.is-open {
  max-height: 400px;
  padding: 0 0 18px;
}
.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: calc(var(--z-modal));
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.18s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ===== MODAL MENTIONS LÉGALES ===== */
.ml-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.ml-box {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}
.ml-box h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.ml-box h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin: 16px 0 4px;
  font-family: var(--ff-ui);
}
.ml-box p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}
.ml-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--border);
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
}

/* ===== BADGE OPEN/CLOSED ===== */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.open-badge.is-open {
  background: color-mix(in srgb, #22c55e 14%, transparent);
  color: #166534;
}
.open-badge.is-closed {
  background: color-mix(in srgb, #ef4444 12%, transparent);
  color: #991b1b;
}
.open-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.open-badge.is-open .dot { animation: pulse-dot 1.8s ease infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
