/*
Theme Name: MF Advocacia
Description: Tema criando com exclusividade para Melo Fernandes - Advogacia.
Author: Paulo Simões
Author URI: https://imagemblue.com.br
Version: 1.0
Last Update: 01/08/2024
*/
@charset "UTF-8";

/* Bootstrap core CSS */
@import url('bootstrap.min.css');

/* Inserindo fontes ao projeto */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

@font-face{
	font-family: 'Agatho';
	src: url('fonts/Agatho_Regular.otf') format('otf');
	font-weight: normal;	/*Define se a fonte é normal, negrito, etc. (por exemplo, font-weight: 400 para normal, font-weight: 700 para negrito).*/
	font-style: normal;		/*Indica se a fonte é normal, itálica ou oblíqua.*/
}

@font-face {
    font-family: "Lato";
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
	font-style: normal;
}
  
/* local CSS variables */
:root{
	--color-first:#471b2e;
	--color-second:#ae7b44;
	--color-third:#d4a06c;
	--color-fourth:#e6e6e6;
}

/* ------------------------------------------ */
/*                  DESKTOP                   */
/* ------------------------------------------ */
body, html {
    margin: 0 !important;
    padding: 48px 0 0 0 !important;
    height: 100%;
    scroll-snap-type: y mandatory;
}
  
body {background-color: var(--color-fourth);}

html {
	scroll-behavior: smooth;
}
 
:target {
  scroll-margin-top: 4em;
}

h1, h2, h3, h4, h5 {
	font-family: 'Agatho';
	color: #471b2e; 
}

p {
	font-family: "Lato", sans-serif;
	font-size: 18px;		
	color: #471b2e; 
	text-align: justify;
}

.btn-custom {background-color: var(--color-second); font-family: 'Agatho', sans-serif; color: #ffffff;}
.btn-custom:hover {background-color: var(--color-fourth); color: var(--color-second); font-weight: bold;}

/* MAIN-NAVBAR */
nav {
	background-color: var(--color-first);
	border-bottom-style: solid;
	border-width: 5px;
	border-color: var(--color-second);
}

#main-navbar {
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-size: 16px;	
}	

#main-navbar .nav-item{padding:3px;}
#main-navbar .nav-link, .nav-link:link, .nav-link:visited {color: #ffffff; text-decoration: none; border-radius: 10px;}
#main-navbar .active, .nav-link:hover {color: var(--color-first); background-color: var(--color-third); border-radius: 10px;transition-duration: 0.5s;}
/* end MAIN-NAVBAR */

/* SECTION */
#section1 {
	color: #fff;
	background-color: var(--color-first);
	}
	
#section2 {
	padding-top:100px;
	padding-bottom:50px;
	color: #fff; 
	background-color: var(--color-fourth);
	}
	
#section2 img {width: 80%;}
	
#section3 {padding-top:50px;padding-bottom:50px;color: #fff; background-color: var(--color-second);}
#section4 {padding-top:50px;padding-bottom:50px;color: #fff; background-color: var(--color-third);}
#section5 {padding-top:50px;padding-bottom:50px;color: #fff; background-color: var(--color-third);}
/* end SECTION */

