/* ============ COMPOSANTS RÉUTILISABLES ============ */

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .82rem 1.65rem;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 26%, transparent);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn-wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}
.btn-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== SECTION HEADER ===== */
.section-eyebrow {
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: block;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.3vw, 1.05rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 56ch;
}

/* ===== ÉTOILES ===== */
.stars {
  display: flex;
  gap: 2px;
}
.stars svg { width: 15px; height: 15px; fill: #F59E0B; }

/* ===== BADGE GOOGLE ===== */
.badge-google {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-ui);
  font-size: .73rem;
  color: var(--text-mute);
}
.badge-google svg { width: 14px; height: 14px; }

/* ===== CARD STRIPE (LAY-5) ===== */
.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;
}

/* ===== MODAL MENTIONS LÉGALES ===== */
#ml-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  cursor: pointer;
}
.ml-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.ml-box h2 {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  padding-right: 2.5rem;
}
.ml-box p, .ml-box li {
  font-family: var(--ff-ui);
  font-size: .86rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: .5em;
}
.ml-box strong { color: var(--text); }
.ml-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-mute);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.ml-close:hover { background: var(--border); color: var(--text); }

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

/* ===== BADGE OUVERT ===== */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  line-height: 1.4;
}
.open-badge.is-open {
  background: color-mix(in srgb, #22c55e 12%, var(--bg));
  color: #166534;
}
.open-badge.is-closed {
  background: color-mix(in srgb, #ef4444 10%, var(--bg));
  color: #991b1b;
}
.open-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.open-badge.is-open .dot { background: #22c55e; }
.open-badge.is-closed .dot { background: #ef4444; }

/* ===== CHIP ZONE ===== */
.zone-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

/* ===== ACCORDION FAQ ===== */
.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 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text);
  transition: color .2s;
}
.faq-trigger:hover { color: var(--accent); }
.faq-chevron {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease, border-color .2s;
}
.faq-chevron::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-mute);
  border-bottom: 1.5px solid var(--text-mute);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: border-color .2s;
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); border-color: var(--accent); }
.faq-trigger[aria-expanded="true"] .faq-chevron::after { border-color: var(--accent); }
.faq-trigger[aria-expanded="true"] { color: var(--accent); }
.faq-answer {
  padding: 0 0 18px;
  font-family: var(--ff-body);
  font-size: .93rem;
  color: var(--text-2);
  line-height: 1.75;
}
