/* components.css — Boutons, badges, cards, hero elements */

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #F2EFE6;
  box-shadow: 0 4px 14px rgba(36,74,58,0.25);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(36,74,58,0.35);
}

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.28);
}
.btn-wa:hover {
  background: #1ebf5a;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* Pill tag */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill--accent {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(36,74,58,0.2);
}
.pill--dark {
  background: var(--accent);
  color: #F2EFE6;
}
.pill--light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.pill--gold {
  background: rgba(185,138,74,0.15);
  color: var(--accent-2);
  border: 1px solid rgba(185,138,74,0.3);
}

/* ===== CARD (radius-asym, LAY-6) ===== */
.card {
  background: var(--surface);
  border-radius: var(--r-sm) var(--r-xl) var(--r-sm) var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(36,74,58,0.12);
}

.card--dark,
.card--dark:hover {
  background: var(--accent);
}
.card--dark,
.card--dark :where(h1,h2,h3,h4,p,li,span,a,small,strong) {
  color: #F2EFE6;
}

/* ===== SECTION HEAD ===== */
.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}
.section-head .eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent-2);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-head p {
  margin-top: 12px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-2);
  max-width: 580px;
}

/* ===== ÉTOILES SVG ===== */
.stars {
  display: flex;
  gap: 2px;
}
.stars svg {
  width: 14px;
  height: 14px;
}

/* ===== BADGE GOOGLE ===== */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Dot ouvert/fermé */
.open-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.open-dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
  flex-shrink: 0;
}
.open-dot.is-open::before {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-green 2s infinite;
}
.open-dot.is-closed::before { background: #ef4444; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.06); }
}
