/* BOUTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 22px;
  font-family:var(--ff-ui);font-weight:600;font-size:.95rem;letter-spacing:.005em;
  border-radius:999px;
  border:1.5px solid transparent;
  transition:transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor:pointer;line-height:1;
  text-decoration:none;white-space:nowrap;
}
.btn svg{width:18px;height:18px;flex-shrink:0;}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn--primary{background:var(--accent);color:#fff !important;border-color:var(--accent);box-shadow:4px 4px 0 var(--text);}
.btn--primary:hover{background:var(--accent-deep);border-color:var(--accent-deep);color:#fff !important;box-shadow:6px 6px 0 var(--text);}
.btn--wa{background:var(--wa-green);color:#fff !important;border-color:var(--wa-green);box-shadow:4px 4px 0 var(--text);}
.btn--wa:hover{background:#1ebe5a;border-color:#1ebe5a;color:#fff !important;box-shadow:6px 6px 0 var(--text);}
.btn--ghost{background:transparent;color:var(--text);border-color:var(--text);}
.btn--ghost:hover{background:var(--text);color:var(--bg) !important;}
.btn--ghost-light{background:rgba(255,255,255,.12);color:#fff !important;border-color:rgba(255,255,255,.6);backdrop-filter:blur(4px);}
.btn--ghost-light:hover{background:rgba(255,255,255,.22);color:#fff !important;}

/* RISO CARD (LAY-3 impose) */
.c-riso{
  background:var(--surface);
  border:1.5px solid var(--text);
  border-radius:14px;
  padding:24px;
  box-shadow:5px 5px 0 var(--accent);
  transition:transform .2s ease, box-shadow .2s ease;
  height:100%;
}
.c-riso:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--accent);}
@media (prefers-reduced-motion:reduce){.c-riso{transition:none;}.c-riso:hover{transform:none;box-shadow:5px 5px 0 var(--accent);}}

.c-riso--dark{
  background:var(--surface-deep);
  border-color:var(--surface-deep);
  box-shadow:5px 5px 0 var(--gold);
  color:var(--on-dark);
}
.c-riso--dark, .c-riso--dark :where(h1,h2,h3,h4,p,li,span,a,small,strong,em){color:var(--on-dark);}
.c-riso--dark:hover{box-shadow:7px 7px 0 var(--gold);}

/* RATING BADGE (hero) */
.rating-badge{
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.94);color:var(--text) !important;
  padding:8px 14px;border-radius:999px;
  font-family:var(--ff-ui);font-size:.84rem;font-weight:500;
  box-shadow:0 6px 18px -10px rgba(0,0,0,.5);
}
.rating-badge .stars{display:inline-flex;gap:2px;color:var(--gold);}
.rating-badge .stars svg{width:14px;height:14px;fill:var(--gold);}
.rating-badge strong{font-weight:700;}
.rating-badge .sep{color:var(--text-mute);}

/* STATUS PILL */
.status-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:5px 12px;border-radius:999px;
  font-family:var(--ff-ui);font-size:.78rem;font-weight:500;
  background:var(--bg-alt);color:var(--text-2);
  border:1px solid var(--border);
}
.status-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--text-mute);flex-shrink:0;}
.status-pill.is-open{background:color-mix(in srgb, var(--accent-2) 22%, var(--bg));color:var(--accent-deep);border-color:color-mix(in srgb, var(--accent) 30%, transparent);}
.status-pill.is-open .dot{background:#4ea454;box-shadow:0 0 0 4px rgba(78,164,84,.18);animation:pulse 2.2s ease-in-out infinite;}
.status-pill.is-closed{background:#f3e4dc;color:#8a4225;border-color:#e3c8b8;}
.status-pill.is-closed .dot{background:#c7542b;}
@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(78,164,84,0);}}
@media (prefers-reduced-motion:reduce){.status-pill.is-open .dot{animation:none;}}

/* CHIPS */
.chips{display:flex;flex-wrap:wrap;gap:8px;}
.chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border-radius:999px;
  background:var(--bg-alt);color:var(--text);
  font-family:var(--ff-ui);font-size:.8rem;font-weight:500;
  border:1px solid var(--border);
}
.chip--accent{background:color-mix(in srgb, var(--accent) 12%, var(--bg));color:var(--accent-deep);border-color:color-mix(in srgb, var(--accent) 30%, transparent);}

/* LIGHTBOX */
.lightbox{
  position:fixed;inset:0;
  background:rgba(20,18,12,.92);
  z-index:var(--z-modal);
  display:flex;align-items:center;justify-content:center;
  padding:24px;
}
.lightbox[hidden]{display:none !important;}
.lb-image{max-width:92vw;max-height:88vh;object-fit:contain;border-radius:6px;}
.lb-close,.lb-prev,.lb-next{
  position:absolute;width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.25);
  font-size:1.4rem;
}
.lb-close:hover,.lb-prev:hover,.lb-next:hover{background:rgba(255,255,255,.22);}
.lb-close{top:20px;right:20px;}
.lb-prev{left:14px;top:50%;transform:translateY(-50%);}
.lb-next{right:14px;top:50%;transform:translateY(-50%);}
@media (min-width:769px){.lb-prev{left:32px;}.lb-next{right:32px;}}

/* MODAL MENTIONS */
.modal{
  position:fixed;inset:0;
  z-index:var(--z-modal);
  display:flex;align-items:flex-end;justify-content:center;
  background:rgba(0,0,0,.55);
  padding:20px;
}
.modal[hidden]{display:none !important;}
.modal-box{
  background:var(--surface);color:var(--text);
  max-width:560px;width:100%;
  border-radius:18px 18px 0 0;
  padding:28px 24px 32px;
  max-height:88dvh;overflow-y:auto;
  position:relative;
  border:1px solid var(--border);
}
.modal-box h2{font-family:var(--ff-display);font-size:1.4rem;margin-bottom:16px;color:var(--text);}
.modal-box h3{font-family:var(--ff-display);font-size:1.02rem;color:var(--accent-deep);margin:18px 0 6px;}
.modal-box p{color:var(--text-2);font-size:.92rem;margin-bottom:10px;line-height:1.6;}
.modal-close{
  position:absolute;top:14px;right:14px;
  width:36px;height:36px;border-radius:50%;
  display:grid;place-items:center;background:var(--bg-alt);color:var(--text);
}
.modal-close:hover{background:var(--accent);color:#fff;}
@media (min-width:600px){
  .modal{align-items:center;}
  .modal-box{border-radius:18px;}
}

/* FORM */
.contact-form{display:grid;gap:14px;}
.field{display:flex;flex-direction:column;gap:6px;min-width:0;}
.field label{font-family:var(--ff-ui);font-size:.85rem;font-weight:500;color:var(--text-2);}
.field input,.field textarea,.field select{
  width:100%;
  padding:13px 14px;
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
  background:var(--surface);
  font-family:var(--ff-body);
  font-size:1rem;
  color:var(--text);
  transition:border-color .2s ease, box-shadow .2s ease;
  min-width:0;
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,.field textarea:focus,.field select:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  outline:none;
}
.contact-form .form-msg{padding:14px;border-radius:var(--r-md);font-size:.92rem;}
.contact-form .form-msg.ok{background:color-mix(in srgb, var(--accent-2) 18%, var(--bg));color:var(--accent-deep);}
.contact-form .form-msg.err{background:#f5dfd5;color:#8a4225;}
