/* ============================================
   VETPLACE SBC — Clone visual
   Tokens: roxo #A94A9E | roxo escuro #2B1330 | teal #29C2B3
   ============================================ */

:root {
  --purple: #A94A9E;
  --purple-light: #BD5CB7;
  --purple-dark: #8A3B80;
  --purple-darker: #2B1330;
  --teal: #29C2B3;
  --orange: #F2A73B;
  --whatsapp: #25D366;
  --text-dark: #4A4A4A;
  --text-light: #7A7A7A;
  --white: #FFFFFF;
  --bg-light: #FAFAFA;
  --radius-pill: 999px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --container-width: 1140px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

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

/* ---------- Top accent bar ---------- */
.top-bar {
  height: 4px;
  background: var(--teal);
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-placeholder img {
  height: 56px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--purple);
  line-height: 1;
}

.logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-cta {
  background: var(--purple);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.25s ease;
}

.btn-cta:hover { background: var(--purple-dark); }

.social-icons {
  display: none;
  gap: 10px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c2c;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.25s ease;
}

.social-icons a:hover { background: var(--purple); }

.menu-toggle {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--purple);
  cursor: pointer;
  padding: 4px;
}

/* ---------- Navigation ---------- */
.main-nav {
  background: var(--purple);
  display: none;
}

.main-nav ul {
  display: flex;
  justify-content: center;
}

.main-nav > .container > ul > li {
  position: relative;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 20px;
  transition: background 0.2s ease;
}

.main-nav > .container > ul > li > a:hover,
.main-nav > .container > ul > li.active > a {
  background: rgba(0,0,0,0.15);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--purple-light);
  min-width: 240px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  z-index: 20;
}

.has-dropdown .dropdown-menu {
  display: none;
}

.dropdown-menu a {
  color: var(--white);
  text-transform: none;
  font-weight: 500;
  padding: 13px 20px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: rgba(0,0,0,0.12);
}

/* Mobile nav — full-screen overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--purple-dark);
  z-index: 300;
  overflow-y: auto;
}

.mobile-nav-overlay.open { display: block; }

.mobile-nav-close {
  text-align: center;
  padding: 20px 0 8px;
}

.mobile-nav-close button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav-overlay a,
.mobile-nav-toggle-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 16px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}

.mobile-nav-overlay a.current-page {
  background: var(--purple-light);
}

.mobile-submenu {
  display: none;
  background: rgba(0,0,0,0.15);
}

.mobile-submenu.open { display: block; }

.mobile-submenu a {
  text-transform: none;
  font-weight: 500;
  font-size: 14px;
  padding: 14px;
}

.mobile-nav-toggle-item i {
  transition: transform 0.2s ease;
  font-size: 12px;
}

.mobile-nav-toggle-item.open i { transform: rotate(180deg); }

/* ---------- Hero (sliding carousel) ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 45vh;
  overflow: hidden;
  background: #ddd;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.hero-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
}

/* Static single-image hero (used on Sobre nós page, no carousel) */
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.hero-dots span.active { background: var(--white); }

/* ---------- Section: About ---------- */
.section {
  padding: 64px 0;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.about-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-dark);
}

.about-text p { margin-bottom: 18px; }

.about-text strong { color: #2c2c2c; font-weight: 600; }

.btn-pill {
  display: inline-block;
  margin-top: 8px;
  background: var(--purple);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s ease;
}

.btn-pill:hover { background: var(--purple-dark); }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px auto 0;
  max-width: 500px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.divider i {
  color: var(--purple);
  font-size: 18px;
}

/* ---------- Section: Services ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 14px;
  margin-top: 40px;
}

.service-item {
  width: 96px;
  text-align: center;
}

.service-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-placeholder {
  font-size: 11px;
  color: #999;
  padding: 8px;
  text-align: center;
}

.service-item h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
}

/* ---------- Hero banner (Serviços page) ---------- */
.hero-banner {
  position: relative;
  background: var(--orange);
  height: 45vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 40%, rgba(242,167,59,0.35) 65%, rgba(242,167,59,0) 100%);
  z-index: 2;
}

.hero-banner-text {
  position: relative;
  z-index: 3;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 55%;
  padding-left: 24px;
}

