html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-image: url('img/logo_genios_extorvertidos.png');
    background-size: 160vh;
    background-position: center;
    background-attachment: fixed;
}
section {
  background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5));
}

h1, h2, h3 { font-family: "Playfair Display", serif; }
p, a, span, li { font-family: "Lato", sans-serif; }

header {
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background-color: rgba(248, 248, 249, 0.826);
    width: 100%;
    height: 100px;
}
.logo img {
    height: auto;
    width: 90px;
    margin-left: 20px;
}
.logo span {
    font-weight: 900;
    font-family: "Lato", sans-serif;
}
.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}
header a {
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    color: rgb(20, 20, 20);
    transition: color 0.3s ease;
}
header nav {
    display: flex;
    gap: 70px;           /* ← alinhado com o principal */
    margin-right: 70px;  /* ← alinhado com o principal */
}
header nav a:hover { 
  text-decoration: overline;
 }
  .hamburger {
        display: none;
    }
#team{
    height: 100vh;
    padding-top: 55px; 
    height: auto;
    padding-bottom: 120px;

}
.section-icon h2{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    width: 100%;
    padding: 40px 0px;   /* ← substituí o height: 30vh por padding */
    background-color: rgba(104, 168, 187, 0.651);
    text-shadow: 0 4px 16px rgba(0,0,0,0.2);
    color: white;
}
.team-subtitulo {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    border-left: 4px solid rgba(3, 0, 154, 0.89);
    padding-left: 16px;
    text-align: left;
    width: auto;
    height: 100px;
    background-color: rgba(104, 168, 187, 0.874);
    border-radius: 10px;
}
.team-subtitulo p{
  text-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cards-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px  /* ← adiciona padding-bottom */
}
.info-card {
    background-color:#c5e3fc;
    border-left: solid 5px   rgba(3, 0, 154, 0.85) ;
    border-radius: 16px;
    padding: 24px 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 500px;
    height: auto;
    margin: 40px;
    position: relative;
}

.nameinfo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 0px 10px;
    border-radius: 8px;
}

