/* Um unico arquivo css para ser o navegador carregar mais rapido */

/* GLOBAL STYLES */
:root {
	--cor-branco: #ffffff;
	--cor-verde: #1abc9c;
	--cor-verde-escuro: #1a937d;
	--cor-laranja: #ffab38;
	--cor-texto-nav: #6c6c6c;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	outline: none;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", sans-serif;
	overflow-x: hidden;
}

p {
	text-align: justify;
}

#loader-global {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--cor-branco);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

.spinner {
	width: 60px;
	height: 60px;
	border: 6px solid #f3f3f3;
	border-top: 6px solid var(--cor-verde);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

main,
footer {
	opacity: 0;
	transition: opacity 0.5s ease;
}

body.data-loaded main,
body.data-loaded footer {
	opacity: 1;
}

/* SEÇÃO INICIO */
.main-header {
	width: 100%;
	padding: 1rem 20px 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	display: flex;
	justify-content: center;
	position: fixed;
}

.main-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1691px;
	height: 3.6rem;
	background-color: var(--cor-branco);
	border-radius: 60px;
	padding: 0 15px;
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.main-nav li {
	flex: 1;
	display: flex;
	justify-content: center;
}

.main-nav a {
	text-decoration: none;
	color: var(--cor-verde);
	text-align: center;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 800;
	padding: 15px 35px;
	border-radius: 71px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.main-nav a:hover {
	color: var(--cor-branco);
	background-color: var(--cor-verde);
	transform: scale(1.05);
}

.hero-section {
	background-color: var(--cor-laranja);
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.hero-shape {
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	margin-top: -1px;
}

.hero-shape svg {
	width: 100%;
	height: 100%;
}

.shape-desktop {
	display: block;
}

.shape-mobile {
	display: none;
}

@media (min-width: 769px) {
	.hero-content {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		padding-top: 220px;
		margin-top: 5rem;
		gap: clamp(30px, 4vw, 60px);
	}

	#logo-empresa {
		width: clamp(180px, 13vw, 260px);
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.logo-tagsperta-desktop {
		display: block;
		width: clamp(700px, 38vw, 727px);
	}

	.logo-tagsperta-mobile {
		display: none;
	}
}

@media (max-width: 768px) {
	.shape-desktop {
		display: none;
	}

	.shape-mobile {
		display: block;
	}

	.hero-shape {
		height: 75%;
	}

	.main-header {
		padding: 0.9rem 15px 0;
	}

	.main-nav ul {
		height: 3rem;
		border-radius: 50px;
		padding: 0 10px;
	}

	.main-nav a {
		font-size: 18px;
		padding: 10px 15px;
	}

	.hero-content {
		margin-top: -4rem;
	}
}

@media (max-width: 480px) {
	.main-nav a {
		font-size: 14px;
		padding: 8px 10px;
	}

	.hero-shape {
		height: 80%;
		top: 14rem;
	}
}
.hero-content {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding: 200px 20px 1.7rem;
	border-bottom: 10px solid var(--cor-laranja);
}

#logo-empresa {
	width: clamp(140px, 13vw, 260px);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: var(--cor-branco);
	object-fit: contain;
	padding: 8px;
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-tagsperta-desktop,
.logo-tagsperta-mobile {
	max-width: 80%;
	height: auto;
}

.logo-tagsperta-desktop {
	display: none;
}
.logo-tagsperta-mobile {
	display: block;
}

@media (min-width: 1024px) {
	.hero-content {
		flex-direction: row;
		justify-content: center;
		gap: 60px;
	}

	#logo-empresa {
		width: 150px;
		height: 150px;
		margin-bottom: 7.5rem;
	}

	.logo-tagsperta-desktop {
		display: block;
	}
	.logo-tagsperta-mobile {
		display: none;
	}
}

/* SEÇÃO SOBRE-NOS */
#sobre-nos {
	position: relative;
	padding: 60px 20px;
	margin-top: -8vh;
	z-index: 2;
}

.sobrenos-container {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	position: relative;
	gap: 40px;
}

.sobrenos-image-wrapper {
	position: relative;
	max-width: 400px;
	flex: 1 1 auto;
}

.sobrenos-illustration {
	position: relative;
	width: 120%;
	display: block;
	margin-top: -8rem;
	margin-left: -12%;
	z-index: 50;
}

.sobrenos-text {
	min-width: 150px;
	max-width: 500px;
	text-align: left;
	flex: 2 1 150px;
}

.sobrenos-text h2 {
	color: #1db8a8;
	font-size: clamp(2rem, 8vw, 3rem);
	font-weight: 800;
	margin-top: 1rem;
	text-transform: uppercase;
	font-size: 14px;
}

.sobrenos-text p {
	color: #555;
	font-size: clamp(1rem, 4vw, 1.125rem);
	line-height: 1.6;
	font-size: 12px;
}

.asterisk {
	position: absolute;
	user-select: none;
	pointer-events: none;
	transform: rotate(15deg);
}

.asterisk-1 {
	display: none;
}

.asterisk-2 {
	display: block;
	width: clamp(40px, 8vw, 60px);
	top: 71%;
	right: 5%;
	transform: rotate(-25deg);
	z-index: 100;
}

.asterisk-3 {
	display: none;
}

@media (min-width: 768px) {
	#sobre-nos {
		padding: 100px 40px;
	}

	.sobrenos-container {
		gap: 60px;
		flex-wrap: nowrap;
	}

	.sobrenos-illustration {
		width: 100%;
		margin-top: 0;
		margin-left: 0;
	}

	.sobrenos-image-wrapper {
		flex: 1 1 40%;
		max-width: 500px;
	}

	.sobrenos-text {
		flex: 1 1 60%;
		max-width: 600px;
		min-width: 300px;
	}
	.sobrenos-text h2 {
		font-size: clamp(2.5rem, 4vw, 3rem);
	}

	.sobrenos-text p {
		font-size: clamp(1.125rem, 1.5vw, 1.25rem);
	}
}

