/* Base Styles */
:root {
  --primary-color: #e53935;
  --primary-light: #ef5350;
  --primary-dark: #c62828;
  --secondary-color: #f0625d;
  --accent-color: #ff8a80;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 0.5rem;
}

[data-theme="dark"] {
  --primary-color: #ef5350;
  --primary-light: #ff7961;
  --primary-dark: #c62828;
  --secondary-color: #ff8a80;
  --accent-color: #ffb4a2;
  --text-color: #f9fafb;
  --text-light: #d1d5db;
  --bg-color: #111827;
  --bg-light: #1f2937;
  --border-color: #4a2c2a;
  --shadow-color: rgba(255, 69, 58, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 4rem 0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.section-subtitle {
  color: var(--text-light);
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.divider {
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 1rem auto;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
  text-transform: none;
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
  transition: var(--transition);

  &:hover {
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
    transform: translateY(-2px);
  }
}


.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background-color: rgba(17, 24, 39, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-link:hover {
    color: #ffffff; /* Garante que o texto fique branco e nítido */
    background-color: var(--primary-color); /* Usa a cor primária para um destaque vibrante */
    transform: translateY(-2px); /* Efeito de leve elevação */
    box-shadow: 0 0 15px 0 rgba(239, 83, 80, 0.5); /* Adiciona um brilho suave */
}

[data-theme="dark"] .nav-menu {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .portfolio-card {
  background-color: var(--card-bg-color);
  /* Borda sutil que dá um acabamento limpo e futurista */
  border: 1px solid rgba(255, 255, 255, 0.1); 
  /* Sombra mais escura para criar profundidade */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); 
}

[data-theme="dark"] .portfolio-card:hover {
  border-color: rgba(239, 83, 80, 0.5); /* A borda também acende */
  /* A sombra se transforma em um brilho suave e avermelhado */
  box-shadow: 0 10px 30px -5px rgba(239, 83, 80, 0.2);
}

[data-theme="dark"] .tag {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 50px;
  height: 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  transition: var(--transition);
  order: 1;
}

.theme-toggle i {
  font-size: 0.8rem;
  color: white;
  transition: var(--transition);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle::before {
  left: calc(100% - 22px);
  --card-bg-color: var(--bg-light); /* Fundo do card um pouco mais claro que o fundo do site */
  --secondary-text-color: var(--text-light);
  --primary-color-light: rgba(239, 83, 80, 0.1); /* Um vermelho bem sutil para o fundo das tags */

}

/* Language Selector */
.language-selector {
  position: relative;
  z-index: 1002;
  order: 2;
}

.current-language {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  min-width: 80px;
  user-select: none;
}

.current-language:hover {
  background-color: var(--border-color);
  transform: translateY(-1px);
}

.flag-icon {
  width: 20px;
  height: auto;
  border-radius: 2px;
  flex-shrink: 0;
}

.current-language .fa-chevron-down {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.language-dropdown.active + .current-language .fa-chevron-down,
.current-language:hover .fa-chevron-down {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px var(--shadow-color);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1003;
  overflow: hidden;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
  user-select: none;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 4;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: var(--radius);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  order: 3;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 2px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about {
  background-color: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 3rem;
}

.about-image {
  justify-self: center;
}

.image-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(229, 57, 53, 0.3);
  border: 4px solid var(--primary-color);
  transition: var(--transition);
}

.image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(229, 57, 53, 0.4);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 6px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* Experience Section */
.experience {
  background-color: var(--bg-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 3rem;
  background: var(--bg-color);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  border: 3px solid var(--bg-color);
  box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.timeline-company {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.timeline-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.contact-text {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 2px solid var(--border-color);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateY(-2px);
}

.contact-form {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px var(--shadow-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--bg-light);
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-color);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--bg-light);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.copyright {
  color: var(--text-light);
}

/* Warning Animation */
#warning {
  color: var(--primary-color);
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .section-padding {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .theme-toggle {
    order: 1;
  }

  .language-selector {
    order: 2;
  }

  .nav-toggle {
    order: 3;
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 10px var(--shadow-color);
    order: 4;
    flex-basis: 100%;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding: 1rem 1rem 1rem 2.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0.5rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-dot {
    left: 0.25rem;
  }

  .language-dropdown {
    right: auto;
    left: 0;
    min-width: 160px;
  }

  .current-language {
    min-width: 70px;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Smooth transitions for all interactive elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* Thank You Page Styles */
.thank-you-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

.thank-you-card {
  max-width: 600px;
  width: 90%;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease;
}

.thank-you-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: pulse 2s infinite;
}

.thank-you-icon i {
  font-size: 3rem;
  color: white;
}

.thank-you-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.thank-you-message {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.thank-you-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.thank-you-body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Thank You Page Responsive Styles */
@media (max-width: 576px) {
  .thank-you-card {
    padding: 2rem 1.5rem;
  }

  .thank-you-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
  }

  .thank-you-icon i {
    font-size: 2.5rem;
  }

  .thank-you-buttons {
    flex-direction: column;
    align-items: center;
  }

  .thank-you-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}

/* --- Portfolio Section Styles (Simplified Version) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.portfolio-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.portfolio-content img {
  width: 50px;
}

.portfolio-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.portfolio-links {
    display: flex; /* Mantido para centralizar o botão filho */
    margin-top: auto;
    gap: 1rem;
}

.portfolio-links .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    width: 100%; /* Faz o único botão ocupar todo o espaço */
    text-align: center;
}

.portfolio-links .btn i {
    margin-right: 0.5rem;
}

/* Ajuste para telas menores */
@media (max-width: 400px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.devmenthors {
  color: #0502b8;
  font-size: 23px;
  font-weight: 900;
  font-style: italic;
}

/* --- Garanta que seu card seja um ponto de referência --- */
.portfolio-card {
    position: relative; /* Essencial para o posicionamento do indicador */
}

/* --- Estilo do Indicador de Status (Canto do Card) --- */
.status-indicator {
    position: absolute; /* Posiciona sobre o card */
    top: 16px; /* Distância do topo */
    left: 16px; /* Distância da esquerda */
    width: 18px;  /* Largura do círculo */
    height: 18px; /* Altura do círculo */
    background-color: #ffc107; /* Cor de "em desenvolvimento" */
    border-radius: 50%; /* Transforma o quadrado em um círculo perfeito */
    border: 2px solid var(--card-bg-color); /* Borda da cor do fundo do card para um efeito de recorte */
    z-index: 10; /* Garante que o indicador fique por cima de tudo */
    animation: pulse-border 2s infinite; /* Animação sutil */
}

/* Tooltip que aparece ao passar o mouse */
.status-indicator::after {
    content: attr(data-tooltip); /* Pega o texto do atributo 'data-tooltip' */
    position: absolute;
    left: 120%; /* Posição à direita do círculo */
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap; /* Impede que o texto quebre a linha */
    opacity: 0; /* Começa invisível */
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

/* Mostra o tooltip no hover */
.status-indicator:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Animação de pulso para o indicador */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}