/* ==========================================================================
   Gostosuras Doces — main stylesheet
   Design system: tokens, typography, components, layouts, utilities.
   No external dependencies. No remote fonts. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Colors: natural canvas, ink, indigo accent, ochre thread */
	--gdc-paper: #f6f2ea;
	--gdc-paper-deep: #ece5d8;
	--gdc-surface: #fffdf9;
	--gdc-ink: #1f2430;
	--gdc-ink-soft: #4a5060;
	--gdc-ink-muted: #666c7a;
	--gdc-line: #ddd4c3;
	--gdc-line-strong: #c5b9a3;
	--gdc-accent: #2f3f86;
	--gdc-accent-hover: #222f68;
	--gdc-accent-soft: #e6e9f5;
	--gdc-second: #1f2a4d;
	--gdc-second-soft: #f3e7cf;
	--gdc-focus: #a4530a;

	/* Tipografia — pilhas do sistema, nenhum download */
	--gdc-font-body: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, "Times New Roman", serif;
	--gdc-font-head: "Avenir Next", Avenir, "Century Gothic", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--gdc-font-ui: "Avenir Next", Avenir, "Century Gothic", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--gdc-ochre: #c8871d;
	--gdc-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--gdc-text-xs: 0.78rem;
	--gdc-text-sm: 0.875rem;
	--gdc-text-base: 1rem;
	--gdc-text-md: 1.0625rem;
	--gdc-text-lg: 1.1875rem;
	--gdc-text-xl: 1.375rem;
	--gdc-text-2xl: 1.625rem;
	--gdc-text-3xl: 2rem;
	--gdc-text-4xl: 2.5rem;

	--gdc-leading-tight: 1.2;
	--gdc-leading-snug: 1.35;
	--gdc-leading-normal: 1.65;
	--gdc-leading-relaxed: 1.75;

	/* Espaçamento — escala de 4px */
	--gdc-s1: 0.25rem;
	--gdc-s2: 0.5rem;
	--gdc-s3: 0.75rem;
	--gdc-s4: 1rem;
	--gdc-s5: 1.5rem;
	--gdc-s6: 2rem;
	--gdc-s7: 2.5rem;
	--gdc-s8: 3rem;
	--gdc-s9: 4rem;
	--gdc-s10: 5rem;

	/* Formas e sombras */
	--gdc-radius-sm: 2px;
	--gdc-radius: 3px;
	--gdc-radius-lg: 4px;
	--gdc-shadow-sm: 0 1px 2px rgba(33, 31, 28, 0.06);
	--gdc-shadow: 0 2px 10px rgba(33, 31, 28, 0.07);
	--gdc-shadow-lg: 0 10px 30px rgba(33, 31, 28, 0.1);

	/* Layout */
	--gdc-container: 1180px;
	--gdc-container-narrow: 760px;
	--gdc-measure: 68ch;
	--gdc-gutter: var(--gdc-s4);

	color-scheme: light;
}

@media (min-width: 48em) {
	:root {
		--gdc-gutter: var(--gdc-s6);
	}
}

/* --------------------------------------------------------------------------
   2. Reset moderado
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: var(--gdc-paper);
	color: var(--gdc-ink);
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-md);
	line-height: var(--gdc-leading-normal);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--gdc-line);
	margin: var(--gdc-s7) 0;
}

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--gdc-font-head);
	color: var(--gdc-ink);
	line-height: var(--gdc-leading-tight);
	margin: 0 0 var(--gdc-s4);
	font-weight: 600;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(1.875rem, 1.35rem + 2.2vw, var(--gdc-text-4xl));
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, var(--gdc-text-3xl));
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, var(--gdc-text-xl));
}

h4 {
	font-size: var(--gdc-text-lg);
}

h5,
h6 {
	font-size: var(--gdc-text-base);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--gdc-ink-soft);
}

p {
	margin: 0 0 var(--gdc-s4);
}

a {
	color: var(--gdc-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--gdc-accent-hover);
}

strong,
b {
	font-weight: 650;
}

small {
	font-size: var(--gdc-text-sm);
}

code,
kbd,
samp {
	font-family: var(--gdc-font-mono);
	font-size: 0.9em;
	background: var(--gdc-paper-deep);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius-sm);
	padding: 0.1em 0.35em;
}

pre {
	font-family: var(--gdc-font-mono);
	font-size: var(--gdc-text-sm);
	background: var(--gdc-paper-deep);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s4);
	overflow-x: auto;
	line-height: 1.5;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
}

blockquote {
	margin: var(--gdc-s6) 0;
	padding: var(--gdc-s2) 0 var(--gdc-s2) var(--gdc-s5);
	border-left: 3px solid var(--gdc-accent);
	font-family: var(--gdc-font-head);
	font-size: var(--gdc-text-lg);
	color: var(--gdc-ink-soft);
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: var(--gdc-s2);
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-style: normal;
	color: var(--gdc-ink-muted);
}

/* --------------------------------------------------------------------------
   4. Acessibilidade
   -------------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--gdc-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--gdc-surface);
	border-radius: var(--gdc-radius-sm);
	box-shadow: var(--gdc-shadow);
	clip-path: none;
	color: var(--gdc-accent);
	display: block;
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	height: auto;
	left: var(--gdc-s4);
	line-height: normal;
	padding: var(--gdc-s3) var(--gdc-s4);
	text-decoration: none;
	top: var(--gdc-s4);
	width: auto;
	z-index: 100000;
}

.gdc-skip-link:focus {
	position: fixed;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.gdc-container {
	width: 100%;
	max-width: var(--gdc-container);
	margin-inline: auto;
	padding-inline: var(--gdc-gutter);
}

.gdc-container--narrow {
	max-width: var(--gdc-container-narrow);
}

.gdc-site-main {
	flex: 1 0 auto;
	padding-block: var(--gdc-s7) var(--gdc-s9);
}

/* Usado na home, onde o herói encosta no cabeçalho. */
.gdc-site-main--flush {
	padding-top: 0;
}

.gdc-layout {
	display: grid;
	gap: var(--gdc-s7);
}

