/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--accent-dark);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--wa-green-dark);
}
.btn-wa:hover { background: var(--wa-green-dark); transform: translateY(-1px); }
.btn-block { display: flex; width: 100%; }
.btn svg { flex-shrink: 0; }

/* Cards line (LAY-1 card=line) */
.c-line {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  background: var(--surface);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.c-line:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(20, 63, 71, 0.07);
  border-color: var(--accent-soft);
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.chip-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Photo frame (signature anti-IA, rotate leger) */
.photo-frame {
  position: relative;
  background: var(--surface);
  padding: 10px 10px 28px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(20, 63, 71, 0.08);
  transform: rotate(-0.4deg);
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.photo-frame .frame-tag {
  position: absolute;
  bottom: 8px;
  left: 14px;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.photo-frame .frame-tag em {
  font-style: italic;
  font-family: var(--ff-display);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  margin-right: 6px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 25, 24, 0.92);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lb-image {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  transition: background var(--t-fast);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Modal mentions legales */
.ml-modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ml-modal[hidden] { display: none; }
.ml-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 25, 24, 0.55);
  backdrop-filter: blur(2px);
}
.ml-box {
  position: relative;
  background: var(--surface);
  max-width: 520px;
  width: 100%;
  padding: 32px 28px 28px;
  border-radius: var(--r-lg);
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.ml-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  color: var(--text-mute);
  border-radius: 50%;
}
.ml-close:hover { color: var(--text); background: var(--bg-alt); }
.ml-box h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.ml-box p {
  font-size: 0.93rem;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.55;
}
.ml-box strong { color: var(--text); font-weight: 600; }

/* FAB Appeler (mobile uniquement) */
.fab-call {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(20, 63, 71, 0.35);
  z-index: var(--z-fab);
  transition: transform var(--t-fast), background var(--t-fast);
}
.fab-call:hover { background: var(--accent-dark); transform: translateY(-2px); }
.fab-call.is-visible { display: flex; }

/* Forms */
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}
.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-family: var(--ff-body);
  min-height: 48px;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--r-md);
}
.form-note.is-ok { background: color-mix(in srgb, var(--wa-green) 14%, transparent); color: var(--wa-green-dark); }
.form-note.is-err { background: #FCE6E6; color: #B83232; }
.form-sub {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-mute);
  text-align: center;
}
.form-sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
