/*
Theme Name: PTPAC
Theme URI: https://www.ptpac.pt/
Author: PTPAC
Author URI: https://www.ptpac.pt/
Description: Tema de solicitadoria com a arquitetura de blocos do Twenty Twenty-Five. Página de entrada editorial, cabeçalho escuro e paleta azul-noite com dourado.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ptpacfront
Tags: full-site-editing, block-styles, custom-colors, custom-logo, custom-menu, editor-style, one-column, wide-blocks, portfolio
*/

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

:where(.wp-site-blocks *:focus-visible) {
	outline: 2px solid var(--wp--preset--color--accent-1);
	outline-offset: 3px;
}

.ptpac-skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
	padding: 0.6rem 1rem;
}

.ptpac-skip:focus {
	top: 1rem;
}

.ptpac-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: #0d1826;
	border-bottom: 1px solid rgba(198, 163, 106, 0.28);
}

body.home .ptpac-header {
	position: absolute;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, rgba(8, 14, 24, 0.88) 0%, rgba(8, 14, 24, 0.28) 70%, rgba(8, 14, 24, 0) 100%);
	border-bottom-color: transparent;
}

.ptpac-header > .wp-block-group {
	max-width: 1240px;
	margin-inline: auto;
}

.ptpac-brand {
	gap: 0.85rem;
	text-decoration: none;
}

.ptpac-brand img {
	width: 74px;
	height: auto;
	display: block;
}

.ptpac-brand-name,
.ptpac-brand-role,
.ptpac-brand-name a {
	margin: 0;
	color: #f7f3ec;
	line-height: 1.05;
	text-decoration: none;
}

.ptpac-brand-name {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	letter-spacing: 0.01em;
}

.ptpac-brand-role {
	margin-top: 0.2rem;
	font-size: 0.68rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #e8b848;
}

.ptpac-header .wp-block-navigation {
	font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

.ptpac-header .wp-block-navigation-item__content {
	color: #f7f3ec;
	text-decoration: none;
	letter-spacing: 0.16em;
	font-size: 0.78rem;
	text-transform: uppercase;
	padding: 0.35rem 0.15rem;
}

.ptpac-header .wp-block-navigation-item__content:hover,
.ptpac-header .current-menu-item .wp-block-navigation-item__content {
	color: #e8b848;
}

.ptpac-header .wp-block-navigation__responsive-container-open,
.ptpac-header .wp-block-navigation__responsive-container-close {
	color: #f7f3ec;
}

.ptpac-nav-button .wp-block-button__link {
	background: transparent;
	color: #f7f3ec;
	border: 1px solid rgba(247, 243, 236, 0.75);
	border-radius: 2px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.74rem;
	font-weight: 600;
	padding: 0.8rem 1.15rem;
	text-decoration: none;
}

.ptpac-nav-button .wp-block-button__link:hover {
	border-color: #e8b848;
	color: #e8b848;
	background: transparent;
}

.ptpac-hero {
	margin-top: 0;
}

body.home .ptpac-hero .wp-block-cover__inner-container {
	padding-top: 7.5rem;
}

.ptpac-kicker {
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-size: 0.78rem;
	color: #e8b848;
	margin-bottom: 1rem;
}

.ptpac-hero h1 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(2.7rem, 6.4vw, 5.35rem);
	line-height: 1.02;
	color: #f7f3ec;
	max-width: 14ch;
	margin-inline: auto;
}

.ptpac-hero h1 em {
	font-style: italic;
	font-weight: 500;
	color: #e8b848;
}

.ptpac-rule {
	width: 72px;
	height: 1px;
	border: 0;
	background: #e8b848 !important;
	margin: 1.4rem auto !important;
	opacity: 1;
}

.ptpac-hero-note {
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 0.78rem;
	color: #f7f3ec;
}

.ptpac-overlap {
	position: relative;
	z-index: 4;
	margin-top: -7.5rem;
	padding-bottom: 1rem;
}

.ptpac-card-light,
.ptpac-card-dark {
	height: 100%;
}

.ptpac-card-light {
	background: #ffffff;
	color: #122033;
	padding: 2.1rem 1.5rem 1.6rem;
	box-shadow: 0 22px 50px rgba(12, 22, 34, 0.14);
}

.ptpac-card-dark {
	background: #15283b;
	color: #f7f3ec;
	padding: 2.3rem 1.8rem;
	box-shadow: 0 22px 50px rgba(12, 22, 34, 0.18);
}

.ptpac-card-label {
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-size: 0.75rem;
	color: #e8b848;
	margin: 0 0 1.3rem;
}

.ptpac-icon {
	width: 42px;
	height: 42px;
	margin-bottom: 0.85rem;
	color: #e8b848;
}

