:root {
  --primary-color: #d81300;
  --primary-light: #ff7e72;
  --primary-dark: #a50f00;
  --text-color: #2d3436;
  --bg-color: #f5f6fa;
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

body {
  padding: 2rem 1rem;
}

h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

#wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.card {
  background-color: var(--card-bg);
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow-color);
  border-left: 4px solid var(--primary-light);
}

.card .card-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card .card-header .card-icon {
  background-color: var(--primary-color);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.card .card-header .card-title {
  position: relative;
  flex: 1;
}

.card .card-header .card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 4px;
  width: 40px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Informações de Contato */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(216, 19, 0, 0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.contact-info a:hover {
  background: var(--primary-color);
  color: white;
}

.contact-info .fa {
  font-size: 1.1rem;
}

/* Timeline Styling */
ul.timeline {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.5rem;
}

ul.timeline > li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

ul.timeline > li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--primary-color));
  opacity: 0.3;
}

ul.timeline > li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 3px solid var(--primary-color);
}

/* Buttons */
.btn-custom-1 {
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-custom-1:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(216, 19, 0, 0.3);
  color: white;
  text-decoration: none;
}

.btn-custom-1 .icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-line {
  text-align: center;
  margin-top: 2rem;
}

footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .contact-info {
    flex-direction: column;
  }
  
  .contact-info a {
    width: 100%;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
    padding: 20px;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #eee;
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Highlight Text */
.highlight-text {
  display: inline-block;
  background: rgba(216, 19, 0, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  margin: 0.2rem 0;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-category {
  margin-bottom: 2rem;
}

.skill-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.skill-item {
  background: var(--bg-color);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateX(5px);
  background: rgba(216, 19, 0, 0.1);
}

.skill-item .skill-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.skill-item .skill-info {
  flex: 1;
}

.skill-item .skill-info h4 {
  margin-bottom: 0.3rem;
  color: var(--text-color);
}

.skill-item .skill-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Remove skill level styles */
.skill-level,
.skill-level-fill {
  display: none;
}

/* Timeline Improvements */
.timeline-company {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0.5rem 0;
}

.timeline-period {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
}

.timeline-period .fa {
  font-size: 1rem;
}

/* Remove education progress styles */
.education-progress,
.education-progress-fill {
  display: none;
}

.education-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.education-status.in-progress {
  background: rgba(255, 193, 7, 0.15);
  color: #e65100;
}

.education-status.completed {
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
}

/* Responsibility Lists */
.responsibility-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.responsibility-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.responsibility-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
} 