/* Hapvida Custom Colors CSS */

/* Definição das cores principais da Hapvida */
:root {
  --hapvida-blue: #004f9f;
  --hapvida-blue-light: #2f7ff5;
  --hapvida-blue-dark: #051c65;
  --hapvida-orange: #ff6600;
  --hapvida-orange-light: #ff8533;
  --hapvida-orange-dark: #cc5200;
  --hapvida-white: #ffffff;
  --hapvida-gray-light: #f5f5f5;
  --hapvida-gray-dark: #333333;
}

/* Aplicação das cores azuis */
a {
  color: var(--hapvida-blue) !important;
}

a:hover {
  color: var(--hapvida-blue-light) !important;
}

/* Header e navegação */
#header .logo a {
  color: var(--hapvida-blue) !important;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--hapvida-blue) !important;
  border-color: var(--hapvida-blue) !important;
}

/* Botões principais com azul */
.appointment-btn {
  background: var(--hapvida-blue) !important;
  color: var(--hapvida-white) !important;
}

.appointment-btn:hover {
  background: var(--hapvida-blue-light) !important;
  color: var(--hapvida-white) !important;
}

#hero .btn-get-started {
  background: var(--hapvida-blue) !important;
  color: var(--hapvida-white) !important;
}

#hero .btn-get-started:hover {
  background: var(--hapvida-blue-light) !important;
}

/* Seção Why Us com azul */
.why-us .content {
  background: var(--hapvida-blue) !important;
}

.why-us .content .more-btn:hover {
  color: var(--hapvida-blue) !important;
  background: var(--hapvida-white) !important;
}

.why-us .icon-boxes .icon-box i {
  color: var(--hapvida-blue) !important;
}

/* Elementos com laranja para destaque */
.section-title h2::after {
  background: var(--hapvida-orange) !important;
}

/* Ícones e elementos de destaque com laranja */
.why-us .icon-boxes .icon-box:hover {
  background: linear-gradient(135deg, var(--hapvida-orange-light) 0%, var(--hapvida-orange) 100%) !important;
  color: var(--hapvida-white) !important;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.why-us .icon-boxes .icon-box:hover i {
  color: var(--hapvida-white) !important;
}

.why-us .icon-boxes .icon-box:hover h4 {
  color: var(--hapvida-white) !important;
}

.why-us .icon-boxes .icon-box:hover p {
  color: var(--hapvida-white) !important;
}

/* Seção About com cores da Hapvida */
.about .icon-boxes h3 {
  color: var(--hapvida-blue) !important;
}

.about .icon-box .icon {
  border: 2px solid var(--hapvida-blue) !important;
}

.about .icon-box .icon i {
  color: var(--hapvida-blue) !important;
}

.about .icon-box:hover .icon {
  background: var(--hapvida-orange) !important;
  border-color: var(--hapvida-orange) !important;
}

/* Seção Services com laranja */
.services .icon-box {
  transition: all 0.3s ease;
}

.services .icon-box:hover {
  background: linear-gradient(135deg, var(--hapvida-orange-light) 0%, var(--hapvida-orange) 100%) !important;
  color: var(--hapvida-white) !important;
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

.services .icon-box:hover .icon i {
  color: var(--hapvida-white) !important;
}

.services .icon-box:hover h4 {
  color: var(--hapvida-white) !important;
}

.services .icon-box:hover p {
  color: var(--hapvida-white) !important;
}

/* Seção Counts com cores alternadas */
.counts .count-box {
  background: var(--hapvida-white);
  border: 2px solid var(--hapvida-blue);
  transition: all 0.3s ease;
}

.counts .count-box:nth-child(odd) {
  border-color: var(--hapvida-orange);
}

.counts .count-box:hover {
  background: var(--hapvida-blue);
  color: var(--hapvida-white);
}

.counts .count-box:nth-child(odd):hover {
  background: var(--hapvida-orange);
}

.counts .count-box i {
  color: var(--hapvida-blue);
}

.counts .count-box:nth-child(odd) i {
  color: var(--hapvida-orange);
}

.counts .count-box:hover i {
  color: var(--hapvida-white);
}

/* Títulos principais */
#hero h1,
#hero h2 {
  color: var(--hapvida-blue) !important;
}

.section-title h2 {
  color: var(--hapvida-blue) !important;
}

/* Back to top button */
.back-to-top {
  background: var(--hapvida-blue) !important;
}

.back-to-top:hover {
  background: var(--hapvida-orange) !important;
}

/* Preloader */
#preloader:before {
  border: 6px solid var(--hapvida-blue) !important;
  border-top-color: var(--hapvida-orange) !important;
}

/* WhatsApp button com cor laranja */
a[href*="wa.me"] {
  background-color: var(--hapvida-orange) !important;
}

a[href*="wa.me"]:hover {
  background-color: var(--hapvida-orange-dark) !important;
}

/* Gradiente especial para seções de destaque */
.gradient-hapvida {
  background: linear-gradient(135deg, var(--hapvida-blue) 0%, var(--hapvida-orange) 100%);
  color: var(--hapvida-white);
}

/* Animações suaves */
.why-us .icon-boxes .icon-box,
.services .icon-box,
.counts .count-box {
  transition: all 0.3s ease;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .why-us .icon-boxes .icon-box:hover,
  .services .icon-box:hover {
    transform: translateY(-3px);
  }
}
