/* Fonte Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Fonte Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  /* ===== Cores principais ===== */

  --color-background: #0d1b2a; /* Fundo geral */

  --color-surface: #1b263b; /* Cards, blocos, menus */

  --color-surface-alt: #415a77; /* Secundário, bordas, destaques sutis */

  /* ===== Texto ===== */

  --color-text-primary: #e0e1dd; /* Texto principal */

  --color-text-secondary: #a9b2c3; /* Texto secundário / descrições */

  /*  Destaques */
  --color-primary: #ff9800; /* laranja (menu ativo, gráficos) */

  --color-secondary: #1f6feb; /* azul (gráfico donut) */

  --color-accent: #f44336; /* vermelho (gráfico donut) */

  --color-warning: #ffb300; /* amarelo/laranja claro (gráfico donut) */

  /* ===== Extras (se quiser usar em gráficos ou alertas) ===== */

  --color-success: #00a676; /* Verde sutil para sucesso */

  --color-error: #e63946; /* Vermelho para erros/alertas */

  --color-warning: #f4a261; /* Laranja suave (caso precise) */

  /* ===== Sombras e bordas ===== */

  --color-border: #2c3e50;

  --shadow-default: 0 4px 12px rgba(0, 0, 0, 0.4);
}

:root {
  --grey: #f1f0f6;
  --dark-grey: #8d8d8d;
  --light: #fff;
  --dark: #000;
  --green: #81d43a;
  --light-green: #e3ffcb;
  --blue: #1775f1;
  --light-blue: #d0e4ff;
  --dark-blue: #0c5fcd;
  --red: #fc3b56;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  list-style: none;
  text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
  background-color: var(--blue);
}

header {
  width: 100%;
  padding: 20px 10%;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-background);
  box-shadow: var(--shadow-default);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 32px;
  color: var(--color-text-primary);
  font-weight: 800;
}

.logo .icon {
  width: 50px;
  height: auto;
}

.nav-list {
  display: flex;
}

.nav-list a {
  display: inline-block;
  margin: 0 35px;
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.5s ease;
}

.nav-list a:hover {
  text-shadow: 3px 3px 20px #fff, -2px 1px 30px #fff;
}

.nav-direita {
  display: flex;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 600;
  color: black;
  border-radius: 5px;
  margin-right: 12px;
  transition: all 0.5s ease;
}

.btn:hover {
  background-color: var(--color-background);
  color: wheat;
  box-shadow: 0 0 20px white;
  transform: scale(1.1);
}


/* Responsividade do Navbar */

@media(max-width:1300px) {
  header {
    padding: 20px 4%;
  }
}


@media(max-width:376px) {
  .btn {
    padding: 8px 18px;
  }

  .logo {
    font-size: 22px;
  }
}

/* Estilização do home */

.home {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  
}

.home-text {
  max-width: 37rem;
}

.home-text .text-h4 {
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.home-text .text-h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 4rem;
  color: white;
}

.home-text p {
  margin-bottom: 4rem;
  color: var(--color-text-primary);
}

.home-btn {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--color-background);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  border-radius: 5px;
  margin-right: 12px;
  transition: all 0.5s ease;
}

.home-btn:hover {
  background-color: var(--color-text-primary);
  color: black;
  box-shadow: 0 0 20px white;
  transform: scale(1.1);
}

.home-img img{
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), /* sombra embaixo */
              4px 0px 8px rgba(0, 0, 0, 0.1); /* sombra à direita */
}

/* Responsividade do home */

@media(max-width: 930px){
  .home-img img {
    display: none;
  }

}
@media(max-width:376px) {
  .home-text .text-h1 {
    font-size: 32px;
    line-height: 2rem;
  }

  .home-text .text-h4 {
    font-size: 20px;
  }

  .home-text p {
    font-size: 15px;
  }

  .home-btn {
  padding: 5px 10px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
}
}




/* Estilização do funcionalidades */

.funcionalidades {
  background-color: #f5faff;
  width: 100%;

  margin: 0;
  padding: 10px 20px;
  text-align: center;
}


.funcionalidades h1 {
  font-size: 32px; /* levemente menor */
  color: #007bff;
  margin-bottom: 8px;
}