.ptpac-icon svg {
	width: 42px;
	height: 42px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.4;
}

.ptpac-card-light h3 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	font-weight: 500;
	margin: 0 0 0.45rem;
}

.ptpac-card-light h3 a {
	color: #122033;
	text-decoration: none;
}

.ptpac-card-light h3 a:hover {
	color: #885020;
}

.ptpac-card-light p {
	color: #5e6c7b;
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 0;
}

.ptpac-card-dark h2 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(2rem, 3vw, 2.7rem);
	line-height: 1.1;
	color: #f7f3ec;
	margin: 0 0 1rem;
}

.ptpac-card-dark p {
	color: rgba(247, 243, 236, 0.86);
	line-height: 1.6;
}

.ptpac-outline .wp-block-button__link {
	background: transparent;
	color: #e8b848;
	border: 1px solid #e8b848;
	border-radius: 2px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.85rem 1.2rem;
	text-decoration: none;
}

.ptpac-outline .wp-block-button__link:hover {
	background: #e8b848;
	color: #122033;
}

.ptpac-mark {
	width: 150px;
	height: auto;
	margin-top: 1.5rem;
}

.ptpac-values {
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}

.ptpac-values h2,
.ptpac-page h1,
.ptpac-page h2,
.ptpac-page h3 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 400;
}

.ptpac-values h3 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 1.45rem;
}

.ptpac-footer {
	background: #101c2c;
	color: #f7f3ec;
	padding-top: 3.5rem;
	padding-bottom: 1.4rem;
}

.ptpac-footer a {
	color: #f7f3ec;
	text-decoration: none;
}

.ptpac-footer a:hover {
	color: #e8b848;
}

.ptpac-footer h2,
.ptpac-footer .ptpac-brand-name {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.ptpac-footer-label {
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: 0.75rem;
	color: #e8b848;
	margin-bottom: 0.9rem;
}

.ptpac-footer p,
.ptpac-footer li {
	color: rgba(247, 243, 236, 0.86);
	font-size: 0.98rem;
	line-height: 1.55;
}

.ptpac-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ptpac-legal {
	border-top: 1px solid rgba(247, 243, 236, 0.12);
	margin-top: 2rem;
	padding-top: 1rem;
	font-size: 0.82rem;
	color: rgba(247, 243, 236, 0.62);
}

.ptpac-page {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.ptpac-page .wp-block-post-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.08;
}

.ptpac-page .wp-block-post-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 1px;
	background: #e8b848;
	margin-top: 1.1rem;
}

.ptpac-page .wp-block-post-featured-image {
	margin-top: 1.6rem;
	margin-bottom: 1.8rem;
}

.ptpac-page .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.ptpac-page .wp-block-post-content a {
	color: #122033;
	text-decoration-color: #e8b848;
}

.ptpac-page .wp-block-post-content li {
	margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
	body.home .ptpac-header {
		position: sticky;
		background: #0d1826;
	}

	body.home .ptpac-hero .wp-block-cover__inner-container {
		padding-top: 2.5rem;
	}

	.ptpac-overlap {
		margin-top: 0;
	}

	.ptpac-header.is-nowrap,
	.ptpac-header .wp-block-group.is-layout-flex {
		flex-wrap: wrap !important;
		row-gap: 0.8rem;
	}
}

.ptpac-pede__label {
	display: block;
	margin-bottom: 0.4rem;
	color: #5e6c7b;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ptpac-pede__input {
	box-sizing: border-box;
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid #122033;
	background: #fff;
	color: #122033;
	font: inherit;
}

.ptpac-pede__input:focus {
	outline: 2px solid #e8b848;
	outline-offset: 2px;
}

.ptpac-ouve__template {
	display: none !important;
}

.ptpac-ouve__results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ptpac-page .ptpac-ouve .wp-block-columns :is(h1, h2, h3, h4, h5, h6, p, a, li) {
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: inherit;
	color: inherit;
}

.ptpac-ouve__empty {
	margin: 0;
	color: #5e6c7b;
}

.ptpac-ouve__skeleton {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 6.5rem;
}

.ptpac-ouve__lines {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.ptpac-ouve__bone {
	display: block;
	height: 0.9rem;
	border-radius: 2px;
	background: #e4e0d8;
	animation: ptpac-pulse 1.2s ease-in-out infinite;
}

.ptpac-ouve__bone--media {
	width: 100px;
	height: 100px;
	flex: 0 0 100px;
}

.ptpac-ouve__bone--short {
	width: 38%;
}

@keyframes ptpac-pulse {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.45;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ptpac-ouve__bone {
		animation: none;
	}
}
