@import url('./base/global.css');


.section {
  padding: 5rem 4rem;
  margin-top: 0 auto;
  max-width: 100%;
}

.hero {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 60px;
  padding: 0 30px;
}

.texto {
  padding: 0px 0px 70px 0px;
}

.texto h1 {
  font-size: 2.5rem;
  color: #6040ce;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: 4px;
}


.imagem {
  width: fit-content;
  position: relative;
  padding: 0px 0px;
  background-image: url(../assets/img/Vector\ 1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
/*icones flutuando*/
.icon {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.icon img {
  position: absolute;
  width: 60px;
  animation: flutuar 3s ease-in-out infinite;
}

.icon-whatsapp {
  top: 40px;
  left: 90px;
  animation-delay: 0s;
  transition: .3s ease;
}
.icon-whatsapp:hover{
 width: 100px;
}
.icon-governo {
  width: 100px;
  bottom: 30px;
  left: 30px;
  animation-delay: 0.8s;
  transition: .3s ease;
}
.icon-governo:hover{
 width: 100px;
}

.icon-chamada-video {
  top: 100px;
  right: 50px;
  animation-delay: 1.2s;
  transition: .3s ease;
}
.icon-chamada-video:hover{
 width: 100px;
}
.icon-seguranca {
  left: 100px;
  top: 290px;
  animation-delay: 0.4s;
  transition: .3s ease;
}
.icon-seguranca:hover{
 width: 100px;
}
/*animação icones*/
@keyframes flutuar {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.categorias {
  width: 90%;
  margin: 50px auto;
  background: #fff;
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.oferecemos {
    max-width: 1200px;
    margin: 0px auto;
    background: #FFF;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.8);
    font-family: 'Poppins', sans-serif;
}

.oferecemos h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 12px;
}

.oferecemos span {
    color: #7C5CFC;
}

.subtitulo {
    text-align: center;
    font-size: 18px;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

/* CARDS GRID */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; 
    align-items: stretch;
}

/* ESTRUTURA DO ITEM */
.item-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px; 
    border-radius: 20px; 
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* LINHAS DIVISÓRIAS ENTRE OS CARDS */
.item-1:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 85%;
    background-color: #E2E8F0;
}

/* 2. Efeito base de aumento e sombra no Hover */
.item-1:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06); 
    z-index: 5; 
}

/* 3. Cores de Fundo Leves (Hover específico para cada item) */

/* Item 1: WhatsApp (Verde Claro) */
.item-1:nth-child(1):hover {
    background-color: #c6f6d5;
}

/* Item 2: Segurança Digital (Roxo/Lilás Claro) */
.item-1:nth-child(2):hover {
    background-color: #ddd6fe;
}

/* Item 3: Serviços Públicos (Amarelo Claro) */
.item-1:nth-child(3):hover {
    background-color: #fef08a;
}

/* Item 4: Transporte e Mobilidade (Azul Claro) */
.item-1:nth-child(4):hover {
    background-color: #bfdbfe;
}

/* CÍRCULO DO ÍCONE */
.icone-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    flex-shrink: 0;
}

/* TAMANHO DA IMAGEM DO ÍCONE DENTRO DO CÍRCULO */
.icone-container img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* CORES DE FUNDO DOS CÍRCULOS */
.whatsapp {
    background-color: #DDF7E6;
}

.seguranca {
    background-color: #ECE5FF;
}

.servicos {
    background-color: #FFF2D6;
}

.transporte {
    background-color: #DDEBFF;
}

/* TÍTULOS */
.item-1 h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    min-height: 54px; /* Mantém o alinhamento mesmo se tiver 1 ou 2 linhas */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CORES INDIVIDUAIS DOS TÍTULOS */
.item-1:nth-child(1) h3 {
    color: #22C55E;
}

.item-1:nth-child(2) h3 {
    color: #7C5CFC;
}

.item-1:nth-child(3) h3 {
    color: #EAB308;
}

.item-1:nth-child(4) h3 {
    color: #3B82F6;
}

/* PARÁGRAFOS */
.item-1 p {
    font-size: 15px;
    color: #4A5568;
    line-height: 1.5;
    max-width: 200px;
    margin: 0;
}

/* RESPONSIVIDADE PARA CELULARES */
@media (max-width: 850px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .item-1:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .item-1::after {
        display: none !important;
    }
}


/*card dos tutoriais*/
.whatsapp {
  background: #e8f8e5;
  color: #000;
}


