.superbar {
	background: var(--azul);
	padding-bottom: 35px;
	padding-top: 15px;
	margin-bottom: -20px;
}

.superbar .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.superbar .right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.superbar .right .search {
	border: 1px #5C4AD5 solid;
	border-radius: 50px;
	position: relative;
	height: 36px;
	width: 46px;
	transition: all .3s;
}

.superbar .right .search input {
	width: 300px;
	height: 36px;
	background: transparent;
	border: 0;
	font-size: 14px;
	padding: 10px 20px;
	font-family: var(--font);
	z-index: 1;
	outline: none;
	color: #fff;
	display: none;
}


.superbar .right .search:hover {
	width: 350px;
}

.superbar .right .search:hover input {
	display: block;
}

.superbar .right .search input::placeholder {
	color: #ffffff69;
}

.superbar .right .search button {
	position: absolute;
	right: 5px;
	top: 0;
	width: 36px;
	height: 36px;
	border: 0;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.superbar .right .search button svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.superbar .right .links {
	display: flex;
	align-items: center;
	gap: 10px;
}
.superbar .right .links a {
	color: #fff;
	font-size: 14px;
	border: 1px #5C4AD5 solid;
	border-radius: 30px;
	padding: 10px 20px;
	text-transform: uppercase;
}

.superbar .right .links a.phone {
	border-color: rgba(255,255,255,0.2);
	display: flex;
	align-items: center;
	gap: 7px;
	text-transform: none;
	letter-spacing: 0;
}

.resources-dropdown {
	position: relative;
}
.resources-dropdown .resources-btn {
	display: block;
}
.resources-dropdown .resources-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	background: var(--azul);
	padding: 8px 0;
	border-radius: 10px;
	list-style: none;
	margin: 0;
	min-width: 180px;
	z-index: 99999;
	box-shadow: 0 8px 30px rgba(0,0,0,0.25);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.resources-dropdown:hover .resources-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.resources-dropdown .resources-menu::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 0;
	width: 100%;
	height: 8px;
}
.resources-dropdown .resources-menu li {
	border-bottom: 1px rgba(255,255,255,0.1) solid;
}
.resources-dropdown .resources-menu li:last-child {
	border-bottom: none;
}
.resources-dropdown .resources-menu li a {
	color: #fff !important;
	font-size: 13px !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 10px 20px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	display: block !important;
	white-space: nowrap;
	transition: background .15s;
}
.resources-dropdown .resources-menu li a:hover {
	background: rgba(255,255,255,0.12) !important;
}

.superbar .right .login {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.superbar .right .login a {
	color: #fff;
}

.superbar .right .login svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}
 
header {
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 9999;
	border-radius: 20px 20px 0 0;
}

header.fixo {
	box-shadow:0 0 10px #00000021;
	position: fixed;
	border-radius: 0;
}

header .barra__topo {
	background: var(--azul);
	padding: 15px 0;
}

header.fixo .barra__topo {
	display: none;
}

header .barra__topo h1 {
	font-size: 14px;
	text-align: center;
	color: #fff;
	font-weight: normal;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header .principal {
	transition: all .3s;
}

header .principal .container {
	display: flex;
	gap: 30px;
	justify-content: space-between;
}

header.fixo .principal {
	padding: 10px 0;
}

header .logo img {
	transition: all .3s;
	width: 130px;
}

header.fixo .logo img {
	width: 80px;
}

header .social {
	display: flex;
	align-items: center;
	gap: 15px;
}

header .search {
	flex: 1;
}

header .right {
	display: flex;
	flex: 1;
	gap: 20px;
	justify-content: flex-end;
}

header .search form {
	position: relative;
	border: 1px #3c3c3c solid;
	padding: 0;
	display: flex;
	align-items: center;
	border-radius: 4px;
	width: 100%;
}

header .search form input {
	width: 100%;
	border: none;
	outline: none;
	padding: 20px;
	font-size: 14px;
	background: transparent;
	flex: 1;
	font-family: var(--font);
	color: #fff;
}

header .search form button {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	padding: 20px;
}

header .search form button svg {
	width: 20px;
	height: 20px;
	fill: #525252;
}

.chama__responsivo {
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px #dedede solid;
	border-radius: 4px;
	cursor: pointer;
}

.chama__responsivo .lines {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.chama__responsivo .lines span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--azul);
	border-radius: 2px;
}

header .menu {
	min-width: 100%;
	padding-left: 50px;
}

header .menu ul.menu li {
	position: relative;
}

header .menu ul.menu > li.menu-item-has-children > a {
	padding-right: 10px;
}