@media (min-width: 62em) {
	.gdc-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: var(--gdc-s8);
		align-items: start;
	}
}

.gdc-stack > * + * {
	margin-top: var(--gdc-s4);
}

.gdc-section {
	margin-block: var(--gdc-s9);
}

.gdc-section:first-child {
	margin-top: 0;
}

.gdc-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--gdc-s3);
	margin-bottom: var(--gdc-s5);
	padding-bottom: var(--gdc-s3);
	border-bottom: 1px solid var(--gdc-line);
}

.gdc-section__title {
	margin: 0;
	font-size: var(--gdc-text-2xl);
}

.gdc-section__description {
	flex-basis: 100%;
	margin: 0;
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-base);
	max-width: var(--gdc-measure);
}

.gdc-section__link {
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.gdc-section__link:hover {
	text-decoration: underline;
}

.gdc-section__link::after {
	content: " →";
}

/* --------------------------------------------------------------------------
   6. Cabeçalho e navegação
   -------------------------------------------------------------------------- */

.gdc-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--gdc-surface);
	border-bottom: 1px solid var(--gdc-line);
}

.gdc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gdc-s4);
	min-height: 4.25rem;
}

.gdc-branding {
	display: flex;
	align-items: center;
	gap: var(--gdc-s3);
	min-width: 0;
}

.gdc-branding__mark {
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
}

.gdc-branding__text {
	min-width: 0;
}

.gdc-branding__title {
	font-family: var(--gdc-font-head);
	font-size: var(--gdc-text-xl);
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
	letter-spacing: -0.015em;
}

.gdc-branding__title a {
	color: var(--gdc-ink);
	text-decoration: none;
}

.gdc-branding__title a:hover {
	color: var(--gdc-accent);
}

.gdc-branding__tagline {
	margin: 0.15rem 0 0;
	font-size: var(--gdc-text-xs);
	color: var(--gdc-ink-muted);
	line-height: 1.3;
}

.gdc-custom-logo-link img {
	max-height: 3rem;
	width: auto;
}

/* Botão do menu móvel */
.gdc-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--gdc-s2);
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line-strong);
	border-radius: var(--gdc-radius-sm);
	color: var(--gdc-ink);
	cursor: pointer;
	font: inherit;
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	padding: var(--gdc-s2) var(--gdc-s3);
}

.gdc-menu-toggle:hover {
	border-color: var(--gdc-accent);
	color: var(--gdc-accent);
}

.gdc-menu-toggle__bars {
	display: block;
	position: relative;
	width: 1.125rem;
	height: 2px;
	background: currentColor;
}

.gdc-menu-toggle__bars::before,
.gdc-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.gdc-menu-toggle__bars::before {
	top: -6px;
}

.gdc-menu-toggle__bars::after {
	top: 6px;
}

.gdc-header__panel {
	display: none;
	padding-bottom: var(--gdc-s5);
}

.gdc-header__panel.is-open {
	display: block;
}

.gdc-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gdc-nav__list li {
	position: relative;
}

.gdc-nav__list a {
	display: block;
	padding: var(--gdc-s3) 0;
	border-bottom: 1px solid var(--gdc-line);
	color: var(--gdc-ink);
	font-size: var(--gdc-text-base);
	font-weight: 550;
	text-decoration: none;
}

.gdc-nav__list a:hover {
	color: var(--gdc-accent);
}

.gdc-nav .current-menu-item > a,
.gdc-nav .current-menu-ancestor > a,
.gdc-nav .current_page_item > a {
	color: var(--gdc-accent);
}

.gdc-header__search {
	margin-top: var(--gdc-s4);
}

/* Aviso exibido apenas para quem pode editar menus, quando nenhum menu foi
   atribuído à posição principal. O visitante nunca vê este bloco. */
.gdc-nav--empty {
	margin: 0;
	padding: var(--gdc-s3) 0;
	font-size: var(--gdc-text-sm);
}

@media (min-width: 62em) {
	.gdc-menu-toggle {
		display: none;
	}

	/* Cabeçalho em uma única linha: marca à esquerda, navegação e busca à
	   direita. Mantém a barra fixa baixa e previsível durante a leitura.
	   `flex-wrap` é o escape: quando o menu cresce e a linha única deixa de
	   caber, o painel desce para uma segunda linha em vez de estourar a
	   largura da página. */
	.gdc-site-header .gdc-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 var(--gdc-s6);
	}

	.gdc-header__inner {
		flex: 0 0 auto;
		min-height: 4.5rem;
	}

	.gdc-header__panel {
		display: flex !important;
		flex: 1 1 auto;
		flex-wrap: wrap;
		min-width: 0;
		align-items: center;
		justify-content: flex-end;
		gap: var(--gdc-s3) var(--gdc-s5);
		padding-bottom: var(--gdc-s3);
	}

	.gdc-nav__list {
		flex-wrap: wrap;
	}

	.gdc-nav__list {
		display: flex;
		align-items: center;
		gap: var(--gdc-s1);
	}

	.gdc-nav__list a {
		border-bottom: 0;
		border-radius: var(--gdc-radius-sm);
		padding: var(--gdc-s2) var(--gdc-s3);
		font-size: var(--gdc-text-sm);
		white-space: nowrap;
	}

	.gdc-nav__list a:hover {
		background: var(--gdc-accent-soft);
	}

	.gdc-nav .current-menu-item > a,
	.gdc-nav .current-menu-ancestor > a {
		background: var(--gdc-accent-soft);
	}

	/* Submenus (um nível) */
	.gdc-nav__list .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 13rem;
		background: var(--gdc-surface);
		border: 1px solid var(--gdc-line);
		border-radius: var(--gdc-radius);
		box-shadow: var(--gdc-shadow-lg);
		list-style: none;
		margin: 0;
		padding: var(--gdc-s2);
		z-index: 60;
	}

	.gdc-nav__list li:hover > .sub-menu,
	.gdc-nav__list li:focus-within > .sub-menu {
		display: block;
	}

	.gdc-nav__list .sub-menu a {
		white-space: normal;
	}

	.gdc-header__search {
		margin-top: 0;
		flex: 0 1 13.5rem;
		min-width: 9rem;
	}
}

