/* ===== Grilo Barbershop — Demo ===== */

:root {
  --bg: #0d0b06;
  --bg-alt: #161209;
  --card: #1c170d;
  --gold: #c9a24b;
  --gold-light: #e8c876;
  --text: #f2ede0;
  --text-muted: #b3a98f;
  --whatsapp: #25d366;
  --border: #332b18;
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,11,6,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
}

.logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #16130a;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
}

/* Hero — compacto */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(201,162,75,0.08), transparent 55%),
    linear-gradient(160deg, #1a1610 0%, #0d0b06 65%);
  padding: 56px 24px;
}

.hero-logo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px var(--border), 0 12px 40px rgba(0,0,0,0.55);
}

.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #16130a;
  font-weight: 600;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #0b1a10;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Sections — compactas */
.section {
  padding: 52px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: -14px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

/* Services — grid compacto, 2 colunas fixas, cards pequenos */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.service-card:hover { border-color: var(--gold); }

.service-card h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: none;
}

.price {
  color: var(--gold-light);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Hours */
.hours-list {
  max-width: 480px;
  margin: 0 auto;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hours-list li span:first-child { color: var(--text-muted); }
.hours-list li span:last-child { color: var(--gold-light); font-weight: 500; }

/* Local */
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.address {
  color: var(--text-muted);
  margin: 14px 0 20px;
  font-size: 1rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Booking form */
.booking-form {
  max-width: 620px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.form-row label.full {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

input, select {
  background: #0d0b06;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.horarios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.horarios-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.slot-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0d0b06;
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}

.slot-btn:hover { border-color: var(--gold); }

.slot-btn.selected {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #16130a;
  border-color: var(--gold);
}

.slot-btn.taken {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-status.error { color: #e2645a; }
.form-status.success { color: var(--whatsapp); }

/* Footer */
.footer {
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.footer-credit {
  margin-top: 4px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 720px) {
  .nav-links { gap: 12px; font-size: 0.8rem; }
  .brand-name { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .local-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 92px; height: 92px; }
}

@media (max-width: 420px) {
  .services-grid { max-width: 320px; }
}
