@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Mata a borda branca lateral e o scroll horizontal */
  position: relative;
  background: #efefef;
}

/* Garante que a Nav não crie espaços */
nav {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
}
/* Portfolio Page Specific Styles */
.logo a {
  text-decoration: none;
}

/* Portfolio Hero */
.portfolio-hero {
  padding: 12rem 5% 6rem;
  background: linear-gradient(135deg, #0a1929 0%, #1a2c42 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="%234a90e2" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 100px 100px;
  opacity: 0.3;
}

.portfolio-hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #efefef;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.portfolio-hero h1 span {
  color: #5fc3e4;
}

.portfolio-hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Filters Section */
.portfolio-filters-section {
  align-items: center;
  max-height: 25vh;
  padding: 10px 0 15px 0;
  background: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.search-container {
  margin-bottom: 1.5rem;
}

#searchInput {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: #fff;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

#searchInput:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.filters-row {
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  gap: 2rem;
  margin: 0 auto 5px auto; /* Centraliza o container na página e dá margem embaixo */
  max-width: 1200px; /* Limita a largura para não espalhar demais */
  width: 100%;
  flex-wrap: wrap; /* Importante para mobile */
}

.filter-group,
.search-group {
  margin: 0 !important; /* Remove qualquer margem que esteja empurrando os blocos */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0a1929;
  margin-bottom: 0.8rem;
}

.filter-options {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  color: #4a4a4a;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.filter-btn:hover {
  border-color: #4a90e2;
  color: #4a90e2;
}

.filter-btn.active {
  background: #4a90e2;
  border-color: #4a90e2;
  color: #fff;
}

.filter-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: #4a4a4a;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.filter-select:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.clear-filters {
  padding: 0.9rem 2rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: #4a4a4a;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  white-space: nowrap;
}

.clear-filters:hover {
  background: #f44336;
  border-color: #f44336;
  color: #fff;
}

.results-info {
  text-align: center;
  padding: 1rem 0;
  color: #4a4a4a;
  font-size: 1rem;
}

.results-info strong {
  color: #4a90e2;
  font-weight: 700;
}

/* Portfolio Grid */
.portfolio-grid-section {
  padding: 4rem 5% 8rem;
  background: #efefef;
  min-height: 60vh;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.portfolio-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-item-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.portfolio-item-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-image::before {
  opacity: 1;
}

.portfolio-item-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item-image img {
  transform: scale(1.05);
}

.portfolio-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 41, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.view-project-btn {
  padding: 1rem 2.5rem;
  background: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.view-project-btn:hover {
  background: #5fc3e4;
  transform: scale(1.05);
}

.portfolio-item-content {
  padding: 2rem;
}

.portfolio-item-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.portfolio-item-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(74, 144, 226, 0.1);
  color: #4a90e2;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-item-year {
  color: #999;
  font-size: 0.9rem;
  font-weight: 600;
}

.portfolio-item h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
  color: #0a1929;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.portfolio-item-client {
  color: #4a90e2;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.portfolio-item p {
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-item-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-badge {
  padding: 0.4rem 1rem;
  background: #f8f9fa;
  color: #4a4a4a;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Loading Indicator */
.loading-indicator {
  text-align: center;
  padding: 3rem 0;
  display: none;
}

.loading-indicator.active {
  display: block;
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4a90e2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-indicator p {
  color: #4a4a4a;
  font-weight: 600;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 5rem 2rem;
}

.no-results-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.no-results h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  color: #0a1929;
  margin-bottom: 1rem;
}

.no-results p {
  color: #4a4a4a;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* End Message */
.end-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 2rem;
}

.end-message p {
  font-size: 1.2rem;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.project-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 41, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #0a1929;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #f44336;
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  padding: 0;
}

.modal-header-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 20px 20px 0 0;
}

.modal-header-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.modal-info {
  padding: 3rem;
}

.modal-title-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.modal-tags {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.modal-tag {
  padding: 0.5rem 1.5rem;
  background: rgba(74, 144, 226, 0.1);
  color: #4a90e2;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-info h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2.5rem;
  color: #0a1929;
  margin-bottom: 1rem;
  font-weight: 700;
}

.modal-client {
  color: #4a90e2;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.modal-description {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.modal-detail-item {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.modal-detail-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 0.5rem;
}

.modal-detail-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a1929;
}

.modal-section {
  margin-bottom: 3rem;
}

.modal-section h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.8rem;
  color: #0a1929;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.modal-section p {
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.modal-section ul {
  list-style: none;
  padding: 0;
}

.modal-section ul li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.modal-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4a90e2;
  font-weight: 700;
  font-size: 1.2rem;
}