/* --------------------------------------------------------------------------
   7. Formulários
   -------------------------------------------------------------------------- */

label {
	display: block;
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	margin-bottom: var(--gdc-s2);
}

.gdc-field {
	margin-bottom: var(--gdc-s5);
}

.gdc-field__hint {
	display: block;
	margin-top: var(--gdc-s2);
	font-size: var(--gdc-text-xs);
	font-weight: 400;
	color: var(--gdc-ink-muted);
}

.gdc-required {
	color: var(--gdc-accent);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line-strong);
	border-radius: var(--gdc-radius-sm);
	color: var(--gdc-ink);
	font: inherit;
	font-size: var(--gdc-text-base);
	padding: var(--gdc-s3);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--gdc-focus);
}

textarea {
	min-height: 11rem;
	resize: vertical;
	line-height: var(--gdc-leading-normal);
}

input::placeholder,
textarea::placeholder {
	color: var(--gdc-ink-muted);
	opacity: 1;
}

/* Campo de busca */
.gdc-search-form {
	display: flex;
	gap: var(--gdc-s2);
}

.gdc-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.gdc-search-form input[type="search"] {
	padding-block: var(--gdc-s2);
}

.gdc-search-form__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gdc-paper-deep);
	border: 1px solid var(--gdc-line-strong);
	border-radius: var(--gdc-radius-sm);
	color: var(--gdc-ink);
	cursor: pointer;
	padding-inline: var(--gdc-s3);
}

.gdc-search-form__submit:hover {
	background: var(--gdc-accent-soft);
	border-color: var(--gdc-accent);
	color: var(--gdc-accent);
}

/* --------------------------------------------------------------------------
   8. Botões
   -------------------------------------------------------------------------- */

.gdc-button,
.gdc-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--gdc-s2);
	background: var(--gdc-accent);
	border: 1px solid var(--gdc-accent);
	border-radius: var(--gdc-radius-sm);
	color: #fff;
	cursor: pointer;
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-base);
	font-weight: 600;
	line-height: 1.3;
	padding: var(--gdc-s3) var(--gdc-s5);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.gdc-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--gdc-accent-hover);
	border-color: var(--gdc-accent-hover);
	color: #fff;
}

.gdc-button--secondary {
	background: transparent;
	border-color: var(--gdc-line-strong);
	color: var(--gdc-ink);
}

.gdc-button--secondary:hover {
	background: var(--gdc-accent-soft);
	border-color: var(--gdc-accent);
	color: var(--gdc-accent);
}

.gdc-button--small {
	font-size: var(--gdc-text-sm);
	padding: var(--gdc-s2) var(--gdc-s4);
}

.gdc-button[disabled],
button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   9. Rótulos, categorias, metadados
   -------------------------------------------------------------------------- */

.gdc-eyebrow {
	display: inline-block;
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gdc-accent);
	text-decoration: none;
	margin-bottom: var(--gdc-s2);
}

a.gdc-eyebrow:hover {
	text-decoration: underline;
}

.gdc-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--gdc-s1);
	background: var(--gdc-second-soft);
	border-radius: 999px;
	color: var(--gdc-second);
	font-size: var(--gdc-text-xs);
	font-weight: 600;
	padding: 0.2rem 0.65rem;
	text-decoration: none;
}

a.gdc-chip:hover {
	background: var(--gdc-accent-soft);
	color: var(--gdc-accent);
}

.gdc-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gdc-s2) var(--gdc-s4);
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-sm);
	list-style: none;
	margin: 0;
	padding: 0;
}

.gdc-meta__item {
	display: inline-flex;
	align-items: center;
	gap: var(--gdc-s2);
}

.gdc-meta a {
	color: inherit;
}

.gdc-meta svg {
	flex: 0 0 auto;
	color: var(--gdc-ink-muted);
}

.gdc-icon {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.125em;
}

/* --------------------------------------------------------------------------
   10. Cards e grades
   -------------------------------------------------------------------------- */

.gdc-grid {
	display: grid;
	gap: var(--gdc-s5);
	grid-template-columns: 1fr;
}

@media (min-width: 36em) {
	.gdc-grid--2,
	.gdc-grid--3,
	.gdc-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.gdc-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gdc-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.gdc-card {
	display: flex;
	flex-direction: column;
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	box-shadow: var(--gdc-shadow-sm);
	overflow: hidden;
	height: 100%;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.gdc-card:hover {
	box-shadow: var(--gdc-shadow);
	transform: translateY(-2px);
}

.gdc-card__media {
	display: block;
	background: var(--gdc-paper-deep);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.gdc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gdc-card__media--placeholder {
	background:
		repeating-linear-gradient(135deg, var(--gdc-paper-deep) 0 14px, #efe7d8 14px 28px);
}

.gdc-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--gdc-s2);
	padding: var(--gdc-s4) var(--gdc-s4) var(--gdc-s5);
}

.gdc-card__title {
	font-size: var(--gdc-text-lg);
	line-height: var(--gdc-leading-snug);
	margin: 0;
}

.gdc-card__title a {
	color: var(--gdc-ink);
	text-decoration: none;
}

.gdc-card__title a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-card__excerpt {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-sm);
	line-height: var(--gdc-leading-normal);
	margin: 0;
}

.gdc-card__footer {
	margin-top: auto;
	padding-top: var(--gdc-s3);
}

/* Card horizontal (listas e resultados de busca) */
.gdc-card-row {
	display: grid;
	gap: var(--gdc-s4);
	padding-bottom: var(--gdc-s5);
	border-bottom: 1px solid var(--gdc-line);
}

.gdc-card-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

@media (min-width: 36em) {
	.gdc-card-row {
		grid-template-columns: 13rem minmax(0, 1fr);
		align-items: start;
	}
}

.gdc-card-row__media {
	display: block;
	background: var(--gdc-paper-deep);
	border-radius: var(--gdc-radius);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.gdc-card-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* min-width: 0 impede que títulos longos estourem a coluna da grade. */
.gdc-card-row__body {
	min-width: 0;
}

.gdc-card-row__title {
	font-size: var(--gdc-text-xl);
	margin: var(--gdc-s1) 0 var(--gdc-s2);
	overflow-wrap: break-word;
}

.gdc-card-row__title a {
	color: var(--gdc-ink);
	text-decoration: none;
}

.gdc-card-row__title a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-card-row__excerpt {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-base);
	margin: 0 0 var(--gdc-s3);
}

.gdc-card-list {
	display: grid;
	gap: var(--gdc-s5);
}

/* Lista compacta numerada (Comece por aqui / Guias populares) */
.gdc-steps {
	list-style: none;
	counter-reset: gdc-step;
	display: grid;
	gap: var(--gdc-s4);
	margin: 0;
	padding: 0;
}

.gdc-steps > li {
	counter-increment: gdc-step;
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: var(--gdc-s4);
	align-items: start;
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s4);
}

