/* Estilos específicos para páginas de serviços */

body {
  padding-top: 80px;
}

@media (max-width: 991px) {
  body {
    padding-top: 60px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 60px;
  }
}

.service-header {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 54px 0;
  overflow: hidden;
  width: 100%;
}

@media (max-width: 768px) {
  .service-header {
    padding: 30px 0;
  }
}

@media (max-width: 576px) {
  .service-header {
    padding: 20px 0;
  }
}

.service-hero {
  display: block;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.service-header-fiscal .bg-image-left,
.service-header-fiscal .bg-image-right {
  max-width: calc((100% - 1000px) / 2 - 20px);
  width: 389px;
}

.service-header-food .bg-image-left,
.service-header-food .bg-image-right {
  max-width: calc((100% - 1000px) / 2 - 20px);
  width: 518px;
}

.service-header-pet .bg-image-left,
.service-header-pet .bg-image-right {
  max-width: calc((100% - 1000px) / 2 - 20px);
  width: 180px;
}

.service-header-agro .bg-image-left,
.service-header-agro .bg-image-right {
  max-width: calc((100% - 1000px) / 2 - 20px);
  width: 641px;
}

.service-header-clinicas .bg-image-left,
.service-header-clinicas .bg-image-right {
  max-width: calc((100% - 1000px) / 2 - 20px);
  width: 672px;
}

.service-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .service-title {
    font-size: 1.6rem;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .service-title {
    font-size: 1.4rem;
    margin-top: 15px;
  }
}

.highlight-text {
  color: #ff6b35;
}

.service-text-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.service-text-left,
.service-text-right {
  flex: 1;
  max-width: 450px;
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.service-highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.features-list {
  list-style: none;
  padding: 0;
  text-align: center;
  display: inline-block;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.features-list .material-icons {
  color: #4CAF50;
  font-size: 24px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all var(--transition-base);
  margin-top: 20px;
  box-shadow: 0 4px 16px rgba(240, 180, 41, 0.3);
  border: none;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--primary-gold-hover), var(--accent-orange));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240, 180, 41, 0.4);
}

.cta-button:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
    margin-top: 15px;
  }

  .cta-button .material-icons {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

.features-section {
  padding: 80px 0;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-lg), 0 0 40px rgba(240, 180, 41, 0.08);
  border-color: rgba(240, 180, 41, 0.25);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 52px;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.feature-text {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cores específicas por serviço */
.service-header-pet {
  background-color: #f5e8c8;
  position: relative;
}

.service-header-pet .bg-image-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: auto;
}

.service-header-pet .bg-image-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-pet .bg-image-left {
    width: 120px;
  }
  .service-header-pet .bg-image-right {
    width: 95px;
  }
}

@media (max-width: 576px) {
  .service-header-pet .bg-image-left {
    width: 80px;
  }
  .service-header-pet .bg-image-right {
    width: 65px;
  }
}

.service-hero-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  text-align: left;
  margin: 27px 0;
}