.seguranca {
  background: #f5e2ff;
  color: #000;
}

.servicos {
  background: #ece9d8;
  color: #000;
}


.transporte {
  background: #eef8ff;
  color: #000;

}



@media (max-width: 1024px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
    max-width: 480px;
    height: 420px;
    margin: 0 auto;
  }

  .oferecemos h2 {
    text-align: center;
    font-size: 38px;
  }
}
.container-aprendizado {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1210px;
    margin: 60px auto;
    padding: 35px 50px;
    background: #6c3ef4;
    border-radius: 30px;
    gap: 55px;
    position: relative;
}
/*
.container-aprendizado::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.5);
}*/

.foto{
    width: 210px;
    height: auto;
    flex-shrink: 0;
    margin-bottom: -20px;
}

.foto img{
    width:100%;
    display:block;
}
.letras div{
  height: max-content;
}
.letras{
    flex: 1;
    max-width: 520px;
}

.letras h1{
    font-size:45px;
    color:white;
    margin-bottom:20px;
    line-height:1.2;
    font-weight: 450;

}

.letras p{
    font-size:24px;
    color:white;
    line-height:1.5;
}

.vantagens{
    width:240px;
    padding-left:35px;
    border-left:2px solid rgba(255,255,255,.35);
}
.vantagens li{
    display:flex;
    align-items:center;
    gap:12px;
    color:white;
    font-size:20px;
    line-height:1.5;
    margin-bottom:22px;
}

.beneficios {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: #6c3ef4;
  color: white;
  border-radius: 15px;
  padding: 15px;
  margin: 0px auto 30px;
  max-width: 1100px;
  flex-shrink: 0;
}
.beneficios::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.beneficios ul{
    display:flex;
    flex-direction:column;
    gap:18px;
}
.beneficios img {
  align-items: center;
  padding: 5px;
  width: 50px;
}
.beneficios p {
  align-items: center;
  padding: 15px;
}

