/* ============================================================
   Studio Bella — Salão de Beleza
   Tema dark premium com rosé elegante + dourado suave
   ============================================================ */

/* ---------- Fontes locais ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/PlayfairDisplay-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/PlayfairDisplay-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/PlayfairDisplay-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/PlayfairDisplay-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Manrope-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Manrope-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Manrope-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Manrope-700-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #12100F;
  --bg-alt: #161110;
  --surface: #1A1418;
  --surface-2: #221A1E;
  --line: rgba(233, 160, 180, 0.14);
  --line-strong: rgba(233, 160, 180, 0.35);
  --text: #F5F0F2;
  --muted: #B9AEB3;
  --rose: #E8A0B4;
  --rose-deep: #D98A9E;
  --gold: #C9A96A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --header-h: 76px;
  --radius: 20px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Atributo hidden sempre esconde, mesmo com display definido por classe */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(233, 160, 180, 0.3); color: var(--text); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 300;
  background: var(--rose);
  color: #1A1418;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(18, 16, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

/* Nav flui à direita: links + CTA lado a lado, sem quebra de linha */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  position: relative;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark::before {
  content: 'S';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--rose);
  opacity: 0.65;
  animation: ring-spin 9s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  transition: color 0.25s ease;
}
.nav-list a:hover { color: var(--rose); }
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--rose);
  transition: width 0.3s ease;
}
.nav-list a:hover::after { width: 100%; }

.nav-cta { white-space: nowrap; flex-shrink: 0; }

/* CTA compacto do header: visível no mobile fora do menu hamburger */
.header-inner .nav-cta-mobile {
  display: none;
  padding: 0.65rem 1.15rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-primary {
  background: var(--rose);
  color: #1A1418;
}
.btn-primary:hover {
  background: #F0B6C8;
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: rgba(245, 240, 242, 0.35);
  color: var(--text);
  background: rgba(18, 16, 15, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-card {
  margin-top: auto;
  border-color: var(--line-strong);
  color: var(--rose);
  background: transparent;
}
.btn-card:hover {
  background: rgba(233, 160, 180, 0.12);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* Glow sutil rosé nos botões de agendamento */
[data-open-booking] {
  box-shadow: 0 0 0 1px rgba(233, 160, 180, 0.35), 0 6px 24px rgba(233, 160, 180, 0.22);
}
[data-open-booking]:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(233, 160, 180, 0.55), 0 10px 34px rgba(233, 160, 180, 0.35);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 15, 0.88) 0%, rgba(18, 16, 15, 0.45) 55%, rgba(18, 16, 15, 0.2) 100%),
    linear-gradient(180deg, rgba(18, 16, 15, 0.45) 0%, transparent 30%, rgba(18, 16, 15, 0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  max-width: 680px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(5rem, 10vw, 8rem); }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.section-sub {
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.service-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(233, 160, 180, 0.1);
  color: var(--rose);
  margin-bottom: 0.25rem;
}
.service-icon svg { width: 26px; height: 26px; }
.service-name { font-family: var(--font-display); font-size: 1.4rem; }
.service-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.service-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

/* ---------- Tabela de preços ---------- */
.price-table {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.6rem;
}
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-name { font-weight: 500; }
.price-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Contato / agendamento ---------- */
.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
}
/* Grid items nunca forçam o track além do container (min-content blowout) */
.contact-card > * { min-width: 0; }
.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.contact-value { color: var(--text); }

.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  min-width: 0;
}
.select-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Select customizado (acessível) */
.select { position: relative; }
.select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.select-trigger:hover,
.select-trigger[aria-expanded="true"] { border-color: var(--rose); }
.select-trigger.has-value { color: var(--text); }
.select-chevron {
  width: 18px; height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.select-trigger[aria-expanded="true"] .select-chevron { transform: rotate(180deg); }

.select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  max-height: 280px;
  overflow-y: auto;
}
.select-menu[hidden] { display: none; }
.select-menu li {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.select-menu li:hover { background: rgba(233, 160, 180, 0.12); }
.select-menu li[aria-selected="true"] { color: var(--rose); }

.booking-note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0E0C0B;
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-copy { color: var(--muted); font-size: 0.9rem; }
.footer-meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.footer-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.footer-link:hover { color: var(--rose); }
.footer-credit { color: var(--muted); font-size: 0.9rem; }
.footer-credit::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rose);
  vertical-align: middle;
  margin-right: 0.8rem;
}

/* ---------- Reveal (somente com JS ativo) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Agendador (modal) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modal-in 0.3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.modal-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
.progress-step {
  width: 26px; height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.progress-step.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #1A1418;
}
.progress-bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rose);
  transition: width 0.3s ease;
}
.modal-close {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.modal-close:hover { color: var(--rose); border-color: var(--rose); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
}
.modal-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.step-hint {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.day-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.time-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.option-btn {
  position: relative;
  padding: 1rem 0.8rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.option-btn:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.option-btn.selected {
  border-color: var(--rose);
  background: rgba(233, 160, 180, 0.12);
  color: var(--rose);
}
.option-btn .check {
  position: absolute;
  top: 8px; right: 8px;
  width: 16px; height: 16px;
  color: var(--rose);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.option-btn.selected .check { opacity: 1; }
.option-btn .badge {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

/* Horários lotados (disponibilidade automática) */
.option-btn.is-full {
  color: var(--muted);
  background: var(--surface);
  border-color: var(--line);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.55;
}
.option-btn.is-full:hover {
  transform: none;
  border-color: var(--line);
}
.option-btn.is-full .badge { color: var(--muted); }

.time-note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.summary-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.summary-line {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.4;
}
.summary-line .sep { color: var(--rose); margin-inline: 0.4rem; }

.modal-nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.4rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-inner .nav-cta-mobile { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    background: rgba(18, 16, 15, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-list a {
    display: block;
    font-size: 1.15rem;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { bottom: 0.6rem; }
  .nav-cta { margin: 0.25rem 0 0; display: inline-flex; width: 100%; }
  .nav-cta-mobile { width: auto; margin: 0; }
}

@media (max-width: 768px) {
  .hero { min-height: 92svh; }
  .hero-content { padding-bottom: 4rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .contact-card { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-inner { justify-content: center; text-align: center; flex-direction: column; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.6rem; }
  .price-row { padding: 1rem 1.2rem; }
  .hero-actions .btn { width: 100%; }

  /* Header compacto em telas pequenas: CTA e toggle não espremem */
  .header-inner { gap: 0.75rem; }
  .nav-cta-mobile { padding: 0.6rem 0.9rem; font-size: 0.82rem; }
  .nav-toggle { width: 42px; height: 42px; flex-shrink: 0; }

  /* Agendador vira bottom sheet no mobile */
  .modal { padding: 0; align-items: end; }
  .modal-panel {
    max-width: none;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    animation-name: modal-sheet-in;
  }
  @keyframes modal-sheet-in {
    from { opacity: 0; transform: translateY(48px); }
    to { opacity: 1; transform: none; }
  }
  .day-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Painel inline é mais estreito que o modal: em telas pequenas os chips
   de dia/horário usam 2 colunas para caber com os badges. */
@media (max-width: 400px) {
  .booking-panel .day-options,
  .booking-panel .time-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-btn .badge { display: none; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .gallery-item:hover img { transform: none; }
  .service-card:hover { transform: none; }
  .btn:hover { transform: none; }
}
