/* BUTTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn svg{ width: 18px; height: 18px; }
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover{
  background: color-mix(in srgb, var(--accent) 86%, #000);
  box-shadow: 0 12px 22px -10px rgba(168,90,54,0.4);
}

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

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover{
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.btn-ghost-inverse{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.32);
}
.btn-ghost-inverse:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-sm{ padding: 10px 16px; font-size: 0.88rem; }

/* CARDS — LAY-5 stripe (filet accent gauche) */
.c-stripe{
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--text) 3%, var(--bg));
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 26px 26px 28px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.c-stripe:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(46,42,36,0.18);
  border-left-color: var(--accent-2);
}
@media (prefers-reduced-motion: reduce){
  .c-stripe{ transition: none; }
  .c-stripe:hover{ transform: none; }
}

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

/* BADGE google */
.badge-google{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-2);
}
.badge-google svg{ width: 14px; height: 14px; }

/* HERO RATING BADGE */
.hero-rating-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  color: var(--text);
  margin-bottom: 18px;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease);
}
.hero-rating-badge:hover{ transform: translateY(-1px); }
.hero-rating-badge strong{ font-weight: 600; }
.hero-rating-badge .stars{ display: inline-flex; gap: 1px; color: var(--accent); }
.hero-rating-badge .stars svg{ width: 14px; height: 14px; }
.hero-rating-badge .g-logo{ width: 14px; height: 14px; }

/* DOT pulse */
.dot-live{
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--good);
  border-radius: 50%;
  position: relative;
  margin-right: 8px;
}
.dot-live::after{
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--good);
  opacity: 0;
  animation: pulse-dot 1.8s infinite;
}
.dot-live--closed{ background: var(--text-mute); }
.dot-live--closed::after{ display: none; }
@keyframes pulse-dot{
  0%{ opacity: 0.55; transform: scale(0.8); }
  100%{ opacity: 0; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce){
  .dot-live::after{ animation: none; }
}

/* FORM */
.form-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.form-field label{
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
}
.form-control{
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  font-family: var(--ff-ui);
  font-size: 0.96rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form-control:focus{
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
textarea.form-control{ min-height: 110px; resize: vertical; }

/* MODAL mentions */
.modal{
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(20,15,10,0.6);
  backdrop-filter: blur(2px);
}
.modal-box{
  position: relative;
  background: var(--bg);
  max-width: 540px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
}
.modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-2);
  transition: background var(--t-fast);
}
.modal-close:hover{ background: var(--accent-soft); color: var(--accent); }
.modal-close svg{ width: 18px; height: 18px; }
.modal-box h2{
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.modal-box h3{
  font-size: 0.94rem;
  font-family: var(--ff-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 18px 0 8px;
}
.modal-box p{ font-size: 0.92rem; line-height: 1.6; margin-bottom: 8px; }

/* LIGHTBOX */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(15,12,8,0.92);
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox img{
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.lb-btn{
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background var(--t-fast);
}
.lb-btn:hover{ background: rgba(255,255,255,0.2); }
.lb-close{ top: 22px; right: 22px; }
.lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }
.lb-btn svg{ width: 20px; height: 20px; }
@media (max-width: 640px){
  .lb-prev{ left: 8px; }
  .lb-next{ right: 8px; }
}
