/* ========================
   SERVINHOS — ESTILOS BASE
   ======================== */

:root {
  --brand: #1D9E75;
  --brand-dark: #0F6E56;
  --brand-light: #E1F5EE;
  --text: #1a1a18;
  --text-muted: #6b6b68;
  --border: #e4e3de;
  --bg: #faf9f6;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.section {
  flex: 1;
}

h1, h2, h3, .logo {
  font-family: 'Syne', sans-serif;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav-links a { color: var(--text-muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

.btn-outline {
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text) !important;
  transition: border-color 0.15s !important;
}
.btn-outline:hover { border-color: var(--brand) !important; color: var(--brand) !important; }

.btn-solid {
  background: var(--brand);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.15s !important;
}
.btn-solid:hover { background: var(--brand-dark) !important; }

/* ---- HERO ---- */
.hero {
  background: var(--white);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  max-width: 600px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 16px 0 28px;
}

.search-bar {
  display: flex;
  gap: 8px;
  max-width: 520px;
}

.search-bar input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
  background: var(--bg);
}
.search-bar input:focus { border-color: var(--brand); }

.search-bar button {
  padding: 14px 24px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.search-bar button:hover { background: var(--brand-dark); }

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700; color: var(--text); }
.stat-lbl { font-size: 13px; color: var(--text-muted); }

/* ---- SEÇÕES ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

/* ---- CATEGORIAS ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cat-card:hover { border-color: var(--brand); transform: translateY(-2px); }

.cat-icon { font-size: 28px; }
.cat-name { font-size: 13px; font-weight: 500; color: var(--text); }

/* ---- COMO FUNCIONA ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step { padding: 24px; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---- CARDS DE PROFISSIONAL ---- */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.prof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.prof-card:hover { border-color: var(--brand); transform: translateY(-2px); }

.prof-card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }

.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 15px; font-family: 'Syne', sans-serif;
}
.av-green { background: #E1F5EE; color: #0F6E56; }
.av-blue  { background: #E6F1FB; color: #185FA5; }
.av-amber { background: #FAEEDA; color: #854F0B; }
.av-pink  { background: #FBEAF0; color: #993556; }

.prof-card-name { font-size: 15px; font-weight: 500; }
.prof-card-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.prof-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.stars { color: #EF9F27; font-size: 13px; }
.rating-text { font-size: 12px; color: var(--text-muted); margin-left: 4px; }

.price-badge {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
}

.avail-badge {
  background: #EAF3DE;
  color: #3B6D11;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--text);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer .logo { color: var(--brand); }
.footer p { font-size: 13px; color: #888; }

/* ---- FORMULÁRIOS ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--brand-dark); }

/* ---- RESPONSIVO ---- */
@media (max-width: 640px) {
  .nav-links a:not(.btn-solid):not(.btn-outline):not([style]) { display: none; }
  .hero-stats { gap: 24px; }
  .search-bar { flex-direction: column; }
  .search-bar button { width: 100%; }
}
