/* ============== BUTTONS ============== */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-size: .92rem; font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  min-height: 48px;
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover{ background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-ghost{ background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn-ghost-inverse{ background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-inverse:hover{ border-color: var(--accent-on-dark); color: var(--accent-on-dark); }
.btn-wa{ background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.btn-wa:hover{ background: #1FBA59; border-color: #1FBA59; color: #fff; }

/* CTA group : PIEGE PROD #2 -> empile pleine largeur sur mobile */
.cta-group{ display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-group .btn{ width: 100%; }
@media (min-width: 600px){
  .cta-group{ flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta-group .btn{ width: auto; }
}

/* ============== PILLS / CHIPS ============== */
.pill{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: .82rem; font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.pill--solid{ background: var(--accent); color: #fff; border-color: var(--accent); }
.pill--outline{ background: transparent; color: var(--text-2); border-color: var(--border-strong); }
.pill-dot{ width: 8px; height: 8px; border-radius: 50%; background: #2BB673; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(43, 182, 115, .5); animation: pulse 2s ease-in-out infinite; }
.pill-dot--mute{ background: var(--text-mute); animation: none; box-shadow: none; }
@keyframes pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(43, 182, 115, .35); }
  50%{ box-shadow: 0 0 0 6px rgba(43, 182, 115, 0); }
}
@media (prefers-reduced-motion: reduce){ .pill-dot{ animation: none; } }

/* ============== CARD (stripe — variante imposee 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;
}
.c-stripe h3{ font-size: 1.18rem; margin: 0 0 8px; }
.c-stripe p{ color: var(--text-2); font-size: .94rem; margin: 0; }
.c-stripe__num{
  font-family: var(--ff-display); color: var(--accent);
  font-size: .85rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}

/* ============== ICON ROWS / META ============== */
.icon-row{
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  align-items: center;  /* PIEGE PROD #3 */
  padding: 10px 0;
}
.icon-row__ico{
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-row__ico svg{ width: 18px; height: 18px; }
.icon-row strong{ display: block; font-family: var(--ff-display); font-size: .98rem; font-weight: 600; color: var(--text); }
.icon-row span{ font-size: .88rem; color: var(--text-2); }

/* ============== FORM ============== */
.form{ display: grid; grid-template-columns: 1fr; gap: 14px; }
.field{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row-2{ display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 540px){ .form-row-2{ grid-template-columns: 1fr 1fr; } }
.field label{ font-family: var(--ff-ui); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); }
.field input, .field select, .field textarea{
  font-family: var(--ff-body); font-size: 1rem;
  padding: 14px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  width: 100%; min-width: 0;     /* PIEGE PROD #10 (select min-content) */
  min-height: 48px;
}
.field textarea{ resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

/* ============== MODAL (mentions legales) ============== */
.modal{
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal__overlay{
  position: absolute; inset: 0;
  background: rgba(20, 35, 30, .65);
  backdrop-filter: blur(2px);
}
.modal__box{
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  max-width: 540px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.modal__close{
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: transparent; border: 0;
  color: var(--text); border-radius: 50%;
  font-size: 1.5rem; line-height: 1;
}
.modal__close:hover{ background: var(--accent-soft); color: var(--accent); }
.modal__box h2{ font-size: 1.4rem; margin-bottom: 14px; }
.modal__box h3{ font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin: 18px 0 6px; font-weight: 600; }
.modal__box p{ font-size: .88rem; color: var(--text-2); margin: 0 0 6px; line-height: 1.6; }

/* ============== LIGHTBOX (galerie) ============== */
.lightbox{
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 25, 22, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.lightbox img{
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lightbox button{
  position: absolute;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: grid; place-items: center;
  cursor: pointer;
}
.lightbox button:hover{ background: rgba(255,255,255,.18); }
.lb-close{ top: 18px; right: 18px; }
.lb-prev{ left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 12px; top: 50%; transform: translateY(-50%); }
@media (min-width: 700px){
  .lb-prev{ left: 24px; } .lb-next{ right: 24px; }
}
