/* ====================================
   1. RESET & BASE
==================================== */
@font-face {
    font-family: 'Skrapbook';
    src: url('../fonts/Skrapbook.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: gothamRoundedMedium;
    src: url('../fonts/gothamrnd_medium.otf') format("opentype");
}
@font-face {
    font-family: gothamRoundedBold;
    src: url('../fonts/gothamrnd_bold.otf') format("opentype");
}
@font-face {
    font-family: gothamRoundedLight;
    src: url('../fonts/gothamrnd_book.otf') format("opentype");
}
@font-face {
    font-family: Volkswagen-Heavy;
    src: url('../fonts/Volkswagen-Heavy.otf') format("opentype");
}
@font-face {
    font-family: Skrapbook;
    src: url('../fonts/Skrapbook.woff2') format('woff2'),
         url('../fonts/Skrapbook.woff') format('woff'),
         url('../fonts/Skrapbook.ttf') format('truetype');
    /* Outras propriedades como font-weight e font-style */
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #f4f3f8;
  color: #333;
}
/*
a {
  text-decoration: none;
  color: inherit;
}
*/
.main-content {
  flex: 1;
}
/* ====================================
   2. HEADER
==================================== */
header {
  background-color: #ffffff;
  color: #333;
  padding: 4px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #c5e9f2;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.logo img {
  display: block;
  height: 53px;
  width: auto;
}
.bloco-drop-burger {
  display: flex;
}
/* BOTÕES PÍLULA */
.header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 0px; /* reduz a roubada */
}
.pill-button-link {
  display: block;
  line-height: 0;
}
.pill-button-img {
  display: block;
  width: 199px; /* 95% de 210px */
  height: 61px; /* 95% de 65px */
}
.pill-button-link.is-active .pill-button-img {
  cursor: default;
}
/* HAMBÚRGUER */
#menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.navbar-toggler-icon {
  width: calc(48px*0.9);
  height: calc(50px*0.9);
  background: no-repeat center center;
  background-size: contain;
  background-image: url('../img/hamburger-menu-reto.svg');
  filter: brightness(0);
}
/* ====================================
   3. SUB-NAVBAR
==================================== */
.sub-navbar {
  background-color: #ffffff;
  padding: 5px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  /*position: relative; /* CRUCIAL: Precisa de position para aceitar z-index */
  z-index: 5;
}
.sub-navbar ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 25px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 800px;
	
}
.sub-navbar a {
  color: #555;
  font-weight: 500;
  padding: 5px 0 0 0;
  display: block;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
	text-decoration: none;
}
.sub-navbar a:hover, .sub-navbar a.is-active {
  color: #333;
  border-bottom-color: #e67e22;
}
/* ====================================
   4. OFFCANVAS
==================================== */
#offcanvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: #ffffff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
  padding-top: 20px;
  overflow-y: auto; /* <-- melhora real */
}
.offcanvas-links {
  padding: 0 20px;
}
.offcanvas-links .pill-button-link {
  margin-bottom: 10px;
}
.offcanvas-links hr {
  border: 0;
  border-top: 1px solid #c5e9f2;
  margin: 20px 0;
}
#offcanvas-menu.is-open {
  transform: translateX(0);
}
#offcanvas-menu nav a {
  display: block;
  padding: 10px 0;
  color: #333;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
/* hover só no desktop */
@media (hover: hover) {
  #offcanvas-menu nav a:hover {
    color: #e67e22;
    border-bottom-color: #e67e22;
  }
}
#offcanvas-menu nav a.is-active {
  font-weight: bold;
  color: #e67e22;
  border-bottom-color: #e67e22;
}
.lang-spacer {
  width: 150px;
}
/* ====================================
   5. RESPONSIVIDADE
==================================== */
@media (min-width: 741px) {
  body {
    padding-top: 66px;
  }
}
@media (max-width : 1360px ){
  .header-buttons {
    margin-right: 20px;
	  gap: 1px;
  }
}

