/* ===== Reset & Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

.foto-wrapper {
  width: 140px;
  height: 140px;      /* altura IGUAL à largura = círculo */
  border-radius: 50%;
  overflow: hidden;
  padding: 6px;
  background: linear-gradient(135deg, #ffffff, #00c3ff);
  margin: 0 auto;
}

.foto-perfil {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* mantém proporção da imagem */
  border-radius: 50%;
}



body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a0f, #1a1a2e);
  color: #e8ecf3;
  line-height: 1.6;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.site-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 2rem 1rem;
}

.site-title {
  margin: 0;
  color: #38bdf8;
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.3rem);
  font-weight: 800;
}

.site-subtitle {
  margin: 0.75rem auto 0;
  color: #cbd5e1;
  max-width: 700px;
  font-weight: 400;
}

.site-main {
  padding: 3rem 0 4rem;
  text-align: center;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px; /* menos arredondado */
  padding: 1.8rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

/* ===== Botões ===== */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 4px; /* menos arredondado */
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

/* Botão principal */
.btn-primary {
  background: #0f3a72;
  border-color: #1e3a8a;
  color: #fff;
}
.btn-primary:hover {
  background: #0c3262;
  border-color: #2563eb;
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Botão secundário (outline) */
.btn-outline {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}
.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.link {
  color: #60a5fa;
  text-decoration: none;
  border-bottom: 1px dotted rgba(96, 165, 250, 0.4);
}
.link:hover { color: #93c5fd; }

/* FOTO DO PORTFÓLIO (usa o wrapper que já combinamos) */
.foto-wrapper {
  width: 140px;
  height: 140px;      /* altura IGUAL à largura = círculo */
  border-radius: 50%;
  overflow: hidden;
  padding: 6px;
  background: linear-gradient(135deg, #ffffff, #00c3ff);
  margin: 0 auto;
}

.foto-perfil {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* mantém proporção da imagem */
  border-radius: 50%;
}


/* Cabeçalho do portfólio */
.header-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.header-content .text-block {
  flex: 1;
  min-width: 240px;
}

.portfolio-nav {
  margin-top: 1rem;
}

/* FILTROS / CHIPS */
.portfolio-filters .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.06);
  cursor: default;
}

/* GRADE DE PROJETOS */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.portfolio-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.portfolio-body {
  padding: 1rem 1rem 0.5rem 1rem;
}

.portfolio-title {
  font-size: 1.05rem;
  margin: 0 0 0.4rem 0;
}

.portfolio-description {
  font-size: 0.9rem;
  color: #444;
}

.portfolio-tags {
  margin-top: 0.6rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(10,132,255,0.08);
  color: #0a84ff;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

/* Ações do card */
.portfolio-actions {
  padding: 0.75rem 1rem 1rem 1rem;
  margin-top: auto;
}

/* Nota final */
.portfolio-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* Responsivo */
@media (max-width: 640px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #0a84ff;
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10,132,255,0.4);
}

.btn-outline {
  background: none;
  color: #0a84ff;
  border: 2px solid #0a84ff;
}

.btn-outline:hover {
  background: #0a84ff;
  color: white;
  transform: translateY(-2px);
}