header .menu ul.menu > li.menu-item-has-children > a:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(135deg);
	width: 5px;
	height: 5px;
	border-top: 1px #000 solid;
	border-right: 1px #000 solid;
}

header .menu ul.menu {
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

header .menu ul.menu > li > a {
	text-transform: uppercase;
	color: var(--azul);
	font-size: 16px;
	padding: 40px 0;
	display: block;
}

header.fixo .menu ul.menu > li > a {
	padding: 10px 0;
}

header.fixo .menu ul.menu > li.menu-item-has-children > a {
	padding-right: 10px;
}

/*
 * "Resources" só deve aparecer na barra fixa (sticky), não na barra do topo
 * com o telefone. Como o menu desktop e o mobile usam o mesmo wp_nav_menu
 * (menu__header), a distinção é feita por CSS: no WP Admin (Aparência >
 * Menus), abra o item "Resources", em "Screen Options" ative "CSS Classes"
 * e defina a classe "resources-sticky-only" nesse item. Assim ele fica
 * oculto quando o header ainda não está fixo (topo da página) e some da
 * barra normal, aparecendo só quando .fixo é adicionada no scroll.
 */
header:not(.fixo) .menu ul.menu > li.resources-sticky-only {
	visibility: hidden;
	pointer-events: none;
}

/*
 * "Contact" so deve aparecer no menu mobile (.menu__responsivo), nunca no
 * menu desktop (.menu dentro de <header>) — nem no topo nem no sticky. No
 * WP Admin (Aparencia > Menus), abra o item "Contact", ative "Classes CSS"
 * nas Opcoes de tela e coloque a classe "contact-mobile-only" nesse item.
 */
header .menu ul.menu > li.contact-mobile-only {
	display: none;
}

header .menu li > ul.sub-menu {
	position: absolute;
	background: #fff;
	padding: 15px 0;
	display: none;
	top: 100%;
	left: 0;
	border-radius: 0;
	z-index: 999;
	border-radius: 0 0 10px 10px;
}

header .menu ul.menu li:hover > ul.sub-menu {
	display: block;
}

header .menu li > ul.sub-menu::before,
header .menu li > ul.sub-menu::after {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  background: transparent;
}

/* Lado esquerdo */
header .menu li > ul.sub-menu::before {
  left: -30px;
  border-top-right-radius: 20px;
  box-shadow: 5px -5px 0 5px #ffffff;
}

/* Lado direito */
header .menu li > ul.sub-menu::after {
  right: -30px;
  border-top-left-radius: 20px;
  box-shadow: -5px -5px 0 5px #ffffff;
}

header .menu li > ul.sub-menu li a {
	padding: 10px 20px;
	color: var(--azul);
	font-size: 16px;
	display: block;
	white-space: nowrap;
	text-transform: uppercase;
}


/* Slider */
section.slider {
	background: #000;
	background-size: cover;
	display: flex;
	height: fit-content;
    position: relative;
	border-radius: 20px 20px 0 0;
}

section.slider .item {
    position: relative;
}

section.slider .container {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	position: relative;
	width: 100%;
	overflow: hidden;
    position: relative;
	z-index: 12;
	padding: 150px 0;
}

section.slider a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 15;
	top: 0;
	left: 0;
	z-index: 222;
}

section.slider h2 {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

section.slider p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 660px;
    margin: auto;
    margin-bottom: 30px;
}

section.slider button {
    display: table;
    padding: 15px 40px;
    border: 1px #fff solid;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-family: var(--font);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
}

section.slider .owl-nav {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	min-width: 100%;
	z-index: 10;
}

section.slider .owl-nav button {
	outline: none;
}

section.slider .owl-nav button span {
	display: flex;
	background: var(--azul) !important;
	color: #fff !important;
	font-size: 14px !important;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	text-indent: -9999px;
	position: relative;
}

section.slider .owl-nav button span:hover {
	background: var(--verde) !important;
	color: var(--azul);
}

section.slider .owl-nav button span:before {
	content: '';
	width: 9px;
	height: 9px;
	position: absolute;
	left: 9px;
	top: 10px;
	border-right: 2px #fff solid;
	border-bottom: 2px #fff solid;
	transform: rotate(-45deg);
}

section.slider .owl-nav .owl-prev {
	transform: rotate(180deg);
	margin-left: 20px;
}

section.slider .owl-nav .owl-next {
	margin-right: 20px;
}

@-webkit-keyframes fade_move_down {
	0% {
		-webkit-transform: translate(0, -20px) rotate(-45deg);
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		-webkit-transform: translate(0, 20px) rotate(-45deg);
		opacity: 0;
	}
}

