/*
Theme Name: YHUU Blue
Theme URI: https://nivus.studio/
Author: YHUU
Author URI: https://nivus.studio/
Description: Tema minimalista alinhado ao design system oficial da marca YHUU.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: yhuu-blue
*/

:root {
	--color-bg-primary: #ffffff;
	--color-bg-secondary: #f8fafc;
	--color-surface: #ffffff;
	--color-border: #e2e8f0;
	--color-text-primary: #0f172a;
	--color-text-secondary: #475569;
	--color-text-muted: #64748b;
	--color-brand-primary: #2563eb;
	--color-brand-hover: #1d4ed8;
	--color-brand-soft: #eff6ff;
	--color-success: #16a34a;
	--color-warning: #d97706;
	--color-error: #dc2626;
	--color-info: #0284c7;

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 40px;
	--space-8: 48px;
	--space-9: 64px;
	--space-10: 80px;

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.1);

	--font-family-base: "Manrope", Inter, Arial, sans-serif;
	--container-max: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
	font-family: var(--font-family-base);
}

body {
	margin: 0;
	background: var(--color-bg-primary);
	color: var(--color-text-primary);
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
}

a {
	color: var(--color-brand-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--color-brand-hover);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--space-3);
	color: var(--color-text-primary);
	letter-spacing: -0.03em;
}

h1,
.page-title,
.entry-title,
.hero-title {
	font-size: 40px;
	line-height: 48px;
	font-weight: 700;
}

h2 {
	font-size: 32px;
	line-height: 40px;
	font-weight: 700;
}

h3 {
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
}

h4 {
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
}

p,
ul,
ol,
blockquote,
table {
	margin: 0 0 var(--space-5);
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main,
.site-footer__inner {
	width: min(calc(100% - 32px), var(--container-max));
	margin: 0 auto !important;
}

.site-main {
	padding:32px;
}

.content-card {
	width: 100%;
}

.content-card--minimal {
	max-width: 760px;
}

article.content-card.content-card--minimal {
	padding: 32px !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-lg);
}

body > div.site-shell > main > article {
	padding: 32px !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-lg);
}

.content-stack {
	display: grid;
	gap: var(--space-6);
}

.eyebrow {
	margin-bottom: var(--space-3);
	color: var(--color-brand-primary);
	font-size: 12px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-title {
	max-width: 12ch;
}

.hero-text,
.entry-content,
.page-content,
.archive-description {
	color: var(--color-text-secondary);
}

.entry-meta {
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 22px;
}

.entry-content > * + *,
.page-content > * + * {
	margin-top: var(--space-5);
}

.button-link,
button,
input[type="submit"],
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	background: var(--color-brand-primary);
	color: #ffffff;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	box-shadow: var(--shadow-sm);
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.button-link:hover,
button:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
	background: var(--color-brand-hover);
	color: #ffffff;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button-link:focus-visible,
.wp-element-button:focus-visible,
a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--color-brand-soft);
}

input,
textarea,
select {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: #ffffff;
	color: var(--color-text-primary);
	font-size: 16px;
	line-height: 26px;
}

textarea {
	min-height: 120px;
}

input:hover,
textarea:hover,
select:hover {
	border-color: #cbd5e1;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--color-brand-primary);
	box-shadow: 0 0 0 4px var(--color-brand-soft);
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 14px 0;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

th {
	color: var(--color-text-secondary);
	font-size: 14px;
	line-height: 22px;
	font-weight: 600;
}

td {
	color: var(--color-text-secondary);
}

.site-footer {
	border-top: 1px solid var(--color-border);
}

.site-footer__inner {
	padding: var(--space-5) 0;
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 22px;
}

.site-footer__inner p {
	margin: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 640px) {
	.site-main,
	.site-footer__inner {
		width: min(calc(100% - 24px), var(--container-max));
	}

	.site-main {
		padding: var(--space-8) 0;
	}

	h1,
	.page-title,
	.entry-title,
	.hero-title {
		font-size: 32px;
		line-height: 40px;
	}

	h2 {
		font-size: 24px;
		line-height: 32px;
	}

	.content-card {
		padding: var(--space-5) 0;
	}
}
