
/* ================================= TUDO ================================= */

html {
	height: 100%;
	overflow-y: scroll;
	scroll-behavior: smooth;
}

body {
	font-family: sans-serif;
	min-height: 100%; /* Mantém o footer colado em baixo */
	margin: 0;
	display: flex;
	flex-direction: column;
	background: var(--bg-page);
/* Efeito de transição entre as páginas */
	opacity: 0;
	transition: opacity 0.3s ease;
}

body.loaded {
	opacity: 1;
}
/* Efeito de transição entre as páginas */

/* Mantém o footer colado em baixo */
main {
	flex: 1;
	padding-top: 10px;
	padding-bottom: 10px;
}

footer {
	margin-top: auto;
}

ul {
	list-style: none;
	text-align: center;
}

img {
	width: 100%;
	height: auto;
}

iframe { /* Retira o footer branco */
	display: block;
	border: 0;
	background-color: transparent;
	border-radius: 10px;
}

a {
	text-decoration: none;
}

a,
button,
img {
	user-select: none;
	-webkit-user-drag: none;
}

a:focus-visible {
	outline: 2px solid var(--bg-theme-two);
	outline-offset: 2px;
}

button {
	color: inherit
}

button:focus,
button:active,
button:focus-visible {
	outline: none;
	box-shadow: none;
}

.btn-darkmode {
	background-color: var(--bg-darkmode-btn);
	position: fixed;
	top: 7px;
	right: 7px;
	z-index: 1050;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	/*transition: transform 0.2s ease, background-color 0.2s ease;*/
	border: 1px solid white;
}

.btn-darkmode:hover {
	background-color: var(--btn-bg-darkmode-hover);
	/*transition: scale(1.08);*/
}

/* Evitar flash branco */
.dark-mode body {
  background: #121212;
  color: #fff;
}

/* ========================== BARRA DE NAVEGAÇÃO ========================== */

.navbar-brand {
	margin-left: 16px; /* Mexer aqui caso necessário */
}

.navbar-nav {
	margin: 0 auto;
}

.navbar {
	position: relative;
	z-index: 1030;
}

header .navbar {
	z-index: 1050;
}

/***********************************************/

/* Também afeta o dropdown da segunda coluna */
.dropdown-menu {
	border-radius: 5px;
	overflow: hidden;
	padding: 0;
	text-align: center;

	border: 1px solid #000;
	color: #000;
}

/* Também afeta o dropdown da segunda coluna */
.dropdown-item {
	padding: 8px 12px;
	border-radius: 0;
	user-select: none;
	-webkit-user-drag: none;
	/*transition: background-color 0.15s ease, color 0.15 ease;*/

	color: #000;
}

