/* ============================================
   CentroVet Cuidado Animal — Design System
   ============================================ */
:root {
  --font-display: "Outfit", sans-serif;
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --bg: #f8faf9;
  --fg: #132a24;
  --card: #ffffff;
  --primary: #0d8b72;
  --primary-dark: #096855;
  --primary-light: #e6f7f3;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --border: #e2edea;
  --radius: 1.25rem;
  --shadow: 0 10px 30px -10px rgba(13, 139, 114, 0.12);
  --shadow-lg: 0 20px 50px -15px rgba(13, 139, 114, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Topbar Plantão */
.topbar {
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.4);
}

/* Header & Nav */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6a827c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
#nav-links a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}
#nav-links a:hover { color: var(--primary); }
.nav-admin {
  color: #7b948e !important;
  font-size: 0.85rem !important;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* Hero */
.hero {
  padding: 5rem 1.5rem 4.5rem;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.highlight {
  color: var(--primary);
  position: relative;
}
.hero p {
  font-size: 1.15rem;
  color: #4b635e;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Botões 100% Centralizados */
.btn-primary, .btn-whatsapp, .btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(37, 211, 102, 0.5);
}
.btn-instagram {
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-instagram:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: #fdf2f6;
  transform: translateY(-2px);
}
.btn-large {
  font-size: 1.05rem;
  padding: 1.1rem 2.2rem;
}
.btn-full { width: 100%; }
.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 1rem;
}

/* Seções */
.section { padding: 5rem 0; }
.section-alt { background: #fff; }
.section-tag {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.section-subtitle {
  text-align: center;
  color: #5d7570;
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grids e Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.servico-card, .depoimento-card, .post-card, .cardapio-group {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.servico-card:hover, .post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.servico-card h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}
.servico-card p {
  color: #4b635e;
  font-size: 0.95rem;
  line-height: 1.6;
}
.card-cta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.btn-card-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-card-wa:hover {
  background: var(--primary);
  color: #fff;
}

/* Tabela de Preços e Filtro */
.search-box {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.search-box input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: #fff;
  outline: none;
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5d7570;
  cursor: pointer;
  transition: all 0.2s;
}
.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cardapio-group h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.cardapio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f4f3;
  gap: 1rem;
}
.cardapio-item:last-child { border-bottom: none; }
.cardapio-item-info h4 { font-size: 0.95rem; color: var(--fg); margin-bottom: 0.2rem; }
.cardapio-item-info p { font-size: 0.8rem; color: #6a827c; }
.cardapio-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}
.cardapio-preco {
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
}
.btn-item-wa {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
  text-decoration: none;
}
.btn-item-wa:hover {
  background: var(--primary);
  color: #fff;
}

/* Simulador de Agendamento */
.agendamento-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.pet-species-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.btn-species {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-species.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5d7570;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--bg);
  outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  background: #fff;
}

/* Depoimentos & FAQ */
.depoimento-card p { font-style: italic; color: #4b635e; margin-bottom: 1rem; font-size: 0.95rem; }
.depoimento-autor { font-weight: 700; color: var(--fg); font-size: 0.9rem; }
.depoimento-pet { font-size: 0.8rem; color: #6a827c; }

.faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
}
.faq-item h4 { color: var(--primary); margin-bottom: 0.4rem; font-size: 1.05rem; }
.faq-item p { color: #4b635e; font-size: 0.9rem; }

/* Rodapé */
.footer {
  background: #f0f6f4;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-tagline { color: #5d7570; font-size: 0.85rem; margin-top: 0.5rem; }
.footer h4 { color: var(--fg); font-size: 1rem; margin-bottom: 0.8rem; }
.footer p { color: #5d7570; font-size: 0.85rem; margin-bottom: 0.4rem; }
.plantao-text { color: #dc2626 !important; font-weight: 700; }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: #7b948e;
}

/* Botão Flutuante */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.1); }

/* Responsividade Mobile */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .topbar-right { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  #nav-links { display: none; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-whatsapp, .btn-instagram { width: 100%; }
}


.depoimento-card { font-style: italic; }
.depoimento-card .nome { font-style: normal; font-weight: 700; color: var(--primary); margin-top: 1rem; }
.depoimento-card .pet { font-style: normal; font-size: 0.85rem; color: #888; }

.cardapio-group { margin-bottom: 2.5rem; }
.cardapio-group h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
.cardapio-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px dashed var(--border); gap: 1rem;
}
.cardapio-item:last-child { border-bottom: none; }
.cardapio-item-info h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.cardapio-item-info p { font-size: 0.85rem; color: #778; }
.cardapio-preco { font-weight: 700; color: var(--primary); white-space: nowrap; font-size: 1.1rem; }
.cardapio-preco.gratis { color: var(--accent); }

.agendamento-box {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--primary-light); border-radius: var(--radius);
  padding: 3rem; gap: 2rem; flex-wrap: wrap;
}
.agendamento-info h3 { color: var(--primary-dark); margin-bottom: 1rem; }
.agendamento-info p { margin-bottom: 0.5rem; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card); border-radius: var(--radius); margin-bottom: 1rem;
  overflow: hidden; border: 1px solid var(--border);
}
.faq-q {
  padding: 1.5rem; cursor: pointer; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-sans); color: var(--fg);
}
.faq-q .icon { font-size: 1.3rem; color: var(--primary); transition: transform 0.2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.5rem; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.5rem; }
.faq-a p { color: #556; }

.post-card .post-cat {
  display: inline-block; background: var(--accent-light); color: #b8790e;
  padding: 0.2rem 0.8rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.8rem;
}
.post-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.post-card p { font-size: 0.9rem; color: #556; margin-bottom: 1rem; }
.post-card .post-data { font-size: 0.8rem; color: #999; }

.footer { background: var(--fg); color: #dde; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer h3, .footer h4 { color: #fff; margin-bottom: 1rem; }
.footer h4 { font-size: 1rem; }
.footer p { color: #aab; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer .logo { color: var(--primary); }
.footer-tagline { font-size: 0.85rem; margin-top: 0.5rem; }
.social-link { display: block; color: #aab; text-decoration: none; margin-bottom: 0.5rem; font-size: 0.9rem; transition: color 0.2s; }
.social-link:hover { color: var(--primary); }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #334; }
.footer-bottom p { color: #778; font-size: 0.85rem; }

.float-wa {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.1); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .agendamento-box { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .menu-toggle { display: block; }
  #nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem; gap: 0.8rem;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  #nav-links.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 1.7rem; }
  .cardapio-item { flex-direction: column; }
  .cardapio-preco { text-align: left; }
}