:root {
	--primary: #710c5a;
	--primary-dark: #39062d;
	--accent: rgba(188, 207, 3, 1);
	--accent-hover: #dcaad0;
	--text: #666565;
	--light: #f7f7f7;
	--white: #fff;
	--max-width: 940px;
}

html {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: Futura, "Jost", Helvetica, sans-serif;
	font-weight: 300;
	color: var(--text);
}

a {
	text-decoration: none;
	display: inline-block;
	color: inherit;
}

header {
	height: 155px;
	width: 100%;
	background: var(--primary);
	text-align: center;
}

.limitedWidth {
	max-width: var(--max-width);
	margin: auto;
}

header .limitedWidth {
	position: relative;
	height: 100%;
}

header img.logo {
	margin-top: 14px;
	display: inline-block;
	max-height: 127px;
}

#telephonesContainer {
	width: 160px;
	position: absolute;
	display: flex;
	align-items: center;
	height: 100%;
	top: 0;
	right: 0;
	color: var(--white);
	margin-right: 20px;
}

#topTelephones {
	width: 160px;
}

img.telefones {
	float: left;
}

.topLine {
	width: 120px;
	float: left;
	height: 20px;
	text-align: left;
	margin-left: 10px;
	font-size: 15px;
}

.headerAnchor {
	color: var(--white);
}

nav {
	width: 100%;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--light);
}

.navButton {
	width: 175px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #39062d;
	font-size: 12pt;
	font-weight: 400;
	transition: color 0.4s ease 0s;
	cursor: pointer;
}

.navButton:hover {
	color: #dcaad0;
}

.this {
	color: var(--accent) !important;
	transition: none;
}

.border-right {
	border-right: 1px solid rgba(188, 207, 3, 1);
}

#slider {
	width: 100%;
	height: 430px;
	position: relative;
}

.imageSlider {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #eaeaea;
	opacity: 0;
	transition: opacity 3s ease-in-out;
	position: absolute;
	top: 0;
	filter: opacity(0.5);
}

#imagem1 {
	background-image: url("../images/slider/imagem01.jpg");
}

#imagem2 {
	background-image: url("../images/slider/imagem01.jpg");
}

#imagem3 {
	background-image: url("../images/slider/imagem01.jpg");
}

.cycle-pager {
	font-size: 44px;
	text-align: center;
	width: 100%;
	color: rgba(255, 255, 255, 0.6);
	position: absolute;
	bottom: 32px;
	line-height: 12px;
	z-index: 4;
}

.page {
	width: 11px;
	height: 11px;
	margin-right: 5px;
	cursor: pointer;
	user-select: none;
}

.cycle-pager .active {
	color: rgb(149, 82, 133);
}

#overlay {
	width: 100%;
	max-width: var(--max-width);
	height: 100%;
	margin: auto;
}

#textBox {
	width: 340px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 2;
	left: 51px;
}

#mainText {
	width: 100%;
	color: var(--primary);
	font-size: 50px;
	line-height: 50px;
	font-weight: 500;
	font-family: Futura, "Jost", Helvetica, sans-serif;
}

#description {
	color: var(--primary);
	font-size: 16px;
	width: 227px;
	font-weight: 400;
	font-family: Futura, "Jost", Helvetica, sans-serif;
}

#sliderButton {
	height: 40px;
	min-height: 19px;
	width: 207px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background-color 0.4s ease 0s;
	cursor: pointer;
	background-color: var(--accent);
	color: white;
	font-family: Futura, "Jost", Helvetica, sans-serif;
	font-weight: 500;
}

#sliderButton:hover {
	background-color: var(--accent-hover);
}

#secondPresentationContainer {
	width: 100%;
	height: 650px;
	padding-top: 1px;
	background: var(--white);
}

#mainPhrase {
	width: 100%;
	text-align: center;
	margin-top: 98px;
	color: var(--primary);
	font-size: 35px;
	font-weight: 500;
	font-family: Futura, "Jost", Helvetica, sans-serif;
}

#secondPhrase {
	max-width: 450px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	text-align: center;
	color: var(--text);
	font-size: 16px;
	font-family: Futura, "Jost", Helvetica, sans-serif;
}

#cardLine {
	margin: auto;
	width: auto;
	height: auto;
	display: table;
	margin-top: 50px;
}

.card {
	width: 244px;
	height: 242px;
	float: left;
	margin-right: 80px;
	visibility: hidden;
}

.card:last-child {
	margin-right: 0;
}

.icon {
	width: 60px;
	height: 60px;
	margin: auto;
}

.subtitle {
	width: 100%;
	font-family: Futura, "Jost", Helvetica, sans-serif;
	font-size: 22px;
	text-align: center;
	margin-top: 32px;
	color: #b881ac;
	font-weight: 500;
}

.cardDescription {
	width: 100%;
	font-family: Futura, "Jost", Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.4em;
	text-align: center;
	margin-top: 20px;
	color: #666565;
}