@media (max-width: 800px) {
  header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 3px 15px;
  }
  body {
    padding-top: 55px;
  }
  .sub-navbar {
    display: none;
  }
  .logo img {
    height: 40px;
  }
  .header-buttons {
    margin-right: 0;
	  gap: 1px;
  }
  .pill-button-img {
    width: 147px;
    height: 45px;
  }
  .navbar-toggler-icon {
    width: calc(48px*0.8);
    height: calc(50px*0.8);
  }
}

@media (max-width: 620px) {
 .pill-button-img {
    width: calc(147px*0.8);
    height: calc(45px*0.8);
  }
  .navbar-toggler-icon {
    width: calc(48px*0.8);
    height: calc(50px*0.8);
  }
	.lang-spacer {
  width: 0px;
}
	.sub-navbar{
		display: none;
	}
}
@media (max-width: 560px) {
  .header-buttons {
    display: none;
  }
}
/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}
#overlay.is-visible {
  display: block;
}
/* =================================================================
   ESTILOS GERAIS DO RODAPÉ (FOOTER)
   ================================================================= */
/* Container Principal do Rodapé (Substitui .footer-top.bg-light) */
.footer-main {
  /* Cor de fundo e texto do seu CSS original */
  background-color: #7fa936;
  color: #fff;
  padding: 40px 0; /* Padding vertical do seu CSS original */
  margin-top: 1rem; /* Margem superior do seu CSS original */
}
/* Container de Largura (Substitui .container e max-width: 1200px) */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Padding horizontal */
  box-sizing: border-box;
  font-family: gothamRoundedMedium, sans-serif;
}
/* Layout da Grid (Substitui .row e .col-md-4) */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  /* CORREÇÃO AQUI: Alinha todos os itens no topo do container */
  align-items: flex-start;
}
.footer-col {
  /* Em desktop, ocupa aproximadamente 1/3 da largura */
  flex: 1 1 230px; /* flex-grow: 1, flex-shrink: 1, base width: 300px */
  padding: 0 15px; /* Padding lateral, similar ao px-4 do Bootstrap */
  min-width: 150px; /* Garante que a coluna não fique muito estreita */
}
/* Estilos de Tipografia */
.footer-logo {
  max-width: 154px;
  height: auto;
}
.footer-description {
  line-height: 1.5;
  margin-top: 8px; /* mt-2 Bootstrap */
  margin-bottom: 0;
}
.footer-heading {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.footer-text {
  line-height: 1.5;
  margin-bottom: 0;
}

/* Estilos de Links (do seu CSS original) */
.footer-link, .footer-social-link {
  color: white;
  text-decoration: none;
	line-height: 50px;
	
  padding: 6px 6px;
  padding-right: 12px;
  border-radius: 8px;
  transition: background-color 0.18s ease;
	background-color: rgba(0, 0, 0, 0.05);
}
.footer-link:hover, .footer-social-link:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  margin-top: 5px; /* Pequeno ajuste de espaço se necessário */
}
.footer-social-icon {
  width: 64px;
  height: 64px;
  margin-right: 8px;
}
.footer-social-info {
  margin-top: 8px;
  max-width: 250px;
}
/* =================================================================
   SEÇÃO SEPARADORA E COPYRIGHT
   ================================================================= */
/* Seção Separadora (Substitui .footer-line e .container-fluid) */
.footer-separator {
  background-color: #7fa936;
  padding: 0;
}
.footer-line {
  width: 100%;
  border: none; /* Remove a borda padrão do hr */
  border-top: 1px solid #fff; /* Linha branca */
  margin: 0;
}
/* Rodapé Inferior (Copyright) (Substitui .footer-bottom.bg-light) */
.footer-bottom {
  background-color: #7fa936;
  padding: 20px 0;
  text-align: center;
}
.footer-copyright {
  color: #fff; /* Substitui .text-muted */
  margin: 0;
  font-family: gothamRoundedMedium, sans-serif;
}
/* CORREÇÃO: Remove margem superior de elementos que começam as colunas */
.footer-col > *:first-child {
  margin-top: 0 !important;
}
/* Garante que o heading também não tenha margem inferior excessiva, se precisar */
.footer-heading {
  /* Mantenha o que já estava: font-size: 1.3rem; font-weight: bold; */
  margin-bottom: 10px; /* Margem inferior para separar do texto */
}


