
/* ============================
   📱 MOBILE MODE (até 768px)
=============================== */
@media (max-width: 768px) {

    /* -------- HEADER -------- */
    header {
        height: 70px;
        padding: 0 1rem;
        z-index: 1000;
    }

        header .logo{
            margin-left: 1%;
            margin-top: 2px;
        }
        header .logotipo {
        width: 60px;
        height: 65px;
        /* display: none; */
    }

    /* Jose Baptista Consulting visivel */
    .consulting-logo{
        display: block;
        text-align: center;
        font-size: 1rem;
        text-decoration: none;
        color: var(--cor-fundo-claro);
        font-weight: 800;
    }


    header nav {
        display: none;
        flex-direction: column;
        background: var(--cor-primaria);
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        z-index: 999;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        color: #fff;
    }

    header.nav-open nav {
        display: flex;
    }

    /* More vert hidden */

.dropbtn {
  margin-right: 15%;
  width: 94px;
  height: 94px;
  padding: 16px;
  font-size: 16px;
}

.close-icon{
    display: none;
    margin-right: 15%;
    width: 94px;
    height: 94px;
    padding: 16px;
    font-size: 16px;
    position: fixed;
    top: 0;
    right: inherit;
    z-index: 100;
}

/* CLASSE QUE SERÁ ADICIONADA/REMOVIDA PELO JAVASCRIPT */
.hidden-menu.is-open {
    /* Quando a classe 'is-open' é adicionada, ele volta para a posição visível */
    transform: translateX(0); 
}

.dropdown {
  position: relative;
  display: inline-block;
  margin-right: 10%;
}

.dropdown-content {
  display: none;
  position: fixed;
  top: 2;
  right: 0;
  background-color: #f1f1f1;
  min-width: 135px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 100;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

/* .dropdown:hover .dropbtn {background-color: #3e8e41;} */





    .container-principal {
        padding-top: 90px;
    }

    /* -------- HOME -------- */
    .first-section {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .lado-esquerdo,
    .lado-direito {
        margin-left: 0;
        padding: 1rem;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .second-title {
        font-size: 1.2rem;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    /* Cards serviços (home) */
    .second-section {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cta-final h2 {
        font-size: 1.5rem;
    }

    /* -------- ABOUT -------- */
    section.about {
        flex-direction: column;
        text-align: center;
    }

    .page-title h1{
        font-size: 2.5rem;
    }

    .hero .lead{
        font-size: 1rem;
        text-align: justify;
    }

   .autor-container{
      max-width: 100%;
    }

    .autor-container h1{
      font-size: 2.5rem;
    }

    .autor-container p a{
      font-size: 1.6rem;
    }

    .autor-container .sobre-text{
      margin-left: 2rem;
    }
    
    .autor{
    flex-direction: column;
    
    }

    .autor-img{
     max-width: 300px;
     width: 100%;
     margin-top: .5rem; 
    
    }

   ul{
    margin-left: 2rem;
   }
    /* section nossa empresa */

    .nossa-empresa{
        width: 100%;
    }
    .nossa-empresa h2{
        font-size: 1rem;
        text-align: center;
        
    }

    .nossa-empresa .conheca-nos{
        font-size: 2rem;
        margin-left: 12px;
        margin-bottom: 1rem;
    }

    .sobre-nos{
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .sobre-text{
        width: 90%;

    }
    
    .numeros-empresa .projeto{
      max-width: 250px;
      height: 60px;
    }

     .numeros-empresa .projeto p{
      color: var(--cor-branco);
      font-size: 1.1rem;
    }

     /* Posicionamento dos cards */
    .numeros-empresa .card-concluido{
      position: absolute;
      left: 2%;
      top: 2%;
    }

    .numeros-empresa .card-colaboradores{
      position: absolute;
      top: 38%;
      right: -9%;
    }

    .numeros-empresa .card-clientes{
      position: absolute;
      bottom: 2%;
      left: 2%;
    }

    /* section equipa */
    .equipa-text{
      width: 980px;
      margin: 12px auto;
    }
    .equipa-text h2{
      text-align: center;
      text-transform: uppercase;
      font-size: 1.3rem;
    }

    .equipa-text p{
      text-align: center;
      text-transform: uppercase;
      font-size: 5rem;
    }

/* section equipa */
    .equipa-text{
      width: 980px;
      margin: 12px auto;
    }
    .equipa-text h2{
      text-align: center;
      text-transform: uppercase;
      font-size: 1.3rem;
    }

    .equipa-text p{
      text-align: center;
      text-transform: uppercase;
      font-size: 5rem;
    }

/* section equipa */
    .equipa-text{
      width: 980px;
      margin: 12px auto;
    }
    .equipa-text h2{
      text-align: center;
      text-transform: uppercase;
      font-size: 1.3rem;
    }

    .equipa-text p{
      text-align: center;
      text-transform: uppercase;
      font-size: 5rem;
    }

    /* section equipa */
    .equipa-text{
      width: 90%;
    }
    .equipa-text h2{
      text-align: center;
      text-transform: uppercase;
      font-size: 1.3rem;
    }

    .equipa-text p{
      font-size: 2rem;
    }


     /* image of the team members */
    .equipa-group{
      flex-direction: column;
    }

    /* Hero section  */
    /* =========================
   HERO – MOBILE FIRST
========================= */

.hero-sec {
  min-height: 50vh;
  background-color: var(--cor-primaria);
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Texto principal */
.big-text {
  width: 100%;
  position: relative;
  top: auto;
  left: auto;
  text-align: left;
}

.big-text h2 {
  text-transform: uppercase;
  color: var(--cor-acento);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  letter-spacing: 5px;
  margin-bottom: 2rem;
  font-weight: 800;
}

.big-text p {
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--cor-branco);
  font-weight: 700;
}

/* Bloco profissionalismo */
.profissio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
  position: relative;
  top: auto;
  left: auto;
}

/* Título secundário */
.profissionalismo h3 {
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--cor-branco);
  margin: 0;
}

.about{
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.about-img{
    max-width: 440px;
    max-height: 320px;
    margin: 0 auto;
    margin-bottom: 0;
}

    .text{
        width: 96%;
        padding: .9rem;
        margin-bottom: 2rem;

    }

    .text h2{
        margin-top: .7rem;
    }

    .text p{
        font-size: 1rem;
        text-align: justify; 
    }

    .especiali ul{
        list-style: none;

    }

    .especiali ul li{
        font-size: 1rem;
        text-align: justify;
    }

    .services-section .card{
        max-width: 100%;
        margin: 0 auto;
        padding: 11px 10px;
    }

    .card ul{
        list-style: none;
    }

    .card ul li{
        font-size: 1.2rem;
    }

    /* -------- SERVIÇOS -------- */
    .servicos-hero h1 {
        font-size: 2rem;
    }

    .servicos-hero img{
        width: 50px; 
        height: 60px;
    }

    .servicos-hero p{
        text-align: center;
        line-height: 2.2rem;
    }

    .servicos-bloco {
        padding: 2rem 1rem;
    }

    /* Grid dos cards */
    .cards-container {
        grid-template-columns: 1fr;
    }

    /* -------- CONTACTOS -------- */
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 90%;
    }

    input, textarea {
        font-size: 1rem;
    }

    .checkbox{
        width: 50px;
        height: 50px;
        justify-content: center;
 }


    /* -------- DEPOIMENTOS -------- */
    .testimonial-list {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.2rem;
    }

    .section-header h1{
        font-size: 2rem;
    }

    .section-header p{
        font-size: 1.3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    /* -------- FOOTER -------- */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        width: 100%;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Ícones */
.social-icons {
    margin-right: 12%;
}

}


/* ============================
   📱 EXTRA SMALL (até 480px)
=============================== */
@media (max-width: 480px) {

    .main-title {
        font-size: 1.8rem;
    }

    .second-section {
        grid-template-columns: 1fr;
    }

    .contact-card {
        width: 100%;
    }

    section.about img {
        max-width: 180px;
    }

    .servicos-hero h1 {
        font-size: 1.7rem;
    }
}

