/* Modificações do mobile */
@media (max-width: 769px) {
    .canto-inicio,.canto-contato, .canto-sobre, .canto-servicos, .circle-logo, .circle-dig {
    display: none;
}
.access-lane {
    height: 11vh;
    padding: 0 2vw 0 2vw;
    justify-content: space-between;
}
    
.logo-access {
    margin-left: -0.5%;
    width: 4.5rem;
    height: auto;

}
.title-acess {
    font-size: 1.3rem;
    margin-left: 0.7rem;
    white-space: nowrap; 
    overflow-wrap: normal;
}
    .btn-mobile-menu {
        position: relative;
        left:80%;
        
        width: 4rem;
        height: 4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.4rem;
        z-index: 10002;
    }
   .mobile-menu {
        position: absolute;
        top: 120%;             
        left: -170%;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        display: none;        
        flex-direction: column;
        gap: 0.7rem;
        
        padding: 1rem;
        min-width: 200px;
        z-index: 10001;
        
    }

    .mobile-menu.mostrar {
        display: flex;         
    }

     .btn-inicio, .btn-sobre,  .btn-contato {
        display: none;
    }
.btn-iniciomobile, .btn-sobremobile,
   .btn-contatomobile, .btn-portifoliobtn-port {
    width: 100%;
    padding: 10px;
    border: 1px solid #2a5b2f;
    border-radius: 0.4rem;
    text-align: center;
    font-family: "Roboto Slab", serif;
    background: #f3f3f3;
    cursor: pointer;
  }
.container1, .container2,  .container4 {
    position: relative;
    height: 90vh;
    overflow: hidden;
    scroll-margin-top: 11vh;
  }
.container4 {
    margin-bottom: none;
}
 .circle-logo,.logo-centermobile,.logo-center, .circle-logomobile,.img-pc, #digitando-video,.title-inicio,.title-inicio2,.title-inicio3, .btn-port {
  display: none;
}

/*Container 1 */
.beta-message{
  font-size: 0.9rem;
  font-family: "Roboto Slab", serif;
  color: #333;
  padding: 0 1rem;
  margin-top: 0.7rem;
}
.canto-mobilecnt1{
  position: absolute;
  width: 90%;
  height: auto;
  top: 1.4%;
  left: 0;
  z-index: -1;
  transform: rotate(180deg) ;
  opacity: 75%;
}
.canto-mobilecnt2{
  position: absolute;
  width: 90%;
  height: auto;
  bottom: 0;
  right: 0;
  z-index: -1;
  opacity: 75%;
}
.title-iniciomobile,.title-iniciomobile2,.title-iniciomobile3 {
  display: block;
  width: auto;
  height: auto;
  font-size: 1.5rem;
  text-align: center;
  margin: 0.5rem 0 0 0;
  margin-left: 0.6rem;
  margin-right: 0.6rem;
  margin-top: 2.5rem;
  gap: 0.1rem;
  /* Improve text rendering and force GPU compositing to avoid missing letters */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}
.circle-mobilecnt1{
  position: absolute;
  width: 15rem;
  height: 15rem;
  top: 22.5rem;
  margin-left: 17%;
  margin-right: 18%;
  border-radius: 50%;
  border: solid rgb(17, 17, 111) 0.4rem;
  cursor: pointer;
  transition: transform 1.3s cubic-bezier(.77,0,.18,1);
}

.circle-mobilecnt1:hover {
    transform: scale(1.06);
}
.logo-mobilecnt1{
  position: relative;
  width: 15.95rem;
  height: 15.95rem;
  margin-top: 7.4rem;
  margin-left: 7.5rem;
  transform: translate(-50%, -50%);
}

/*Modificação do container 2 */
#vid-avatar {
  display: none;
}
.text-cont2 {
  font-size: clamp(1.3rem, 1.9vw, 40px);
  line-height: 1.55;
  text-align: justify center;
  color: #222;
  hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: calc(100% - 2rem);
  box-sizing: border-box;
  margin-left: -3rem;
  margin-top:-1rem;
}
.text-cont2 br {
  display: none;
}
  .lista-sis {
    
    font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-size: clamp(13px, 3vw, 16px);
    padding: 1.2rem;
    color: #222;
    line-height: 1.45;
    margin: 0.4rem 1rem;     /* mantém espaçamento lateral consistente */
    padding-left: 1.1rem;    /* cria espaço para marcadores */
    list-style-position: outside;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: -12rem;
   margin-top: -2rem;
  }

  /* Estilo dos itens da lista */
  .lista-sis li {
    margin: 0.25rem 0;
    padding-left: 0.4rem;
    /* marcador mais discreto */
    list-style-type: disc;
  }