.modal-tech-stack {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-tech-item {
  padding: 0.8rem 1.5rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  color: #4a4a4a;
  font-weight: 600;
  font-size: 0.95rem;
}

.modal-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.modal-screenshot {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-screenshot:hover {
  transform: scale(1.02);
}

.modal-cta {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, #4a90e2 0%, #5fc3e4 100%);
  border-radius: 15px;
}

.modal-cta h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.modal-cta .btn {
  background: #fff;
  color: #4a90e2;
  border: 2px solid #fff;
}

.modal-cta .btn:hover {
  background: transparent;
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .modal-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-screenshots {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .portfolio-hero h1 {
    font-size: 2.5rem;
  }
  .filters-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .filter-group {
    width: 100%;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .modal-info h2 {
    font-size: 2rem;
  }
  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .modal-info {
    padding: 2rem 1.5rem;
  }
  .modal-header-image {
    height: 250px;
  }
}
/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 20px 20px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #5fc3e4;
}

/* ========================================
   CORREÇÕES DE RESPONSIVIDADE - PORTFOLIO
   Adicione este código NO FINAL do portfolio.css
======================================== */
/* ========================================
   RESPONSIVIDADE MELHORADA
======================================== */
/* Tablets grandes e laptops pequenos (1200px) */
@media (max-width: 1200px) {
  .portfolio-hero {
    padding: 10rem 5% 5rem;
  }
  .portfolio-hero h1 {
    font-size: 3.5rem;
  }
  .portfolio-grid {
    gap: 2.5rem;
  }
}
/* Tablets médios (1024px) */
@media (max-width: 1024px) {
  .portfolio-hero {
    padding: 9rem 4% 4rem;
  }
  .portfolio-hero h1 {
    font-size: 3rem;
  }
  .portfolio-hero p {
    font-size: 1.1rem;
  }
  /* Filtros mais compactos */
  .portfolio-filters-section {
    max-height: none;
    padding: 1.5rem 4% 1rem;
  }
  .search-container {
    margin-bottom: 1rem;
  }
  .filters-row {
    gap: 1rem;
  }
  .filter-options {
    flex-wrap: wrap;
    justify-content: center;
  }
  .filter-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
  .clear-filters {
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
  }
  /* Grid de projetos */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  /* Modal */
  .modal-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-info {
    padding: 2.5rem;
  }
}
/* Tablets pequenos (900px) */
@media (max-width: 900px) {
  .portfolio-hero {
    padding: 8rem 4% 3rem;
  }
  .portfolio-hero h1 {
    font-size: 2.8rem;
  }
  .filter-options {
    gap: 0.3rem;
  }
  .filter-btn {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}
/* Tablets e iPads (768px - 853px) */
@media (max-width: 853px) {
  .portfolio-hero {
    padding: 7rem 4% 3rem;
  }
  .portfolio-hero h1 {
    font-size: 2.5rem;
  }
  .portfolio-hero p {
    font-size: 1rem;
  }
  /* Filtros em coluna */
  .portfolio-filters-section {
    padding: 1rem 4%;
  }
  .filters-row {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .filter-group {
    width: 100%;
    min-width: auto;
  }
  .filter-options {
    justify-content: center;
    flex-wrap: wrap;
  }
  .clear-filters {
    width: 100%;
    text-align: center;
  }
  /* Grid 1 coluna em tablets pequenos */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* Mobile grande (768px) */
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 7rem 5% 3rem;
  }
  .portfolio-hero h1 {
    font-size: 2.2rem;
  }
  .portfolio-hero p {
    font-size: 0.95rem;
  }
  /* Busca */
  #searchInput {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }
  /* Filtros */
  .filter-group label {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }
  .filter-btn {
    font-size: 0.7rem;
    padding: 0.5rem 0.8rem;
  }
  .clear-filters {
    font-size: 0.8rem;
    padding: 0.7rem 1.2rem;
  }
  /* Grid de projetos */
  .portfolio-grid-section {
    padding: 3rem 5% 6rem;
  }
  .portfolio-item-content {
    padding: 1.5rem;
  }
  .portfolio-item h3 {
    font-size: 1.3rem;
  }
  /* Modal */
  .modal-content {
    margin: 1rem;
    max-height: 95vh;
  }
  .modal-header-image {
    height: 250px;
  }
  .modal-info {
    padding: 2rem 1.5rem;
  }
  .modal-info h2 {
    font-size: 2rem;
  }
  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .modal-section h3 {
    font-size: 1.5rem;
  }
  .modal-cta {
    padding: 2rem 1.5rem;
  }
  .modal-cta h3 {
    font-size: 1.5rem;
  }
}
/* Mobile médio (600px) */
@media (max-width: 600px) {
  .portfolio-hero {
    padding: 6rem 5% 2.5rem;
  }
  .portfolio-hero h1 {
    font-size: 2rem;
  }
  .portfolio-hero p {
    font-size: 0.9rem;
  }
  .portfolio-filters-section {
    padding: 1rem 5%;
  }
  .search-container {
    margin-bottom: 0.8rem;
  }
  #searchInput {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
  .results-info {
    font-size: 0.9rem;
    padding: 0.8rem 0;
  }
  .portfolio-item-image {
    height: 220px;
  }
}
/* Mobile pequeno (480px) */
@media (max-width: 480px) {
  .portfolio-hero {
    padding: 5rem 5% 2rem;
  }
  .portfolio-hero h1 {
    font-size: 1.8rem;
  }
  .portfolio-hero p {
    font-size: 0.85rem;
  }
  #searchInput {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }
  .filter-btn {
    font-size: 0.65rem;
    padding: 0.4rem 0.7rem;
  }
  .clear-filters {
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
  }
  .portfolio-item-content {
    padding: 1.2rem;
  }
  .portfolio-item h3 {
    font-size: 1.2rem;
  }
  .portfolio-item p {
    font-size: 0.9rem;
  }
  .tech-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }
  .modal-info {
    padding: 1.5rem 1rem;
  }
  .modal-info h2 {
    font-size: 1.6rem;
  }
  .modal-section h3 {
    font-size: 1.3rem;
  }
  .modal-section p,
  .modal-section ul li {
    font-size: 0.95rem;
  }
}
/* Mobile muito pequeno (375px) */
@media (max-width: 375px) {
  .portfolio-hero h1 {
    font-size: 1.6rem;
  }
  .portfolio-hero p {
    font-size: 0.8rem;
  }
  .filter-options {
    gap: 0.2rem;
  }
  .filter-btn {
    font-size: 0.6rem;
    padding: 0.4rem 0.6rem;
  }
  .portfolio-item h3 {
    font-size: 1.1rem;
  }
  .modal-info h2 {
    font-size: 1.4rem;
  }
}
/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .portfolio-hero {
    padding: 4rem 5% 2rem;
  }
  .portfolio-hero h1 {
    font-size: 2rem;
  }
  .portfolio-filters-section {
    position: relative;
    max-height: none;
  }
  .modal-content {
    max-height: 85vh;
  }
}
/* Fix para seção de filtros em telas pequenas */
@media (max-width: 768px) {
  .portfolio-filters-section {
    position: relative; /* Remove sticky em mobile */
  }
}
/* Melhorias gerais de toque em mobile */
@media (max-width: 768px) {
  .filter-btn,
  .clear-filters,
  .view-project-btn,
  .modal-close {
    min-height: 44px; /* Tamanho mínimo recomendado para toque */
    min-width: 44px;
  }
  .portfolio-item {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(74, 144, 226, 0.1);
  }
}
/*# sourceMappingURL=portfolio.css.map */

.portfolio-filters-section {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-filters-section.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}