@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden; /* Evita rolagem horizontal indesejada */
  max-width: 100%;
  transition: background 0.3s, color 0.3s, opacity 0.5s ease-in-out;
  opacity: 0; /* Define a opacidade inicial como 0 (invisível) */
}

body.loaded {
  opacity: 1; /* Define a opacidade para 1 (visível) quando a classe 'loaded' é adicionada */
}

body.light-mode {
  --bg: #f9f9f9;
  --text: #111;
  --secondary: #e0e0e0;
  background-color: var(--bg);
  color: var(--text);
}

body.dark-mode {
  --bg: #0e0e0e;
  --text: #f1f1f1;
  --secondary: #222;
  background-color: var(--bg);
  color: var(--text);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--secondary);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.logo a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #6366f1;
}

.logo-img {
    height: 60px; /* Ajuste este valor conforme o tamanho ideal para você */
    width: auto; /* Mantém a proporção da imagem */
}

/* Opcional: Para alinhar melhor a logo com o texto da navegação */
.navbar .logo a {
    display: flex;
    align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: var(--text);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  font-size: 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  color: var(--text);
  transition: transform 0.3s;
}

.theme-toggle:hover {
  transform: rotate(20deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.line {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  transition: all 0.3s;
}

.hamburger.active .line-1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line-2 {
  opacity: 0;
}

.hamburger.active .line-3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transform: translateY(-200%);
    pointer-events: none;
    opacity: 0;
  }

  .nav-links.active {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }
}

.section {
  padding: 120px 20px 60px;
  max-width: 1000px;
  margin: auto;
}

.btn-primary {
  display: inline-block;
  background: #6366f1;
  color: #fff;
  padding: 1rem 2rem;
  margin-top: 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.overlay-content {
  background: var(--bg);
  color: var(--text);
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--secondary);
  margin-top: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

form input,
form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  font-size: 1rem;
  background-color: transparent;
  color: var(--text);
  transition: border 0.3s, box-shadow 0.3s;
}

form input::placeholder,
form textarea::placeholder {
  color: var(--text);
  opacity: 0.6;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  align-self: flex-start;
  padding: 0.8rem 1.6rem;
  background-color: #6366f1;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #4f46e5;
}

.social-icons {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.social-icons a {
  display: inline-block;
  background-color: var(--bg);
  color: var(--text);
  border-radius: 5px;
  padding: 8px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background-color: #6366f1;
  color: #fff;
}

@media (max-width: 768px) {
  .social-icons {
      display: none;
  }
}

/* --- SEÇÃO HERO E COMPUTER IMAGE (MODIFICADA) --- */
.hero {
  display: flex; /* Essencial para que os itens fiquem na mesma linha */
  justify-content: space-between; /* Distribui o espaço entre o conteúdo e a imagem */
  align-items: center; /* Alinha os itens verticalmente ao centro */
  padding: 80px 50px 60px; /* **AJUSTADO**: Padding superior para diminuir a distância do header */
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 55%;
  text-align: left;
  animation-delay: 0.3s; /* Atraso para o conteúdo do texto */
}

/* **CORREÇÃO PRINCIPAL**: Adicionado de volta o bloco .computer-image e .computer-image img para telas maiores */
.computer-image {
  flex: 1;
  max-width: 350px; /* **AJUSTADO**: Diminuído o tamanho máximo da imagem para telas maiores */
  min-width: 250px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease-in-out;
  animation-delay: 0.6s; /* Atraso para a imagem do computador */
}



.computer-image img {
  max-width: 100%; /* Garante que a imagem se ajuste ao contêiner .computer-image */
  height: auto;
  display: block;
  margin: 0 auto;
}


/* --- MEDIA QUERIES PARA RESPONSIVIDADE (AJUSTADAS) --- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px; /* Ajusta o padding para telas menores */
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }

  /* **Importante**: Se você quiser que a imagem apareça em mobile, REMOVA a linha 'display: none;' abaixo.
     Se você quiser que ela permaneça escondida em mobile, mantenha-a. */
  .computer-image {
    display: none; /* Mantém a imagem escondida em telas menores, como estava */
    max-width: 70%;
    margin: 20px auto 0;
    position: relative;
    transform: none; /* Reseta a transformação para mobile */
  }

  .computer-image:hover {
    transform: none; /* Opcional: Remove o hover em mobile */
  }
}