.gdc-steps > li::before {
	content: counter(gdc-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--gdc-accent-soft);
	border-radius: 50%;
	color: var(--gdc-accent);
	font-family: var(--gdc-font-head);
	font-size: var(--gdc-text-base);
	font-weight: 700;
}

.gdc-steps__title {
	font-size: var(--gdc-text-base);
	margin: 0 0 var(--gdc-s1);
}

.gdc-steps__title a {
	color: var(--gdc-ink);
	text-decoration: none;
}

.gdc-steps__title a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-steps p {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-sm);
	margin: 0;
}

/* --------------------------------------------------------------------------
   11. Home — herói e seções
   -------------------------------------------------------------------------- */

.gdc-hero {
	background: linear-gradient(180deg, var(--gdc-paper-deep), var(--gdc-paper));
	border-bottom: 1px solid var(--gdc-line);
	padding-block: var(--gdc-s8);
}

.gdc-hero__inner {
	display: grid;
	gap: var(--gdc-s6);
	align-items: center;
}

@media (min-width: 62em) {
	.gdc-hero {
		padding-block: var(--gdc-s10);
	}

	.gdc-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: var(--gdc-s9);
	}
}

.gdc-hero__title {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
	margin-bottom: var(--gdc-s4);
}

.gdc-hero__text {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-lg);
	line-height: var(--gdc-leading-relaxed);
	max-width: 46ch;
	margin-bottom: var(--gdc-s5);
}

.gdc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gdc-s3);
}

/* Figura decorativa de dobradura, construída em CSS (sem imagem, sem JS) */
.gdc-hero__figure {
	position: relative;
	display: none;
	aspect-ratio: 1 / 1;
	max-width: 22rem;
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 62em) {
	.gdc-hero__figure {
		display: block;
	}
}


/* Faixa de categorias */
.gdc-topics {
	display: grid;
	gap: var(--gdc-s4);
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.gdc-topic {
	display: flex;
	flex-direction: column;
	gap: var(--gdc-s2);
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5) var(--gdc-s4);
	text-decoration: none;
	height: 100%;
}

.gdc-topic:hover {
	border-color: var(--gdc-accent);
	box-shadow: var(--gdc-shadow);
}

.gdc-topic__name {
	font-family: var(--gdc-font-head);
	font-size: var(--gdc-text-lg);
	font-weight: 600;
	color: var(--gdc-ink);
}

.gdc-topic:hover .gdc-topic__name {
	color: var(--gdc-accent);
}

.gdc-topic__desc {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-sm);
	line-height: var(--gdc-leading-normal);
}

.gdc-topic__count {
	margin-top: auto;
	padding-top: var(--gdc-s2);
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-xs);
}

/* Bloco de chamada (CTA) */
.gdc-cta {
	display: grid;
	gap: var(--gdc-s5);
	align-items: center;
	background: var(--gdc-second);
	border-radius: var(--gdc-radius-lg);
	color: #f4f7f9;
	padding: var(--gdc-s7) var(--gdc-s6);
}

@media (min-width: 48em) {
	.gdc-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: var(--gdc-s8);
	}
}

.gdc-cta__title {
	color: #fff;
	margin-bottom: var(--gdc-s3);
}

.gdc-cta__text {
	color: #dce5ea;
	margin: 0;
	max-width: 52ch;
}

.gdc-cta .gdc-button {
	background: var(--gdc-surface);
	border-color: var(--gdc-surface);
	color: var(--gdc-second);
	white-space: nowrap;
}

.gdc-cta .gdc-button:hover {
	background: var(--gdc-accent-soft);
	border-color: var(--gdc-accent-soft);
	color: var(--gdc-accent-hover);
}

/* --------------------------------------------------------------------------
   12. Artigo
   -------------------------------------------------------------------------- */

.gdc-breadcrumbs {
	margin-bottom: var(--gdc-s5);
	font-size: var(--gdc-text-sm);
	color: var(--gdc-ink-muted);
}

.gdc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gdc-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.gdc-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: var(--gdc-s2);
}

.gdc-breadcrumbs li + li::before {
	content: "/";
	color: var(--gdc-line-strong);
}

.gdc-breadcrumbs a {
	color: var(--gdc-ink-soft);
	text-decoration: none;
}

.gdc-breadcrumbs a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-breadcrumbs [aria-current="page"] {
	color: var(--gdc-ink-muted);
}

.gdc-article__header {
	margin-bottom: var(--gdc-s6);
}

.gdc-article__title {
	margin-bottom: var(--gdc-s4);
}

.gdc-article__summary {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-lg);
	line-height: var(--gdc-leading-relaxed);
	max-width: var(--gdc-measure);
	margin-bottom: var(--gdc-s4);
}

.gdc-article__meta {
	padding-top: var(--gdc-s4);
	border-top: 1px solid var(--gdc-line);
}

.gdc-article__figure {
	margin-bottom: var(--gdc-s6);
}

.gdc-article__figure img {
	border-radius: var(--gdc-radius);
	width: 100%;
}

.gdc-article__figure figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	margin-top: var(--gdc-s2);
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-sm);
	line-height: var(--gdc-leading-snug);
	text-align: left;
}