.subtitulo {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 300px;
  padding: 18px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.card h2 {
  font-size: 20px;
  color: #007bff;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: #555;
}


/* Curva decorativa no fundo */
.curva {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40vh;
  background: #f5faff;
  clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
  z-index: -100;
  max-height: 40vh;
}

.curva-entre {
  width: 100%;
  height: 40vh;
  background: #f5faff;
  clip-path: polygon(0 0%, 100% 0%, 100% 70%, 0% 100%);
  z-index: 1;
    margin-top: -1px; /* remove linha entre seções */
}




/* Estilização do Sobre nós */

.sobre-nos {
  margin-top: 150px;
  background: var(--wth);       
  padding: 60px 20px;        
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;             /* texto e imagem lado a lado */
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;           /* em telas pequenas, quebra linha */
  margin-bottom: 100px;
}

.sobre-texto {
  flex: 1;                   /* ocupa metade da tela */
  min-width: 300px;
}

.sobre-texto h2 {
  font-size: 2rem;
  color: var(--color-text-primary);            /* azul vibrante */
  margin-bottom: 20px;
}

.sobre-texto p {
  font-size: 1rem;
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.sobre-imagem {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.sobre-imagem img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;       /* cantos arredondados */
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  object-fit: cover;
}


/* Estilização do footer */



.btn-fo {
  margin-left: 15px;
  padding: 8px 16px;
  background-color: #fff;
  color: black;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-fo a {
  color: black;
  text-decoration: none;
}

/* Estilos gerais do footer */
.footer {
  background-color: var(--color-background); /* Fundo escuro profissional */
  color: #ecf0f1; /* Texto claro */
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif; /* Fonte padrão; ajuste se necessário */
  margin-top: auto; /* Empurra o footer para o final da página */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px; /* Evita colapso em telas pequenas */
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 15px;
  color: #3498db; /* Destaque em azul */
  font-size: 1.2em;
}

.footer-section p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--color-text-primary); /* Hover em azul */
}

/* Ícones de redes sociais */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

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

.social-icons a:hover {
  color: #3498db;
  transform: scale(1.1); /* Efeito de zoom no hover */
}

/* Formulário de newsletter */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
  font-size: 0.9em;
}

.newsletter-form button {
  padding: 8px 12px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #2980b9;
}

/* Linha inferior do footer */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #34495e;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9em;
}

.footer-bottom a {
  color: #3498db;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 20px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input, .newsletter-form button {
    width: 100%;
  }
}



.saiba-mais button {
  padding: 12px 24px;
  background-color: var(--color-background);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block; 
}

.saiba-mais button:hover {
  background-color: var(--color-text-primary);
  color: black;
  transform: scale(1.05);
}


/* Container do usuário */
/* Container do usuário */
.nav-but {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Botão "Usuário" */
.nav-but .user-btn,
.user-but {
  display: inline-block;
  padding: 14px 35px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 600;
  color: black;
  border-radius: 5px;
  margin-right: 12px;
  transition: all 0.5s ease;
}

/* Hover do botão */
.user-but:hover,
.nav-but .user-btn:hover {
  background-color: var(--light);
  color: black;
  box-shadow: 0 0 20px white;
  transform: scale(1.1);
}

/* Dropdown inicialmente escondido */
.drop-but {
  position: absolute;
  top: 55px; /* AQUI AUMENTEI A DISTÂNCIA DO DROPDOWN */
  right: 0;
  background: white;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  min-width: 250px;
  overflow: hidden;
  z-index: 10; /* garante que aparece acima de outros elementos */
}

/* Itens do dropdown */
.drop-but a {
  display: block;
  padding: 12px 14px;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.drop-but a:hover {
  background: #f0f0f0;
}

/* Mostra o dropdown ao clicar */
.nav-but:focus-within .drop-but {
  display: block;
}

/* Quando clicado, muda o botão */
.nav-but:focus-within .user-btn {
  background: #444;
}


.sair a{
  color: white;
}

.sair {
  background-color: red;
}

.integrantes-container h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-background);
  font-size: 2.5rem;
  color: var(--color-text-primary);
}

.subtitulo1 {
  color: var(--color-text-primary);
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-align: center;
}