/**
* Template Name: SnapFolio
* Template URL: https://bootstrapmade.com/snapfolio-bootstrap-portfolio-template/
* Updated: Jul 21 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.consultoria .profile-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 5%) 100%);
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  position: relative;
  overflow: hidden;
}

.consultoria .profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
}

@media (max-width: 991px) {
  .consultoria .profile-card {
    margin-bottom: 3rem;
  }
}

.consultoria .profile-header {
  position: relative;
  margin-bottom: 2rem;
}

.consultoria .profile-header .profile-image {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background-color: #17320b;
}

.consultoria .profile-header .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.consultoria .profile-header .profile-badge {
  position: absolute;
  bottom: 20px;
  right: calc(50% - 65px);
  width: 32px;
  height: 32px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--surface-color);
}

.consultoria .profile-header .profile-badge i {
  color: var(--contrast-color);
  font-size: 14px;
}

.consultoria .profile-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 0.90rem;
  color: var(--heading-color);
}

.consultoria .profile-content .profession {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.consultoria .contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consultoria .contact-links .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 50%);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.consultoria .contact-links .contact-item i {
  font-size: 1rem;
  width: 18px;
  flex-shrink: 0;
}

@media (max-width: 360px) {
  .consultoria .contact-links .contact-item {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.85rem;
  }
}

.consultoria .consultoria-content {
  padding-left: 3rem;
}

@media (max-width: 991px) {
  .consultoria .consultoria-content {
    padding-left: 0;
  }
}

.consultoria .consultoria-content .section-header {
  margin-bottom: 2rem;
}

.consultoria .consultoria-content .section-header .badge-text {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  color: var(--contrast-color);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.consultoria .consultoria-content .section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 768px) {
  .consultoria .consultoria-content .section-header h2 {
    font-size: 1.875rem;
  }
}

.consultoria .consultoria-content .description {
  margin-bottom: 2.5rem;
}

.consultoria .consultoria-content .description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 1.5rem;
}

.consultoria .consultoria-content .description p:last-child {
  margin-bottom: 0;
}

.consultoria .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .consultoria .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

.consultoria .stats-grid .stat-item {
  text-align: center;
}

.consultoria .stats-grid .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.consultoria .stats-grid .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.consultoria .details-grid {
  margin-bottom: 2.5rem;
}

.consultoria .details-grid .detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .consultoria .details-grid .detail-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.consultoria .details-grid .detail-row:last-child {
  margin-bottom: 0;
}

.consultoria .details-grid .detail-item .detail-label {
  display: block;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.consultoria .details-grid .detail-item .detail-value {
  display: block;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1rem;
}

.consultoria .cta-section {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.consultoria .cta-section .btn {
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.consultoria .cta-section .btn.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.consultoria .cta-section .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.consultoria .cta-section .btn.btn-outline {
  background-color: transparent;
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.consultoria .cta-section .btn.btn-outline:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.stats .stats-item {
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-color), transparent 5%), var(--surface-color));
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.stats .stats-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stats .stats-item:hover .icon-wrapper {
  transform: scale(1.1);
}

.stats .stats-item:nth-child(1) .icon-wrapper {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.stats .stats-item:nth-child(1) .icon-wrapper i {
  color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.stats .stats-item:nth-child(2) .icon-wrapper {
  background-color: color-mix(in srgb, #20c997, transparent 85%);
}

.stats .stats-item:nth-child(2) .icon-wrapper i {
  color: color-mix(in srgb, #20c997, transparent 10%);
}

.stats .stats-item:nth-child(3) .icon-wrapper {
  background-color: color-mix(in srgb, #198754, transparent 85%);
}

.stats .stats-item:nth-child(3) .icon-wrapper i {
  color: color-mix(in srgb, #198754, transparent 10%);
}

.stats .stats-item:nth-child(4) .icon-wrapper {
  background-color: color-mix(in srgb, #0f5132, transparent 85%);
}

.stats .stats-item:nth-child(4) .icon-wrapper i {
  color: color-mix(in srgb, #0f5132, transparent 10%);
}

.stats .stats-item .icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.stats .stats-item .icon-wrapper i {
  font-size: 2rem;
  color: var(--accent-color) !important;
}

.stats .stats-item span {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1;
  font-family: var(--heading-font);
}

.stats .stats-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.stats .stats-item p {
  color: #a0a0a0;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
  font-family: var(--default-font);
  font-weight: 400;
}

/* Container do Círculo da Imagem */
  .consultoria .profile-image {
    position: relative;
    overflow: hidden;
    border-radius: 50%; /* Garante que a varredura não vaze para fora do círculo */
    animation: surgimentoSuave 1.5s ease-out forwards;
  }

  /* FASE 1: Surgimento da imagem */
  @keyframes surgimentoSuave {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
  }

  /* FASE 2: A Linha de Risco (Scanner Vermelho) - Loop Infinito de 6s */
  .consultoria .profile-image::before {
    content: "";
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, #20c997, transparent);
    box-shadow: 0 0 8px #20c997;
    opacity: 0;
    z-index: 2;
    animation: varreduraRisco 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  @keyframes varreduraRisco {
    0% { top: -10%; opacity: 0; }
    5% { opacity: 1; }
    35% { opacity: 1; top: 110%; }
    40%, 100% { top: 110%; opacity: 0; }
  }

  /* FASE 3: A Mitigação (Escudo Verde Contínuo) - Sincronizado */
  .consultoria .profile-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 167, 104, 0.2) 0%, transparent 70%);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    transform: scale(0.8);
    box-sizing: border-box; /* Para a borda não quebrar o layout */
    animation: escudoMitigacao 6s ease-out infinite;
  }

  @keyframes escudoMitigacao {
    0%, 35% { transform: scale(0.8); opacity: 0; }
    40% { transform: scale(1); opacity: 1; border-color: var(--accent-color); box-shadow: inset 0 0 20px rgba(46, 167, 104, 0.4); }
    85% { transform: scale(1); opacity: 0.8; border-color: var(--accent-color); box-shadow: inset 0 0 10px rgba(46, 167, 104, 0.15); }
    95%, 100% { transform: scale(1.05); opacity: 0; border-color: transparent; }
  }

  /* FASE 4: Brilho no Ícone de Verificação (Sincronizado) */
  .consultoria .profile-badge {
    animation: brilhoCheck 6s ease-out infinite;
  }

  @keyframes brilhoCheck {
    0%, 35% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
    40% { transform: scale(1.2); filter: drop-shadow(0 0 12px var(--accent-color)); }
    85% { transform: scale(1); filter: drop-shadow(0 0 8px var(--accent-color)); }
    95%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  }