.list1{
  width: 70%;
  height: 55%;
  margin-left: -5rem;
  margin-top: -8rem;
}
.text-list1{
  font-size: clamp(13px, 3vw, 16px);
  line-height: 1.45;
  color: #222;
  hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin-top: 1rem;
} 
.list2 {
  width: 60%;
  height: 48%;
  margin-left: -3rem;
  margin-top: -8.5rem;
}
.list3 {
  width: 80%;
  height: 60%;
  margin-left: -7.5rem;
  margin-top: -18rem;
}
.list4 {
  width: 75%;
  height: 70%;
  margin-left: -6.5rem;
  margin-top: -24.4rem;
}
.list5{
  width: 60%;
  height: 37%;
  margin-left: -2.5rem;
  margin-top: -9rem;
}





/*Container 4 */

  .texttitle-contact {
	
		position: relative;
		left: auto;
		top: auto;
		margin: 0.6rem 1rem;
		padding: 0.2rem 0.6rem;
		transform: none;
		font-size: clamp(22px, 7vw, 40px);
		line-height: 1.12;
		text-align: center;
		color: #111;

		/* garante que não seja cortado */
		max-width: calc(100% - 2rem);
		box-sizing: border-box;
		overflow: visible;
		white-space: normal;
		word-break: break-word;
	}

   
  .social-icons {
    display: flex;
    flex-direction: column;      /* empilha um abaixo do outro */
    align-items: center;         /* centraliza horizontalmente */
    gap: 1rem;                   /* espaçamento entre os blocos */
    margin: 0.8rem auto;         /* centraliza o grupo e remove margens negativas */
    padding: 0.5rem 0; 
    width: auto;
    max-width: 90%;
  }

  .social-icons .icon {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
  }

  .social-icons .icon i {
    font-size: 7.2rem;           /* reduz do desktop (8rem) para mobile */
    line-height: 1;
    color: var(--color);
    margin: 0;
  }

  /* reflexo proporcional e posicionado abaixo do ícone */
  .icon .reflection {
    display: none;
  }

  /* Texto (email etc.) alinhado abaixo dos ícones */
  .email-cnt4 {
    position: relative;
    left: auto;
    top: 3.5rem;
    margin: 0.25rem 0;
    font-size: 1.2rem;
    text-align: left;
    margin-left: -2rem;
    width: 100%;
    max-width: 92%;
  }
  .text-cnt4{
    font-size: clamp(1.2rem, 3vw, 16px);
    line-height: 1.45;
    color: #222;
    margin: 0.4rem 1rem;     
    margin-left:-8.3rem ;
    margin-top: 3.05rem;
    font-family: "Roboto Slab", serif;
  }
   
   
}

/* Pequeno ajuste em telas muito pequenas */
@media (max-width: 420px) {
  .mobile-carousel .carousel-item { flex: 0 0 92%; max-width: 92%; }
  .mobile-carousel .carousel-item img { height: 9.6rem; max-height: 11rem; }
  .mobile-carousel .carousel-track { padding-left: 10%; padding-right: 10%; }
}

/* Ajuste específico em landscape (telas pequenas na horizontal) */
@media (orientation: landscape) and (max-width: 768px) {
  .text-cont2 {
    font-size: clamp(13px, 2.6vw, 15px);
    line-height: 1.35;
    margin: 0 1rem;
  }
}

/* Amplia a faixa de acesso quando o aparelho está na horizontal (APENAS em telas pequenas) */
@media (orientation: landscape) and (max-width: 768px) {
  .access-lane {
    height: 21vh;
  }
  .btn-mobile-menu {
    left: 100%;
  }
  .mobile-menu {
    left: -60%;
  }
}

/* Faster beta strip on small screens */
@media (max-width: 769px) {
  .beta-strip__inner {
    animation-duration: 122s; /* faster on mobile */
  }
  .beta-message{
    font-size: 0.9rem;
  }
}


/* Note: HTML duplicates the message (two spans) so the animation loops seamlessly. */


