/* ====== Base ====== */
:root{
  --bg: #0e0e0e;
  --glass: rgba(255,255,255,0.08);
  --text: #f1f1f1;
  --muted: #cfcfcf;
  --pill: #e9e1d7;
  --btn: #111111;           /* preto do botão de agendar */
  --btn-hover: #000000;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 20px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ====== Fundo com imagem e overlay ====== */
.bg-overlay{
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.6)),
    url("img/tattoo-bg.jpg") center/cover no-repeat fixed;
  z-index: -1;
  filter: saturate(.9);
}

/* ====== Header ====== */
.topbar{
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo{
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}
.logo span{ color: #dcd2c6; }
.nav a{
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
.nav a:hover,
.nav a.active{ color: #fff; }

/* ====== Conteúdo ====== */
.wrapper{
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 100px;
  padding: 0 20px;
}
.intro{
  text-align: center;
  margin-bottom: 26px;
}
.pill{
  display: inline-block;
  background: var(--pill);
  color: #222;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .7px;
}
.intro h1{
  margin: 14px 0 6px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
}
.intro p{
  color: var(--muted);
  margin: 0;
}

/* ====== Card/Form ====== */
.card{
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field{ display: flex; flex-direction: column; }
.field span{ font-size: .95rem; margin-bottom: 8px; color: #ffffff; }
.field-full{ grid-column: 1 / -1; }

input, select, textarea{
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(22,22,22,.75);
  color: var(--text);
  outline: none;
  transition: border .2s ease, transform .02s ease;
}
input::placeholder, textarea::placeholder{ color: #9f9f9f; }
textarea{ resize: vertical; }

input:focus, select:focus, textarea:focus{
  border-color: #ffffff;
}

.check{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.check input{
  width: 18px; height: 18px;
  accent-color: #ffffff;
}

/* ====== Botão principal (mesmo “botão preto”) ====== */
.btn-primary{
  margin-top: 16px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{ background: var(--btn-hover); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.btn-primary:active{ transform: translateY(1px); }

.helper{
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
  margin-top: 10px;
}

/* ====== Footer ====== */
.footer{
  text-align: center;
  color: var(--muted);
  padding: 28px 16px 50px;
}

/* ====== Responsivo ====== */
@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
  .topbar{ flex-direction: column; gap: 10px; }
  .nav a{ margin: 0 10px; }
}

/* final menu */ 

/* ====== FIX TOPBAR ====== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  max-width:1200px;      /* ajuste se quiser */
  margin:0 auto;
  padding:24px 32px;
}

.topbar .logo{
  text-decoration:none;
  font-weight:800;
  font-size:32px;
  color:#eae6dc;         /* cor da sua marca */
  line-height:1;
  margin:0;              /* evita “descer” a logo */
}

.topbar .nav{
  display:flex;
  align-items:center;
  gap:56px;              /* espaço entre itens */
  margin:0;
}

/* zera heranças problemáticas dos links do menu */
.topbar .nav a{
  display:inline-flex;
  align-items:center;
  padding:0 !important;
  margin:0 !important;
  line-height:1;
  border:0 !important;
  text-decoration:none;
  color:#d9d9d9;
  position:relative;
}

/* remove pseudo-linhas vindas do tema */
.topbar .nav a::before,
.topbar .nav a::after{
  content:none !important;
}

.topbar .nav a:hover{
  color:#ffffff;
}