* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: 1fr;
grid-template-areas: 
"header"
"main"
"footer";
min-height: 100vh;
background: linear-gradient(to right, #a8edea, #fed6e3);
color: #111;
line-height: 1.6;
}

header {
  grid-area: header;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff; /* importante para cobrir o fundo */
}
/* nav index */
nav {
  left: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
}
/*logo */
nav .logo {
display: flex;
align-items: center;
gap: 1em;
padding: 1em;
font-size: 22px;
font-weight:bolder;
color: #333;
}
/*logo imageem */
nav .logo img {
height: 60px;
width: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  padding-right: 1em ;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #0077ff;
}

main {
    grid-area: main;
}
/* header */
.InicioEmcima {
    justify-content: center;
    display: flex;

    /* Imagem de fundo */
  background: url("https://i.pinimg.com/1200x/16/35/b3/1635b3beb79ab9d5d4d65ced032505f7.jpg") no-repeat center center;
  background-size: cover; /* faz preencher a tela */
  background-attachment: fixed; /* deixa a imagem fixa ao rolar */

  position: relative;
  min-height: 90vh;
  min-width: auto;

  /* camada escura */
  background-color: rgba(0, 0, 0, 0.7); /* 0.5 = 50% opacidade */
  background-blend-mode: darken; /* mistura a cor com a imagem */
}

/*texto main */
.valores {
    text-align: center;
    margin-top: 10%;
    text-align: center;
    margin-top: 10%;
    color: #fff; /* deixa legível */
    z-index: 1;
    position: relative;
}

.valores h2  {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif ;
    font-size: medium;
}

.valores h1 {
    font-size: 5em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.valores p {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: large;
}

/*inicio embaixo main */

/* embaixo-index */
.InicioEmbaixo {
  display: flex;
  justify-content: center; /* centraliza */
  align-items: center;
  gap: 8em;
  padding: 8%; /* centraliza eixo Y */
}

/*formato de imagem embaixo */

.InicioEmbaixo img {
  width: 35em;   /* largura fixa */
  height: auto; /* mesma altura */
  object-fit: cover; /* corta proporcionalmente */
}

.InicioEmbaixo h1 {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-align: left;
  margin-bottom: 0.5em ; 
  font-size: 4em; 
}

.quemSomos p {
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

.slogan {
    display: flex;
    text-align: center;
    justify-content: center;
}

.slogan h1 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.2em;
    margin-bottom: 2em;
}
footer {
    grid-area: footer;
}

footer p {
  margin-right: 15px;
  color: #333;
  text-decoration: none;
}
.programador {
  font-style: italic;
  text-align: end;
  padding-right: 1em;
  text-decoration: none;
}