/* Corpo do texto */
.gdc-content {
	font-size: var(--gdc-text-md);
	line-height: var(--gdc-leading-relaxed);
}

.gdc-content > * {
	max-width: var(--gdc-measure);
}

.gdc-content > .alignwide,
.gdc-content > .alignfull,
.gdc-content > .gdc-tutorial-facts,
.gdc-content > .gdc-toc,
.gdc-content > figure,
.gdc-content > .wp-block-image,
.gdc-content > .wp-block-gallery,
.gdc-content > .wp-block-table,
.gdc-content > .gdc-ad-slot {
	max-width: none;
}

.gdc-content h2 {
	margin-top: var(--gdc-s8);
	padding-bottom: var(--gdc-s2);
	border-bottom: 1px solid var(--gdc-line);
}

.gdc-content h3 {
	margin-top: var(--gdc-s6);
}

.gdc-content h4 {
	margin-top: var(--gdc-s5);
}

.gdc-content > h2:first-child,
.gdc-content > h3:first-child {
	margin-top: 0;
}

.gdc-content ul,
.gdc-content ol {
	margin: 0 0 var(--gdc-s4);
	padding-left: 1.4em;
}

.gdc-content li + li {
	margin-top: var(--gdc-s2);
}

.gdc-content li > ul,
.gdc-content li > ol {
	margin-top: var(--gdc-s2);
	margin-bottom: 0;
}

.gdc-content ol {
	padding-left: 1.3em;
}

.gdc-content ol li::marker {
	color: var(--gdc-accent);
	font-weight: 700;
}

.gdc-content figure,
.gdc-content .wp-block-image {
	margin-block: var(--gdc-s6);
}

.gdc-content img {
	border-radius: var(--gdc-radius);
}

.gdc-content a {
	text-decoration: underline;
}

/* Tabelas */
.gdc-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--gdc-text-sm);
	margin-block: var(--gdc-s6);
}

.gdc-content th,
.gdc-content td,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid var(--gdc-line);
	padding: var(--gdc-s3);
	text-align: left;
	vertical-align: top;
}

.gdc-content thead th,
.wp-block-table thead th {
	background: var(--gdc-paper-deep);
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wp-block-table {
	overflow-x: auto;
}

/* Caixas de destaque — classes utilizáveis no editor de blocos */
.gdc-callout {
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-left: 4px solid var(--gdc-second);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5);
	margin-block: var(--gdc-s6);
}

.gdc-callout > :last-child {
	margin-bottom: 0;
}

.gdc-callout__title {
	display: flex;
	align-items: center;
	gap: var(--gdc-s2);
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gdc-second);
	margin-bottom: var(--gdc-s3);
}

.gdc-callout--tip {
	background: var(--gdc-accent-soft);
	border-color: #f0dbd0;
	border-left-color: var(--gdc-accent);
}

.gdc-callout--tip .gdc-callout__title {
	color: var(--gdc-accent);
}

.gdc-callout--note {
	background: #fdf6e3;
	border-color: #f0e3bf;
	border-left-color: #a9801f;
}

.gdc-callout--note .gdc-callout__title {
	color: #8a6715;
}

/* Fatos do tutorial (dificuldade, tempo, papel, materiais) */
.gdc-tutorial-facts {
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5);
	margin-bottom: var(--gdc-s6);
}

.gdc-tutorial-facts__title {
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gdc-ink-soft);
	margin: 0 0 var(--gdc-s4);
}

.gdc-facts {
	display: grid;
	gap: var(--gdc-s4);
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	margin: 0;
}

.gdc-facts__item {
	display: flex;
	align-items: flex-start;
	gap: var(--gdc-s3);
}

.gdc-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--gdc-accent-soft);
	border-radius: var(--gdc-radius-sm);
	color: var(--gdc-accent);
}

.gdc-facts__icon .gdc-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.gdc-facts__label {
	display: block;
	font-size: var(--gdc-text-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gdc-ink-muted);
}

.gdc-facts__value {
	display: block;
	font-size: var(--gdc-text-base);
	font-weight: 600;
	line-height: var(--gdc-leading-snug);
	margin-top: 0.1rem;
}

.gdc-materials {
	margin-top: var(--gdc-s5);
	padding-top: var(--gdc-s4);
	border-top: 1px solid var(--gdc-line);
}

.gdc-materials__list {
	list-style: none;
	display: grid;
	gap: var(--gdc-s2);
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin: 0;
	padding: 0;
	font-size: var(--gdc-text-base);
}

.gdc-materials__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--gdc-s2);
	margin: 0;
}

.gdc-materials__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: 0.55em;
	background: var(--gdc-accent);
	transform: rotate(45deg);
}

/* Sumário */
.gdc-toc {
	background: var(--gdc-paper-deep);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5);
	margin-bottom: var(--gdc-s6);
}

.gdc-toc__title {
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gdc-ink-soft);
	margin: 0 0 var(--gdc-s3);
}

.gdc-toc ol {
	counter-reset: gdc-toc;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--gdc-text-base);
}

.gdc-toc > ol > li {
	counter-increment: gdc-toc;
	margin: 0;
}

.gdc-toc > ol > li + li {
	margin-top: var(--gdc-s2);
}

.gdc-toc > ol > li > a::before {
	content: counter(gdc-toc) ". ";
	color: var(--gdc-ink-muted);
}

.gdc-toc a {
	color: var(--gdc-ink);
	text-decoration: none;
}

.gdc-toc a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-toc ol ol {
	margin: var(--gdc-s2) 0 0 var(--gdc-s4);
	font-size: var(--gdc-text-sm);
}

.gdc-toc ol ol li + li {
	margin-top: var(--gdc-s1);
}

.gdc-toc ol ol a {
	color: var(--gdc-ink-soft);
}

/* FAQ */
.gdc-faq {
	margin-top: var(--gdc-s8);
}

.gdc-faq__item {
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	margin-bottom: var(--gdc-s3);
	padding: var(--gdc-s4) var(--gdc-s5);
}