/* Também afeta o dropdown da segunda coluna */
.dropdown-menu li:first-child .dropdown-item {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

/* Também afeta o dropdown da segunda coluna */
.dropdown-menu li:last-child .dropdown-item {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

/******************************************/

/* Menu Inicio, Serviços... */

.navbar .nav-link {
	color: var(--text-muted);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
	color: var(--text-btn-hover-nav);
}

.navbar .nav-link:active,
.navbar .nav-link.active {
	color: var(--text-btn-active-nav);
}

.nav-link.active {
	pointer-events: none;
	cursor: default;
}

.logo-formatacao,
.logo-formatacao:link,
.logo-formatacao:visited,
.logo-formatacao:hover,
.logo-formatacao:active,
.logo-formatacao:focus {
  color: var(--text-re);
  text-decoration: none;
}

/******************************************/

/* Menu Dropdown Compras */

.navbar .dropdown-item {
	color: var(--text-btn-nav-drop);
	background-color: var(--btn-bg-nav);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
	color: var(--text-btn-hover-nav-drop);
	background-color: var(--btn-bg-hover-nav);
	font-weight: bold;
}

.navbar .dropdown-item:active,
.navbar .dropdown-item.active  {
	color: var(--text-btn-active-nav-drop);
	background-color: var(--btn-bg-active-nav);
}

/***********************************************/

/* Remove a seta de Compras */
.dropdown-toggle::after {
	display: none;
}

.navbar-nav .nav-item.dropdown {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Maneira correta de aplicar o gradient */
.navbar-color {
	background-image: var(--gradient);
	background-color: #2d3436;
}

/* Tira a cor escura ao clicar fora de compras com dropdown aberto */
.navbar .dropdown-toggle.show {
  color: var(--text-btn-hover-nav);
}

/* =========================== CONTATO / SOBRE =========================== */

.contato-links, 
.sobre-links {
	position: relative;
	z-index: 2;
}

.contato-links a,
.sobre-links a {
	text-decoration: none;
}

.contato-links a:hover {
	font-weight: bold;
}

/***********************************************/

.background-cs {
	/*translateX: 50%;*/
	background-color: #fff;
	border-radius: 15px;
	margin-bottom: 10px;
	/*height: 100%;*/ /* Altura teste */
}

.texto-formatado {
	text-align: justify;
}

.espaco-bottom {
	margin-bottom: 10px;
}

.bottom-item {
	padding-bottom: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	margin-bottom: 0 !important;
}

.titulo-item {
	font-weight: bold;
	font-size: 2em;
	/*border: 1px solid #e6e6e6;*/
	border-left: none;
	border-right: none;
	padding: 10px;
	color: var(--text-title);
}

.subtitulo {
 	padding: 5px;
 	font-size: 1.1em;
 	margin: 5px;
 	color: var(--text-subtitle);
}

.texto-item-um {
 	padding: 5px;
 	font-size: 1.1em;
 	margin: 5px;
 	color: var(--text-about);
}

.texto-item-dois {
	padding: 5px;
	font-size: 1.1em;
 	margin: 5px;
 	color: var(--text-about);
}	

/* Contato */
.link-contato {
	margin-top: -10px;
	padding-left: 0;
	text-align: center;
	color: var(--text-link);
}

.link-contato li { /* Para garantir o alinhamento dos links */
	padding-left: 0;
}

.link-contato li a { /* Mais harmonico visualmente */
	display: inline-block;
}

.link-contato li a:hover {
	color: var(--text-link-hover);
}

.link-contato li a:active {
	color: var(--text-link-active);
}

/* Sobre */
.link-color a {
	color: var(--text-link);
}

.link-color a:hover {
	color: var(--text-link-hover);
}

.link-color a:active {
	color: var(--text-link-active);
}

.contato-bg {
  position: relative;
  background-color: #000;
  background: url("../imagens/todo-o-site/lojare-dia.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

body.dark-mode .contato-bg {
  background: url("../imagens/todo-o-site/lojare-noite.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.page-contato .conteudo-central,
body.page-sobre .conteudo-central {
	animation: fadeUp 0.6s ease forwards;
}

.overlay-bg {
	position: absolute;
	inset: 0;
	backdrop-filter: blur(6px) saturate(120%);
	background: rgba(0, 0, 0, 0.25);
	z-index: 1;
	/*transition: backdrop-filter 0.3s ease;*/
}

.conteudo-central {
  background-color: var(--bg-box);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.easter-egg a,
.easter-egg a:hover,
.easter-egg a:active {
	color: var(--easter-egg);
	text-decoration: none;
	cursor: default;
}

.mapa-container {
	/*border: 2px solid #ddd;*/
	display: inline-block;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.mapa-formatacao {
	width: 100%;
	max-width: 360px;
	height: 180px;
}

@keyframes fadeUp {
	from {
		opacity: 0.1;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================================ FOOTER ================================ */

#footer {
	display: grid;
}

.footer-color {
	background: var(--gradient-three);
}

.rodape-formatacao {
	position: relative;
	padding: 5px;
	text-align: center;
	font-size: 1.1em;
	color: var(--text-footer);

	display: flex;
	align-items: center;
	justify-content: center;
}

.rodape-formatacao a {
	text-decoration: none;
}

.rodape-escrita-formatacao {
	margin: 0;
	line-height: 1.4;
	padding: 10px;
}

.link-footer {
	color: var(--link-footer);
}

.link-footer:hover,
.link-footer:active,
.link-footer:focus,
.link-footer:focus-visible {
	color: var(--link-hover);
}

/* ============================== DARK MODE =============================== */

/* ============================== MODO CLARO ============================== */

:root {

	/* ================= BODY ================= */

	--bg-page: #d5e6df;
	--gradient: linear-gradient(
		270deg, 
		#2d3436 68%,
		#6d9887 150%
	);
	--gradient-three: linear-gradient(
		270deg, 
		#2d3436 70%,
		#6d9887 150%
	);

	/* Botão Dark Mode */
	--bg-darkmode-btn: #212529;
	--btn-bg-darkmode-hover: #3a3a3a;

	/* ================ NAVBAR ================ */

	--text-muted: #858585;
	--text-btn-nav: #121212;
  --text-btn-hover-nav: #fff;
  --text-btn-active-nav: #fff;
  --text-re: #f5f7fa;

  --text-btn-nav-drop: #121212;
  --btn-bg-nav: #f5f7fa;
  --text-btn-hover-nav-drop: #f5f7fa;
  --btn-bg-hover-nav: #383e45;
  --text-btn-active-nav-drop: #fff;
  --btn-bg-active-nav: #121212;

  --bg-dropdown: #f5f7fa;

  /* =========== CONTATO / SOBRE =========== */

  --bg-box: #f5f7fa;
  --text-title: #121212;
  --text-subtitle: #121212;
  --text-about: #121212;
  --text-link: #0d6efd;
  --text-link-hover: #0a58ca;
  --text-link-active: #121212;
  --easter-egg: #121212;

  /* ================ FOOTER ================ */

  --text-footer: #f5f7fa;
  --link-footer: #0d6efd;
  --link-hover: #0a58ca;

  /* ================ TESTE ================ */

  --text-white: #fff;
  --text-black: #000;
  --text-red: #f00;
  --text-green: #0f0;
  --text-blue: #00f;
  --text-yellow: #ff0;
  --text-pink: #f0f;
  --text-cyan: #0ff;


}


/* ============================== MODO ESCURO ============================== */


.dark-mode {

  /* ================= BODY ================= */

  --bg-page: #121212;
  --gradient: linear-gradient(
		270deg, 
		#0f2027 68%,
		#5a8f7b 150%
	);
	--gradient-three: linear-gradient(
		270deg, 
		#0f2027 70%,
		#5a8f7b 150%
	);

  /* Botão Dark Mode */
  --bg-darkmode-btn: #f5f7fa;
  --btn-bg-darkmode-hover: #EBE6E6;

  /* ================ NAVBAR ================ */

  --text-muted: #b0b0b0;
  --text-btn-nav: #f5f7fa;
  --text-btn-hover-nav: #f5f7fa;
  --text-btn-active-nav: #f5f7fa;
  --text-re: #f5f7fa;

  --text-btn-nav-drop: #f5f7fa;
  --btn-bg-nav: #212529;
  --text-btn-hover-nav-drop: #121212;
  --btn-bg-hover-nav: #cfd2d4;
  --text-btn-active-nav-drop: #121212;
  --btn-bg-active-nav: #f5f7fa;

  --bg-dropdown: #121212;

  /* =========== CONTATO / SOBRE =========== */

  --bg-box: #121212;
  --text-title: #f5f7fa;
  --text-subtitle: #f5f7fa;
  --text-about: #fff;
  --text-link: #4da3ff;
  --text-link-hover: #7ab8ff;
  --text-link-active: #f5f7fa;
  --easter-egg: #f5f7fa;

  /* ================ FOOTER ================ */

  --text-footer: #e0e0e0;
  --link-footer: #4da3ff;
  --link-hover: #7ab8ff;

  /* ================ TESTE ================ */

  --text-white: #fff;
  --text-black: #000;
  --text-red: #f00;
  --text-green: #0f0;
  --text-blue: #00f;
  --text-yellow: #ff0;
  --text-pink: #f0f;
  --text-cyan: #0ff;

}

/* ============================ MEDIA QUERIES ============================= */

/*********** Extra large devices (large desktops, 1200px and up) ************/

@media (min-width: 1200px) {

	.titulo-tipo {
		font-size: 2.1em;
		margin-bottom: 10px;
		padding: 5px;
	}

	.rodape-formatacao {
		padding: 5px;
		font-size: 1em;
	}

	.logo-formatacao {
		font-size: 1.3em;
	}

	.navegacao-formatacao {
		font-size: 1em;
	}

	.navbar-center {
	    position: absolute;
	    left: 50%;
	    transform: translateX(-50%);
	}

	.nav-text .nav-link {
		font-size: 1.05em;
	}

	.nav-text .dropdown-item {
		font-size: 1.05em;
	}

	.conteudo-central {
    padding: 25px;
  }

	.titulo-item {
  	font-size: 2.3em;
  }

  .subtitulo {
  	font-size: 1.3em;
  }

  .texto-item-um {
  	font-size: 1.3em;
  }

  .texto-item-dois {
  	font-size: 1.3em;
  	padding-bottom: 15px;
  }

  .link-contato {
  	font-size: 1.05em;
  }

}

/****************** Large devices (desktops, 992px and up) ******************/

@media (min-width: 992px) and (max-width: 1199.98px) {

	.titulo-tipo {
		font-size: 1.9em;
		margin-bottom: 10px;
		padding: 5px;
	}

	.rodape-formatacao {
		padding: 5px;
		font-size: 0.95em;
	}

	.logo-formatacao {
		font-size: 1.25em;
	}

	.navegacao-formatacao {
		font-size: 0.95em;
	}

	.navbar-center {
	    position: absolute;
	    left: 50%;
	    transform: translateX(-50%);
	}

	.nav-text .nav-link {
		font-size: 1em;
	}

	.nav-text .dropdown-item {
		font-size: 1em;
	}

	.conteudo-central {
    padding: 20px;
  }

	.titulo-item {
  	font-size: 2em;
  }

  .subtitulo {
  	font-size: 1.15em;
  }

  .texto-item-um {
  	font-size: 1.15em;
  }

  .texto-item-dois {
  	font-size: 1.15em;
  	padding-bottom: 12px;
  }

  .link-contato {
  	font-size: 1em;
  }

  .btn-darkmode {
		top: 7px;
		right: 7px;
		width: 42px;
		height: 42px;
	}

}

/******************* Medium devices (tablets, 768 and up) *******************/

@media (min-width: 768px) and (max-width: 991.98px) {

	.titulo-tipo {
		font-size: 1.7em;
		margin-bottom: 10px;
		padding: 5px;
	}

	.espaco-bottom {
		margin-bottom: 10px;
	}

	.rodape-formatacao {
		padding: 5px;
		font-size: 0.9em;
	}

	.logo-formatacao {
		font-size: 1.2em;
	}

	.navegacao-formatacao {
		font-size: 0.9em;
	}

	.navbar-center {
	    position: absolute;
	    left: 50%;
	    transform: translateX(-50%);
	}

	.nav-text .nav-link {
		font-size: 0.9em;
	}

	.nav-text .dropdown-item {
		font-size: 0.9em;
	}

	.conteudo-central {
    padding: 16px;
  }

	.overlay-bg {
		backdrop-filter: blur(4px) saturate(115%);
	}

	.titulo-item {
  	font-size: 1.6em;
  	padding: 0;
  }

  .subtitulo {
  	font-size: 0.9em;
  }

  .texto-item-um {
  	font-size: 0.9em;
  }

  .texto-item-dois {
  	font-size: 0.9em;
  	margin-bottom: 6px;
  	margin-top: -2px;
  	padding-bottom: 10px;
  }

  .link-contato {
  	font-size: 0.8em;
  }

  .btn-darkmode {
		top: 7px;
		right: 7px;
		width: 41px;
		height: 41px;
	}

}

/************** Small devices (landscape phones, 576px and up) **************/

@media (min-width: 576px) and (max-width: 767.98px) {

	.navbar .dropdown-menu {
		position: static;
		width: 100%;
		margin: 0;
		transform: none;
		text-align: center;
	}

	.titulo-tipo {
		font-size: 1.5em;
		margin-bottom: 10px;
		padding: 5px;
	}

	.rodape-formatacao {
		padding: 5px;
		font-size: 0.85em;
	}

	.logo-formatacao {
		font-size: 1.15em;
	}

	html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  header,
  footer {
    position: relative;
  }

  .conteudo-central {
    padding: 14px;
  }

  .titulo-item {
  	font-size: 1.6em;
  	padding: 0;
  }

  .subtitulo {
  	font-size: 0.9em;
  }

  .texto-item-um {
  	font-size: 0.9em;
  }

  .texto-item-dois {
  	font-size: 0.9em;
  	margin-bottom: 8px;
  	padding-bottom: 10px;
  	margin-top: -5px;
  }

  .link-contato {
  	font-size: 0.8em;
  }

  .btn-darkmode {
		position: static;
		width: 100%;
		border-radius: 8px;
		margin-top: 10px;
	}

}

/********** Extra small devices (portrait phones, less than 576px) **********/

@media (max-width: 575.98px) {

	.navbar .dropdown-menu {
		position: static;
		width: 100%;
		margin: 0;
		transform: none;
		text-align: center;
	}

	.titulo-tipo {
		font-size: 1.5em;
		margin-bottom: 10px;
		padding: 5px;
	}

	.rodape-formatacao {
		padding: 5px;
		font-size: 0.8em;
	}

	.logo-formatacao {
		font-size: 1.15em;
	}

	.celular-centralizado {
		display: grid;
		justify-items: center;
	}

	.overlay-bg {
		backdrop-filter: blur(2px) saturate(110%);
	}

  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  header,
  footer {
    position: relative;
  }

  .conteudo-central {
    padding: 10px;
  }

  .titulo-item {
  	font-size: 1.5em;
  }

  .subtitulo {
  	font-size: 1em;
  	padding-bottom: 5px;
  }

  .texto-item-um {
  	font-size: 1em;
  	padding-bottom: 5px;
  }

  .texto-item-dois {
  	font-size: 1em;
  	margin-bottom: 10px;
  	padding-top: 0;
  	padding-bottom: 10px;
  }

  .link-contato {
  	font-size: 0.9em;
  }

  .btn-darkmode {
		position: static;
		width: 100%;
		border-radius: 8px;
		/*margin-top: 10px;*/
	}

}