:root {
  --cor-fundo: #74885C;
  --max-largura: 1920px;
  --gap-menu: 30px;
  --altura-header: 700px;
  --bg-badge: rgba(255,255,255,0.3);
  --font-base: 1rem;
}
html, body {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  font-family: Georgia, serif;
  font-size: var(--font-base);
  
}

.cgrande {
  position: relative;
  height: 600px;               
  background-color: var(--cor-fundo);
  background-image: url("../imagens/html/fundocabeca.webp"); 
  background-repeat: no-repeat;
  background-position: center -750px; 
  background-size: auto;           
  overflow: hidden;                
}

nav.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-menu);
  margin: 0 auto 0 auto;
  padding-top: 40px;
  z-index: 5;
}

nav.menu a {
  z-index: 5;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 24px;  
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    to bottom,
    #7a8c5f,  
    #6a7c4f   
  );
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),   
    0 1px 2px rgba(0,0,0,0.05);  
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.2);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  transition: 
    transform 0.1s ease-in-out,
    box-shadow 0.2s ease-in-out
    background 0.2s ease-in-out;
}
nav.menu a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.2);
}
nav.menu a:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(0,0,0,0.2);
}


nav.fboo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-menu);
  margin: 50px auto 0 auto;
  z-index: 5;
  padding-right: 200px;


}
nav.fboo a {
  z-index: 5;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 24px;  
  text-transform: uppercase;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    to bottom,
    #7a8c5f,  
    #6a7c4f   
  );
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),   
    0 1px 2px rgba(0,0,0,0.05);  
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.2);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  transition: 
    transform 0.1s ease-in-out,
    box-shadow 0.2s ease-in-out
    background 0.2s ease-in-out;
}

nav.fboo a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.2);
}
nav.fboo a:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(0,0,0,0.2);
}


nav.busca {
 display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-menu);
  margin: 0 auto 0 auto;
  padding-top: 80px;
  z-index: 5;
}

.busca{
padding-left: 20px;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--cor-fundo);
  border-radius: 50px;
  padding: 0 10px;
  min-height: 44px;
  width: 290px;        /* Ajuste conforme desejar */
  box-sizing: border-box;
  cursor: text;        /* Mostra que pode clicar para digitar */
  position: relative;
}
.search-form__input {
   flex: 1 1 auto;      /* Ocupa todo espaço */
  border: none;
  background: transparent;
  outline: none;
  color: #fff;
  font-size: 1rem;
  height: 40px;
  padding: 0 10px;
  margin-left: 5px;
  z-index: 2;          /* Fica acima do botão visualmente */
  background: var(--cor-fundo) !important; /* força a cor do fundo */
  color: #fff;
}

.search-form__input:-webkit-autofill,
.search-form__input:-webkit-autofill:focus,
.search-form__input:-webkit-autofill:hover,
.search-form__input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--cor-fundo) inset !important;
  box-shadow: 0 0 0 1000px var(--cor-fundo) inset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  border: none;
  transition: background-color 5000s ease-in-out 0s;
}


.search-form__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.search-form__input::placeholder {
  color: #fff;
  opacity: 1;
}

.search-form__input:focus {
  background: var(--cor-fundo) !important;
}
.cadastro {
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 24px;  
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    to bottom,
    #7a8c5f,  
    #6a7c4f   
  );
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),   
    0 1px 2px rgba(0,0,0,0.05);  
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.2);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  transition: 
    transform 0.1s ease-in-out,
    box-shadow 0.2s ease-in-out
    background 0.2s ease-in-out;
}

.cadastro:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.2);
}
.cadastro:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(0,0,0,0.2);
}


.fotoelogo{
  z-index: 1;
  display: flex;               
  flex-wrap: nowrap;             
  justify-content: center;     
  align-items: center;         
  gap: -10px;                   
  margin: -150px auto 0 auto;           
}

.logo img{
  width: 400px;  
  margin: 250px auto 0 auto; 
  padding-right: 200px;
}

.foto img{
    width: 400px;   
    margin: 80px auto 0 auto;    
    padding-left: 80px;

}

.cslim {
  width: 100vw;
  min-width: 100%;
  display: none;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
}

.fundocslim {
  width: 100vw;
  background-color: var(--cor-fundo);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110px; 
}

.slimcontent {
  display: flex;
  align-items: center;
  gap: 30px; 
}

.logoslim {
  height: 90px; 
  width: auto;
  display: block;
}

.logogfslim {
  height: 90px; /* ajuste como preferir */
  width: auto;
  display: block;
}

.menuslim {
  
  align-items: center;
  gap: 30px;
  display: none; /* Começa sempre escondido */
}

.menuslim a {
  z-index: 5;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 24px;  
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    to bottom,
    #7a8c5f,  
    #6a7c4f   
  );
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.2);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  transition: 
    transform 0.1s ease-in-out,
    box-shadow 0.2s ease-in-out,
    background 0.2s ease-in-out;
}

.menuslim a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.15),
    inset 0 2px 4px rgba(255,255,255,0.2);
}
.menuslim a:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(0,0,0,0.2);
}

.search-formslim {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 0 10px;
  min-height: 44px;
  width: 290px;        
  box-sizing: border-box;
  cursor: text;       
  position: relative;
 
}


.search-form__inputslim {
   flex: 1 1 auto;      
  border: none;
  background: transparent;
  outline: none;
  color: #fff;
  font-size: 1rem;
  height: 40px;
  padding: 0 10px;
  margin-left: 5px;
  z-index: 2;          
  background: var(--cor-fundo) !important; /* força a cor do fundo */
  color: #fff;
    background: linear-gradient(
    to bottom,
    #7a8c5f,  
    #6a7c4f   
  );
  box-shadow:
    0 4px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.2);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  transition: 
    transform 0.1s ease-in-out,
    box-shadow 0.2s ease-in-out,
    background 0.2s ease-in-out;
}

.search-form__inputslim:-webkit-autofill,
.search-form__inputslim:-webkit-autofill:focus,
.search-form__inputslim:-webkit-autofill:hover,
.search-form__inputslim:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--cor-fundo) inset !important;
  box-shadow: 0 0 0 1000px var(--cor-fundo) inset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  border: none;
  transition: background-color 5000s ease-in-out 0s;
}


.search-form__btnslim {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.search-form__inputslim::placeholder {
  color: #fff;
  opacity: 1;
}

.search-form__inputslim:focus {
  background: var(--cor-fundo) !important;
}


.menu-toggle {
  background: none;
  border: none;
  
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: 20px;
  z-index: 11000;
  display: flex;
}

.menu-toggle .hamburguer {
  display: block;
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 4px 0;
}

.menuslim.open {
  display: flex; /* Exibe o menu quando está aberto */
  flex-direction: column;
  position: absolute;
  top: 100px; /* Ajuste para logo abaixo do slim */
  right: 0;
  width: 260px;
  background: none;
  padding: 14px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  z-index: 9999;
  border-radius: 8px;
  align-items: center;
}

.menu-toggle-mobile,
.menu-mobile {
  display: none;
}