/* ==============================
   1. RESET & BASE
   ============================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #45505b;
    background: #fafafa;
    overflow-x: hidden;
}

/* ==============================
   2. MENU LATERAL (DESKTOP)
   ============================== */
/*.side-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #e9e9e9;
    color: #666768;
    font-size: 1.375rem;
    transition: background 0.3s, color 0.3s;
}*/

.side-nav {
  position: fixed;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1000;
}

.side-nav a {
  display: flex;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50px;
  background: #e9e9e9;
  color: #666768;
  font-size: 1.375rem;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.3s ease, background 0.3s ease, color 0.3s ease;
  padding: 0 1rem;
}

.side-nav a:hover,
.side-nav a.active-circle {
    width: 9rem;
    background: #0b0a12;
    color: #fff;
}

.side-nav i {
  flex-shrink: 0;
}

.side-nav a:hover i {
    color: #fff;
}

.label {
  margin-left: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1rem;
}

.side-nav a:hover .label {
  opacity: 1;
  color: #fff;
}

.side-nav a.active-circle .label {
  opacity: 1;
  color: #fff;
}


/* ==============================
   3. HERO
   ============================== */
   #hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 20vw;
    background: #fafafa;
    animation: fadeInHero 1.2s ease forwards;
    position: relative;
    overflow: hidden;
  }
  
  /* Pseudo-elemento para a imagem de fundo esmaecida */
  #hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adiciona a imagem de fundo aqui */
    background-image: url('images/background-g.jpeg');
    background-repeat: no-repeat;
    background-position: 50% 5%;
    background-size: cover;
    /* Esmaece a imagem com opacidade. Ajuste o valor para sua preferência. */
    opacity: 0.2; /* Valor entre 0 (totalmente invisível) e 1 (totalmente visível) */
    z-index: 0; /* Coloca a imagem no fundo */
  }
  
  /* Garante que o conteúdo do hero fique acima da imagem */
  #hero > * {
    position: relative;
    z-index: 1;
  }
  
  @keyframes fadeInHero {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: fadeUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s 0.4s ease forwards;
    opacity: 0;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: #666768;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #0b0a12;
    transform: scale(1.2);
}

/* ==============================
   4. TYPEWRITER & AUX SECTIONS
   ============================== */
#typewriter.underlined {
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: #4b270f; /* Cor do sublinhado */
    text-decoration-thickness: 2px;
}

.cursor {
    display: inline-block;
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

section h2 {
    font-size: 2rem;
    color: #111;
}

/* ==============================
   5. ANIMAÇÕES
   ============================== */
@keyframes fadeInHero {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

/*Blocos Auxiliares*/
#about,
#skills,
#resume,
#portfolio,
#contact {
  height: 100vh;
  padding: 50px;
}

.about-container {
  display: flex;
  align-items: center;
  max-width: 80vw;
  margin: 0 auto;
  gap: 3.125rem;
  margin-left: 15rem;
 }

.about-text {
  flex: 1;
  font-size: 1.2em;
  line-height: 1.8;
  color: #666;
}

.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.quote {
  font-style: italic;
  color: #555;
  margin-top: 1.5rem;
  border-left: 4px solid #0b0a12;
  padding-left: 1rem;
}



/*.blob-mask {
  width: 100%;
  max-width: 30vw;
  margin: 0 auto;
  clip-path: url(#blobClip); /* recorte do blob */
  /*overflow: hidden; /* garante que nada ultrapasse o blob */
/*}*/

/*.foto-blob-mask {
  transform: scale(1) translateY(-10px) translateX(-10px); 
  /* scale < 1 diminui a foto, > 1 aumenta */
  /* translateY move para cima/baixo, translateX move para os lados */
 /* transform-origin: center;
}*/

/*.blob-mask img {
  width: 100%;
  height: auto;
  display: block;
}*/

.skills-container {
  min-width: 65vw;
  height: auto;
  margin: 0 auto;
 
}

.skills-container h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-card h3 {
  color: #0b0a12;
  margin-bottom: 20px;
}



.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  margin: 10px 0;
}

.skill-card li i {
  font-weight: bold;
  margin-right: .5rem;
 
}


.resume-container {
  max-width: 800px;
  margin: 0 auto;
  overflow-y: auto;
}

.resume-container h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0b0a12;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #0b0a12;
  border-radius: 50%;
}

.timeline-content {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  color: #555;
  line-height: 1.6;
}

.timeline-content h3 {
  color: #0b0a12;
  margin-bottom: 1rem;
}