.gdc-faq__question {
	font-family: var(--gdc-font-head);
	font-size: var(--gdc-text-lg);
	font-weight: 600;
	margin: 0 0 var(--gdc-s2);
}

.gdc-faq__answer > :last-child {
	margin-bottom: 0;
}

/* Rodapé do artigo */
.gdc-article__footer {
	margin-top: var(--gdc-s8);
	padding-top: var(--gdc-s5);
	border-top: 1px solid var(--gdc-line);
}

.gdc-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gdc-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.gdc-tags__label {
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	color: var(--gdc-ink-soft);
}

.gdc-author-box {
	display: grid;
	gap: var(--gdc-s4);
	align-items: start;
	background: var(--gdc-paper-deep);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5);
	margin-top: var(--gdc-s6);
}

@media (min-width: 36em) {
	.gdc-author-box {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

.gdc-author-box img {
	border-radius: 50%;
}

.gdc-author-box__name {
	font-size: var(--gdc-text-lg);
	margin: 0 0 var(--gdc-s2);
}

.gdc-author-box__bio {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-sm);
	margin: 0;
}

/* Navegação anterior/próximo */
.gdc-post-nav {
	margin-top: var(--gdc-s7);
}

.gdc-post-nav__links {
	display: grid;
	gap: var(--gdc-s4);
}

@media (min-width: 48em) {
	.gdc-post-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Existindo só o "próximo", ele vai para a coluna da direita — é lá que
	   o alinhamento do texto e a seta mental do leitor esperam encontrá-lo. */
	.gdc-post-nav__link--next:only-child {
		grid-column: 2;
	}
}

.gdc-post-nav__link {
	display: block;
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s4);
	text-decoration: none;
	height: 100%;
}

.gdc-post-nav__link:hover {
	border-color: var(--gdc-accent);
}

.gdc-post-nav__direction {
	display: block;
	font-size: var(--gdc-text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gdc-ink-muted);
	margin-bottom: var(--gdc-s2);
}

.gdc-post-nav__title {
	display: block;
	font-family: var(--gdc-font-head);
	font-size: var(--gdc-text-base);
	font-weight: 600;
	color: var(--gdc-ink);
	line-height: var(--gdc-leading-snug);
}

.gdc-post-nav__link:hover .gdc-post-nav__title {
	color: var(--gdc-accent);
}

.gdc-post-nav__link--prev {
	text-align: left;
}

.gdc-post-nav__link--next {
	text-align: right;
}

/* --------------------------------------------------------------------------
   13. Barra lateral e widgets
   -------------------------------------------------------------------------- */

.gdc-sidebar {
	display: grid;
	gap: var(--gdc-s5);
}

@media (min-width: 62em) {
	.gdc-sidebar--sticky {
		position: sticky;
		top: 6rem;
	}
}

.gdc-widget {
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5);
	font-size: var(--gdc-text-base);
}

.gdc-widget__title,
.gdc-widget .widget-title {
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gdc-ink-soft);
	margin: 0 0 var(--gdc-s4);
}

.gdc-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gdc-widget li + li {
	margin-top: var(--gdc-s3);
	padding-top: var(--gdc-s3);
	border-top: 1px solid var(--gdc-line);
}

.gdc-widget a {
	color: var(--gdc-ink);
	text-decoration: none;
}

.gdc-widget a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-widget .children,
.gdc-widget .sub-menu {
	margin-top: var(--gdc-s3);
	padding-left: var(--gdc-s4);
}

/* --------------------------------------------------------------------------
   14. Arquivos, paginação, busca, 404
   -------------------------------------------------------------------------- */

.gdc-archive-header {
	margin-bottom: var(--gdc-s7);
	padding-bottom: var(--gdc-s5);
	border-bottom: 1px solid var(--gdc-line);
}

.gdc-archive-header__title {
	margin-bottom: var(--gdc-s3);
}

.gdc-archive-header__description {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-lg);
	line-height: var(--gdc-leading-relaxed);
	max-width: var(--gdc-measure);
}

.gdc-archive-header__description > :last-child {
	margin-bottom: 0;
}

.gdc-archive-header__count {
	margin: var(--gdc-s3) 0 0;
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-sm);
}

.gdc-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gdc-s2);
	list-style: none;
	margin: var(--gdc-s4) 0 0;
	padding: 0;
}

.gdc-pagination {
	margin-top: var(--gdc-s8);
	padding-top: var(--gdc-s5);
	border-top: 1px solid var(--gdc-line);
}

.gdc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gdc-s2);
}

.gdc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: var(--gdc-s3);
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line-strong);
	border-radius: var(--gdc-radius-sm);
	color: var(--gdc-ink);
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	text-decoration: none;
}

.gdc-pagination a.page-numbers:hover {
	border-color: var(--gdc-accent);
	color: var(--gdc-accent);
}

.gdc-pagination .page-numbers.current {
	background: var(--gdc-accent);
	border-color: var(--gdc-accent);
	color: #fff;
}

.gdc-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* Busca */
.gdc-search-intro {
	margin-bottom: var(--gdc-s6);
}

.gdc-search-intro .gdc-search-form {
	max-width: 32rem;
	margin-top: var(--gdc-s4);
}

.gdc-no-results {
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s6);
}

.gdc-no-results__suggestions {
	display: grid;
	gap: var(--gdc-s2);
	list-style: none;
	margin: var(--gdc-s4) 0 0;
	padding: 0;
}

.gdc-no-results__suggestions li {
	padding-left: 1.2em;
	position: relative;
}

.gdc-no-results__suggestions li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--gdc-accent);
	transform: rotate(45deg);
}

/* 404 */
.gdc-error-404 {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
}

.gdc-error-404__code {
	font-family: var(--gdc-font-head);
	font-size: clamp(3.5rem, 2rem + 8vw, 6rem);
	line-height: 1;
	color: var(--gdc-line-strong);
	margin: 0 0 var(--gdc-s4);
}

.gdc-error-404 .gdc-search-form {
	max-width: 26rem;
	margin: var(--gdc-s5) auto 0;
	text-align: left;
}

.gdc-error-404 .gdc-subcategories {
	justify-content: center;
	margin-top: var(--gdc-s4);
}