.cardButton {
	width: 160px;
	height: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--accent);
	color: white;
	margin: auto;
	margin-top: 25px;
	cursor: pointer;
	transition: background-color 0.4s ease 0s;
	font-family: Futura, "Jost", Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 500;
}

.cardButton:hover {
	background-color: #dcaad0;
}

footer {
	height: auto;
	min-height: 500px;
	background-color: var(--primary-dark);
	position: relative;
	clear: both;
}

#entreEmContato {
	color: #b881ac;
	font-size: 35px;
	font-family: "Jost", Helvetica, sans-serif;
	font-weight: 500;
	position: absolute;
	top: 56px;
	width: var(--max-width);
	text-align: center;
}

#information {
	position: absolute;
	width: 327px;
	height: auto;
	top: 145px;
	color: white;
	margin-left: 33px;
	float: left;
}

.line {
	width: 287px;
	float: right;
	margin-top: 3px;
	color: #fff;
}

.telefone {
	font-size: 16px;
}

.lightFont {
	font-family: "Jost", Helvetica, sans-serif;
	line-height: 1.4em;
	font-size: 15px;
}

.footerAnchor {
	color: #fff;
}

#formContainer {
	width: 475px;
	height: auto;
	float: right;
	top: 145px;
	position: relative;
	margin-right: 33px;
}

input,
textarea {
	background-color: rgba(255, 255, 255, 1);
	font-family: "Jost", Helvetica, sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 0;
	color: #000;
	margin: 0 0 5px 0;
	padding: 7px;
	font-size: 16px;
	box-sizing: border-box;
	border-radius: 5px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

input {
	width: 232px;
}

textarea {
	width: 235px;
	height: 106px;
	float: right;
	padding: 5px;
	margin-left: 5px;
	resize: none;
	line-height: 1.4em;
}

#solicitarConsulta {
	color: #fff;
	cursor: pointer;
	background-color: rgba(184, 129, 172, 1);
	font-size: 16px;
	font-family: "Jost", Helvetica, sans-serif;
	font-weight: 500;
	padding: 7px;
	margin-top: 5px;
	border-radius: 5px;
	float: right;
	user-select: none;
}

#sobreContainer,
#tratamentosContainer {
	width: 100%;
	min-height: 500px;
	padding: 70px 0;
	background: var(--white);
}

.title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.titleImage {
	width: 60px;
	height: 60px;
}

.titleText {
	font-size: 34px;
	color: var(--primary);
	font-family: "Jost", Helvetica, sans-serif;
	font-weight: 500;

}

#sobreContainer .containerRight {
	font-size: 16px;
	color: var(--text);
	line-height: 1.4;
	max-width: 760px;
	margin-left: 76px;
	text-align: justify;
}

#tratamentosContainer #title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 60px;
}

#titleImage {
	width: 55px;
	height: 55px;
}

#titleText {
	font-size: 40px;
	font-family: "Jost", Helvetica, sans-serif;
	font-weight: 500;
	color: var(--primary);
}

.containerLeft {
	width: 340px;
	float: left;
	margin-bottom: 70px;
}

.containerLeft img {
	width: 340px;
	height: 230px;
	object-fit: cover;
	border-radius: 3px;
	background: linear-gradient(135deg, #ffffff, #e6e6e6);
}

#tratamentosContainer .containerRight {
	width: 540px;
	float: right;
	margin-bottom: 70px;
	position: relative;
	margin-left: 0;
	max-width: none;
	min-height: 70px;
}

#tratamentosContainer .rightPlusMargin {
	margin-top: 22px;
}

.containerLeft .subtitle {
	text-align: left;
	margin-top: 0;
	margin-bottom: 12px;
}

.subsubtitle {
	font-size: 13px;
	color: #b881ac;
	font-weight: 400;
}

.vertical {
	width: 1px;
	height: 100%;
	background: rgba(188, 207, 3, 0.45);
	position: absolute;
	left: 0;
	top: 0;
}

.horizontal {
	height: 1px;
	width: 100%;
	background: rgba(188, 207, 3, 0.45);
	margin-bottom: 12px;
}

.text {
	padding-left: 24px;
	padding-right: 10px;
	height: auto;
	max-height: 32px;
	overflow: hidden;
	transition: max-height 0.35s ease;
	font-size: 16px;
	line-height: 1.6;
}

.buttonExpand {
	padding-left: 24px;
	margin-top: 12px;
	color: var(--primary);
	font-weight: 500;
	cursor: pointer;
	user-select: none;
}

.continue {
	display: block;
	height: 10px;
}

.flip-right {
	animation: flipRight 1 1s ease-out;
	opacity: 1 !important;
}

@keyframes flipRight {
	0% {
		transform: translateX(100px);
		opacity: 0;
	}

	70% {
		transform: translateX(0);
		opacity: 1;
	}
}

.flip-left-bounce {
	animation: flipLeftBounce 1s ease-in-out;
}

