/*
Theme Name: Linkth - Tatiane Hernandes
Description: Landing page de arquitetura e estratégia imobiliária para Tatiane Hernandes.
Author: Guilherme Ferreira
Version: 3.4.3
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: th-cdv
*/

:root {
	color-scheme: light;
	--paper: #f8f7f7;
	--ink: #242223;
	--muted: #686366;
	--line: #dedbdd;
	--lime: #ff0011;
	--coral: #b40b20;
	--serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
}

body::before {
	position: fixed;
	z-index: -1;
	inset: 0;
	background-image: radial-gradient(#2422230c 0.65px, transparent 0.65px);
	background-size: 6px 6px;
	content: "";
	pointer-events: none;
}

a {
	color: inherit;
	text-decoration: none;
}

.page-shell {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 7.1%;
}

.page-topline {
	height: 68px;
	display: flex;
	align-items: center;
	gap: 15px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.page-topline span:first-child {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 18px;
	letter-spacing: 0;
}

.topline-rule {
	width: 38px;
	height: 1px;
	background: var(--coral);
}

.profile {
	position: relative;
	min-height: 570px;
	display: grid;
	grid-template-columns: minmax(260px, 0.88fr) 1.12fr;
	align-items: center;
	gap: clamp(50px, 10vw, 150px);
	padding: 70px 8% 78px;
	border-bottom: 1px solid var(--line);
}

.portrait-wrap {
	position: relative;
	width: min(100%, 380px);
	aspect-ratio: 0.83;
	justify-self: center;
}

.portrait-wrap::before {
	position: absolute;
	inset: 17px -17px -17px 17px;
	border: 1px solid var(--coral);
	content: "";
}

.portrait {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
	filter: saturate(0.72);
}

.portrait-mark {
	position: absolute;
	right: -26px;
	bottom: 30px;
	width: 82px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 24px;
}

.profile-copy {
	max-width: 470px;
	padding-top: 5px;
}

.eyebrow {
	margin: 0;
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.15em;
}

.status-dot {
	width: 7px;
	height: 7px;
	display: inline-block;
	margin: 0 7px 1px 0;
	border-radius: 50%;
	background: var(--coral);
}

h1,
h2,
p {
	margin-top: 0;
}

h1,
.section-heading h2,
.about-copy h2,
.portfolio-heading h2,
.contact h2 {
	font-family: var(--serif);
	font-weight: 500;
}

h1 {
	margin: 21px 0 17px;
	font-size: clamp(52px, 6.1vw, 82px);
	line-height: 0.99;
}

h1 em,
h2 em {
	color: var(--coral);
	font-weight: 500;
}

.intro {
	max-width: 340px;
	margin-bottom: 28px;
	color: #5e6d64;
	font-size: 15px;
	line-height: 1.8;
}

.primary-link {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding: 0 18px 0 21px;
	background: var(--ink);
	color: var(--paper);
	font-size: 12px;
	font-weight: 600;
	transition: background 180ms ease, color 180ms ease;
}

.primary-link:hover {
	background: var(--lime);
	color: var(--ink);
}

.arrow {
	font-size: 18px;
}

.location {
	margin: 23px 0 0;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.location span {
	padding: 0 7px;
	color: var(--coral);
}

.side-note {
	position: absolute;
	top: 50%;
	right: 2.2%;
	color: #79847b;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.17em;
	writing-mode: vertical-rl;
}

.links-section {
	padding: 82px 8% 90px;
	border-bottom: 1px solid var(--line);
}

.section-heading,
.portfolio-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 20px;
	margin-bottom: 31px;
}

.section-kicker {
	margin-bottom: 12px;
}

.section-heading h2,
.portfolio-heading h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
}

.section-index {
	padding-bottom: 5px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.link-list {
	border-top: 1px solid var(--line);
}

.link-row {
	min-height: 82px;
	display: grid;
	grid-template-columns: 42px 1fr 24px;
	align-items: center;
	gap: 16px;
	border-bottom: 1px solid var(--line);
	transition: padding 180ms ease, background 180ms ease;
}

.link-row:hover {
	padding-right: 12px;
	padding-left: 12px;
	background: #e9e9da;
}

.link-icon {
	width: 38px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 17px;
	font-weight: 700;
}

.whatsapp { background: #d8ed6a; }
.portfolio-icon { background: #f3c1ad; }
.instagram { background: #d9d8c5; }
.youtube { background: #e9a18b; font-size: 12px; }
.website { background: #c6d8ce; }

.link-label {
	display: grid;
	gap: 4px;
}

.link-label strong {
	font-size: 14px;
	font-weight: 600;
}

.link-label small {
	color: var(--muted);
	font-size: 11px;
}

.link-arrow {
	justify-self: end;
	color: var(--coral);
	font-size: 20px;
	transition: transform 180ms ease;
}

.link-row:hover .link-arrow {
	transform: translate(3px, -3px);
}

.about {
	min-height: 440px;
	display: grid;
	grid-template-columns: 0.8fr 1.2fr 0.65fr;
	align-items: center;
	gap: 35px;
	padding: 80px 8%;
	border-bottom: 1px solid var(--line);
}

.about-label {
	align-self: start;
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 9px;
	white-space: nowrap;
}

.about-number {
	color: var(--coral);
	font-family: var(--serif);
	font-size: 20px;
}

.about-line {
	width: 35px;
	height: 1px;
	background: var(--line);
}

.about-copy h2,
.contact h2 {
	margin: 0 0 21px;
	font-size: clamp(42px, 5vw, 62px);
	line-height: 1.04;
}

.about-copy p {
	max-width: 390px;
	margin-bottom: 19px;
	color: #5e6d64;
	font-size: 14px;
	line-height: 1.85;
}

.text-link {
	display: inline-flex;
	gap: 12px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--coral);
	font-size: 11px;
	font-weight: 700;
}

.text-link span {
	color: var(--coral);
}

.about-stamp {
	width: 150px;
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	justify-self: end;
	border: 1px solid #a5b38d;
	border-radius: 50%;
	color: var(--muted);
	text-align: center;
	transform: rotate(9deg);
}

.about-stamp span {
	font-size: 7px;
	font-weight: 700;
	letter-spacing: 0.11em;
}

.about-stamp strong {
	color: var(--ink);
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 500;
}

.portfolio {
	padding: 80px 8% 88px;
	border-bottom: 1px solid var(--line);
}

.portfolio-feature {
	position: relative;
	min-height: 320px;
	display: block;
	overflow: hidden;
	background: var(--ink);
	color: white;
}

.portfolio-feature img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.66);
	transition: transform 500ms ease;
}

.portfolio-feature:hover img {
	transform: scale(1.035);
}

.portfolio-feature::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #101010d9 0%, #45030c70 47%, transparent 100%);
	content: "";
}

.portfolio-overlay {
	position: relative;
	z-index: 1;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 45px 7%;
}

.portfolio-overlay > span:first-child {
	margin-bottom: 14px;
	color: var(--lime);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.portfolio-overlay strong {
	font-family: var(--serif);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 500;
	line-height: 1.02;
}

.portfolio-arrow {
	position: absolute;
	right: 7%;
	bottom: 42px;
	width: 44px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border: 1px solid #ffffffa3;
	border-radius: 50%;
	font-size: 20px;
}

.contact {
	position: relative;
	min-height: 330px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
	padding: 68px 8% 85px;
}

.contact-copy .eyebrow {
	margin-bottom: 17px;
}

.contact h2 {
	margin-bottom: 0;
	font-size: clamp(38px, 5vw, 58px);
}

.contact-button {
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	gap: 26px;
	padding: 0 20px;
	background: var(--coral);
	color: #fffaf1;
	font-size: 11px;
	font-weight: 700;
	transition: background 180ms ease, color 180ms ease;
}

.contact-button:hover {
	background: var(--lime);
	color: var(--ink);
}

.contact-button span:last-child {
	font-size: 17px;
}

.footer-line {
	position: absolute;
	right: 8%;
	bottom: 25px;
	left: 8%;
	display: flex;
	justify-content: space-between;
	padding-top: 15px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.footer-line b {
	padding-left: 4px;
	color: var(--coral);
	font-size: 11px;
}

:focus-visible {
	outline: 2px solid var(--coral);
	outline-offset: 4px;
}

@media (max-width: 760px) {
	.page-shell {
		padding: 0 6%;
	}

	.page-topline {
		height: 58px;
	}

	.profile {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 43px;
		padding: 43px 5% 57px;
	}

	.portrait-wrap {
		width: min(78%, 320px);
		aspect-ratio: 0.94;
		margin-right: 14px;
	}

	.portrait-mark {
		right: -22px;
		width: 68px;
		font-size: 21px;
	}

	.profile-copy {
		width: 100%;
		max-width: 440px;
		justify-self: center;
	}

	h1 {
		margin-top: 16px;
		font-size: clamp(55px, 15vw, 76px);
	}

	.side-note {
		top: 218px;
		right: 0;
	}

	.links-section,
	.portfolio {
		padding: 58px 5% 64px;
	}

	.section-heading,
	.portfolio-heading {
		align-items: start;
	}

	.section-index {
		padding-top: 4px;
		white-space: nowrap;
	}

	.link-row {
		min-height: 76px;
	}

	.about {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 58px 5% 64px;
	}

	.about-label {
		padding-top: 0;
	}

	.about-stamp {
		width: 122px;
		justify-self: end;
		margin-top: -7px;
	}

	.portfolio-feature,
	.portfolio-overlay {
		min-height: 290px;
	}

	.contact {
		min-height: 0;
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 59px 5% 91px;
	}

	.contact-button {
		justify-self: start;
	}

	.footer-line {
		right: 5%;
		left: 5%;
		font-size: 7px;
	}
}

@media (max-width: 380px) {
	.section-heading h2,
	.portfolio-heading h2 {
		font-size: 30px;
	}

	.section-index {
		font-size: 8px;
	}

	.link-row {
		grid-template-columns: 36px 1fr 18px;
		gap: 11px;
	}

	.link-icon {
		width: 34px;
	}

	.footer-line {
		letter-spacing: 0.08em;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