.item {
  flex: 1;
  display: flex;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.item:last-child {
  border-right: none;
}

.filtro {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.filtro button {
  padding: 10px 22px;
  border: none;
  border-radius: 25px;
  background: #ececec;
  color: #333;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.filtro button:hover {
  background: #5b5bf3;
  color: white;
}

/* TUTORIAIS */
.tutoriais{
    max-width:1100px;
    margin:60px auto;
    display:flex;
    flex-direction:column;
    gap:25px;
}

/* CARD */
.card-tutorial{
    display:flex;
    align-items:center;
    gap:25px;
    background:#FFF;
    padding:22px 30px;
    border-radius:22px;
    text-decoration:none;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    transition:.3s ease;
}

.card-tutorial:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(108,62,244,.18);
}

/* ÍCONE PRINCIPAL */
.icone-card{
    width:72px;
    height:72px;
    padding:14px;
    border-radius:18px;
    object-fit:contain;
    flex-shrink:0;
}

/* Cores dos ícones */
.whatsapp{
    background:#EAF8E7;
}

.transporte{
    background:#EDF6FF;
}

.servicos{
    background:#FFF6E4;
}

.seguranca{
    background:#F7E9FF;
}

/* CONTEÚDO */
.conteudo-card{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.conteudo-card h3{
    margin:0;
    color:#1E1E1E;
    font-size:2rem;
    font-weight:700;
    line-height:1.2;
}

/* TAGS */
.tags{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.tags img{
    height:34px;
    width:auto;
    object-fit:contain;
}

/* SETA */
.seta{
    width:18px;
    height:auto;
    opacity:.55;
    transition:.3s;
}

.card-tutorial:hover .seta{
    transform:translateX(8px);
    opacity:1;

}
.sobre {
  max-width: 1200px;
  margin: 10px auto;
  padding: 60px 70px;
  background: #a88ff7;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  height: 420px;
}

.sobre-texto {
  flex: 1;
  text-align: center;
}

.sobre-texto h2 {
  font-size: 56px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 35px;
}

.sobre-texto .sobre-p {
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: 2;
  line-height: 1.5;
  max-width: 620px;
  margin-bottom: 80px;
}

.sobre-texto h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 5px 0px;
  margin: 0;
}

.sobre-imagem {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-imagem img {
  width: 480px;
  height: 400px;
  max-width: 100%;
  display: block;
}

/* Responsivo */
@media (max-width: 900px) {
  .sobre {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .sobre-texto h2 {
    font-size: 40px;
  }

  .sobre-texto p {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .sobre-texto h3 {
    font-size: 28px;
  }

  .sobre-imagem img {
    width: 280px;
  }
}

/*parte dos planos do conecta*/
.planos {
    position: relative;
    background-color: #f8f9ff; /* Fundo levemente arroxeado/azulado */
    padding: 60px 20px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.planos .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Fica acima das decorações do fundo */
}

.container-planos .h2{
  font-size: 3rem;
}

.planos h2 {
    text-align: center;
    color: #7c5cfc; /* Roxo principal */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Container flexível para alinhar os cards lado a lado */
.cards-planos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
}

/* Card Roxo */
.card-plano {
    background-color: #8c62ff; /* Tom exato do roxo do card */
    color: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1;
    max-width: 480px;
    min-height: 340px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(140, 98, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px;
}

.card-plano h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.card-plano p {
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    color: #f1efff;
}

.card-plano p strong {
    font-weight: 700;
    color: #ffffff;
}

/* Botão Entrar em contato */
.btn-empresa {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ffffff;
    color: #8c62ff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-empresa:hover {
    background-color: #f0eaff;
    transform: translateY(-2px);
}

/* --- ILUSTRAÇÕES DECORATIVAS --- */
.decoracao {
    position: absolute;
    pointer-events: none; 
}

/* Ramo superior direito */
.ramo-topo-direito {
    top: 0px;
    right: 0px;
    width: 250px;
    z-index: 1;
}

/* Ramo inferior esquerdo */
.ramo-bottom-esquerdo {
    bottom: 0;
    left: 15px;
    width: 250px;
    z-index: 1;
}

/* Ramo central entre os dois cards */
.ramo-centro {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    z-index: 3; 
    
}

/* Responsividade para telas menores (Celulares) */
@media (max-width: 768px) {
    .cards-planos {
        flex-direction: column;
    }
    .card-plano {
        max-width: 100%;
        width: 100%;
    }
    .ramo-centro {
        display: none; /* Esconde o ramo central no celular para não poluir */
    }
}

/*icones dos parceiros, section parceiros*/
.parceiros {
  padding: 60px 0;
}

.parceiros .container {
  width: 90%;
  max-width: 1200px;
  background: transparent;
  margin: auto;
  text-align: center;
}

.parceiros h2 {
  color: #6c63ff;
  font-size: 48px;
  margin-bottom: 40px;
}

.logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logoa {
  width: 170px;
  height: 180px;
  background: #dad1f9;
  border: 2px solid #7a7aff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  transition: .35s ease;
}

.logoa:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(108, 99, 255, .25);
}

.logoa img {
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logoa p{
  margin: 0;
  min-height: 50px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:20px;
  font-weight:600;
  color:#5b5ceb;
}
hr {
  border: none;
  height: 2.5px;
  background-color: #ddd;
  margin: 40px 0;
  
}


/*responsivo*/

/* TABLET*/
@media (max-width: 1024px){
  .container{
    width:92%;
}

.hero{
    gap:40px;
}

.texto h1{
    font-size:2.2rem;
}

.cards{
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.container-aprendizado{
    flex-direction:column;
    align-items:center;
}

.planos{
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
}}

/* CELULAR */
@media (max-width: 768px){
section{
    padding:60px 20px;
}

.hero{
    flex-direction:column-reverse;
    align-items:center;
    text-align:center;
}

.hero .texto{
    width:100%;
}

.hero h1{
    font-size:2rem;
}

.hero p{
    font-size:18px;
}

.pesquisa{
    justify-content:center;
}

.pesquisa input{
    width:100%;
    max-width:400px;
}

.cards{
    grid-template-columns:1fr;
}

.card{
    width:100%;
}

.container-aprendizado{
    flex-direction:column;
}

.container-aprendizado img{
    width:80%;
}

.tutoriais-grid{
    grid-template-columns:1fr;
}

.planos{
    flex-direction:column;
}

.plano{
    width:100%;
    max-width:380px;
}

.redes{
    justify-content:center;
}}

/* APARELHOS PEQUENOS */
@media (max-width: 480px){
  .hero h1{
    font-size:1.7rem;
}

.hero p{
    font-size:16px;
}

button{
    width:100%;
}

.pesquisa input{
    font-size:16px;
}

.icon img{
    width:40px;
}

.container-aprendizado img{
    width:100%;
}

.plano{
    padding:25px;
}}