.timeline-item .ufes {margin-bottom: .5rem;}

.timeline-item hr {margin: 2rem 0 ;}

.portfolio-container {
  width: 65rem;
  height: auto;
  margin: 0 auto;
  overflow-y: auto;
  
}

.portfolio-container h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  color: #0b0a12;
  margin-bottom: 10px;
}

.project-content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-tags span {
    background: #e3f2fd;
    color: #0b0a12;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    margin-right: 5px;
    display: inline-block;
  }
  
  .project-links {
    display: flex;
    gap: 15px;
  }
  
  .project-links a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    transition: all 0.3s ease;
  }
  
  .project-links a:first-child {
    background: #0b0a12;
    color: #fff;
  }
  
  .project-links a:last-child {
    border: 1px solid #0b0a12;
    color: #0b0a12;
    background: transparent;
    margin: 1rem 0;
  }
  
  .project-links a:hover {
    opacity: 0.85;
  }
  
  /* Contato */
  .contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .contact-container h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
  }
  
  .contact-container p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
  }

  /* Footer geral */
#footer {
  background-color: #e9e9e9; 
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555; /* Cinza médio para boa leitura */
  margin-top: 3rem;
  min-height: 5vh;
}

/* Texto e elemento interativo do footer */
#footer p {
  margin: 0;
  line-height: 1.6;
}

#footer a {
  color: #007acc; /* Azul suave para links */
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

/*Redes sociais dos contatos*/
.social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: #666768; 
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #0b0a12; 
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  transition: transform 0.3s, color 0.3s;
}

  
/* ==============================
   6. MENU INFERIOR (MOBILE)
   ============================== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    padding: 0.625rem 0;
    z-index: 1001;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav a {
    color: #fff;            /* cor padrão dos ícones */
    font-size: 1.375rem;
    transition: color 0.3s;
}

.bottom-nav a:hover,
.bottom-nav a.active-circle {
    color: #fafafa;         /* ícone ativo ou em hover fica claro */
}

/* Mostra menu inferior em telas pequenas */
@media (max-width: 767px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: 70px; } /* evita corte de conteúdo */
}

/* ==============================
   7. MEDIA QUERIES
   ============================== */

/* Extra pequeno */
@media (max-width: 575px) {
    .side-nav {
      display: none;
    }
  
    #hero {
      padding: 40px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      height: auto;   
    }
  
    .hero-title {
      font-size: 2.2rem;
      line-height: 1.3;
      margin-bottom: 10px;
    }

    .hero-subtitle {
      font-size: 1.2rem;
      line-height: 1.4;
      margin-bottom: 20px;
    }
  
    .social-icons {
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
      margin-top: 20px;
    }
  
    .social-icons a {
      font-size: 20px;
    }
  
    #hero::after {
        background-image: none;
        background-color: #282117; /* ou um tom que combine com o desktop */
      }
      #about,
      #skills,
      #resume,
      #portfolio,
      #contact {
        height: auto;
        padding: 1.25rem;
        min-height: 100vh;
      }
    
      .about-container {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        min-width: 100vw;
        margin: 0;
        padding-top: 1rem;
        margin-bottom: 10px;  
      }
  
      #about {align-items: flex-start; min-height: auto;}
       
      .blob-mask {
        display: none;
      }
  
      .about-text h2 {margin-top: 0; margin-bottom: 0; font-size: 2.1rem; text-align: center;}
      .about-text {font-size: 1rem; padding-left: 2rem; padding-right: 2rem; text-align: justify;}
      .timeline-item {margin: 0;}
    
      .skills-container h2,
      .resume-container h2,
      .portfolio-container h2,
      .contact-container h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
      }
    
      .skills-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 1rem;
        gap: 1.25rem;
      }
    
      .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
      }
    
      .project-card img {
        height: 11.25rem;
      }
    
      .contact-container p {
        font-size: 1rem;
      }
      
      .skill-card {
        display: flex;
        flex-direction: column;
        gap: 0.25rem; /* controla o espaço entre os itens */
      } 
      #footer {
        padding: 1.5rem 0.5rem;
        font-size: 0.85rem;
        min-height: 20vh;
      } 
    }
  
