/* Dr. Noble - Custom Bootstrap 5 Styles */

/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* CSS Variables */
:root {
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-secondary: #6c757d;
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-info: #14b8a6;
  --bs-info-rgb: 20, 184, 166;
  --bs-warning: #f59e0b;
  --bs-warning-rgb: 245, 158, 11;
  --bs-danger: #dc2626;
  --bs-danger-rgb: 220, 38, 38;

  /* Custom health theme colors */
  --health-blue: #3b82f6;
  --health-blue-light: #dbeafe;
  --health-green: #10b981;
  --health-green-light: #d1fae5;
  --health-teal: #14b8a6;
  --health-teal-light: #ccfbf1;
  --health-gray: #6b7280;
  --health-gray-light: #f9fafb;

  /* Poppins font family */
  --font-family: "Poppins", sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-family);
  scroll-behavior: smooth;
}
.h2-42 {
  font-size: 42px;
}
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
button,
input,
textarea,
label {
  font-family: var(--font-family);
}

/* Custom Background Gradients */
.bg-gradient {
  background: linear-gradient(
    to right,
    rgba(30, 58, 138, 0.8),
    rgba(20, 184, 166, 0.7)
  );
}

.bg-gradient-light {
  background: linear-gradient(to bottom, #eff6ff, white);
}

.bg-gradient-dark {
  background: linear-gradient(
    to right,
    rgba(30, 58, 138, 0.95),
    rgba(20, 184, 166, 0.9)
  );
}

.bg-gradient-blue {
  background: linear-gradient(
    to bottom right,
    rgba(30, 58, 138, 0.8),
    rgba(59, 130, 246, 0.7)
  );
}

.bg-gradient-green {
  background: linear-gradient(
    to bottom right,
    rgba(5, 150, 105, 0.8),
    rgba(16, 185, 129, 0.7)
  );
}

.bg-gradient-teal {
  background: linear-gradient(
    to bottom right,
    rgba(13, 148, 136, 0.8),
    rgba(20, 184, 166, 0.7)
  );
}

/* Custom Color Classes */
.text-primary-light {
  color: #dbeafe !important;
}

.bg-primary-light {
  background-color: #dbeafe !important;
}

.bg-success-light {
  background-color: #d1fae5 !important;
}

.bg-info-light {
  background-color: #ccfbf1 !important;
}

.bg-warning-light {
  background-color: #fef3c7 !important;
}

.bg-danger-light {
  background-color: #fee2e2 !important;
}

.bg-purple-light {
  background-color: #f3e8ff !important;
}

.text-purple {
  color: #9333ea !important;
}

.text-success-light {
  color: #a7f3d0 !important;
}

.text-info-light {
  color: #99f6e4 !important;
}

/* Z-index utilities */
.z-2 {
  z-index: 2;
}

.z-3 {
  z-index: 3;
}
#download-app .app-store-btn p {
  margin: 0;
  font-size: 14px;
}
#download-app .app-store-btn {
  background-color: #000;
  color: #fff;
}
.header {
  height: 100vh;
  background-color: #083550 !important;
  position: relative;
  overflow: hidden;
}

.bg-video {
  z-index: 1;
  object-fit: cover;
  object-position: center; /* Padrão no desktop */
}
.video-overlay {
  background: linear-gradient(
    90deg,
    var(--color-azure-3380, rgba(28, 57, 142, 0.80)) 0%,
    var(--color-cyan-1970, rgba(0, 95, 90, 0.70)) 100%
  );
}
.espaco-btns {
  padding: 80px 0px;
}
.object-fit-cover {
  object-fit: cover;
}

/* Backdrop blur */
.backdrop-blur {
  backdrop-filter: blur(8px);
}