/* SEÇÃO FICHA */
.ficha-section {
	background-color: var(--cor-verde);
	padding: 60px 0 clamp(185px, 50vw, 1000px);
	position: relative;
	color: var(--cor-branco);
	margin-top: -1px;
}

.ficha-shape-top {
	width: 100%;
	line-height: 0;
	background-color: var(--cor-branco);
}

.ficha-shape-top img {
	width: 100%;
	height: auto;
}

.ficha-shape-bottom {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	line-height: 0;
}

.ficha-shape-bottom img {
	width: 100%;
	height: auto;
}

.ficha-section .container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.ficha-header {
	display: flex;
	align-items: center;
	gap: 50px;
	margin-bottom: 3rem;
}

.ficha-foto-wrapper {
	position: relative;
	flex-shrink: 0;
}

#foto-pet {
	width: 350px;
	height: 350px;
	object-fit: cover;
	-webkit-mask-image: url("svg/retangulo-foto.svg");
	-webkit-mask-size: cover;
	mask-size: cover;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	border-radius: 40px;
}

.asterisco {
	position: absolute;
	width: 80px;
	z-index: 3;
}
.asterisco-1 {
	top: -40px;
	right: -40px;
	width: 110px;
}
.asterisco-2 {
	bottom: -40px;
	left: -40px;
}

.ficha-nome-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 20px;
}
#icone-sexo {
	width: 80px;
}
.ficha-info h2 {
	font-size: 80px;
	font-weight: 800;
}
.ficha-info p {
	font-size: 24px;
	line-height: 1.6;
	max-width: 600px;
}

.ficha-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 40px;
}

.ficha-grid-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.ficha-grid-item .icon-wrapper {
	background-color: var(--cor-branco);
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ficha-grid-item .icon-wrapper img {
	width: 2rem;
	height: 2rem;
}

.ficha-grid-item strong {
	font-size: 22px;
	font-weight: 700;
}
.ficha-grid-item p {
	font-size: 18px;
	font-weight: 400;
	line-height: 149.572%;
	letter-spacing: 1px;
}

@media (max-width: 900px) {
	.ficha-header {
		flex-direction: row;
		text-align: left;
		gap: 20px;
		align-items: center;
	}

	#foto-pet {
		width: 9rem;
		height: 9rem;
	}

	.asterisco {
		width: 40px;
	}
	.asterisco-1 {
		top: -15px;
		right: -8px;
		width: 50px;
	}
	.asterisco-2 {
		bottom: -15px;
		left: -3px;
	}

	#icone-sexo {
		width: 27px;
	}

	.ficha-info h2 {
		font-size: 18px;
	}

	.ficha-info p {
		font-size: 12px;
		max-width: 100%;
	}

	.ficha-nome-wrapper {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.ficha-grid-item strong {
		font-size: 14px;
	}
	.ficha-grid-item p {
		font-size: 12px;
	}
}

@media (min-width: 769px) {
	.ficha-header {
		flex-direction: row;
		text-align: left;
	}

	.ficha-grid {
		gap: 60px 40px;
	}

	.ficha-grid-item .icon-wrapper {
		width: 144px;
		height: 144px;
	}

	.ficha-grid-item .icon-wrapper img {
		width: 100px;
		height: 100px;
		padding: 0;
	}

	.ficha-grid-item strong {
		font-size: 28px;
	}

	.ficha-grid-item p {
		font-size: 24px;
	}
}

/* SEÇÃO CONTATO */
.contact-section {
	padding: 50px 0;
	background-color: var(--cor-branco);
	position: relative;
	z-index: 5;
}