@keyframes flipLeftBounce {
	0% {
		opacity: 0;
		transform: rotateY(70deg);
	}

	100% {
		transform: rotateY(0);
	}
}

.stretchRight {
	animation-name: stretchRight;
	animation-duration: 0.5s;
	animation-timing-function: ease-out;
	transform-origin: 0% 0%;
}

@keyframes stretchRight {
	0% {
		transform: scaleX(0.3);
	}

	100% {
		transform: scaleX(1);
	}
}

.stretchTop {
	animation-name: stretchTop;
	animation-duration: 1s;
	animation-timing-function: ease-out;
	transform-origin: 0% 0%;
}

@keyframes stretchTop {
	0% {
		transform: scaleY(0);
	}

	100% {
		transform: scaleY(1);
	}
}

.stretchRightHorizontal {
	animation-name: stretchRightHorizontal;
	animation-duration: 1s;
	animation-timing-function: ease-out;
	transform-origin: 0% 0%;
}

@keyframes stretchRightHorizontal {
	0% {
		transform: scaleX(0);
	}

	100% {
		transform: scaleX(1);
	}
}
@media only screen and (max-width: 980px) {
	:root {
		--max-width: 100%;
	}

	body {
		overflow-x: hidden;
	}

	.limitedWidth {
		padding: 0 20px;
		box-sizing: border-box;
	}

	/* Header */
	header {
		height: auto;
		padding-bottom: 20px;
	}

	header img.logo {
		display: block;
		margin: 14px auto;
		max-width: 80%;
		height: auto;
	}

	#telephonesContainer {
		position: relative;
		width: 100%;
		justify-content: center;
		margin-right: 0;
		height: auto;
		margin-top: 10px;
	}

	#topTelephones {
		width: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.topLine {
		float: none;
		text-align: center;
		margin-left: 0;
		width: auto;
	}

	img.telefones {
		float: none;
		margin-bottom: 5px;
	}

	/* Nav */
	nav {
		height: auto;
		flex-wrap: wrap;
		padding: 10px 0;
	}

	.navButton {
		width: 50%; /* 2 per row */
		height: 40px;
		box-sizing: border-box;
	}

	.border-right {
		border-right: none;
	}

	/* Slider */
	#slider {
		height: 400px;
	}

	#textBox {
		width: 100%;
		left: 0;
		text-align: center;
		padding: 0 20px;
		box-sizing: border-box;
	}
	
	#textBox > div {
		width: 100%;
	}

	#mainText {
		font-size: 36px;
		line-height: 1.2;
	}

	#description {
		width: 100%;
		margin: auto;
	}

	#sliderButton {
		margin: 20px auto 0;
	}

	/* Second Presentation / Cards */
	#secondPresentationContainer {
		height: auto;
		padding-bottom: 50px;
	}

	#mainPhrase {
		font-size: 28px;
		padding: 0 20px;
		box-sizing: border-box;
	}

	#secondPhrase {
		padding: 0 20px;
		box-sizing: border-box;
	}

	#cardLine {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.card {
		float: none;
		margin-right: 0;
		margin-bottom: 40px;
	}
	
	.card:last-child {
		margin-bottom: 0;
	}

	/* Sobre & Tratamentos Containers */
	#sobreContainer, #tratamentosContainer {
		padding: 40px 0;
	}

	#sobreContainer .containerRight {
		margin-left: 0;
		text-align: left;
	}

	/* Tratamentos Specifics */
	.containerLeft {
		float: none;
		width: 100%;
		margin-bottom: 20px;
		text-align: center;
	}

	.containerLeft img {
		width: 100%;
		max-width: 340px;
		height: auto;
	}
	
	.containerLeft .subtitle {
		text-align: center;
	}

	#tratamentosContainer .containerRight {
		float: none;
		width: 100%;
		margin-bottom: 60px;
		padding-left: 15px; /* Visual alignment for vertical line */
		box-sizing: border-box;
	}

	.vertical {
		left: 15px; /* Adjust line position */
	}

	/* Footer */
	footer {
		height: auto;
		padding-bottom: 40px;
	}

	#entreEmContato {
		position: relative;
		top: 0;
		margin-top: 50px;
		margin-bottom: 40px;
		width: 100%;
		font-size: 28px;
		padding: 0 20px;
		box-sizing: border-box;
	}

	#information {
		position: relative;
		top: 0;
		width: 100%;
		margin-left: 0;
		float: none;
		text-align: center;
		margin-bottom: 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.line {
		float: none;
		width: auto;
		text-align: center;
	}

	#formContainer {
		width: 100%;
		float: none;
		top: 0;
		margin-right: 0;
		padding: 0 20px;
		box-sizing: border-box;
	}

	input, textarea {
		width: 100%;
	}
	
	textarea {
		margin-left: 0;
		float: none;
		margin-bottom: 10px;
	}
	
	#solicitarConsulta {
		float: none;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}