/* ==============================
   DROPDOWN DE IDIOMA (CEREJAS)
   ============================== */
.lang-dropdown {
  position: relative;
  margin-right: 12px; /* distância do hambúrguer */
}
.lang-selected {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.lang-selected {
  display: flex;
  align-items: center;
  gap: 6px; /* espaço entre itens */
  cursor: pointer;
  padding: 6px 10px;
}
.lang-selected img {
  width: 34px;
  height: 34px;
  display: block;
  padding-right: 3px;
}
.lang-selected img {
  display: inline-block;
}
/* Caixa aberta */
.lang-options {
  position: absolute;
  top: 40px;
  left: 0;
  background: #fff;
  border: 1px solid #c5e9f2;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  min-width: 140px;
  padding: 6px 0;
  z-index: 3000;
}
.lang-selected span {
  color: #444;
  font-size: 15px;
}
.lang-dropdown:hover .lang-options {
  display: flex;
}
/* Itens */
.lang-options a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #444;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.18s;
}
.lang-options a img {
  width: 26px;
  height: 26px;
}
.lang-options a:hover {
  background: #f1f8ff;
}



/* =================================================================
   AJUSTES RESPONSIVOS
   ================================================================= */
@media (max-width: 850px) {
	
	.lang-dropdown {
    margin-right: 0px;
  }
  .lang-selected {
    padding: 6px 2px;
  }
  .lang-selected span {
    color: #444;
    font-size: 13px;
  }
	
	
	.lang-selected {

  gap: 1px; /* espaço entre itens */
  cursor: pointer;
  padding: 6px 1px;
}
	
}

@media (max-width: 768px) {
  .footer-col {
    /* Em desktop, ocupa aproximadamente 1/3 da largura */
    flex: 1 1 auto; /* flex-grow: 1, flex-shrink: 1, base width: 300px */
    padding: 0 15px; /* Padding lateral, similar ao px-4 do Bootstrap */
    min-width: 250px; /* Garante que a coluna não fique muito estreita */
  }
  .footer-main {
    padding: 25px 0; /* reduzido do 40px */
  }
  .footer-grid {
    flex-direction: column;
    gap: 0; /* gerenciado manualmente */
  }
  .footer-col {
    padding: 0 10px;
    margin-bottom: 48px; /* reduzido do 50px */
  }
  .footer-col:last-child {
    margin-bottom: 0;
  }
  .footer-logo {
    max-width: 130px; /* reduz para caber melhor */
  }
  .footer-description {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-top: 6px;
  }
  .footer-heading {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }
  .footer-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .footer-social-icon {
    width: 48px; /* reduzido */
    height: 48px; /* reduzido */
    margin-right: 6px;
  }
  .footer-social-info {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-top: 4px;
    max-width: 220px;
  }
  .footer-link, .footer-social-link {
    padding: 4px 6px;
  }
  .footer-bottom {
    padding: 15px 0; /* reduzido */
  }
  .footer-separator {
    margin-top: -10px; /* aproxima o copyright */
  }
  .footer-line {
    border-top: 1px solid rgba(255, 255, 255, 0.7);
  }
  .footer-container {
    padding: 0 12px;
  }
  
}

/* MOBILE */
@media (max-width: 800px) {
  .lang-dropdown {
    margin-right: 6px;
  }
  .lang-selected img {
    width: 30px;
    height: 30px;
  }
  .lang-options {
    top: 34px;
  }
  .lang-selected {
    gap: 1px; /* espaço entre itens */
  }
}
/* seta apontando para baixo */
.lang-selected .lang-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666; /* cor da seta */
  margin-left: 6px;
  transition: transform 0.2s ease;
}
/* anima a seta quando o menu abre */
.lang-dropdown:hover .lang-arrow {
  transform: rotate(180deg);
}

@media (max-width: 520px) {
  /* quando esconder os pill-buttons, o dropdown continua! */
  .lang-dropdown {
    margin-right: 0px;
  }
  .lang-selected {
    padding: 6px 2px;
  }
  .lang-selected span {
    color: #444;
    font-size: 13px;
  }
	
}
