/* Simas TI - Estilo Principal */

:root {
  --simas-blue:  #00a0e4;  /* Azul */
  --simas-green: #22C55E; /* Verde */
  --simas-red: red; /* Verde */
  
  /* --simas-green: hsl(84, 79%, 47%); */
        
  --dark: #212529;
  --light: #ffffff;
  --gray: #f8f9fa;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  background-color: var(--light);
}

/* Header e Navegação */
.navbar {
  background-color: var(--light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--simas-blue) !important;
}

.btn-primary {
  background-color: var(--simas-green);
  border-color: var(--simas-green);
}

.btn-primary:hover {
  background-color: #0090d0;
  border-color: #0090d0;
}

.btn-success {
  background-color: var(--simas-blue);
  border-color: var(--simas-blue);
}

.btn-success:hover {
  background-color: var(--simas-green);
  border-color: var(--simas-green);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--simas-blue) 0%, var(--simas-green) 100%);
  color: var(--light);
  padding: 100px 0;
}

.hero h1 {
  font-weight: 700;
  font-size: 3rem;
}

/* Seções */
.section {
  padding: 80px 0;
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: var(--simas-blue);
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
  color: var(--simas-blue);
  font-weight: 600;
}

/* Serviços */
.service-icon {
  font-size: 2.5rem;
  color: var(--simas-blue);
  margin-bottom: 20px;
}

/* Contato CTA */
.bg-blue {
    background-color: #0072CE; /* Azul conforme imagem */
}

.text-white {
    color: #ffffff;
}

.btn-green {
    background-color: #22C55E; /* Verde dos botões */
    color: #ffffff;
    border: none;
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 0.375rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.text-start {
    text-align: left;
}

.text-end {
    text-align: right;
}

/* Contato */
.contact-info {
  margin-bottom: 30px;
}

.contact-info i {
  color: var(--simas-blue);
  font-size: 1.5rem;
  margin-right: 10px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 60px 0 30px;
}

footer h5 {
  color: var(--simas-blue);
  margin-bottom: 20px;
  font-weight: 600;
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: var(--simas-green);
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  color: var(--light);
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--simas-blue);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}

/* ===== BOTÃO WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.whatsapp-tooltip {
    background: #333;
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    margin-right: 10px;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #333;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover::before {
    opacity: 1;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
    transition: transform 0.3s ease;
}

/* Efeitos de hover */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-button {
    transform: scale(1.1);
    box-shadow: 0 6px 20px #0fa546;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* Animação de pulsação */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px #0fa546;
    }
    50% {
        box-shadow: 0 4px 12px #0fa546, 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px #0fa546, 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

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

.whatsapp-float:hover .whatsapp-button {
    animation: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        font-size: 13px;
        padding: 10px 14px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }

    .whatsapp-tooltip {
        font-size: 12px;
        padding: 8px 12px;
        margin-right: 6px;
    }
}

/* Acessibilidade */
.whatsapp-button:focus {
    outline: 3px solid #0fa546;
    outline-offset: 2px;
}

/* Reduzir animações para usuários que preferem */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-tooltip,
    .whatsapp-button,
    .whatsapp-icon,
    .whatsapp-button::before {
        transition: none;
    }
    
    .whatsapp-button {
        animation: none;
    }
}


/* Responsividade */
@media (max-width: 767.98px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .navbar-brand img {
    height: 40px;
  }
}