/* Pequeno*/
@media (min-width: 576px) and (max-width: 767px) {
  .side-nav {
    display: none;
  }

  #about,
  #skills,
  #resume,
  #portfolio,
  #contact {
    height: auto;
    padding: 1.25rem;
    min-height: 100vh;
  }

  #hero {
    padding: 1rem .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;  
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: .5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: .5rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    min-width: 100vw;
    margin: 0;
    padding-top: 1rem;
    margin-bottom: 10px; 
    margin-left: 0;
  }

  #about {align-items: flex-start; min-height: auto;}

  .blob-mask {
    display: none;
  }

  .about-text h2 {margin-top: 0; margin-bottom: 0; font-size: 2rem; text-align: center;}
  .about-text {font-size: 1rem; padding-left: 2rem; padding-right: 2rem; text-align: justify;}
  .timeline-item {margin: 0;}
  .resume-container h2 {margin-bottom: 1rem;}
  .contact-container h2 {font-size: 2rem;}
  .contact-container p {font-size: 1rem;}
 

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .social-icons a {
    font-size: 20px;
  }

  #hero::after {
      background-image: none;
      background-color: #282117; /* ou um tom que combine com o desktop */
    }
    #footer {
      padding: 1.5rem 0.5rem;
      font-size: 0.85rem;
      min-height: 20vh;
    }
  }
  
/* Médio */
@media (min-width: 768px) and (max-width: 991px) {
    .side-nav {
      left: 1rem;
    }
  
    #hero {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      height: 100vh;
      padding: 5rem 6.25rem 5rem 30vw;
    }
  
    .hero-title {
      font-size: 3rem;
      line-height: 1.3;
      margin-bottom: 10px;
    }
  
    .hero-subtitle {
      font-size: 1.4rem;
      line-height: 1.5;
      margin-bottom: 20px;
    }
  
    .social-icons {
      display: flex;
      gap: 20px;
      margin-top: 20px;
      flex-wrap: wrap;
    }
  
    .social-icons a {
      font-size: 24px;
    }
  
    #hero::after {
        display: none; /* mantém foco no conteúdo em telas menores */
        background-color: #282117; /* ou um tom que combine com o desktop */
    }
    
    #skills,
    #resume,
    #portfolio,
    #contact {
      height: auto;
      /*padding: 1.25rem;*/
      min-height: 100vh;
      padding: 5rem 6.25rem 5rem 30vw;
    }

    .timeline-item {margin: 0;}
  
    .about-container {
      min-height: 100vh;
      gap: 1rem;
      /*padding-left: 20vw;*/
      
    }
    .about-photo {display: none;}
   
    .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
  
    .portfolio-grid {
      min-height: 100vh;
      width: 65vw;
    }
    
    .project-card img {
      height: 20vh;
    }
    #footer {
      padding: 1.5rem 0.5rem;
      font-size: 0.85rem;
      min-height: 5vh;
    }
  }
  
/* Grande */
@media (min-width: 992px) and (max-width: 1199px) {
    #hero {
      padding: 100px 200px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      padding-left: 22vw;
      height: 100vh;
    }
  
    .hero-title {
      font-size: 3.5rem;
      line-height: 1.3;
      margin-bottom: 15px;
    }
  
    .hero-subtitle {
      font-size: 1.5rem;
      line-height: 1.5;
      margin-bottom: 25px;
    }
  
    .social-icons {
      display: flex;
      gap: 20px;
      margin-top: 25px;
      flex-wrap: wrap;
    }
  
    .social-icons a {
      font-size: 26px;
    }
  
    #hero::after {
      opacity: 0.05;
      background-position: center 5%;
      pointer-events: none;
    }
    .about-container {
      min-width: 65vw;
      min-height:auto;
      margin-left: 10rem;
      display: flex;
      align-items: center;
      gap: 3.125rem;
      
     }

     .about-text h2 {text-align: center;}

     .blob-mask { display: none;}
    
     .side-nav { left: 30px;}
   
    .skills-container {min-height: 100vh; min-width: 65vw; padding-top: 2rem;}
  
    .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    }

    #skills,
    #resume,
    #portfolio,
    #contact {
      padding: 5rem 6.25rem 5rem 20vw;
    }

    .timeline-item {margin: 0;}
    .contact-container h2 { font-size: 2rem;}

  
    .portfolio-grid {
      grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));   
    }
 
    .project-card img {
      height: 20vh;
    }
    #footer {
      padding: 1.5rem 0.5rem;
      font-size: 1rem;
      min-height: 5vh;
    }
  }


  @media (min-width: 1920px) {

    .side-nav {
      left: 3rem; /* mais afastado da borda */
      gap: 2rem;  /* mais espaçamento entre os ícones */
    }
  
    .side-nav a {
      width: 4rem;
      height: 4rem;
      font-size: 1.5rem;
      padding: 0 1.25rem;
    }
  
    .side-nav a:hover,
    .side-nav a.active-circle {
      width: 10rem;
    }
  
    .label {
      font-size: 1.125rem;
    }
    
   /* .side-nav a {
        width: 7rem;
        height: 7rem;
        font-size: 3rem;
    }*/

    /* Hero Section */
   /* #hero {
        padding-left: 18vw;
    }*/

   /* .hero-title {
        font-size: 5.5rem;
    }*/

   /* .hero-subtitle {
        font-size: 2.2rem;
    }*/

   /* .social-icons {
        gap: 1.8rem;
    }*/
    
    /*.social-icons a {
        font-size: 2.2rem;
    }*/

    /* Auxiliary Sections */
  /*  #about,
    #skills,
    #resume,
    #portfolio,
    #contact {
        padding: 3.75rem;
    }*/
   /* .contact-container {min-width: 65vw;}
    .social-links i {font-size: 3rem;}
    .about-text {font-size: 2rem;}*/


   /* .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(21.8rem, 1fr));
        gap: 2.5rem;
    }*/

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(23.7rem, 1fr));
        gap: 1.8rem;
    }

    #footer p {
      padding: 1.5rem 0.5rem;
      font-size: 1.5rem;
      min-height: 5vh;
    }
    #cookieBanner {
      margin: 0 auto;
      max-width: 1400px;
    }
  
    .cookie-text {
      max-width: 80%;
    }
}

