/* 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: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
  white-space: normal;
  border: 1.5px solid transparent;
  min-height: 48px;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary{
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover{
  background: #1a4d52;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(34, 94, 99, 0.28);
  opacity: 1;
}

.btn-wa{
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover{
  background: var(--wa-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.32);
  opacity: 1;
}

.btn-outline{
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover{
  background: var(--text);
  color: var(--bg);
  opacity: 1;
}

.btn-ghost{
  background: transparent;
  color: var(--accent);
  padding: 10px 14px;
  min-height: 44px;
}
.btn-ghost:hover{ background: var(--accent-soft); opacity: 1; }

@media (max-width: 480px){
  .btn{ padding: 14px 18px; font-size: 0.94rem; }
}

/* Cards */
.c-asym{
  background: color-mix(in srgb, var(--text) 4%, var(--bg));
  border-radius: 22px 4px 22px 4px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.c-asym--dark{
  background: var(--text);
  color: var(--bg);
  border-radius: 4px 22px 4px 22px;
}
.c-asym--dark h3{ color: var(--bg); }
.c-asym--dark .c-asym__num{ color: var(--accent-2); }

.c-asym__num{
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.c-asym__num::after{
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.4;
  align-self: center;
}
.c-asym h3{
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.c-asym p{
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}
.c-asym--dark p{ color: rgba(246, 240, 226, 0.78); }

/* Chips / pills */
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
}
.pill--dark{
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Open badge */
.open-status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.86rem;
  font-weight: 500;
}
.open-status .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #aaa;
  flex-shrink: 0;
  position: relative;
}
.open-status.is-open .dot{ background: #2bb673; }
.open-status.is-open .dot::after{
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(43, 182, 115, 0.32);
  animation: pulse 1.6s ease-out infinite;
}
.open-status.is-closed .dot{ background: #c9554d; }
@keyframes pulse{
  0%{ transform: scale(0.6); opacity: 0.9; }
  100%{ transform: scale(2.4); opacity: 0; }
}

/* Form */
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field--full{ grid-column: 1 / -1; }
.field label{
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
  font-weight: 500;
}
.field input,
.field select,
.field textarea{
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--accent);
  outline: none;
}
.field textarea{
  resize: vertical;
  min-height: 120px;
}
@media (max-width: 640px){
  .form-grid{ grid-template-columns: 1fr; }
}

/* 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 .ml-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.ml-modal .ml-box{
  position: relative;
  background: var(--bg);
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 36px 28px 28px;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.ml-close{
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 1.2rem;
  color: var(--text);
}
.ml-box h2{
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.ml-box h3{
  font-size: 0.78rem;
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: 500;
}
.ml-box p{
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 8px;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 12, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox img{
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}
.lb-close, .lb-prev, .lb-next{
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.lb-close{ top: 20px; right: 20px; }
.lb-prev{ left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover{ background: rgba(255,255,255,0.22); }
@media (max-width: 560px){
  .lb-close{ top: 14px; right: 14px; }
  .lb-prev{ left: 8px; }
  .lb-next{ right: 8px; }
}