.contact-section .container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	gap: 50px;
	align-items: center;
}

.contact-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.8rem;
	width: 100%;
}

.contact-text {
	flex: 1;
}

#map-link {
	flex-shrink: 0;
}

.contact-text h2 {
	font-size: 60px;
	font-weight: 800;
	color: var(--cor-verde);
	margin-bottom: 1rem;
}

.contact-text p {
	font-size: 24px;
	line-height: 1.6;
	color: #333;
	max-width: 500px;
}

#whatsapp-link img {
	margin-left: -10px;
}

@media (max-width: 900px) {
	.contact-text h2 {
		font-size: 30px;
		font-weight: 900;
	}
	.contact-text p {
		font-size: 12px;
	}

	#map-link img {
		width: 9rem;
		max-width: 9rem;
		height: auto;
	}

	#whatsapp-link img {
		width: 110%;
		max-width: 110%;
		height: auto;
	}
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	100% {
		transform: translateY(-10px);
	}
}

#whatsapp-link {
	animation: float 1.3s ease-in-out infinite alternate;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.03);
	}
	100% {
		transform: scale(1);
	}
}

#map-link {
	animation: pulse 1.3s ease-in-out infinite;
}

#map-link img,
#whatsapp-link img {
	transition: transform 0.3s ease-in-out;
}

#map-link:hover img,
#whatsapp-link:hover img {
	transform: scale(1.1);
	cursor: pointer;
}

/* SEÇÃO APP-TUTOR */
.app-section {
	display: block;
	background-color: var(--cor-branco);
	position: relative;
	z-index: 5;
}

.app-section .container {
	display: flex;
	align-items: center;
	gap: 2rem;
	width: 100%;
	max-width: 1920px;
}

.app-illustration {
	flex: 1;
}
.app-illustration img {
	max-width: 110%;
	height: auto;
}

.app-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-right: 5%;
}

.app-icon {
	margin-bottom: 30px;
}

.app-description {
	font-size: 24px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 40px;
}
.app-description strong {
	font-weight: 800;
}

.store-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-bottom: 4.5rem;
}

.store-buttons a img {
	height: 80%;
	width: auto;
	transition: transform 0.2s ease-in-out;
}

.store-buttons a:hover img {
	transform: scale(1.05);
}

@media (max-width: 900px) {
	.app-section .container {
		flex-direction: row;
		align-items: center;
		padding: 20px 0px;
		width: 100%;
		box-sizing: border-box;
	}

	.app-illustration {
		flex: 1 1 45%;
		max-width: 45%;
	}

	.app-content {
		text-align: left;
	}

	.app-icon {
		width: 130px;
		height: 130px;
		margin-bottom: 15px;
	}

	.app-description {
		font-size: 11px;
		margin-bottom: 0.8rem;
	}

	.store-buttons {
		gap: 10px;
	}

	.store-buttons a img {
		height: 3.5rem;
	}
}

@keyframes sway {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(-2deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

.app-illustration {
	animation: sway 4s ease-in-out infinite alternate;
}
/* FOOTER */
.footer-section {
	background-color: #0c5548;
	color: var(--cor-branco);
	padding: 3rem 0 2rem 0;
	position: relative;
	z-index: 5;
}

.footer-section .container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.footer-logos {
	display: flex;
	gap: 30px;
	align-items: center;
}
#footer-logo-empresa {
	width: 100px;
	height: 100px;
	border-radius: 20px;
	object-fit: contain;
}
.footer-logos img:last-child {
	width: 100px;
	height: 100px;
	transition: transform 0.3s ease;
}

.footer-logos img:last-child:hover {
	transform: scale(1.1);
}

.footer-socials {
	display: flex;
	gap: 20px;
}

/* Esconde os links de redes sociais por padrão */
#footer-facebook,
#footer-instagram {
	display: none;
}

.footer-socials a img {
	width: 60px;
	height: 60px;
	transition: transform 0.2s ease;
}
.footer-socials a:hover img {
	transform: scale(1.1);
}

.footer-address,
.footer-legal {
	font-size: 16px;
	line-height: 1.6;
}
.footer-legal {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 30px;
	margin-top: 1rem;
	width: 100%;
	font-size: 14px;
	max-width: 600px;
	align-self: center;
}

.footer-legal p {
	text-align: center;
}

.footer-legal a {
	text-decoration: underline;
	opacity: 0.8;
	transition: opacity 0.2s;
}
.footer-legal a:hover {
	opacity: 1;
}

@media (max-width: 480px) {
	.footer-address {
		font-size: 14px;
	}

	.footer-legal {
		font-size: 1.2rem;
	}
}

.footer-legal a,
.footer-legal a:visited {
	color: var(--cor-branco);
	text-decoration: underline;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.footer-legal a:hover {
	opacity: 1;
}