@media (max-width: 991px) {
  .service-hero-split {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .service-hero-split {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin: 15px 0;
  }
}

.service-hero-left {
  flex: 1;
}

.service-hero-right {
  flex: 1;
  text-align: center;
}

.service-hero-right p {
  font-size: 1.08rem;
  line-height: 1.6;
}

.service-highlight {
  font-size: 1.62rem;
  font-weight: 700;
  color: #ff6b35;
  margin: 27px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .service-hero-split {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .service-highlight {
    font-size: 1.2rem;
  }

  .service-header {
    padding: 25px 0;
  }

  .service-hero {
    padding: 0 15px;
  }

  .service-title {
    font-size: 1.4rem;
    margin-top: 15px;
  }

  .service-hero-right p {
    font-size: 0.95rem;
  }

  .features-list {
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
  }

  .features-list li {
    font-size: 0.85rem;
  }

  .bg-image-left,
  .bg-image-right {
    display: none;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

.service-header-food {
  background: linear-gradient(135deg, #ffd2b8 0%, #f6b183 100%);
  position: relative;
}

.service-header-food .bg-image-left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 518px;
  height: auto;
}

.service-header-food .bg-image-right {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 498px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-food .bg-image-left {
    width: 345px;
  }
  .service-header-food .bg-image-right {
    width: 330px;
    right: 30px;
  }
}

@media (max-width: 576px) {
  .service-header-food .bg-image-left {
    width: 230px;
  }
  .service-header-food .bg-image-right {
    width: 220px;
    right: 20px;
  }
}

.service-header-fiscal {
  background: linear-gradient(135deg, #d5e7fb 0%, #9cc0ea 100%);
  position: relative;
}

.service-header-fiscal .bg-image-left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 389px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-fiscal .bg-image-left {
    width: 259px;
  }
}

@media (max-width: 576px) {
  .service-header-fiscal .bg-image-left {
    width: 173px;
  }
}

.service-header-fiscal .bg-image-right {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 374px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-fiscal .bg-image-left {
    width: 518px;
  }
  .service-header-fiscal .bg-image-right {
    width: 249px;
  }
}

@media (max-width: 576px) {
  .service-header-fiscal .bg-image-left {
    width: 345px;
  }
  .service-header-fiscal .bg-image-right {
    width: 165px;
  }
}

.service-header-agro {
  background: linear-gradient(135deg, #d9e8bc 0%, #a6c077 100%);
  position: relative;
  padding-bottom: 40px;
}

.service-header-agro .bg-image-left,
.service-header-agro .bg-image-right {
  bottom: 0;
}

.service-header-agro .bg-image-left {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: none;
  width: 641px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-agro .bg-image-left {
    width: 428px;
  }
}

@media (max-width: 576px) {
  .service-header-agro .bg-image-left {
    width: 285px;
  }
}

.service-header-agro .bg-image-right {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: none;
  width: 548px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-agro .bg-image-right {
    width: 365px;
  }
}

@media (max-width: 576px) {
  .service-header-agro .bg-image-right {
    width: 243px;
  }
}

@media (max-width: 992px) {
  .service-header-agro .bg-image-left {
    width: 345px;
  }
  .service-header-agro .bg-image-right {
    width: 330px;
  }
}

@media (max-width: 576px) {
  .service-header-agro .bg-image-left {
    width: 230px;
  }
  .service-header-agro .bg-image-right {
    width: 220px;
  }
}

.service-header-clinicas {
  background: linear-gradient(135deg, #e3dcf1 0%, #b9add4 100%);
  position: relative;
}

.service-header-clinicas .bg-image-left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 518px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-clinicas .bg-image-left {
    width: 345px;
  }
}

@media (max-width: 576px) {
  .service-header-clinicas .bg-image-left {
    width: 230px;
  }
}

.service-header-clinicas .bg-image-right {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: none;
  width: 672px;
  height: auto;
}

@media (max-width: 992px) {
  .service-header-clinicas .bg-image-left {
    width: 230px;
  }
  .service-header-clinicas .bg-image-right {
    width: 448px;
  }
}

@media (max-width: 576px) {
  .service-header-clinicas .bg-image-left {
    width: 155px;
  }
  .service-header-clinicas .bg-image-right {
    width: 299px;
  }
}

.funcionalidades-section {
  padding: 30px 20px;
  background-color: var(--light-bg);
  position: relative;
}

@media (max-width: 576px) {
  .funcionalidades-section {
    padding: 20px 15px;
  }
}

.funcionalidades-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(240, 180, 41, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.funcionalidades-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.funcionalidades-header h2,
.funcionalidades-header .section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.funcionalidades-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.funcionalidades-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .funcionalidades-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .funcionalidades-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .funcionalidades-container {
    gap: 15px;
  }
}

.funcionalidades-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: visible;
}

@media (max-width: 576px) {
  .funcionalidades-card {
    padding: 20px 15px;
    border-radius: 16px;
  }
}

.funcionalidades-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.funcionalidades-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glass-shadow-lg), 0 0 40px rgba(240, 180, 41, 0.1);
  border-color: rgba(240, 180, 41, 0.25);
}

.funcionalidades-card:hover::after {
  opacity: 1;
}

.funcionalidades-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.funcionalidades-card img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.6);
  transition: transform var(--transition-base);
}

.funcionalidades-card:hover img {
  transform: scale(1.02);
}

.funcionalidades-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.svg-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  cursor: pointer;
}

.zoom-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1rem;
  opacity: 0.7;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.svg-wrapper img {
  transition: transform 0.3s ease;
}

.svg-wrapper img.zoomed {
  transform: scale(1.35);
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .funcionalidades-container {
    grid-template-columns: 1fr;
  }
}