@-moz-keyframes fade_move_down {
	0% {
		-moz-transform: translate(0, -20px) rotate(-45deg);
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		-moz-transform: translate(0, 20px) rotate(-45deg);
		opacity: 0;
	}
}

@keyframes fade_move_down {
	0% {
		transform: translate(0, -20px) rotate(-45deg);
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: translate(0, 20px) rotate(-45deg);
		opacity: 0;
	}
}

section.nav__especialiadades {
	display: flex;
	align-content: center;
	justify-content: center;
	position: relative;
	z-index: 99;
}

section.nav__especialiadades .boxed {
	background: #fff;
	box-shadow: 0 0 50px #00000021;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 30px;
	margin-top: -42px;
}

section.nav__especialiadades a {
	display: flex;
	align-items: center;
	gap: 15px;
	border-right: 1px #dedede solid;
	width: 100%;
	justify-content: center;
	position: relative;
	font-weight: bold;
}

section.nav__especialiadades a:last-child {
	border: 0;
}

section.nav__especialiadades .icone {
	display: flex;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--laranja);
	align-items: center;
	position: relative;
	justify-content: center;
}

section.nav__especialiadades a:hover .icone,
section.nav__especialiadades a.active .icone {
	background: #333;
}

section.nav__especialiadades a:hover .icone:after,
section.nav__especialiadades a.active .icone:after {
	content: '';
	width: 10px;
	height: 10px;
	border: 20px #333 solid;
	display: block;
	position: absolute;
	top: 36px;
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
}

section.nav__especialiadades a img {
	width: 35px;
	height: 35px;
	object-fit: contain;
	position: relative;
	z-index: 10;
}

section.nav__especialiadades a h3 {
	font-size: 18px;
	color: #000;
	font-weight: bold;
}

section.nav__especialiadades a:hover h3 {
	color: var(--laranja);
}

section.nav__especialiadades a h4 {
	font-size: 15px;
	color: #6b6b6b;
	margin-top: 3px;
	font-weight: 500;
}

section.nav__especialiadades a:hover h4 {
	color: var(--laranja);
}

/* Menu Responsivo */
.menu__responsivo {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
	background: #fff;
	height: 100%;
	overflow: auto;
	width: 300px;
	box-shadow: 0 0 30px #00000028;
}

.menu__responsivo .logo {
	margin: 30px;
	text-align: center;
}

.menu__responsivo .logo img {
	max-width: 190px;
}

.menu__responsivo ul {
	border-top: 1px #dedede solid;
}

.menu__responsivo ul li a {
	text-align: center;
	font-weight: bold;
	display: block;
	text-align: center;
	color: #000;
	padding: 15px;
	font-size: 18px;
	border-bottom: 1px #dedede solid;
}

.menu__responsivo ul.sub-menu li a {
	font-size: 13px;
}

.menu__responsivo ul.sub-menu {
	background: #f5f5f5;
}

.menu__responsivo ul li a:hover {
	background: var(--azul);
	color: #fff;
}

.menu__responsivo ul li.orcamento,
.menu__responsivo ul li.whatsapp {
	display: none;
}

.menu__responsivo ul li.menu-item-has-children>a {
	position: relative;
	padding-right: 56px;
}

.menu__responsivo .menu-toggle-sub {
	position: absolute;
	right: 0;
	top: 0;
	width: 52px;
	height: 100%;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.menu__responsivo .menu-toggle-sub::after {
	content: '';
	position: absolute;
	display: block;
	right: 20px;
	top: 50%;
	margin-top: -5px;
	transform: rotate(135deg);
	width: 10px;
	height: 10px;
	border-top: 2px #000 solid;
	border-right: 2px #000 solid;
	transition: transform 0.2s ease;
}

.menu__responsivo ul li.menu-item-has-children > ul.sub-menu {
	display: none;
}

.menu__responsivo ul li.menu-item-has-children.is-open .menu-toggle-sub::after {
	transform: rotate(-45deg);
	margin-top: -2px;
}

.telefone-mobile {
	display: none;
}

.whats-flutuante {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 9999;
	background: #25D366;
	border-radius: 50%;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	transition: transform .2s;
}

.whats-flutuante:hover {
	transform: scale(1.1);
}

.whats-flutuante svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

.whats-flutuante span {
	display: none;
}

/* Redes sociais na superbar */
.superbar .social-header {
	display: flex;
	align-items: center;
	gap: 14px;
}
.superbar .social-header a,
.superbar .social-header a i {
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	transition: opacity .2s ease;
}
.superbar .social-header a:hover i {
	opacity: .7;
}