@media (min-width: 2560px) {

  .side-nav {
    left: 4rem; /* mais afastado da borda */
    gap: 2.5rem; /* espaçamento maior entre os ícones */
  }

  .side-nav a {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.75rem;
    padding: 0 1.5rem;
  }

  .side-nav a:hover,
  .side-nav a.active-circle {
    width: 11rem;
  }

  .label {
    font-size: 1.25rem;
  }
  /* Base Font Size */
  /*body {
      font-size: 2.4rem;
  }*/

  /* Side Nav */
 /* .side-nav {
      left: 2.8rem;
      gap: 2.2rem;
  }*/
  
 /* .side-nav a {
      width: 9rem;
      height: 9rem;
      font-size: 4rem;
  }*/

  /* Hero Section */
/*  #hero {
      padding-left: 18vw;
  }*/

  .hero-title {
      font-size: 6.5rem;
  }

  .hero-subtitle {
      font-size: 3rem;
  }

  .social-icons {
      gap: 1.8rem;
  }
  
  .social-icons a {
      font-size: 3rem;
  }

  .blob-mask {
    display: none;
  }

  /* Auxiliary Sections */
  #about,
  #skills,
  #resume,
  #portfolio,
  #contact {
      padding: 8rem;
  }

  .about-container {
      min-width: 65vw;
      gap: 3.75rem;
  }
  .about-text {font-size: 2.5rem;}
  
  .about-photo {
      flex: 0 0 350px;
  }
  
  .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
      gap: 2rem;
  }

  .portfolio-grid {
      grid-template-columns: repeat(auto-fit, minmax(28.2rem, 1fr));
      gap: 2.5rem;
  }

  .project-card img {
      height: 13.7rem ;
  }
  #contact {
    display: flex;
    justify-content: center; /* alinha horizontalmente */
    align-items: center;     /* alinha verticalmente */
    padding: 4rem 2rem;
    min-height: 100vh;       /* ocupa a altura total da tela */
    text-align: center;      /* alinha o texto dentro da div */
  }
  .contact-container {
    max-width: 65vw;
    width: 100%;
    gap: 2rem;
  }
  #footer {
    padding: 1.5rem 0.5rem;
    font-size: 1.7rem;
    min-height: 5vh;
  }
}