/* ---------- Service detail sections ---------- */
.service-detail {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.service-detail h2 {
  font-family: var(--font-heading);
  color: var(--purple);
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
}

.service-detail .service-sub {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.mini-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 24px;
  max-width: 200px;
}

.mini-divider::before,
.mini-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.mini-divider i { color: var(--purple); font-size: 13px; }

.gallery-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.gallery-row img {
  width: 190px;
  height: 145px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #eee;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-row img:hover { transform: scale(1.03); }

.service-detail p {
  max-width: 820px;
  margin: 0 auto 14px;
  text-align: left;
  font-size: 14px;
  color: var(--text-dark);
}

/* ---------- Nossa Estrutura gallery ---------- */
.estrutura-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 32px;
  padding-bottom: 4px;
}

.estrutura-gallery img {
  width: 140px;
  height: 105px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #eee;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.estrutura-gallery img:hover { transform: scale(1.03); }

/* ---------- Lightbox ---------- */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.open { display: flex; }

.lightbox-image {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 15px; }
}

/* ---------- Team grid ---------- */
.team-lead {
  text-align: center;
  margin: 40px auto 0;
}

.team-lead .photo-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
  background: #eee;
}

.team-lead .photo-circle img { width: 100%; height: 100%; object-fit: cover; }

.team-lead h3 {
  font-family: var(--font-heading);
  color: var(--purple);
  font-size: 19px;
  font-weight: 600;
}

.team-lead p { color: var(--text-light); font-size: 13px; margin-top: 4px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
  max-width: 900px;
  margin: 40px auto 0;
}

.team-member { text-align: center; }

.team-member .photo-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  background: #eee;
}

.team-member .photo-circle img { width: 100%; height: 100%; object-fit: cover; }

.team-member h4 {
  font-family: var(--font-heading);
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
}

.team-member p { color: var(--text-light); font-size: 12px; margin-top: 2px; }

/* ---------- Section: Map ---------- */
.map-section { padding-bottom: 0; }

.map-wrap {
  width: 100%;
  height: 320px;
  background: #e9e9e9;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Schedule bar ---------- */
.schedule-bar {
  background: var(--purple-darker);
  color: var(--white);
  padding: 28px 0;
  margin-top: 40px;
}

.schedule-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.schedule-bar i.fa-calendar-alt {
  font-size: 26px;
  margin-bottom: 4px;
}

.schedule-bar h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
}

.schedule-bar .hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ddd;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 56px 0 20px;
  position: relative;
  z-index: 2;
}

.footer-col-logo {
  text-align: center;
}

.footer-col-logo img { margin: 0 auto; height: 60px; }

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--purple);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  padding: 10px 0;
  color: var(--text-light);
  font-size: 14px;
}

.footer-nav li.active a {
  background: var(--purple);
  color: var(--white);
  border-radius: 4px;
  padding: 10px 16px;
}

.footer-contact-item {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.footer-contact-item i {
  color: var(--purple);
  font-size: 28px;
  flex-shrink: 0;
}

.footer-contact-item div { font-size: 14px; }
.footer-contact-item .main-line { font-size: 18px; font-weight: 500; color: #2c2c2c; }
.footer-contact-item .sub-line { color: var(--text-light); font-size: 14px; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c2c;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.footer-bg-photo {
  width: 100%;
  height: 600px;
  margin-top: 32px;
  background-color: transparent;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto;
  position: relative;
  z-index: 1;
}

.footer-bottom {
  background: var(--purple-darker);
  color: #ccc;
  font-size: 12px;
  padding: 16px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom a { color: #ccc; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 100;
}

/* ============================================
   Desktop breakpoint
   ============================================ */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .main-nav { display: block; }
  .social-icons { display: flex; }

  .section-title { font-size: 36px; }

  .footer-columns {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1092px;
    margin: 0 auto;
    gap: 24px;
  }

  .footer-col-logo {
    flex: 0 0 200px;
    text-align: left;
  }

  .footer-col-logo img { margin: 0; }

  .footer-col { flex: 1; }
  .footer-nav a, .footer-contact-item { justify-content: flex-start; }
  .footer-social { justify-content: flex-start; }

  .footer-col h4 { font-size: 18px; }

  .footer-contact-item {
    justify-content: flex-start;
  }

  .contact-link { gap: 12px; }

  .footer-contact-item i { font-size: 20px; }
  .footer-contact-item .main-line { font-size: 16px; }
  .footer-contact-item .sub-line { font-size: 12px; }

  .footer-bg-photo {
    margin-top: 56px;
    background-position: bottom center;
    background-size: cover;
  }

  .services-grid {
    gap: 48px 40px;
  }

  .service-item {
    width: 250px;
  }

  .service-circle {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
  }

  .service-item h3 {
    font-size: 17px;
  }

  .hero-banner-text { font-size: 28px; max-width: 45%; padding-left: 60px; }

  .gallery-row, .estrutura-gallery {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }

  .gallery-row img { width: 240px; height: 185px; }
  .estrutura-gallery img { width: 160px; height: 120px; }

  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   Wide desktop breakpoint (1340px+)
   ============================================ */
@media (min-width: 1340px) {
  .hero,
  .hero-banner {
    height: 65vh;
  }
}
