/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f5f7fb;
  color: #111827;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* ─── SIDEBAR ─── */

.sidebar {
  width: 280px;
  min-width: 280px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: white;
  padding: 24px 28px;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.profile-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid white;
  box-shadow: 0 0 0 4px #e5e7eb;
}

.sidebar h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.1;
}

.sidebar h1 span {
  color: #3152ff;
}

.sidebar h2 {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 4px;
}

.subtitle {
  color: #3152ff;
  font-size: 14px;
  font-weight: 600;
}

.divider {
  height: 1px;
  width: 100%;
  background: #e5e7eb;
  margin: 16px 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #374151;
}

.contact-item i {
  color: #3152ff;
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.contact-item a {
  color: #3152ff;
  text-decoration: none;
  font-size: 13px;
}


footer {
  margin-top: 8px;
  padding: 8px 0;
  color: #6b7280;
  font-size: 12px;
  text-align: center;
}

.social-buttons {
  width: 100%;
}

.social-buttons a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #3152ff;
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s, transform 0.2s;
}

.social-buttons a:hover {
  background: #2340e0;
  transform: translateY(-2px);
}

.social-buttons a:focus-visible,
.outline-btn:focus-visible,
.contact-item a:focus-visible {
  outline: 2px solid #3152ff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── MAIN ─── */

.main-content {
  flex: 1;
  padding: 40px 50px;
  min-width: 0;
}


/* ─── HERO ─── */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hello {
  color: #3152ff;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
}

.hero h2 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero h2 > span:first-child {
  color: #3152ff;
}

.hero h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #111827;
}

.hero h3 span {
  color: #3152ff;
}

.description {
  color: #4b5563;
  padding: 10px 0px;

  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 600px;
}


/* ─── STATS ─── */

.stats-card {
  width: 270px;
  min-width: 270px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  flex-shrink: 0;
}

.stat-box {
  padding: 16px 16px;
  text-align: center;
  border: 1px solid #f3f4f6;
}

.stat-box p {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.tool-logo {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* ─── SKILLS ─── */

.skills {
  margin-top: 10px;
}

.skills h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: default;
}

.skill:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(49, 82, 255, 0.12);
  border-color: #3152ff;
}

.skill i {
  font-size: 22px;
}

/* ─── INFO CARDS ─── */

.info-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.card .check-list {
  margin-bottom: 15px;
}

.card .outline-btn {
  margin-top: auto;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  font-size: 17px;
}

.icon-blue   { color: #3152ff; }
.icon-purple { color: #7c3aed; }

.card > p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 16px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.check-item i {
  color: #22c55e;
  font-size: 13px;
  flex-shrink: 0;
}

.experience-item {
  margin-bottom: 20px;
}

.experience-item:last-of-type {
  margin-bottom: 0;
}

.experience-item strong {
  font-size: 15px;
  display: block;
  margin-bottom: 3px;
}

.exp-meta {
  color: #6b7280;
  font-size: 13px;
}

.education-item {
  margin-bottom: 16px;
}

.education-item strong {
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}

.education-item p {
  color: #6b7280;
  font-size: 13px;
}

.outline-btn {
  margin-top: 16px;
  display: block;
  background: #3152ff;
  border: 1px solid #3152ff;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s, transform 0.2s;
}

.outline-btn:hover {
  background: #2340e0;
  transform: translateY(-4px);
}

/* ─── RESPONSIVO ─── */

@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    gap: 20px;
  }

  .stats-card {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .description {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .skills {
    margin-top: 20px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: 0;
    height: auto;
    position: relative;
    overflow: visible;
    padding: 28px 24px;
  }

  .profile-image {
    width: 100px;
    height: 100px;
  }

  .sidebar h1 {
    font-size: 22px;
  }

  .sidebar h2 {
    font-size: 13px;
  }

  .divider {
    margin: 16px 0;
  }

  .contact-list {
    gap: 10px;
  }

  footer {
    padding-top: 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 28px 20px;
  }

  .description {
    margin-bottom: 0;
  }

.hero h2 {
    font-size: 40px;
  }

  .hero h3 {
    font-size: 16px;
  }

  .skills-grid {
    gap: 10px;
  }

}