@media (min-width: 3840px) {
  
  /* Base Font Size */
 /* body {
      font-size: 3.5rem;
  }*/
  
  /* Side Nav */
 /* .side-nav {
      left: 3.8rem;
      gap: 2.7rem;
  }*/
  
  /*.side-nav a {
      width: 12rem;
      height: 12rem;
      font-size: 5.5rem;
  }*/

  /* Hero Section */
  #hero {
      padding-left: 18vw;
  }

  .hero-title {
      font-size: 9rem;
  }

  .hero-subtitle {
      font-size: 5rem;
  }

  .social-icons {
      gap: 2.5rem;
  }

  .social-icons a {
      font-size: 5rem;
  }

  /* Auxiliary Sections */
  #about,
  #skills,
  #resume,
  #portfolio,
  #contact {
      padding: 30rem;
  }

  .about-container {
      min-width: 75vw;
      gap: 4rem;
  }
  .about-text {font-size: 4rem;}

  .about-photo {
      flex: 0 0 450px;
  }

  .blob-mask {
    display: none;
  }

  .about-text h2,
  .skills-container h2,
  .resume-container h2,
  .portfolio-container h2,
  .contact-container h2 {
      font-size: 8rem;
  }

  .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(30vw, 1fr));
      gap: 2rem;
  }

  .portfolio-grid {
      grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
      gap: 2rem;
  }

  .project-card img {
      height: 10vh;
  }

  .timeline-dot {
      width: 20px;
      height: 20px;
  }
  #contact {
    display: flex;
    justify-content: center; /* alinha horizontalmente */
    align-items: center;     /* alinha verticalmente */
    padding: 4rem 2rem;
    min-height: 100vh;       /* ocupa a altura total da tela */
    text-align: center;      /* alinha o texto dentro da div */
  }
  .contact-container {
    max-width: 65vw;
    width: 100%;
    gap: 2rem;
  }
  #footer p{
    padding: 1.5rem 0.5rem;
    font-size: 3rem;
    min-height: 5vh;
  }
  
}

/* Aviso de Cookies */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  background-color: #fff;
  color: #333;
  font-family: system-ui, sans-serif;
  font-size: 12px; /* Mantido como no original */
  line-height: 1.45;
  padding: 16px 24px;
  border-top: 1px solid #ccc;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  max-width: 100%;
}

/* Texto em destaque */
#cookieBanner strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* Links */
#cookieBanner a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

#cookieBanner a:hover {
  text-decoration: none;
}

/* Texto do aviso */
.cookie-text {
  flex-grow: 1;
  margin-right: 0;
  margin-bottom: 12px;
  text-align: center;
  max-width: 100%;
}

/* Botões */
.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.cookie-buttons button {
  all: unset;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid #000;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

/* Estilos dos botões */
.btn-accept {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}

.btn-customize {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* Telas médias: a partir de 600px */
@media (min-width: 600px) {
  #cookieBanner {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .cookie-text {
    margin-right: 24px;
    margin-bottom: 0;
    text-align: left;
    max-width: 70%;
  }

  .cookie-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
  }

  .cookie-buttons button {
    width: auto;
    min-width: 120px;
  }
}

/* Telas grandes (>= 1024px) — sem mudar aparência, só refina proporções */
@media (min-width: 1024px) {
  .cookie-text {
    max-width: 75%;
  }
}

#cookieOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* tom escuro com transparência */
  z-index: 10049; /* abaixo do banner (1050) */
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

/*PRECISA CONSERTAR*/
/* Google Analytics - estilos para modal de cookies */
#cookieModal input[type="checkbox"] {
  cursor: pointer;
  pointer-events: auto;  /* garante que o clique funcione */
}

#cookieModal label {
  cursor: pointer;
  user-select: none; /* evita seleção de texto ao clicar */
  color: #000; /* texto preto */
}

/* Estilos do overlay/modal */
#cookieModal {
  display: none; /* alterar para block quando o modal abrir */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8); /* fundo preto translúcido */
  z-index: 10051;
  padding: 20px;
  overflow-y: auto;
}

/* Conteúdo do modal */
#cookieModal .cookieModalContent {
  background: #fff; /* fundo branco */
  color: #000; /* texto preto */
  padding: 20px;
  max-width: 500px;
  margin: 50px auto;
  border-radius: 8px;
  position: relative;
  z-index: 10052;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Estilo checkbox preto e branco */
input[type="checkbox"] {
  all: unset; /* remove estilos padrões */
  width: 10px;
  height: 10px;
  border: 1px solid #000; /* borda preta */
  border-radius: 4px;
  background-color: #fff; /* fundo branco */
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: #000; /* fundo preto quando marcado */
  border-color: #000; /* borda preta */
}

input[type="checkbox"]:checked::after {
  content: "✓";
  color: #fff; /* símbolo branco */
  position: absolute;
  top: 1px;
  left: 4px;
  font-size: 8px;
  font-weight: bold;
}

/* Botões estilo preto e branco */
#cookieModal button {
  background-color: #000 !important; /* preto */
  color: #fff !important; /* branco */
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

#cookieModal button#cancelCookieModal {
  background-color: #000; /* cinza escuro */
  margin-left: 10px;
}

#cookieModal button:hover {
  background-color: #222; /* preto mais claro no hover */
}

#cookieModal button#cancelCookieModal:hover {
  background-color: #333; /* cinza médio no hover */
}



