/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== GLOBAL ========== */
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== NAVIGATION ========== */
nav {
  width: 100%;
  height: 130px;
  background-color: #ffffff;
  align-content: end;
}

#avatar {
  height: 70px;
  display: block;
  transition: all 0.2s ease;
}

#avatar:hover {
  color: #805ad5;
}

/* ========== HEADER ========== */
.header {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  position: relative;
}

.header h1 {
  font-weight: 500;
  font-size: 3.9rem;
  color: #333;
  line-height: 1;
}

.header p {
  width: 620px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin-top: 25px;
  margin-left: 4px;
}

.saiba-mais-btn {
  border: solid 1px #805ad5;
  display: inline-block;
  margin-top: 20px;
  font-size: 0.7rem;
  padding: 10px 20px;
  color: #805ad5;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.saiba-mais-btn:hover {
  background-color: #805ad5;
  border: 1px solid #805ad5;
  transform: translateY(-3px);
  color: #f5f4ed;
}

.about {
  text-align: left;
  min-height: 700px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.typing-cursor {
  color: #805ad5;
}

.about-content {
  flex: 1;
  max-width: 1100px;
}

.me {
  width: 270px;
  margin-bottom: 140px;
  transition: all 0.5s ease;
}

.me:hover {
  transform: scale(1.03);
}

/* ========== MAIN CONTENT ========== */
.main-content {
  padding-bottom: 5%;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-top: 10%;
  margin-bottom: 5%;
  letter-spacing: 10px;
  text-transform: uppercase;
}

/* ========== EXPERIENCE GRID ========== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.experience-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  vertical-align: top;
  font-size: 16px;
  min-height: 900px;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.experience-card.card-hidden {
  opacity: 0;
  transform: translateY(120px) scale(0.85);
}

.experience-card.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.experience-card:nth-child(even) {
  margin-top: 10%;
}

.experience-card:nth-child(odd) {
  margin-right: 0;
}

.card-header {
  width: 100%;
  height: 60%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image {
  width: 100%;
  height: 100%;
}

.card-content {
  height: 40%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  overflow-y: auto;
}

.card-content p {
  text-align: left;
  font-size: 18px;
  color: #666;
  line-height: 1.4;
}

.card-content-info p {
  margin-top: 15px;
  text-align: left;
  font-size: 0.8rem;
  color: #a8a8a8;
  line-height: 1.4;
}

.card-tag ul {
  display: flex;
  flex-wrap: wrap;
  font-weight: 600;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0 0;
  list-style: none;
}

.card-tag-text {
  background-color: #fff;
  border: 1px solid #a8a8a8;
  color: #a8a8a8;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.7rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.card-tag-text:hover {
  color: #805ad5;
  border: 1px solid #805ad5;
  transform: translateY(-3px);
}

.card-avatar {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========== CLIENTES SECTION ========== */
.grid-section {
  background-color: white;
  display: flow-root;
}

.client-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-top: 5%;
  margin-bottom: 5%;
  letter-spacing: 10px;
  text-transform: uppercase;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 46px;
  row-gap: 50px;
  margin-bottom: 10%;
}

.grid-item {
  background-color: #fff;
  border: 1px solid #ededed;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.grid-item img {
  width: 225px;
}

.grid-item.client-hidden {
  opacity: 0;
  transform: translateY(60px) scale(0.9);
}

.grid-item.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.grid-item:nth-child(1) { transition-delay: 0.3s; }
.grid-item:nth-child(2) { transition-delay: 0.3s; }
.grid-item:nth-child(3) { transition-delay: 0.3s; }
.grid-item:nth-child(4) { transition-delay: 0.3s; }
.grid-item:nth-child(5) { transition-delay: 0.3s; }
.grid-item:nth-child(6) { transition-delay: 0.3s; }
.grid-item:nth-child(7) { transition-delay: 0.3s; }
.grid-item:nth-child(8) { transition-delay: 0.3s; }
.grid-item:nth-child(9) { transition-delay: 0.3s; }
.grid-item:nth-child(10) { transition-delay: 0.3s; }
.grid-item:nth-child(11) { transition-delay: 0.3s; }
.grid-item:nth-child(12) { transition-delay: 0.3s; }

/* ========== EXPERTISE SECTION ========== */
.expertise {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #f5f5f5;
}

.expertise-title {
  font-size: 2rem;
  font-weight: 500;
  color: #2b2b2b;
  margin-top: 5%;
  margin-bottom: 5%;
  letter-spacing: -1px;
}

.expertise-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  max-width: 1200px;
}

.tag {
  background-color: white;
  border: 1px solid #ededed;
  border-radius: 50px;
  padding: 10px 50px;
  font-size: 2.5rem;
  font-weight: 500;
  color: #ededed;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.tag-muscle {
  font-size: 2.5rem;
  line-height: 1;
  padding: 10px;
  background: none;
  border: none;
  box-shadow: none;
  color: #2b2b2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tag-muscle:hover {
  transform: translateY(-5px);
}

.tag:nth-child(1):hover {
  color: #e53e3e;
  border: 1px solid #e53e3e;
  transform: translateY(-5px);
}

.tag:nth-child(2):hover {
  color: #3182ce;
  border: 1px solid #3182ce;
  transform: translateY(-5px);
}

.tag:nth-child(3):hover {
  color: #38a169;
  border: 1px solid #38a169;
  transform: translateY(-5px);
}

.tag:nth-child(4):hover {
  color: #805ad5;
  border: 1px solid #805ad5;
  transform: translateY(-5px);
}

.tag:nth-child(5):hover {
  color: #00b5d8;
  border: 1px solid #00b5d8;
  transform: translateY(-5px);
}

.tag:nth-child(6):hover {
  color: #e53e3e;
  border: 1px solid #e53e3e;
  transform: translateY(-5px);
}

.tag:nth-child(7):hover {
  color: #3182ce;
  border: 1px solid #3182ce;
  transform: translateY(-5px);
}

/* ========== FOOTER ========== */
.footer {
  background-color: white;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  height: 120px;
  align-content: center;
}

.projetos-btn {
  border: solid 1px #bbbbbb;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  border-radius: 50px;
  padding: 10px 20px;
  
  text-decoration: none;
}

.projetos-btn:hover {
  background-color: #805ad5;
  border: 1px solid #805ad5;
  color: #f5f4ed;
  transition: all 0.2s ease;
  transform: translateY(-2px)
}


.local {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.local .flags {
  display: flex;
  gap: 0.5rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: #bbbbbb;
}

.links a {
  text-decoration: none;
  color: #bbbbbb;
  transition: opacity 0.5s ease;
}

.links a:hover {
  color: #fff;
  opacity: 0.7;
}

.links i {
  margin-left: 0.3rem;
  font-size: 1rem;
}

.icones {
  display: flex;
  gap: 1rem;
}

.icones a {
  color: #bbbbbb;
  transition: all 0.2s ease;
}

.icones a:hover {
  color: #805ad5;
  transform: translateY(-2px);
}

/* ========== TYPING EFFECT ========== */
@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.typing-cursor {
  font-weight: 500;
  animation: blink 1s infinite;
  margin-left: 2px;
  display: inline-block;
}

#typed-element {
  transition: opacity 0.1s ease;
}