/* Neverlab — studio d'enregistrement */
:root {
  /* Palette calée sur l'identité NeverLab : néon rose sur cabine sombre */
  --bg: #100b10;
  --bg-soft: #191019;
  --card: #201521;
  --text: #f5eef4;
  --muted: #a3939f;
  --accent: #ff2e7e;
  --accent-soft: #ff7ab1;
  --border: #33202f;
  --radius: 14px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5vw;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(16, 11, 16, 0.88);
  backdrop-filter: blur(10px);
  z-index: 50;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-dot { color: var(--accent); }
.site-header nav { display: flex; gap: 1.4rem; align-items: center; }
.site-header nav a { color: var(--text); font-weight: 500; }
.site-header nav a:hover { color: var(--accent-soft); text-decoration: none; }

/* Burger (mobile) */
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 6px; }
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0; border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 720px) {
  .nav-burger { display: block; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 5vw 1.6rem;
    gap: 1.1rem;
    align-items: flex-start;
  }
  .nav-toggle:checked ~ nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  background: var(--accent-soft);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 46, 126, 0.35);
}
.btn-big { padding: 0.9rem 2.2rem; font-size: 1.1rem; }
.btn-small { padding: 0.4rem 1.1rem; font-size: 0.9rem; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 6.5rem 5vw 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 46, 126, 0.18), transparent);
}
.hero::after {
  /* grain léger */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-conic-gradient(rgba(255,255,255,0.015) 0% 0.00012%, transparent 0.00012% 0.00024%);
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  margin: 0.4rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-photo {
  background-size: cover;
  background-position: center 38%;
  padding-top: 8.5rem;
  padding-bottom: 7rem;
}
.hero h1 {
  text-shadow: 0 0 18px rgba(255, 46, 126, 0.45), 0 0 60px rgba(255, 46, 126, 0.2);
}
.tagline {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  margin: 0.6rem 0 0.2rem;
}
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-top: 0.2rem; }
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2.4rem;
  position: relative; z-index: 1;
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 5vw; max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 560px; }
.section-mid { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section-title {
  font-size: 2rem;
  margin-top: 0;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 0.5rem;
}
.notice {
  background: var(--bg-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
}

/* ---------- Cards (prestations) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
.card-icon { font-size: 2.1rem; }
.card h3 { margin: 0.6rem 0 0.3rem; font-size: 1.25rem; }
.card p { margin: 0.2rem 0; color: var(--muted); }
.card .price { color: var(--text); font-weight: 700; margin-top: 0.6rem; }
.card-cta { display: block; margin-top: 0.9rem; color: var(--accent-soft); font-size: 0.9rem; font-weight: 600; }

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.step h3 { margin: 0.9rem 0 0.3rem; }
.step p { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 3rem;
}
.cta-band h2 { margin-top: 0; font-size: 1.8rem; }

/* ---------- Page prestations ---------- */
.services-list { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
.service-detail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.service-detail h2 { margin-top: 0; }
.price { font-weight: 700; }
.hours { list-style: none; padding: 0; color: var(--muted); }

/* ---------- Calendrier ---------- */
.duration-picker {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
  margin: 1rem 0 1.4rem;
}
.duration-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}
.duration-pill:hover { border-color: var(--accent); text-decoration: none; }
.duration-pill-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 1.2rem 0;
}
.week-nav-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.week-nav-spacer { width: 110px; }

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.calendar-day {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-height: 90px;
}
.calendar-day-empty { opacity: 0.45; }
.calendar-day-head { text-align: center; margin-bottom: 0.5rem; }
.calendar-day-head .dow { display: block; text-transform: uppercase; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.calendar-day-head .dom { font-weight: 700; font-size: 0.9rem; font-family: var(--font-display); }
.slot {
  display: block;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 7px;
  padding: 0.28rem 0;
  margin: 0.28rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.12s;
}
.slot:hover { background: var(--accent); text-decoration: none; }
.slot-none { display: block; text-align: center; color: var(--muted); }

@media (max-width: 720px) {
  .calendar-week { grid-template-columns: repeat(2, 1fr); }
  .calendar-day-empty { display: none; }
}

/* ---------- Formulaire ---------- */
.booking-recap {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  font-size: 1.05rem;
}
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.field-error { color: var(--accent-soft); font-size: 0.85rem; }
.field-error ul { margin: 0.2rem 0 0; padding-left: 1.1rem; }

/* ---------- Instagram ---------- */
.ig-profile { display: flex; align-items: center; gap: 0.7rem; }
.ig-avatar {
  border-radius: 50%;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  align-items: start;
}
.ig-grid .instagram-media { margin: 0 !important; min-width: 0 !important; }

/* ---------- Infos pratiques ---------- */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.infos-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.infos-card h2 { margin-top: 0; font-size: 1.2rem; }
.policy { padding-left: 1.2rem; }
.policy li { margin-bottom: 0.5rem; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.3rem;
  font-weight: 600;
  font-family: var(--font-display);
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.15s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p { padding: 0.9rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Espace client ---------- */
.espace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 860px) {
  .espace-grid { grid-template-columns: 1fr; }
}
.espace-booking {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
}
.espace-booking p { margin: 0 0 0.4rem; }
.espace-booking-past { opacity: 0.6; }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.badge-pending { background: #7a5010; color: #ffd9a0; }
.badge-confirmed { background: #1d5c33; color: #b8f0cd; }

/* ---------- Chat ---------- */
.chat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-messages {
  height: 380px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.msg {
  max-width: 80%;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
}
.msg p { margin: 0 0 0.2rem; white-space: pre-wrap; word-break: break-word; }
.msg-client {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg-studio {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg-meta { font-size: 0.72rem; opacity: 0.75; }
.chat-form {
  display: flex;
  gap: 0.6rem;
  padding: 0.8rem;
  border-top: 1px solid var(--border);
  align-items: flex-end;
}
.chat-form textarea {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  padding: 0.55rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: none;
}
.chat-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 5vw 1.5rem;
  color: var(--muted);
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin: 0 0 0.4rem;
}
.footer-title { font-weight: 700; color: var(--text); margin: 0 0 0.4rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent-soft); }
.footer-copy { text-align: center; margin-top: 2rem; font-size: 0.85rem; }
