/* === HEADER === */
#header {
  padding: 12rem 0 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  text-align: justify;
}

.header__left h1 {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  animation: fadeInLeft 1s ease;
}

.header__left p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--text-color);
  animation: fadeInLeft 1s ease 0.2s both;
}

.header__left .btn {
  animation: fadeInLeft 1s ease 0.4s both;
}

.header__right {
  position: relative;
  animation: fadeInRight 1s ease;
}

.header__image {
  position: relative;
  z-index: 1;
  border-radius: 50% 30% 60% 40% / 40% 50% 30% 60%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  max-width: 40rem;
  margin: 0 auto;
}

.header__image:hover {
  border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
}

.header__image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.5rem;
  background: var(--gradient-primary);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

.luis {
  width: 100%;
  border-radius: inherit;
  object-fit: cover;
  transform: scale(1.05);
  transition: var(--transition);
}

.header__image:hover .luis {
  transform: scale(1);
}


/* === ABOUT SECTION MODERNA === */
.about-section {
  padding: 10rem 0;
  background: linear-gradient(135deg, var(--light-tertiary-color) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.profile-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  position: sticky;
  top: 12rem;
  transition: all 0.4s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.profile-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.title-highlight {
  color: var(--primary-color);
  position: relative;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 0;
  width: 100%;
  height: 0.4rem;
  background: var(--tertiary-color);
  opacity: 0.5;
  z-index: -1;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-btn i {
  font-size: 1.6rem;
}

.social-btn span {
  transition: transform 0.3s ease;
}

.social-btn:hover span {
  transform: translateX(3px);
}

.linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0A66C2;
}

.linkedin:hover {
  background: #0A66C2;
  color: white;
}

.github {
  background: rgba(23, 21, 21, 0.1);
  color: #171515;
}

.github:hover {
  background: #171515;
  color: white;
}

.instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #E1306C;
}

.instagram:hover {
  background: #E1306C;
  color: white;
}

.whatsapp {
  background: rgba(37, 211, 102, 0.1); /* Verde do WhatsApp com 10% de opacidade */
  color: #25D366; /* Verde oficial do WhatsApp */
}

.whatsapp:hover {
  background: #25D366; /* Verde do WhatsApp */
  color: white;
}

.profile-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-photo {
  transform: scale(1.03);
}

.tech-bubbles {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
}

.bubble {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.profile-card:hover .bubble {
  transform: translateY(-1rem);
}

.bubble.aws {
  background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%);
}

.bubble.python {
  background: linear-gradient(135deg, #3776AB 0%, #FFD43B 100%);
}

.bubble.cloud {
  background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

.about-content {
  background: white;
  border-radius: 1.5rem;
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.content-header {
  margin-bottom: 3rem;
}

.content-title {
  font-size: 2.4rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.title-icon {
  color: var(--primary-color);
  font-size: 2.8rem;
}

.divider {
  width: 5rem;
  height: 0.4rem;
  background: var(--gradient-primary);
  border-radius: 2rem;
}

.bio-text {
  margin-bottom: 4rem;
  line-height: 1.8;
}

.bio-text p {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.text-highlight {
  font-weight: 600;
  color: var(--secondary-color);
  position: relative;
}

.tech-tag {
  display: inline-block;
  background: rgba(115, 7, 119, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0.3rem;
}

.bio-highlight {
  background: rgba(208, 166, 225, 0.1);
  border-left: 4px solid var(--tertiary-color);
  padding: 2rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 3rem 0;
  position: relative;
}

.bio-highlight i {
  position: absolute;
  font-size: 3rem;
  opacity: 0.2;
}

.bio-highlight i.fa-quote-left {
  top: 1rem;
  left: 1rem;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-number {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.stat-label {
  font-size: 1.4rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Responsividade */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .profile-card {
    position: static;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 6rem 0;
  }
  
  .about-content {
    padding: 3rem;
  }
  
  .content-title {
    font-size: 2rem;
  }
  
  .experience-stats {
    grid-template-columns: 1fr;
  }
}

/* Animações */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  animation: countUp 0.6s ease forwards;
  opacity: 0;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.3s;
}

.stat-item:nth-child(3) {
  animation-delay: 0.5s;
}