html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Base CSS */

/* Cores customizadas */
.bg-custom-black {
    background-color: #070808;
}

.bg-custom-color {
    background-color: #75a0d6;  /* Azul claro */
}

.bg-blur {
    filter: blur(2px);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.border-custom-color {
    border-color: #75a0d6;  /* Azul claro */
}

.card-hover-zoom {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.card-hover-zoom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(195, 215, 240, 0.15);  /* Azul claro */
} 

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.company-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #c3d7f0;  /* Azul claro */
    border-radius: 0.5rem;
    width: 160px;
    height: 160px;
}

.company-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(195, 215, 240, 0.2);  /* Azul claro */
}

.company-item img {
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
}

.company-item:hover img {
    border-color: #c3d7f0;  /* Azul claro */
    transform: scale(1.05);
}

.contact-info-item .content p {
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(195, 215, 240, 0.2);  /* Azul claro */
}

.contact-option:active {
    transform: translateY(0);
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.fade-in {
    opacity: 0;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible {
    opacity: 1;
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
} 

.fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-buttons-container {
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
}

.floating-svg {
  animation: floatY 3.5s ease-in-out infinite;
}

.float-bounce {
    animation: float-bounce 3s ease-in-out infinite;
}

.hero-bg {
    background: radial-gradient(circle at center, rgba(195, 215, 240, 0.1) 0%, rgba(7, 8, 8, 0.9) 70%);  /* Azul claro */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(195, 215, 240, 0.2));  /* Azul claro */
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hover\:bg-custom-color:hover {
    background-color: #75a0d6;  /* Azul claro */
}

.hover\:text-custom-color:hover {
    color: #070808;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.lazy-image.loaded {
    opacity: 1;
    background: none;
    animation: none;
}

.lazy-image[class*="bg-white"] {
    background: linear-gradient(90deg, #f5f5f5 25%, #e5e5e5 50%, #f5f5f5 75%);
    background-size: 200% 100%;
}

.lazy-image[class*="rounded-full"] {
    background: linear-gradient(45deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 200%;
}

.mobile-menu-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-menu-link:hover {
    border-color: #75a0d6;  /* Azul claro */
    transform: translateX(5px);
}

.modal-enter {
    animation: modalFadeIn 0.3s ease-out;
}

.navbar {
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar-solid {
    background: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-transparent {
    background: transparent;
    box-shadow: none;
}

.plan-card {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

.plan-card:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 10px 25px rgba(195, 215, 240, 0.3);  /* Azul claro */
}

.project-item {
    position: relative;
    overflow: hidden;
}

.project-item .lazy-image {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item img {
    height: 200px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 8, 8, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.pulse-white {
  animation: pulse-white 2s infinite;
}

.testimonial-card {
    transition: all 0.3s ease;
    min-height: 300px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(244, 67, 54, 0.1);
}

.text-custom-color {
    color: #75a0d6;  /* Azul claro */
}

.text-custom-color-secondary {
    color: #4d6f99;  /* Azul claro */
}

/* Classe para texto de alto contraste */
.text-high-contrast {
    color: #f9fafb;
}
/* Foco visível para acessibilidade */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #ff9800;
    outline-offset: 2px;
}

.whatsapp-button {
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-button:hover {
    animation: none;
    transform: scale(1.1);
} 

/* Animações de entrada CSS puro */
.fade-in {
    opacity: 0;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
} 

/* Efeito de zoom suave para todos os cards */
.card-hover-zoom {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.card-hover-zoom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(195, 215, 240, 0.15);  /* Azul claro */
} 

/* Animação flutuante para SVG na hero section */
.floating-svg {
  animation: floatY 3.5s ease-in-out infinite;
}

@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-32px); }
  100% { transform: translateY(0); }
} 

/* Ajustes responsivos para mobile */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  .plan-card {
    margin-bottom: 1.5rem;
  }
  .floating-svg {
    display: none !important;
  }
  .floating-buttons-container {
    right: 1rem !important;
    bottom: 1rem !important;
    left: auto !important;
    max-width: 100vw !important;
  }
  .fixed.right-6.bottom-6.flex {
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 100vw !important;
  }
 
  .whatsapp-button {
    animation: none;
  }
  .project-item img {
    height: 200px;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .fade-in, .fade-up, .fade-right, .fade-left {
    opacity: 1;
    transform: none;
  }
}

.floating-buttons-container {
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(195, 215, 240, 0.7);  /* Azul claro */
  }
  70% {
    box-shadow: 0 0 0 10px rgba(195, 215, 240, 0);  /* Azul claro */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(195, 215, 240, 0);  /* Azul claro */
  }
}

.pulse-white {
  animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Responsividade para seção de contato */
@media (max-width: 768px) {
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info-item .icon {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .contact-info-item .content {
        width: 100%;
    }
    
    .contact-info-item p {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Melhorias para emails longos */
.contact-info-item .content p {
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Espaçamento otimizado para mobile */
@media (max-width: 640px) {
    .contact-info-item {
        padding: 0.75rem 0;
    }
    
    .contact-info-item .content h4 {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-info-item .content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Modal do WhatsApp */
#whatsapp-modal {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

#whatsapp-modal.show {
    display: flex !important;
}

#modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

#modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.contact-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(195, 215, 240, 0.2);  /* Azul claro */
}

.contact-option:active {
    transform: translateY(0);
}

/* Animação de entrada do modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-enter {
    animation: modalFadeIn 0.3s ease-out;
}

/* Responsividade do modal */
@media (max-width: 640px) {
    #modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .contact-option {
        padding: 0.75rem;
    }
    
    .contact-option h4 {
        font-size: 0.875rem;
    }
    
    .contact-option p {
        font-size: 0.75rem;
    }
}

.navbar {
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar-transparent {
    background: transparent;
    box-shadow: none;
}
.navbar-solid {
    background: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bg-black-opacity {
    background: rgba(0, 0, 0, 0.70); /* ajuste a opacidade conforme desejado */
}

/* Mobile Menu Dialog Styles */
#mobile-menu-dialog {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#mobile-menu-content {
    border: 1px solid rgba(195, 215, 240, 0.3);  /* Azul claro */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

#mobile-menu-content.scale-100 {
    transform: scale(1);
    opacity: 1;
}

#mobile-menu-content.scale-95 {
    transform: scale(0.95);
    opacity: 0;
}

/* -------------------- IDs -------------------- */

/* Modal do WhatsApp (fundo escurecido e blur) */
#whatsapp-modal {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

/* Modal do WhatsApp visível */
#whatsapp-modal.show {
    display: flex !important;
}

/* Conteúdo do modal (animação de entrada) */
#modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Conteúdo do modal visível */
#modal-content.show {
    transform: scale(1);
    opacity: 1;
}

/* Estilos do menu mobile (fundo com blur) */
#mobile-menu-dialog {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Conteúdo do menu mobile (borda e sombra) */
#mobile-menu-content {
    border: 1px solid rgba(195, 215, 240, 0.3);  /* Azul claro */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Animação de entrada do menu mobile (visível) */
#mobile-menu-content.scale-100 {
    transform: scale(1);
    opacity: 1;
}

/* Animação de entrada do menu mobile (escondido) */
#mobile-menu-content.scale-95 {
    transform: scale(0.95);
    opacity: 0;
}

/* -------------------- KEYFRAMES -------------------- */

/* Animação de shimmer para lazy loading */
@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animação de flutuação para elementos */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Animação de pulsar para elementos */
@keyframes pulse {
    0%, 100% {transform: scale(1);}
    50% {transform: scale(1.1);}
}

/* Animação de flutuação com bounce */
@keyframes float-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* Animação de pulsar para botão do WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(57, 238, 12, 0.7);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
      }
}

/* Animação de pulsar branca */
@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 rgba(80, 113, 223, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Animação de entrada do modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animação de flutuação para SVGs */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-32px); }
  100% { transform: translateY(0); }
} 

/* Animação de rotação da engrenagem do braço robótico */
@keyframes gear-rotate {
  100% { transform: rotate(360deg); }
}

/* Animação de balanço do braço principal do braço robótico */
@keyframes arm-swing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-10deg); }
}

/* Animação de movimento da garra do braço robótico */
@keyframes claw-move {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(15deg); }
}