.braces {
  position: fixed;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  font-weight: bold;
  color: #6366f1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear;
  z-index: 10000;
}

#braces {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 2rem;
  pointer-events: none;
  transition: transform 0.1s ease-out;
  z-index: 9999;
}

@media (max-width: 768px) {
  #braces {
    display: none;
  }
}

.slide-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 9999;
  overflow-y: auto;
}

.slide-content {
  position: relative;
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  padding: 30px 20px 20px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.close-slide {
  position: absolute;
  top: 1px;
  right: 20px;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.2s ease;
}

.close-slide:hover {
  transform: scale(1.2);
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.project-info {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .slide-content {
    max-width: 90%;
    padding: 30px 15px 15px 15px;
  }
  .close-slide {
    top: 2px;
    right: 12px;
    font-size: 26px;
  }
}

.highlight {
  font-size: 3rem;
  color: #6C63FF;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* --- ANIMAÇÃO DE DIGITAÇÃO (AJUSTADA) --- */
#home {
  padding: 150px 20px 60px; /* Mantém o padding da seção */
  max-width: 1000px;
  margin: auto;
  position: relative;
}

#home h1 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: none;
  line-height: 1.2;
  display: inline-block;
}

#home h1 .digitando {
  display: inline-block;
  width: 0;
  animation: digitar-titulo 4s steps(30, end) forwards;
}

#home h1 .digitando .nome-azul {
  color: #6366f1;
}

#home p {
  font-size: 1.2rem;
  max-width: 500px;
  margin: 1rem 0 0 0;
  text-align: left;
}

/* Animação para o efeito de digitação do título */
@keyframes digitar-titulo {
  from { width: 0; }
  to { width: 100%; }
}

/* Estilos para telas maiores (onde a animação ocorrerá) */
@media (min-width: 769px) {
  #home h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: none;
    line-height: 1.2;
    display: inline-block;
  }

  #home h1 .digitando {
    display: inline-block;
    width: 0;
    animation: digitar-titulo 4s steps(30, end) forwards;
  }
}

/* Estilos para dispositivos móveis (largura máxima de 768px) */
@media (max-width: 768px) {
  #home h1 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    white-space: normal;
    overflow: visible;
    border-right: none;
    line-height: 1.3;
    display: block;
  }

  #home h1 .digitando {
    display: inline;
    width: auto;
    animation: none;
  }
}

#home h1 .digitando .nome-azul {
  color: #6366f1;
}

#home p {
  font-size: 1.2rem;
  max-width: 100%;
  margin: 1rem 0 0 0;
  text-align: left;
}
/* --- COMEÇO DAS ALTERAÇÕES NA SEÇÃO SOBRE MIM --- */

/* Estilos para a Seção "Sobre Mim" (about-section) */
.about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 60px;
    max-width: 1000px;
    margin: auto;
}

