@charset "UTF-8";
/* ===== VARIÁVEIS SCSS ===== */
/* ===== MIXINS ===== */
/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  --color-primary: #b84105;
  --color-secondary: #64748b;
  --color-accent: #295c74;
  --color-background: #ffffff;
  --color-surface: #f8fafc;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-border: #e2e8f0;
  background-color: var(--color-background);
  color: var(--color-text-primary);
}
body.dark-mode {
  --color-primary: #b84105;
  --color-secondary: #94a3b8;
  --color-accent: #295c74;
  --color-background: #0f172a;
  --color-surface: #1e293b;
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-border: #334155;
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */

.projectplace-holder img{
    width: 2rem;
}   

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
}

/*Alterar Tema*/
#alterar-tema {
  border: none;
  width: 3%;
  height: 4vh;
  border-radius: 5px;
  cursor: pointer;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-primary);
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* ===== HEADER E NAVEGAÇÃO ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all 0.3s ease;
}
.dark-mode .header {
  background: rgba(15, 23, 42, 0.95);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .nav {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .nav {
    padding: 0 2rem;
  }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav-brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
.nav-brand-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: block;
  margin-top: -0.25rem;
}
.nav-menu {
  display: none;
  list-style: none;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}
.nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--color-primary);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  background: var(--color-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.theme-toggle:hover {
  background: var(--color-primary);
  color: white;
}
.theme-toggle .theme-icon {
  font-size: 1.125rem;
}

/* ===== SEÇÃO HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .hero {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 0 2rem;
  }
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.hero-content {
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}
.hero-title .highlight {
  color: var(--color-primary);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero-actions {
    justify-content: flex-start;
  }
}
.hero-image {
  display: flex;
  justify-content: center;
}
.hero-image .profile-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}
@media (min-width: 768px) {
  .hero-image .profile-placeholder {
    width: 400px;
    height: 400px;
    font-size: 8rem;
  }
}

/* ===== SEÇÃO SOBRE ===== */
.about {
  padding: 5rem 0;
  background: var(--color-surface);
}
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 2fr 1fr;
  }
}
.about-text p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}
.about-text p:last-child {
  margin-bottom: 0;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}
.about-stats .stat {
  text-align: center;
}
.about-stats .stat-number {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.about-stats .stat-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ===== SEÇÃO HABILIDADES ===== */
.skills {
  padding: 5rem 0;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.skill-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.skill-category {
  text-align: center;
}
.skill-category h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skill-tag {
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== SEÇÃO PROJETOS ===== */
.projects {
  padding: 5rem 0;
  background: var(--color-surface);
}
.projects .project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .projects .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .projects .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.project-card .project-image {
  margin-bottom: 1.5rem;
}
.project-card .project-image .project-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.project-card .project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}
.project-card .project-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.project-card .project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.project-card .tech-tag {
  background: var(--color-background);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
}
.project-card .project-links {
  display: flex;
  gap: 1rem;
}
.project-card .project-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}
.project-card .project-link:hover {
  text-decoration: underline;
}

/* ===== SEÇÃO EXPERIÊNCIA ===== */
.experience {
  padding: 5rem 0;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 4rem;
}
@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 2rem;
  }
  .timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 2rem;
  }
}
.timeline-marker {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-background);
}
@media (min-width: 768px) {
  .timeline-marker {
    left: -0.5rem;
  }
  .timeline-item:nth-child(even) .timeline-marker {
    right: -0.5rem;
    left: auto;
  }
}
.timeline-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-primary);
}
.timeline-content h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.timeline-content .timeline-date {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 1rem;
}
.timeline-content p {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== SEÇÃO CONTATO ===== */
.contact {
  padding: 5rem 0;
  background: var(--color-surface);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}
.contact-info p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-method .contact-icon {
  font-size: 1.25rem;
}
.contact-method a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.contact-method a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text-primary);
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-text-primary);
  color: var(--color-background);
  padding: 2rem 0;
  text-align: center;
}
.footer p {
  margin-bottom: 0.5rem;
}
.footer p:last-child {
  margin-bottom: 0;
  opacity: 0.8;
}

/* ===== RESPONSIVIDADE E ANIMAÇÕES ===== */
@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 200px;
  }
}
/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero,
.about,
.skills,
.projects,
.experience,
.contact {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave para navegação */
html {
  scroll-padding-top: 80px;
}