.gdc-error-404 .gdc-section__head {
	justify-content: center;
}

.gdc-error-404 .gdc-grid {
	text-align: left;
}

.gdc-error-404__headline {
	margin-top: var(--gdc-s7);
	font-size: var(--gdc-text-xl);
}

/* --------------------------------------------------------------------------
   15. Páginas e formulário de contato
   -------------------------------------------------------------------------- */

.gdc-page__header {
	margin-bottom: var(--gdc-s6);
	padding-bottom: var(--gdc-s5);
	border-bottom: 1px solid var(--gdc-line);
}

.gdc-page__header .gdc-page__title {
	margin-bottom: 0;
}

.gdc-page__updated {
	margin: var(--gdc-s3) 0 0;
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-sm);
}

.gdc-form-notice {
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s4) var(--gdc-s5);
	margin-bottom: var(--gdc-s5);
	border: 1px solid;
}

.gdc-form-notice > :last-child {
	margin-bottom: 0;
}

.gdc-form-notice--success {
	background: #eef7ef;
	border-color: #c6e2c9;
	color: #1f5128;
}

.gdc-form-notice--error {
	background: #fdeeec;
	border-color: #f2c9c3;
	color: #7d2418;
}

.gdc-form-notice__list {
	margin: var(--gdc-s2) 0 0;
	padding-left: 1.2em;
}

.gdc-form {
	max-width: 36rem;
}

.gdc-form input[aria-invalid="true"],
.gdc-form textarea[aria-invalid="true"] {
	border-color: #b3372a;
}

.gdc-field__error {
	display: block;
	margin-top: var(--gdc-s2);
	color: #8c2b20;
	font-size: var(--gdc-text-sm);
	font-weight: 600;
}

.gdc-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   16. Comentários
   -------------------------------------------------------------------------- */

.gdc-comments {
	margin-top: var(--gdc-s9);
	padding-top: var(--gdc-s6);
	border-top: 1px solid var(--gdc-line);
}

.gdc-comments__title {
	font-size: var(--gdc-text-2xl);
}

.gdc-comments .comment-list {
	list-style: none;
	margin: 0 0 var(--gdc-s7);
	padding: 0;
}

.gdc-comments .comment-list ol.children {
	list-style: none;
	margin: var(--gdc-s4) 0 0 var(--gdc-s5);
	padding: 0;
}

.gdc-comments .comment-body {
	background: var(--gdc-surface);
	border: 1px solid var(--gdc-line);
	border-radius: var(--gdc-radius);
	padding: var(--gdc-s5);
	margin-bottom: var(--gdc-s4);
}

.gdc-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gdc-s2) var(--gdc-s3);
	font-size: var(--gdc-text-sm);
	color: var(--gdc-ink-muted);
	margin-bottom: var(--gdc-s3);
}

.gdc-comments .comment-author img {
	border-radius: 50%;
	margin-right: var(--gdc-s2);
	vertical-align: middle;
}

.gdc-comments .reply {
	font-size: var(--gdc-text-sm);
	font-weight: 600;
}

.comment-respond .comment-form-cookies-consent label,
.comment-respond .comment-notes {
	font-weight: 400;
	font-size: var(--gdc-text-sm);
	color: var(--gdc-ink-soft);
	display: inline;
}

.comment-form p {
	margin-bottom: var(--gdc-s4);
}

/* --------------------------------------------------------------------------
   17. Espaços de anúncio (vazios e desativados por padrão)
   -------------------------------------------------------------------------- */

.gdc-ad-slot {
	margin-block: var(--gdc-s6);
	text-align: center;
}

.gdc-ad-slot__label {
	display: block;
	margin-bottom: var(--gdc-s2);
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gdc-ad-slot--sidebar {
	margin-block: 0;
}

/* --------------------------------------------------------------------------
   18. Rodapé
   -------------------------------------------------------------------------- */

.gdc-site-footer {
	background: var(--gdc-surface);
	border-top: 1px solid var(--gdc-line);
	margin-top: auto;
	padding-block: var(--gdc-s8) var(--gdc-s6);
}

.gdc-footer__grid {
	display: grid;
	gap: var(--gdc-s6);
	margin-bottom: var(--gdc-s6);
}

@media (min-width: 48em) {
	.gdc-footer__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--gdc-s8);
	}
}

.gdc-footer__about p {
	color: var(--gdc-ink-soft);
	font-size: var(--gdc-text-sm);
	max-width: 42ch;
	margin-bottom: 0;
}

.gdc-footer__nav {
	min-width: 0;
}

.gdc-footer__heading {
	font-family: var(--gdc-font-body);
	font-size: var(--gdc-text-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gdc-ink-soft);
	margin: 0 0 var(--gdc-s3);
}

.gdc-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--gdc-text-sm);
}

.gdc-footer__menu li + li {
	margin-top: var(--gdc-s2);
}

.gdc-footer__menu a {
	color: var(--gdc-ink-soft);
	text-decoration: none;
}

.gdc-footer__menu a:hover {
	color: var(--gdc-accent);
	text-decoration: underline;
}

.gdc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--gdc-s3);
	padding-top: var(--gdc-s5);
	border-top: 1px solid var(--gdc-line);
	color: var(--gdc-ink-muted);
	font-size: var(--gdc-text-sm);
}

.gdc-footer__bottom p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   19. Utilitários e alinhamentos do editor
   -------------------------------------------------------------------------- */

.gdc-visually-balanced {
	max-width: var(--gdc-measure);
}

.gdc-text-center {
	text-align: center;
}

.gdc-mt-0 {
	margin-top: 0;
}

.gdc-mb-0 {
	margin-bottom: 0;
}

.alignleft {
	float: left;
	margin: 0 var(--gdc-s5) var(--gdc-s4) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--gdc-s4) var(--gdc-s5);
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	margin-inline: auto;
}

.gdc-content > .alignfull {
	margin-inline: calc(-1 * var(--gdc-gutter));
	width: calc(100% + (2 * var(--gdc-gutter)));
	max-width: none;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
}