/* EFEITO BANNER */
.banner {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.image-container {
	position: relative;
}

.image-text {
	position: absolute;
	top: 15%;
	left: 10%;
	bottom: 10px; 
	z-index: 1;
	color: white;
	font-size: 45px;
	font-weight: bold;
	
	animation: slideUp 2s ease;
}

.image-text p {
	width: 40%; 
	padding-top: 30px; 
	font-family: "Lato", sans-serif;
	font-size: 18px;		
	font-style: normal;
	color: #FFFFFF; 
	text-align: justify;
}
	
.image-button {
	position: absolute;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	
	opacity: 0; /* Inicia oculto */
	animation: fadeIn 1s ease 1s forwards;
}

@keyframes slideUp {
	0% {
		transform: translateY(100%);
	}
	100% {
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* SUBLINHAR TÍTULOS */
.sublinhado{
	text-decoration: none;
	border-bottom: 2px solid #FFFFFF;
	padding-bottom: 3px;
	line-height: 1.5;
}/* end SUBLINHAR TÍTULOS */

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 40px;
  padding: 6px 12px 9px 12px;
  display: none;
  background: var(--color-second);
  color: #fff;
  font-size: 16px;
  border-radius: 2px;
  transition: background 0.5s;
}

.back-to-top:focus {
  background: var(--color-third);
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: var(--color-fourth);
  color: var(--color-first);
}
/* end BACK TO TOP BUTTON */

/* FALECON */
#falecon .form-group{margin-bottom:25px}
#falecon .form-group input,
#falecon .form-group textarea{padding:20px}
#falecon .form-group input.form-control{height:auto}
#falecon .form-group textarea.form-control{height:248px}
#falecon .form-control:focus{border-color:var(--color-third);-webkit-box-shadow:none;box-shadow:none}
#falecon ::-webkit-input-placeholder{font-weight:700;color:#66697c;font-family: 'Agatho', sans-serif;}
#falecon :-moz-placeholder{font-weight:700;color:#66697c;font-family: 'Agatho', sans-serif;}
#falecon ::-moz-placeholder{font-weight:700;color:#66697c;font-family: 'Agatho', sans-serif;}
#falecon :-ms-input-placeholder{font-weight:700;color:#66697c;font-family: 'Agatho', sans-serif;}

.contact-form  #sendmessage {
  color: #20d90d;
  border: 1px solid #20d90d;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-form #errormessage {
  color: #d90d2c;
  display: none;
  border: 1px solid #d90d2c;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-form #sendmessage.show, .contact-form #errormessage.show, .contact-form .show {
  display: block;
}

.contact-form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

/* end FALECON */

/* FOOTER */
footer {
	padding-top: 30px;
	background-color: var(--color-first);
	border-top-style: solid;
	border-width: 5px;
	border-color: var(--color-second);	
}

footer h1 {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #ffffff;
	text-align: center;
}

footer p {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #ffffff;
	line-height: 10px;
	text-indent: 0;
	text-align: center;
}

footer a {color: #ffffff; text-decoration: none;}
footer a:hover {font-weight: bold; color: #ffffff;}

#copyright {
	padding-top: 10px;
	background-color: #2e0917;
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	color: #ffffff;
}

/* ------------------------------------------ */
/*                  DESKTOP                   */
/* ------------------------------------------ */
@media screen and (min-width: 1024px) {
	
}

/* ------------------------------------------ */
/*                  TABLET                    */
/* ------------------------------------------ */
@media screen and (min-width: 768px) and (max-height: 1023px) {
	
}


/* Estilos específicos para a versão desktop (largura a partir de 767px) */
 @media only screen and (min-width: 767px) {
	.mobile-banner {
		display: none;
	}
 }

/* Estilos específicos para a versão móvel (largura menor que 767px) */
@media only screen and (max-width: 766px) {
	.desktop-banner {
		display: none;
	}
	
	/* MAIN-NAVBAR */
	#main-navbar .nav-item{padding:3px;}
	#main-navbar .nav-link{padding-left: 20px;}
	/* end MAIN-NAVBAR */

	#section1 {
		padding: 0;	
	}
	
	#section2 {
		padding-top: 50px;
		padding-bottom:50px;
		color: #fff; 
		background-color: var(--color-fourth);
	}
		
	#section2 img {
		width: 100%; 
		margin-bottom: 20px;
	}
	
	.image-text {
		top: 20%;
		font-size: 24px;
	}

	.image-text p {
		width: 80%; 
		font-size: 16px;
	}
	
	.image-button {
		top: 60%;
	}
 }			
/* end EFEITO BANNER*/
