/* Boutons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary{
  background: var(--accent);
  color: #FBF7EE;
  box-shadow: 0 6px 16px -8px rgba(156,122,62,0.5);
}
.btn-primary:hover{ background: #876A35; transform: translateY(-1px); }
.btn-wa{
  background: var(--wa-green);
  color: #FFFFFF;
}
.btn-wa:hover{ background: var(--wa-green-d); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn-ghost-inverse{
  background: transparent;
  color: var(--accent-on-dark);
  border: 1px solid rgba(229,200,146,0.32);
}
.btn-ghost-inverse:hover{ border-color: var(--accent-on-dark); }

/* Pills */
.pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 500;
}
.pill-outline{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.pill-dark{
  background: var(--text);
  color: #FBF7EE;
}

/* Card LINE (style impose LAY-1 card=line) */
.c-line{
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.c-line:hover{
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -22px rgba(44,40,32,0.22);
}
@media (prefers-reduced-motion: reduce){
  .c-line:hover{ transform: none; box-shadow: none; }
}

/* Hero rating badge */
.hero-rating{
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.2s ease;
  margin-bottom: 20px;
  max-width: max-content;
}
.hero-rating:hover{ border-color: var(--accent); }
.hero-rating-stars{ display: inline-flex; gap: 1px; color: var(--accent); }
.hero-rating-stars svg{ width: 15px; height: 15px; }
.hero-rating strong{ font-weight: 600; }
.hero-rating-sep{ color: var(--text-mute); }
.hero-rating em{ font-style: normal; color: var(--text-2); }

/* Meta line (dot + texte) */
.hero-meta{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-ui);
  font-size: 0.86rem;
  color: var(--text-2);
  margin-top: 22px;
}
.dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--wa-green);
  position: relative;
}
.dot::before{
  content:""; position: absolute; inset: -4px;
  border-radius: 50%; background: var(--wa-green);
  opacity: 0.4; animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,100%{ transform: scale(1); opacity: 0.4; }
  50%{ transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .dot::before{ animation: none; }
}

/* Modal mentions legales */
.modal{
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay{
  position: absolute; inset: 0;
  background: rgba(44, 40, 32, 0.5);
  backdrop-filter: blur(4px);
}
.modal-box{
  position: relative;
  background: var(--bg);
  max-width: 520px; width: 100%;
  max-height: 84vh;
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  overflow-y: auto;
  box-shadow: 0 24px 60px -20px rgba(44,40,32,0.4);
}
.modal-close{
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-2);
}
.modal-close:hover{ background: var(--accent-soft); color: var(--accent); }
.modal-box h2{
  font-family: var(--ff-display);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.modal-box h3{
  font-family: var(--ff-display);
  font-size: 1.04rem;
  margin: 18px 0 6px;
  color: var(--accent);
}
.modal-box p, .modal-box li{ font-size: 0.92rem; line-height: 1.55; color: var(--text-2); }
.modal-box li{ margin-bottom: 4px; padding-left: 14px; position: relative; }
.modal-box li::before{ content:""; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--accent); }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 18, 14, 0.92);
  padding: 32px 24px;
}
.lightbox-img{
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-btn{
  position: absolute;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.4rem;
  transition: background 0.18s ease;
}
.lb-btn:hover{ background: rgba(255,255,255,0.2); }
.lb-close{ top: 20px; right: 20px; }
.lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }

/* Form */
.form-row{ display: grid; gap: 14px; }
.form-row-2{ grid-template-columns: 1fr; }
@media (min-width: 600px){ .form-row-2{ grid-template-columns: 1fr 1fr; } }
.field{
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0; /* PIEGE PROD #10b : evite overflow horizontal des select */
}
.field label{
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  color: var(--text-2);
  font-weight: 500;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: 0;
  border-color: var(--accent);
  background: #fff;
}
.field textarea{ resize: vertical; min-height: 110px; }

.form-submit{
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (min-width: 600px){
  .form-submit{ flex-direction: row; }
}
.form-submit .btn{ width: 100%; }
@media (min-width: 600px){
  .form-submit .btn{ width: auto; flex: 1; }
}
.form-helper{
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-mute);
}
