/* BOUTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  min-height: 48px;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover{
  background: var(--text);
  border-color: var(--text);
  color: #fff;
  transform: translateY(-1px);
}

.btn-wa{
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn-wa:hover{
  background: #1eb858;
  border-color: #1eb858;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover{
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-on-dark{
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-on-dark);
}
.btn-on-dark:hover{
  background: var(--text-on-dark);
  color: var(--surface-deep);
  border-color: var(--text-on-dark);
}

/* CARD line (LAY-1 imposé) */
.c-line{
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  background: rgba(251, 248, 241, 0.5);
  transition: border-color .2s var(--ease), transform .25s var(--ease), background .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-line:hover{
  border-color: var(--accent);
  background: var(--surface);
  transform: translateY(-2px);
}

/* CHIPS / BADGES */
.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
}
.chip--solid{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.badge-rating{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--ff-ui);
  font-size: .9rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.badge-rating:hover{ border-color: var(--accent); background: var(--bg-alt); }
.badge-rating strong{ color: var(--text); font-weight: 700; }
.badge-rating .stars{ display: inline-flex; gap: 2px; color: #E1A33F; }
.badge-rating .stars svg{ width: 14px; height: 14px; }
.badge-rating .badge-rating__sep{ color: var(--text-mute); }

/* PHOTO FRAME */
.photo-frame{
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

/* DOT pulse */
.dot-live{
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok-green);
  position: relative;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-live::after{
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--ok-green);
  opacity: .25;
  animation: pulse 2s infinite ease-out;
}
@keyframes pulse{
  0%{ transform: scale(.7); opacity: .35; }
  70%{ transform: scale(1.6); opacity: 0; }
  100%{ transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .dot-live::after{ animation: none; }
}

/* MODAL mentions légales */
.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(20, 20, 18, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.modal__box{
  position: relative;
  background: var(--surface);
  color: var(--text);
  max-width: 540px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: 0 20px 60px rgba(20,20,18,.35);
}
.modal__close{
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
}
.modal__close:hover{ background: var(--bg-alt); }
.modal__box h2{
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.modal__box h3{
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 16px 0 6px;
}
.modal__box p{ font-size: .95rem; margin: 0 0 8px; }

/* LIGHTBOX */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(15, 15, 13, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img{
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox__btn{
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.5rem;
  font-family: var(--ff-display);
  transition: background .2s var(--ease);
}
.lightbox__btn:hover{ background: rgba(255,255,255,.22); }
.lightbox__close{ top: 18px; right: 18px; }
.lightbox__prev{ left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next{ right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px){
  .lightbox__prev, .lightbox__next{ top: auto; bottom: 18px; transform: none; }
  .lightbox__prev{ left: 18px; }
  .lightbox__next{ right: 18px; }
}

/* FORMULAIRE CONTACT */
.form{
  display: grid;
  gap: 14px;
}
.field{
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field label{
  font-family: var(--ff-ui);
  font-size: .85rem;
  color: var(--text-on-dark);
  font-weight: 500;
}
.field input,
.field textarea,
.field select{
  width: 100%;
  min-width: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 14px;
  background: rgba(240, 235, 223, 0.08);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-md);
  color: var(--text-on-dark);
  min-height: 46px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: var(--accent-on-dark);
  background: rgba(240, 235, 223, 0.12);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder{ color: var(--text-on-dark-2); opacity: .7; }
@media (min-width: 600px){
  .form-row-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