.info-card strong { font-size: 16px; color: #000000; }
.info-card img {
     height: auto;
     width: 150px;
    border-radius: 20px;
    box-shadow: 20px  0px 200px rgb(38, 0, 255);
    
 }
footer {
  background-color: #1a1a2e;
  padding: 50px 40px;
}

.holder_footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ÍCONES REDES SOCIAIS */
.icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon {
  display: flex;
  align-items: center;
}

.icons img {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.icon img:hover {
  opacity: 1;
}

/* EMAILS */
.email {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gmail a {
  text-decoration: none;
  color: #aaa;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  transition: color 0.3s ease;
}

.gmail a:hover {
  color: #f5a623;
}

/* CONTACTOS */
.contacos {
  display: flex;
  flex-direction: column;
}

.holdercontact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wordcontact span {
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.numero span {
  color: #aaa;
  font-family: "Lato", sans-serif;
  font-size: 15px;
}

/* LOGO */
.logo_footer img {
  height: 80px;
  width: auto;
  opacity: 0.9;
}
/* Monitor grande (4K / ultrawide) */
@media (min-width: 1600px) {
    header a {
        font-size: 12px; /* estava correto */
    }
    header nav {
        gap: 70px;
        margin-right: 70px;
    }
    .logo img { width: 120px; }

    #team { padding-top: 40px; }
    .section-icon h2 { font-size: 70px; }
    .info-card { padding: 32px 48px; min-width: 220px; }
    .info-card strong { font-size: 20px; }
    .info-card img { width: 130px; }
    .gmail a { font-size: 22px; }
    .wordcontact span { font-size: 20px; }
    .numero span { font-size: 18px; }
    .logo_footer img { height: 110px; }
}

/* Desktop padrão (1280px–1599px) */
@media (min-width: 1280px) and (max-width: 1599px) {
    header a {
        font-size: 12px; /* CORRIGIDO: estava 15px, principal usa 12px */
    }
    header nav {
        gap: 70px;         /* CORRIGIDO: estava 80px */
        margin-right: 70px; /* CORRIGIDO: estava 80px */
    }
    .section-icon h2 { font-size: 55px; }
}

/* Desktop pequeno / portátil grande */
@media (max-width: 1280px) {
    header nav {
    margin-right: 70px;
    gap: 70px;
     }
    .cards-row { gap: 16px; }
    .info-card { padding: 20px 28px; min-width: 160px; }
}

/* Portátil (13"–15") */
@media (max-width: 1024px) {
    header nav {
        gap: 30px;           /* CORRIGIDO: estava 24px */
        margin-right: 30px;  
    }
    header a {
        font-size: 14px; /* CORRIGIDO: estava 11px; principal usa 14px */
    }
    .logo img { width: 75px; }

    #team { padding-top: 120px; }
    .section-icon h2 { font-size: 40px; }
    .info-card { padding: 18px 24px; min-width: 140px; }
    .info-card img { width: 80px; }
    .gmail a { font-size: 16px; }
    .logo_footer img { height: 65px; }
}

/* Tablet deitado */
@media (max-width: 900px) {
    header nav {
        gap: 20px;           /* CORRIGIDO: estava 16px */
        margin-right: 20px;  /* CORRIGIDO: estava 16px */
    }
    .cards-row { gap: 16px; padding: 0 20px; }
    .info-card { min-width: 120px; padding: 16px 20px; }
}

/* Tablet em pé */
@media (max-width: 768px) {
    .section-icon h2 { font-size: 34px; }
    .info-card { min-width: 100px; padding: 14px 16px; }
    .info-card strong { font-size: 14px; }
    .info-card img { width: 70px; }
    .holder_footer { gap: 24px; }
    .gmail a { font-size: 15px; }
    .numero span { font-size: 13px; }
    .logo_footer img { height: 60px; }
}

/* Mobile grande */
@media (max-width: 600px) {
    header {
        height: 60px; /* ← altura fixa no mobile */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }
      
      header nav.open {
        display: flex;
        
    }

    .logo img {
        width: 40px;
        margin-left: 12px;
    }


    .logo span {
        font-size: 10px;
    }
    

  
    .hamburger {
          
      margin-right: 50px !important;
  
        
    }
      header nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* ← igual à altura do header */
        left: 0;
        width: 100%;
        background-color: rgba(248, 248, 249, 0.97);
        padding: 20px 0;
        gap: 0;
        margin-right: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
    }


    header nav a {
        padding: 14px 24px;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.07);
    }

    header nav a:hover {
        background-color: rgba(197, 227, 252, 0.5);
        text-decoration: none;
    }
    .info-card {
        width: 90vw;
        margin: 10px auto;
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .info-card img {
        width: 100px;
        margin: 0 auto;
    }

    .cards-row {
        flex-direction: column;
        align-items: center;
        padding: 10px 16px;
        gap: 10px;
    }

    .team-subtitulo {
        width: 90vw;
        height: auto;           /* ← tira o height: 100px fixo */
        margin: 0 auto 20px auto;
        font-size: 14px;
    }

       #team { 
        padding-top: 80px; /* ← era 180px, muito exagerado */
    }
    .section-icon h2 { font-size: 28px; padding: 0 16px; text-align: center; }
    .cards-row { flex-direction: column; align-items: center; gap: 14px; padding: 0 16px; }
    .info-card { width: 85vw; min-width: unset; padding: 16px 20px; }
    footer { padding: 36px 24px; }
   .holder_footer {
    flex-direction: column;
    text-align: center;
    gap: 25px;
}

.icons {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.email {
    justify-content: center;
}

.contacos {
    align-items: center;
}
  
}

/* Mobile pequeno */
@media (max-width: 400px) {
    .logo img { width: 65px; } /* CORRIGIDO: estava 65px; principal usa 70px */
    .logo span { font-size: 13px; }
    header a { font-size: 13px; }
    #team {padding-top: 40px;} /* CORRIGIDO: estava 12px; principal usa 13px */
    .section-icon h2 { font-size: 24px; }
    .team-subtitulo{width: 350px;}
    .info-card { width: 50vw; padding: 12px 14px; }
    .info-card span{
        font-size: 10px;
        padding: 8px;
    }
  
    header {
        height: 60px;
    }
    .hamburger {
        margin-right: 20px;
    }

    .info-card img { width: 90px;}
    .info-card strong { font-size: 11px; }
    .logo_footer img { height: 50px; }
    .gmail a { font-size: 13px; }
    .numero span { font-size: 12px; }
     .info-card {
        width: 72vw;
        margin: 8px auto;
        padding: 12px;
    }

    .team-subtitulo {
        width: 92vw;
        height: auto;
    }
}