.wp-block-embed.wp-embed-aspect-16-9 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--gdc-radius);
}

.sticky .gdc-card__title::after {
	content: " ★";
	color: var(--gdc-accent);
}

/* --------------------------------------------------------------------------
   20. Impressão — artigos legíveis no papel
   -------------------------------------------------------------------------- */

@media print {
	.gdc-site-header,
	.gdc-site-footer,
	.gdc-ad-slot,
	.gdc-post-nav,
	.gdc-comments,
	.gdc-sidebar,
	.gdc-related,
	.gdc-skip-link,
	.gdc-breadcrumbs {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.gdc-content > * {
		max-width: none;
	}

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

	.gdc-content h2,
	.gdc-content h3 {
		break-after: avoid;
	}

	figure,
	.gdc-tutorial-facts,
	.gdc-facts__item {
		break-inside: avoid;
	}
}


/* --------------------------------------------------------------------------
   21. Handmade skin: canvas, indigo and running-stitch details
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	letter-spacing: -0.02em;
}

.gdc-site-header {
	background: var(--gdc-paper);
	border-bottom: 0;
	box-shadow: 0 1px 0 var(--gdc-line);
}

.gdc-site-header::after {
	content: "";
	display: block;
	height: 4px;
	background: repeating-linear-gradient(90deg, var(--gdc-accent) 0 14px, transparent 14px 22px);
	opacity: 0.85;
}

.gdc-branding__title {
	font-family: var(--gdc-font-ui);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: var(--gdc-text-lg);
}

.gdc-branding__tagline {
	font-family: var(--gdc-font-ui);
	letter-spacing: 0.02em;
}

.gdc-site-header nav a,
.gdc-menu-toggle,
.gdc-button,
.gdc-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.gdc-eyebrow,
.gdc-chip,
.gdc-meta,
.gdc-section__link,
.gdc-breadcrumbs,
.gdc-footer__menu,
label {
	font-family: var(--gdc-font-ui);
}

.gdc-site-header nav a {
	font-size: var(--gdc-text-sm);
	font-weight: 600;
	letter-spacing: 0.03em;
}

.gdc-button,
.gdc-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	letter-spacing: 0.03em;
	box-shadow: inset 0 0 0 3px var(--gdc-accent), inset 0 0 0 4px rgba(255, 255, 255, 0.55);
	padding: 0.85rem 1.6rem;
}

.gdc-button--secondary {
	box-shadow: none;
	border-style: dashed;
	border-color: var(--gdc-ink-soft);
}

.gdc-menu-toggle,
.gdc-header__search button,
.search-form button {
	box-shadow: none;
}

.gdc-chip {
	border-radius: 2px;
	background: var(--gdc-second-soft);
	color: #6b4708;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gdc-eyebrow {
	letter-spacing: 0.14em;
}

/* Cards read as sewn-on labels: square corners and a running stitch inside the edge. */
.gdc-card {
	position: relative;
	border-color: var(--gdc-line-strong);
	box-shadow: none;
}

.gdc-card::after {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px dashed var(--gdc-line-strong);
	pointer-events: none;
}

.gdc-card:hover {
	box-shadow: 6px 6px 0 var(--gdc-second-soft);
	transform: translate(-2px, -2px);
}

.gdc-card:hover::after {
	border-color: var(--gdc-accent);
}

.gdc-card__media {
	aspect-ratio: 16 / 10;
}

.gdc-card__title {
	font-size: var(--gdc-text-md);
	letter-spacing: -0.01em;
}

.gdc-section__title {
	display: inline-block;
	padding-bottom: 0.35rem;
	background: repeating-linear-gradient(90deg, var(--gdc-ochre) 0 10px, transparent 10px 16px) left bottom / 100% 3px no-repeat;
}

.gdc-steps > li {
	border-style: dashed;
}

/* Hero: indigo panel with a drawn tote. */
.gdc-hero {
	background: var(--gdc-second);
	border-bottom: 0;
	color: #eef0f7;
	position: relative;
	overflow: hidden;
}

.gdc-hero::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px dashed rgba(255, 255, 255, 0.28);
	pointer-events: none;
}

.gdc-hero__title {
	color: #fff;
	font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
	letter-spacing: -0.03em;
	line-height: 1.05;
	max-width: 14ch;
}

.gdc-hero__text {
	color: #d5d9ea;
}

.gdc-hero .gdc-button--primary {
	background: var(--gdc-ochre);
	border-color: var(--gdc-ochre);
	color: #1f2430;
	box-shadow: inset 0 0 0 3px var(--gdc-ochre), inset 0 0 0 4px rgba(31, 36, 48, 0.45);
}

.gdc-hero .gdc-button--primary:hover {
	background: #dba038;
	border-color: #dba038;
	color: #1f2430;
}

.gdc-hero .gdc-button--secondary {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

.gdc-hero .gdc-button--secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

.gdc-hero__figure {
	aspect-ratio: 10 / 11;
	max-width: 24rem;
}

.gdc-hero__figure svg {
	display: block;
	width: 100%;
	height: 100%;
}

.gdc-cta {
	background: var(--gdc-second-soft);
	color: var(--gdc-ink);
	border: 1px dashed #b98a3a;
	outline: 6px solid var(--gdc-second-soft);
}

.gdc-cta__title {
	color: var(--gdc-ink);
}

.gdc-cta__text {
	color: var(--gdc-ink-soft);
}

.gdc-cta .gdc-button {
	background: var(--gdc-accent);
	border-color: var(--gdc-accent);
	color: #fff;
}

.gdc-cta .gdc-button:hover {
	background: var(--gdc-accent-hover);
	border-color: var(--gdc-accent-hover);
	color: #fff;
}

.gdc-callout {
	border-radius: 0;
}

.gdc-content figure img {
	border: 1px solid var(--gdc-line);
}

.gdc-site-footer {
	border-top: 4px solid transparent;
	border-image: repeating-linear-gradient(90deg, var(--gdc-ochre) 0 14px, transparent 14px 22px) 4;
}

.gdc-hero + .gdc-container {
	padding-top: var(--gdc-s8);
}