.about-content {
    flex: 2;
    min-width: 300px;
    max-width: 60%;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-content p a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-content p a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.about-skills {
    flex: 1;
    min-width: 250px;
    max-width: 35%;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-skills h2 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-tag {
    background-color: #6366f1;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.skill-tag:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
}

/* Media Queries para Responsividade da Seção "Sobre Mim" */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 80px 20px 40px;
    }

    .about-content {
        max-width: 100%;
        order: 2;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-skills {
        max-width: 100%;
        order: 1;
        padding: 1.5rem;
        margin-bottom: 30px;
    }
}

/* Ajustes para telas menores (ex: celulares) */
@media (max-width: 576px) {
    .about-content h2 {
        font-size: 2rem;
    }

    .about-skills h2 {
        font-size: 1.6rem;
    }

    .skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* --- COMEÇO DAS ALTERAÇÕES NA SEÇÃO MEUS PROJETOS --- */

/* Estilos para a Seção "Meus Projetos" (projects-section) */
.projects-section {
    padding-top: 120px;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: auto;
}

.projects-section h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 3rem;
    text-align: center;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-display {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;
}

.project-display:hover {
    transform: translateY(-8px);
}

.project-screenshot {
    position: static;
    top: auto;
    left: auto;
    height: auto;

    width: 100%;
    display: block;
    object-fit: cover;
    z-index: auto;
    border-radius: inherit;
}

.project-details {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: left;
}

/* Ajustes para telas menores (ex: celulares) */
@media (max-width: 576px) {
    /* Projetos - Media Query para 576px */
    .projects-section h2 {
        font-size: 2rem;
    }

    .project-details h3 {
        font-size: 1.7rem;
    }

    .project-details p {
        font-size: 1rem;
    }

    .project-screenshot {
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
    }
}

/* --- FIM DAS ALTERAÇÕES NA SEÇÃO MEUS PROJETOS --- */

/* Estilos para o Botão Flutuante do WhatsApp (SOMENTE ÍCONE) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25D366;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 1.8rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Media Queries para Responsividade (Gerais e Ajustes para Projetos) */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 80px 20px 40px;
    }

    .about-content {
        max-width: 100%;
        order: 2;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-skills {
        max-width: 100%;
        order: 1;
        padding: 1.5rem;
        margin-bottom: 30px;
    }

    /* Projetos - Media Query para 992px */
    .project-item {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .project-item-reverse {
        flex-direction: column;
    }

    .project-details {
        max-width: 100%;
        text-align: center;
    }

    .project-details .btn-primary {
        margin: 0 auto;
    }

    .project-display {
        max-width: 80%;
        margin: 0 auto;
    }

    .project-screenshot {
        /* As propriedades abaixo podem ser ajustadas se o mockup mudar muito */
        top: 6%;
        left: 14%;
        width: 72%;
        height: 60%;
    }
}

/* Ajustes para telas menores (ex: celulares) */
@media (max-width: 576px) {
    .about-content h2 {
        font-size: 2rem;
    }

    .about-skills h2 {
        font-size: 1.6rem;
    }

    .skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Projetos - Media Query para 576px */
    .projects-section h2 {
        font-size: 2rem;
    }

    .project-details h3 {
        font-size: 1.7rem;
    }

    .project-details p {
        font-size: 1rem;
    }

    .project-screenshot {
        /* Ajustes ainda mais finos para celulares pequenos */
        top: 5.8%;
        left: 14.5%;
        width: 71%;
        height: 60%;
    }
}

/* Responsividade para o Botão Flutuante do WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
}

.container-do-botao {
    text-align: center;
    margin-top: 20px;
}

html {
    scroll-behavior: smooth;
}

.more-projects-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

body.light-mode {
  --bg: #f9f9f9;
  --text: #111;
  --secondary: #e0e0e0;
  --footer-bg: #0e0e0e;
  --footer-text: #f1f1f1;
  --footer-link: #6366f1;
}

body.dark-mode {
  --bg: #0e0e0e;
  --text: #f1f1f1;
  --secondary: #222;
  --footer-bg: #0e0e0e;
  --footer-text: #f1f1f1;
  --footer-link: #6366f1;
}

/* ==================================================
   Rodapé Principal (main-footer)
   ================================================== */
.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 3.9rem 1.5rem;
  position: relative;
}

.footer-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-left {
  flex: 1;
  min-width: 280px;
  max-width: 50%;
  text-align: left;
}

.footer-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--footer-text);
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
  color: var(--footer-text);
  text-align: justify;
}

.footer-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 200px;
}

.footer-social-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--footer-text);
}

.footer-social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-social-icons a {
  color: var(--footer-text);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: var(--footer-link);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 1rem;
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.highlight-name {
  color: var(--footer-link);
  font-weight: 600;
}

/* Aviso de Política de Privacidade */
.privacy-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(50, 50, 50, 0.9);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.9em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-wrap: wrap;
    text-align: center;
}