/* Custom Button Styles */
.btn {
  font-family: var(--font-family);
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0.625rem;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-light {
  background-color: white;
  border-color: white;
  color: #1e40af;
}

.btn-light:hover {
  background-color: #f3f4f6;
  border-color: #f3f4f6;
  color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background-color: white;
  border-color: white;
  color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Card Styles */
.card {
  transition: all 0.3s ease;
  border-radius: 1rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.intro-card:hover .intro-icon {
  transform: scale(1.1);
}

.intro-icon {
  transition: transform 0.3s ease;
}

/* App Store Button Styles */
.app-store-btn {
  transition: all 0.3s ease;
}

.app-store-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Social Link Styles */
.social-link {
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link:hover .lucide-instagram {
  color: #ec4899;
}

.social-link:hover .lucide-linkedin {
  color: #2563eb;
}

/* Animation Classes */
.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40%,
  43% {
    transform: translateX(-50%) translateY(-8px);
  }
  70% {
    transform: translateX(-50%) translateY(-4px);
  }
  90% {
    transform: translateX(-50%) translateY(-2px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Fade In Animation */
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lazy Loading */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}

/* Custom Spacing */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Responsive Typography */
@media (min-width: 768px) {
  .display-md-2 {
    font-size: 3.75rem;
  }
 
  .display-md-3 {
    font-size: 3rem;
  }

  .fs-md-3 {
    font-size: 1.5rem !important;
  }
}
@media (max-width: 768px) { 
.bg-video {
    object-position: 63% center; /* Move o foco um pouco para a direita */
  }
}
@media (min-width: 992px) {
  .display-lg-1 {
    font-size: 4.5rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--bs-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Focus Styles for Accessibility */
.btn:focus,
.app-store-btn:focus,
.social-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Print Styles */
@media print {
  .header,
  .py-5,
  footer {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}

/* Utility Classes */
.text-decoration-none:hover {
  text-decoration: underline !important;
}

/* Custom shadows */
.shadow-custom {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-custom:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image hover effects */
.img-hover {
  transition: transform 0.3s ease;
}

.img-hover:hover {
  transform: scale(1.02);
}

/* Custom border radius */
.rounded-custom {
  border-radius: 1rem;
}

/* Text selection */
::selection {
  background-color: var(--bs-primary);
  color: white;
}

/* Smooth transitions for all interactive elements */
.btn,
.card,
.social-link,
.app-store-btn {
  transition: all 0.3s ease;
}

/* Custom form styles (for future use) */
.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Loading states */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Custom tooltip styles */
.tooltip-custom {
  position: relative;
}

.tooltip-custom::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tooltip-custom:hover::before {
  opacity: 1;
}
.h1-title {
  font-size: 63px;
}
.text-site-14 {
  font-size: 14px;
}
/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  :root {
    --bs-body-bg: #1a1a1a;
    --bs-body-color: #ffffff;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn {
    border-width: 2px;
  }

  .card {
    border: 2px solid;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
img {
  max-width: 100%;
}
.transform-title {
  font-size: 52px;
}
.downloads-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.cards-tres {
  gap: 38px;
}
.img-cuidado-content {
  text-align: end;
}
.img-cuidado-content img {
  width: 86%;
}
/* Até 1199px */
@media (max-width: 1199px) {
  .h1-title {
    font-size: 52px;
  }
  .transform-title {
    font-size: 48px;
  }
  .cards-tres {
    gap: 16px;
  }
  .img-cuidado-content img {
    width: 100%;
  }
}

/* Até 991px */
@media (max-width: 991px) {
  br {
    display: none;
  }
  .transform-title {
    font-size: 45px;
  }
  .img-atendimento-content img {
    width: 100%;
    max-width: 100%;
  }
  img,
  svg {
    max-width: 100%;
    height: auto;
  }
  .h1-title {
    font-size: 45px;
  }
  .img-cuidado-content {
    padding-top: 30px;
  }
  .img-cuidado-content img {
    width: 100%;
  }
}

/* Até 768px */
@media (max-width: 768px) {
  .h2-42 {
    font-size: 32px;
  }
  .downloads-links {
    flex-direction: column;
  }
  .h1-title {
    font-size: 38px;
  }
  .transform-title {
    font-size: 38px;
  }
}

/* Efeitos de Scroll */
[data-aos] {
  opacity: 1;
  transition-property: transform, opacity;
  will-change: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Efeito de hover nos cards */
.intro-card,
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.intro-card:hover,
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Efeito de parallax no header */
.header {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position;
}

/* Estilização da galeria */
.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.9);
}

.fancybox__button {
  --fancybox-accent-color: #155dfc;
}

/* Animações suaves para elementos */
.animate-fade-in {
  animation: fadeIn 0.5s ease-in;
  will-change: opacity, transform;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito de scroll suave */
html {
  scroll-behavior: smooth;
}

/* Estilização do indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  will-change: transform;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Garante que o conteúdo seja visível mesmo sem JavaScript */
.no-js [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}
