* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color:#f7f7f7;
    color: #333;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
    color: #222;
}

header p {
    color: #666;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    color: #666;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 1rem;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 280px;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.card h2 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #222;
}

.card p {
    color: #666;
    margin: 0.5rem 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background-color: #0078d7;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #005fa3;
}

.curriculo-container {
    max-width: 800px;
    margin: 2rem auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.curriculo-container section {
    margin-bottom: 2rem;
}

.curriculo-container h2 {
    color: #0078d7;
    margin-bottom: 0.5rem;
}

.curriculo-container ul {
    list-style: none;
    margin-left: 0;
}

.curriculo-container li {
    margin-bottom: 0.5rem;
}

.btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .card {
    width: 90%;
  }

  .curriculo-container {
    width: 90%;
    padding: 1.5rem;
  }

  .btns {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== ANIMAÇÕES ===== */

/* Fade-in ao carregar a página */
body {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Efeito hover nos cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Botões com transição suave */
.btn {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===== MODO ESCURO ===== */
body.dark-mode {
  background-color: #121212;
  color: #eee;
}

body.dark-mode header,
body.dark-mode .curriculo-container,
body.dark-mode .card {
  background-color: #1e1e1e;
  color: #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.dark-mode .btn {
  background-color: #0078d7;
  color: white;
}

body.dark-mode .btn:hover {
  background-color: #005fa3;
}