.privacy-notice p {
    margin: 0;
    flex-grow: 1;
}

.privacy-notice a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.privacy-notice-button {
    background-color: #f7b731;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.privacy-notice-button:hover {
    background-color: #e0a82b;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .privacy-notice {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px 15px;
    }

    .privacy-notice-button {
        width: 100%;
    }
}

/* Estilos para o indicador de scroll */
    .scroll-down-indicator {
        text-align: center;
        margin-top: 100px;
        margin-bottom: 150px;
        opacity: 0;
        animation: fadeIn 1s forwards ease-out 1s;
    }

    .scroll-down-indicator i {
        font-size: 2.5em;
        color: #6366f1;
        animation: bounce 2s infinite;
        cursor: pointer;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-10px); }
        60% { transform: translateY(-5px); }
    }

    @keyframes fadeIn {
        to { opacity: 1; }
    }

.light-mode .mouse-icon {
    border: 2px solid #333;
}

.dark-mode .mouse-icon {
    border: 2px solid #eee;
}


/* Estilo para a roda do mouse */
.mouse-wheel {
    width: 4px;
    height: 10px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.light-mode .mouse-wheel {
    background-color: #333;
}

.dark-mode .mouse-wheel {
    background-color: #eee;
}

/* Animação da roda do mouse */
@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Animações de deslizamento para a seção Hero */
.slide-in-left-hero {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInLeftHero 1s forwards ease-out;
}

.slide-in-right-hero {
    opacity: 0;
    transform: translateX(100%);
    animation: slideInRightHero 1s forwards ease-out;
}

@keyframes slideInLeftHero {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRightHero {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Garanta que o hero-content e computer-image ocupem o espaço corretamente no flexbox */
.hero {
    /* Estas propriedades já estão no bloco principal .hero acima, não é necessário duplicar aqui */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* padding: 80px 0; */
    min-height: calc(100vh - var(--navbar-height, 80px)); /* Garante altura mínima para a seção hero */
    /* flex-wrap: wrap; */
    /* text-align: center; */
}

/* Estilos de entrada */
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-in-left {
  transform: translateX(-100px);
}

.slide-in-right {
  transform: translateX(100px);
}

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ====================================================== */
/* ESTILOS PARA A PÁGINA DE SUCESSO (sucesso.html)        */
/* ====================================================== */
.success-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Ocupa boa parte da tela */
    padding: 40px 20px;
}

.success-container {
    background-color: var(--bg-color-light); /* Fundo sutil */
    border: 1px solid var(--accent-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.success-icon {
    font-size: 5rem; /* Ícone grande */
    color: #28a745; /* Cor verde para sucesso */
    margin-bottom: 20px;
}

.success-container h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.success-container p {
    font-size: 1.2rem;
    color: var(--text-color-secondary);
    margin-bottom: 30px;
}

/* Reutiliza o estilo do botão que você já tem */
.success-container .btn-primary {
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adicione um cursor de ponteiro para as imagens do projeto para indicar que são clicáveis */
.project-screenshot {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-screenshot:hover {
  transform: scale(1.03); /* Efeito sutil de zoom no hover */
}

/* Estilos para o Modal (fundo) */
.modal {
  display: none; /* Escondido por padrão */
  position: fixed; /* Fica fixo na tela mesmo com scroll */
  z-index: 1000; /* Garante que fique na frente de tudo */
  padding-top: 60px; /* Espaço no topo */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Permite scroll se a imagem for muito grande */
  background-color: rgba(0, 0, 0, 0.9); /* Fundo preto semi-transparente */
  justify-content: center; /* Centraliza o conteúdo (usaremos flex) */
  align-items: center; /* Centraliza o conteúdo (usaremos flex) */
}

/* Estilo para a imagem dentro do Modal */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh; /* Altura máxima para não cortar em telas menores */
  animation-name: zoom;
  animation-duration: 0.4s;
}

/* Animação de Zoom para a imagem */
@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

/* Botão de Fechar (X) */
.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
}