/*
 * Home Optimizer — ajustes gráficos 2026
 * Tipografia, cores e acessibilidade em todo o site (sem alterar o layout, exceto o footer).
 * Carregado depois do CSS do tema (ver functions.php: ho_ajustes_2026_styles).
 *
 * Nota: o tema define html { font-size: 62.5% } (1rem = 10px), por isso os tamanhos estão em px.
 */

/* 1. Fontes locais
---------------------------------------------------------------------------------------------------- */

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/lora-latin-variable.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-sans-3-latin-variable.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-sans-3-latin-italic-variable.woff2") format("woff2");
}

/* 2. Design tokens
---------------------------------------------------------------------------------------------------- */

:root {
	/* Cores */
	--ho-text:         #0a1229;
	--ho-text-muted:   #4a5163;
	--ho-brown:        #542e21;
	--ho-action:       #c4342f;
	--ho-action-hover: #a52a26;
	--ho-coral-deco:   #ef544f; /* só decorativo: nunca texto nem fundo de texto */
	--ho-sand:         #f7f1ea;
	--ho-sand-light:   #faf7f3;
	--ho-border:       #e6e1da;
	--ho-input-border: #8a8f9c;
	--ho-white:        #ffffff;

	/* Tipografia */
	--ho-font-display: "Lora", Georgia, "Times New Roman", serif;
	--ho-font-body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ho-fs-h1:    clamp(40px, calc(25.6px + 2.8vw), 64px);
	--ho-fs-h2:    clamp(30px, calc(24px + 1.2vw), 40px);
	--ho-fs-h3:    clamp(22px, calc(18.4px + 0.7vw), 30px);
	--ho-fs-lead:  clamp(19px, calc(17.6px + 0.3vw), 21px);
	--ho-fs-body:  clamp(17px, calc(16.5px + 0.1vw), 18px);
	--ho-fs-small: 15px;
	--ho-fs-nav:   16px;
	--ho-fs-btn:   17px;

	--ho-lh-heading: 1.2;
	--ho-lh-lead:    1.55;
	--ho-lh-body:    1.65;

	/* Medidas */
	--ho-measure: 720px;
	--ho-tap:     48px;
}

/* 3. Base
---------------------------------------------------------------------------------------------------- */

body,
body > div {
	color: var(--ho-text);
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-body);
	line-height: var(--ho-lh-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.widget-title {
	color: var(--ho-text);
	font-family: var(--ho-font-display);
	font-weight: 500;
	letter-spacing: 0;
	line-height: var(--ho-lh-heading);
	text-transform: none;
}

h1,
.entry-title {
	font-size: var(--ho-fs-h1);
	letter-spacing: -0.01em;
	line-height: 1.08;
}

h2 {
	font-size: var(--ho-fs-h2);
}

h3 {
	font-size: var(--ho-fs-h3);
	font-weight: 600;
	line-height: 1.25;
}

h4 {
	font-size: clamp(20px, calc(17.6px + 0.4vw), 24px);
	font-weight: 600;
}

h5,
h6 {
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-body);
	font-weight: 700;
}

small,
.small {
	font-size: var(--ho-fs-small);
	line-height: 1.5;
}

::selection {
	background-color: var(--ho-sand);
	color: var(--ho-text);
}

/* 4. Links
---------------------------------------------------------------------------------------------------- */

a {
	color: var(--ho-action);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 150ms ease, background-color 150ms ease;
}

a:hover,
a:focus {
	color: var(--ho-action-hover);
	text-decoration: underline;
}

/* Links de navegação e títulos: sem sublinhado */
.genesis-nav-menu a,
.site-title a,
.entry-title a,
.widget_nav_menu a,
.ho-social a,
.archive-pagination a,
.genesis-skip-link a {
	text-decoration: none;
}

.entry-title a,
.sidebar .widget-title a {
	color: var(--ho-text);
}

.entry-title a:hover,
.entry-title a:focus {
	color: var(--ho-action);
	text-decoration: underline;
}

/* 5. Botões
---------------------------------------------------------------------------------------------------- */

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
a.button,
.more-link.button,
.enews-widget input[type="submit"],
.frm_button_submit,
.wp-block-button__link {
	align-items: center;
	background-color: var(--ho-action);
	border: 0;
	border-radius: 0;
	color: var(--ho-white);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-btn);
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.2;
	min-height: var(--ho-tap);
	padding: 0 24px;
	text-decoration: none;
	text-transform: none;
	transition: background-color 150ms ease, color 150ms ease;
	width: auto;
}

input[type="submit"],
input[type="button"],
input[type="reset"] {
	display: inline-block;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus,
a.button:hover,
a.button:focus,
.enews-widget input[type="submit"]:hover,
.enews-widget input[type="submit"]:focus,
.entry-content .button:hover,
.entry-content .button:focus,
.footer-widgets .button:hover,
.frm_button_submit:hover,
.wp-block-button__link:hover,
.front-page-1 .textwidget a.button:hover,
.front-page-1 .textwidget a.button:focus,
.front-page-2 .textwidget a.button:hover,
.front-page-2 .textwidget a.button:focus,
.front-page-3 .textwidget a.button:hover,
.front-page-3 .textwidget a.button:focus,
.front-page-4 .textwidget a.button:hover,
.front-page-4 .textwidget a.button:focus,
.front-page-5 .textwidget a.button:hover,
.front-page-5 .textwidget a.button:focus {
	background-color: var(--ho-action-hover);
	border: 0;
	color: var(--ho-white);
	text-decoration: none;
}

/* Os botões do tema na homepage têm uma borda inferior branca de "link" */
.front-page-1 a.button,
.front-page-3 a.button,
.front-page-5 a.button {
	border-bottom: 0;
	color: var(--ho-white);
}

/* Menu móvel e submenus: botões de ícone, não botões de ação */
.menu-toggle,
.sub-menu-toggle,
.offscreen-content-toggle {
	background-color: transparent;
	color: var(--ho-text);
	font-weight: 600;
	min-height: 44px;
}

.menu-toggle:hover,
.menu-toggle:focus,
.sub-menu-toggle:hover,
.sub-menu-toggle:focus {
	background-color: transparent;
	color: var(--ho-action);
}

/* 6. Foco visível
---------------------------------------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.menu-toggle:focus-visible,
.sub-menu-toggle:focus-visible {
	outline: 2px solid var(--ho-text);
	outline-offset: 2px;
}

/* Botões e links sobre fotografias: o anel azul-noite continua visível sobre fundos claros */
.button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--ho-text);
	outline-offset: 3px;
}

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

input,
select,
textarea {
	background-color: var(--ho-white);
	border: 1px solid var(--ho-input-border);
	color: var(--ho-text);
	font-family: var(--ho-font-body);
	font-size: 17px;
	line-height: 1.4;
	min-height: var(--ho-tap);
	padding: 10px 14px;
}

input:focus,
select:focus,
textarea:focus {
	background-color: var(--ho-white);
	border-color: var(--ho-text);
}

input[type="checkbox"],
input[type="radio"] {
	min-height: 0;
}

::placeholder {
	color: var(--ho-text-muted);
	opacity: 1;
}

::-webkit-input-placeholder {
	color: var(--ho-text-muted);
}

label,
.ho-label,
.frm_primary_label {
	color: var(--ho-text);
	display: block;
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-small);
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 6px;
	text-align: left;
}

/* 8. Cabeçalho: só tipografia e cores (o layout é o do header novo, em style.css)
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu a,
.site-header .genesis-nav-menu > .menu-item > a {
	color: var(--ho-text);
	font-family: var(--ho-font-body);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.site-header .genesis-nav-menu > .menu-item > a {
	font-size: var(--ho-fs-nav);
}

.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus,
.front-page .genesis-nav-menu a:hover,
.front-page .genesis-nav-menu a:focus,
.header-image.front-page .genesis-nav-menu a:hover,
.header-image.front-page .genesis-nav-menu a:focus {
	color: var(--ho-action);
}

.header-image.front-page .genesis-nav-menu .current-menu-item > a,
.front-page .genesis-nav-menu .current-menu-item > a {
	color: var(--ho-action);
}

.genesis-nav-menu .sub-menu,
.genesis-nav-menu .sub-menu a {
	border-color: var(--ho-border);
}

.genesis-nav-menu .sub-menu a {
	font-size: 15px;
	line-height: 1.35;
}

.site-header {
	border-bottom-color: var(--ho-border);
}

/* Botão "Fale Connosco": estilo global de botão, com o tamanho compacto do header */
.site-header .header-cta {
	font-size: 16px;
	letter-spacing: 0;
	min-height: 44px;
	padding: 0 18px;
	text-transform: none;
}

/* Logo 2026 em SVG (487×98, sem margens). Mais pequeno que o PNG antigo (lê-se melhor) e
   centrado na altura do header, para ficar com margem no topo da página. */
.header-image .title-area {
	min-height: 0;
}

@media only screen and (min-width: 601px) {
	.header-image .title-area {
		margin-bottom: 14px;
		margin-top: 14px;
	}
}

@media only screen and (min-width: 801px) {
	.header-image .title-area {
		margin-bottom: 18px;
		margin-top: 18px;
	}
}

.header-image .site-title > a {
	aspect-ratio: 487.01 / 98.48;
	background-position: left center !important;
	background-size: contain !important;
	display: block;
	height: auto;
	min-height: 0;
	width: 180px;
}

@media only screen and (min-width: 801px) {
	/* cresce de 220px (1180px de ecrã) até 250px (1440px) */
	.header-image .site-title > a {
		width: clamp(220px, calc(11.5vw + 84px), 250px);
	}
}

@media only screen and (min-width: 801px) and (max-width: 1239px) {
	.header-image .site-title > a {
		width: 220px;
	}
}

@media only screen and (max-width: 600px) {
	/* logo + botão + menu numa linha */
	.header-image .site-title > a {
		height: auto;
		width: 150px;
	}
}

@media only screen and (max-width: 374px) {
	.header-image .site-title > a {
		width: 135px;
	}
}

@media only screen and (max-width: 339px) {
	/* a 320px sobram 106px */
	.header-image .site-title > a {
		width: 100px;
	}
}

/* 9. Cartões, faixas e linhas
---------------------------------------------------------------------------------------------------- */

.front-page .solid-section .content-box,
.offscreen-content .enews-widget,
.landing-page .enews-widget,
.lead-capture-page .enews-widget {
	background-color: var(--ho-sand);
}

hr {
	border-top-color: var(--ho-border);
}

/* 10. Utilitários de acessibilidade
---------------------------------------------------------------------------------------------------- */

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

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

/* 11. Homepage
---------------------------------------------------------------------------------------------------- */

/* Parágrafos centrados: só as linhas de texto encolhem, não as secções */
.front-page .widget p {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--ho-measure);
}

.front-page-2 .widget-title,
.front-page-3 .widget-title,
.front-page-4 .widget-title,
.front-page-5 .widget-title,
.front-page h2 {
	font-family: var(--ho-font-display);
	font-size: var(--ho-fs-h2);
	font-weight: 500;
	line-height: var(--ho-lh-heading);
	margin-bottom: 20px;
}

/* 11.1 Hero ("Organizamos espaços") — texto sobe para as tábuas brancas */
.front-page-1 {
	background-position: center bottom;
}

.front-page-1 .widget-area {
	padding-top: clamp(40px, 7vh, 100px);
	vertical-align: top;
}

.front-page-1 .widget-title {
	color: var(--ho-text);
	font-family: var(--ho-font-display);
	font-size: var(--ho-fs-h1);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.08;
	margin-bottom: 20px;
}

.front-page-1 p {
	color: var(--ho-text);
	font-size: var(--ho-fs-lead);
	letter-spacing: 0;
	line-height: var(--ho-lh-lead);
	text-transform: none;
}

.front-page-1 .textwidget p:first-child > br:first-child {
	display: none;
}

.front-page-1 .textwidget p + p {
	margin-top: 28px;
}

.front-page-1 a.button + a.button,
.front-page-1 .textwidget a.button {
	margin: 6px;
}

/* 11.2 Serviços de organização */
.front-page-2 p.thirty,
.front-page-2 > .widget-area .widget:first-child p {
	color: var(--ho-text-muted);
	font-size: var(--ho-fs-lead);
	line-height: var(--ho-lh-lead);
}

.front-page .content-box h3 {
	font-family: var(--ho-font-display);
	font-size: var(--ho-fs-h3);
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 14px;
}

.front-page .content-box p {
	color: var(--ho-text);
	font-size: 18px;
	line-height: var(--ho-lh-body);
	margin-bottom: 14px;
}

.front-page .content-box a {
	color: var(--ho-action);
	font-weight: 700;
	text-decoration: underline;
}

.front-page .content-box a:hover,
.front-page .content-box a:focus {
	color: var(--ho-action-hover);
}

.content-box .icon {
	color: var(--ho-text);
}

/* 11.3 Faixa com imagem ("Somos Profissionais Certificados", desde nov. 2026) — texto no topo, sobre a parede lisa */
.front-page-3 {
	background-position: center bottom;
	padding-bottom: 300px;
	padding-top: 56px;
}

.front-page-3::before {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.82) 0, rgba(255, 255, 255, 0.74) 62%, rgba(255, 255, 255, 0) 88%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.front-page-3 .wrap {
	position: relative;
	z-index: 1;
}

.front-page-3 h2,
.front-page-3 p {
	color: var(--ho-text) !important; /* o widget tem cor em linha */
}

.front-page-3 p {
	font-size: var(--ho-fs-lead);
	line-height: var(--ho-lh-lead);
}

.front-page-3 a.button {
	margin-top: 16px;
}

/* 11.4 Secção lisa ("Acreditamos no poder da organização", desde nov. 2026) */
.front-page-4 p {
	font-size: var(--ho-fs-lead);
	line-height: var(--ho-lh-lead);
}

.front-page-3 p a:not(.button),
.front-page-4 p a:not(.button) {
	color: var(--ho-action);
	text-decoration: underline;
}

/* 11.4b Reviews do Google (plugin Trustindex, scripts/bd/27) na secção lisa: fonte e cores do site */
.ho-reviews h2 {
	margin-bottom: 32px;
	text-align: center;
}

.ho-reviews .ti-widget.ti-goog .ti-widget-container,
.ho-reviews .ti-widget.ti-goog .ti-widget-container * {
	font-family: var(--ho-font-body);
}

.ho-reviews .ti-widget.ti-goog .ti-widget-container .ti-name {
	color: var(--ho-text);
	font-size: 17px;
}

.ho-reviews .ti-widget.ti-goog .ti-widget-container .ti-date {
	color: var(--ho-text-muted);
	font-size: 15px;
}

.ho-reviews .ti-widget.ti-goog .ti-review-content {
	color: var(--ho-text);
	font-size: 17px;
	height: 104px !important; /* 4 linhas (o plugin fixa 87px com !important) */
	line-height: 26px;
}

.ho-reviews .ti-widget.ti-goog .ti-read-more span {
	color: var(--ho-action);
	font-size: 15px;
	opacity: 1;
	text-decoration: underline !important;
}

.ho-reviews .ti-widget.ti-goog .ti-read-more span:hover {
	color: var(--ho-action-hover);
}

/* 11.5 "Casa Organizada, Vida Feliz" (nov. 2026) — foto da Susete ao lado do texto, sem foto de fundo.
   A foto é um recorte sem fundo e assenta na base da secção (scripts/bd/26). */
.front-page-5 {
	background-color: var(--ho-sand);
	background-image: none !important;
	padding-bottom: 0;
	padding-top: 72px;
	text-align: left;
}

.front-page-5 .widget-full .wrap {
	max-width: 1080px;
}

.front-page-5 .widget,
.front-page-5 .widget-wrap {
	margin-bottom: 0;
}

.ho-livro {
	align-items: end;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(0, 1fr) 420px;
}

.ho-livro-texto {
	align-self: center;
	padding-bottom: 72px;
}

.ho-livro-foto img {
	display: block;
	height: auto;
	width: 100%;
}

.front-page-5 h2,
.front-page-5 p {
	color: var(--ho-text);
}

.front-page-5 p {
	font-size: var(--ho-fs-lead);
	line-height: var(--ho-lh-lead);
}

.front-page-5 .ho-livro-texto p:last-child {
	margin-top: 24px;
}

@media only screen and (max-width: 800px) {

	/* Em mobile o header não é fixo: o espaço que o JS do tema reserva para ele sobra.
	   O texto sobe para ficar acima das plantas e dos frascos. */
	.front-page-1 {
		padding-top: 0 !important;
	}

	.front-page-1 .widget-area {
		padding-top: 32px;
	}

	.front-page-1 .widget {
		margin-bottom: 0;
	}

	.front-page-2,
	.front-page-4 {
		padding-bottom: 80px;
		padding-top: 80px;
	}

	.front-page-3 {
		padding-bottom: 220px;
		padding-top: 40px;
	}

	/* tablet: duas colunas, foto mais estreita */
	.front-page-5 {
		padding-bottom: 0;
		padding-top: 56px;
	}

	.ho-livro {
		gap: 32px;
		grid-template-columns: minmax(0, 1fr) 280px;
	}

	.ho-livro-texto {
		padding-bottom: 56px;
	}

}

@media only screen and (max-width: 600px) {

	/* telemóvel: foto por baixo do texto, assente na base da secção */
	.front-page-5 {
		padding-top: 64px;
		text-align: center;
	}

	.ho-livro {
		grid-template-columns: minmax(0, 1fr);
	}

	.ho-livro-texto {
		padding-bottom: 0;
	}

	.ho-livro-foto {
		margin: 0 auto;
		max-width: 300px;
		width: 80%;
	}

}

/* 12. Footer (única alteração de layout)
---------------------------------------------------------------------------------------------------- */

/* 12.1 Linha de selos NAPO */
.footer-selos {
	border-top: 1px solid var(--ho-border);
	clear: both;
	padding: 48px 20px 8px;
}

.footer-selos .wrap {
	margin: 0 auto;
	max-width: 1220px;
}

.footer-selos .widget {
	margin: 0;
}

.ho-selos {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.ho-selos li {
	margin: 0;
}

.ho-selos img {
	display: block;
	height: 140px;
	width: auto;
}

/* 12.2 Três colunas */
.footer-widgets {
	border-top: 0;
	font-size: var(--ho-fs-body);
}

.footer-widgets .wrap {
	display: grid;
	gap: 48px;
	grid-template-columns: 1.1fr 1fr 1fr;
	max-width: 1220px;
	padding: 48px 20px 56px;
}

.footer-widgets .wrap::before,
.footer-widgets .wrap::after {
	display: none;
}

.footer-widgets .widget-area,
.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3 {
	float: none;
	padding: 0;
	width: auto;
}

.footer-widgets .widget {
	margin-bottom: 28px;
}

.footer-widgets .widget:last-child {
	margin-bottom: 0;
}

/* Coluna 1 — marca: logo SVG do tema (487×98, sem margens), scripts/bd/30 */
.footer-widgets .widget_media_image img {
	display: block;
	height: auto !important; /* o widget de imagem define estilos em linha */
	max-width: 100% !important;
	width: 260px;
}

.ho-footer-frase {
	color: var(--ho-text);
	font-size: var(--ho-fs-body);
	line-height: var(--ho-lh-body);
	margin-bottom: 20px;
	max-width: 34ch;
}

.ho-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
}

.ho-social li {
	margin: 0;
}

.ho-social a {
	align-items: center;
	background-color: var(--ho-text);
	border-radius: 50%;
	color: var(--ho-white);
	display: flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.ho-social a:hover,
.ho-social a:focus {
	background-color: var(--ho-action);
	color: var(--ho-white);
}

.ho-social svg {
	fill: currentColor;
	height: 20px;
	width: 20px;
}

.ho-apeop {
	margin: 0;
}

.ho-apeop img {
	display: block;
	height: auto;
	width: 180px;
}

/* Coluna 2 — menu do footer */
.footer-widgets .widget_nav_menu li {
	margin: 0 0 18px;
}

.footer-widgets .widget_nav_menu li:last-child {
	margin-bottom: 0;
}

.footer-widgets .widget_nav_menu a {
	color: var(--ho-action);
	display: inline-block;
	font-size: 19px;
	line-height: 1.35;
	padding: 2px 0;
}

.footer-widgets .widget_nav_menu a:hover,
.footer-widgets .widget_nav_menu a:focus {
	color: var(--ho-action-hover);
	text-decoration: underline;
}

/* Coluna 3 — newsletter */
.footer-widgets .enews-widget,
.footer-widgets .enews-widget input {
	text-align: left;
}

.footer-widgets .enews-widget .widget-title {
	font-family: var(--ho-font-display);
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 18px;
	text-align: left;
}

.footer-widgets .enews-widget form {
	margin: 0;
}

.enews-widget input[type="text"],
.enews-widget input[type="email"] {
	font-size: 17px;
	margin-bottom: 14px;
	padding: 10px 14px;
	width: 100%;
}

.enews-widget input[type="submit"] {
	font-size: var(--ho-fs-btn);
	margin-top: 4px;
}

/* 12.3 Barra inferior */
.site-footer {
	border-top: 0;
	line-height: 1.5;
	padding: 0 20px 40px;
	text-align: left;
}

.site-footer .wrap {
	align-items: center;
	border-top: 1px solid var(--ho-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	justify-content: space-between;
	max-width: 1220px;
	padding: 24px 0 0;
}

.site-footer .wrap::before,
.site-footer .wrap::after {
	display: none;
}

.site-footer p {
	color: var(--ho-text-muted);
	font-size: var(--ho-fs-small);
	line-height: 1.5;
}

/* Link "ActiveMedia" nos créditos: mesmo estilo do menu legal */
.site-footer p a {
	color: var(--ho-text);
	font-weight: 600;
	text-decoration: none;
}

.site-footer p a:hover,
.site-footer p a:focus {
	color: var(--ho-action);
	text-decoration: underline;
}

.ho-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
}

.ho-legal-menu li {
	margin: 0;
}

.ho-legal-menu a {
	color: var(--ho-text);
	display: inline-block;
	font-size: var(--ho-fs-small);
	font-weight: 600;
	padding: 12px 0;
	text-decoration: none;
}

.ho-legal-menu a:hover,
.ho-legal-menu a:focus {
	color: var(--ho-action);
	text-decoration: underline;
}

@media only screen and (max-width: 960px) {

	.footer-widgets .wrap {
		grid-template-columns: 1fr 1fr;
	}

	.footer-widgets-1 {
		grid-column: 1 / -1;
	}

}

@media only screen and (max-width: 600px) {

	.ho-selos {
		display: grid;
		gap: 20px;
		grid-template-columns: repeat(2, auto);
	}

	.ho-selos img {
		height: 96px;
	}

	.footer-widgets .wrap {
		gap: 40px;
		grid-template-columns: 1fr;
	}

	.site-footer .wrap {
		align-items: flex-start;
		flex-direction: column;
	}

}

/* 13. Restante site: artigos, páginas, arquivos, widgets
---------------------------------------------------------------------------------------------------- */

/* Artigos: coluna de leitura com --ho-measure */
.single .entry-header,
.single .entry-content,
.single .entry-footer,
.single .after-entry,
.single .author-box,
.single .comment-respond,
.single .entry-comments {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--ho-measure);
}

/* Páginas: só as linhas de texto encolhem; imagens e blocos largos mantêm a largura */
.page:not(.front-page) .entry-content > p,
.page:not(.front-page) .entry-content > ul,
.page:not(.front-page) .entry-content > ol,
.page:not(.front-page) .entry-content > h2,
.page:not(.front-page) .entry-content > h3,
.page:not(.front-page) .entry-content > h4,
.page:not(.front-page) .entry-content > h5,
.page:not(.front-page) .entry-content > h6,
.page:not(.front-page) .entry-content > blockquote,
.page:not(.front-page) .entry-content > dl,
.page:not(.front-page) .entry-content > .frm_forms {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--ho-measure);
}

.entry-content,
.entry-content p,
.entry-content li {
	font-size: var(--ho-fs-body);
	line-height: var(--ho-lh-body);
}

.entry-content h2 {
	font-size: var(--ho-fs-h2);
	margin-top: 48px;
}

.entry-content h3 {
	font-size: var(--ho-fs-h3);
	margin-top: 36px;
}

.entry-content a:not(.button) {
	color: var(--ho-action);
	text-decoration: underline;
}

/* Metadados (data, autor, categorias) */
.entry-meta,
.entry-meta p,
.entry-footer .entry-meta {
	color: var(--ho-text-muted);
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-small);
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
}

.entry-meta a {
	color: var(--ho-text-muted);
	text-decoration: underline;
}

.entry-header::after {
	border-color: var(--ho-coral-deco); /* filete decorativo */
}

/* Citações */
.entry-content blockquote {
	border-left: 4px solid var(--ho-coral-deco);
	color: var(--ho-text);
	font-style: normal;
	margin: 32px auto;
	padding: 4px 0 4px 24px;
}

.entry-content blockquote::before {
	display: none;
}

.entry-content blockquote p {
	font-size: var(--ho-fs-lead);
	line-height: var(--ho-lh-lead);
}

/* Arquivos e listagens: os títulos dos artigos são H2, abaixo do H1 da página */
h2.entry-title,
.archive .entry-title,
.blog .entry-title,
.search .entry-title {
	font-size: var(--ho-fs-h2);
	font-weight: 600;
}

.ho-read-more {
	margin-top: 8px;
}

.ho-read-more .more-link {
	color: var(--ho-action);
	font-weight: 700;
	text-decoration: underline;
}

.author-box {
	background-color: var(--ho-sand);
}

/* Título do blog e dos arquivos: igual ao H1 das outras páginas (sem caixa, com o filete) */
.archive-description {
	background: none;
	border-bottom: 0;
	margin-bottom: 0;
}

.archive-description .entry-title,
.archive-description .archive-title,
.archive-title {
	font-size: var(--ho-fs-h1);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.08;
	margin-bottom: 20px;
}

.archive-description::after {
	border-bottom: 1px solid var(--ho-coral-deco);
	content: "";
	display: block;
	margin: 0 auto 40px;
	padding-bottom: 10px;
	width: 2.5%;
}

/* Paginação */
.archive-pagination li a {
	background-color: var(--ho-sand);
	color: var(--ho-text);
	font-family: var(--ho-font-body);
	font-size: 16px;
	font-weight: 600;
	min-height: 44px;
	min-width: 44px;
	text-align: center;
}

.archive-pagination li a:hover,
.archive-pagination li a:focus,
.archive-pagination li.active a {
	background-color: var(--ho-action);
	color: var(--ho-white);
}

/* Paginação numerada: números ao centro, anterior/seguinte nos extremos */
.archive-pagination ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.archive-pagination li {
	margin: 0;
}

.archive-pagination li a {
	align-items: center;
	display: inline-flex;
	gap: 0.3em;
	justify-content: center;
	margin: 0;
}

.archive-pagination .pagination-previous a,
.archive-pagination .pagination-next a {
	text-transform: none;
	letter-spacing: 0;
}

.archive-pagination .pagination-previous { margin-right: auto; }
.archive-pagination .pagination-next { margin-left: auto; }

@media only screen and (max-width: 600px) {
	.archive-pagination .pagination-previous,
	.archive-pagination .pagination-next {
		flex-basis: 100%;
		margin: 0;
		text-align: center;
	}

	.archive-pagination .pagination-previous { order: -1; }
	.archive-pagination .pagination-next { order: 1; }
}

/* Categorias no fim dos artigos */
.entry-footer .entry-categories {
	font-size: 16px;
}

/* Widgets e sidebar */
.sidebar .widget-title,
.widget-title {
	font-family: var(--ho-font-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.sidebar,
.sidebar p,
.sidebar li {
	font-size: var(--ho-fs-body);
}

/* Breadcrumbs, pesquisa e 404 */
.breadcrumb {
	color: var(--ho-text-muted);
	font-size: var(--ho-fs-small);
}

.search-form input[type="search"] {
	min-height: var(--ho-tap);
}

/* Formulários Formidable (contactos) */
.frm_forms .frm_primary_label {
	font-size: var(--ho-fs-small);
	font-weight: 600;
}

.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms input[type="tel"],
.frm_forms input[type="number"],
.frm_forms select,
.frm_forms textarea {
	border-color: var(--ho-input-border) !important;
	min-height: var(--ho-tap);
}

/* Botão de envio igual aos botões do site (o CSS do Formidable carrega depois e tem a mesma especificidade) */
.entry-content .frm_forms.with_frm_style .frm_submit button,
.entry-content .frm_forms.with_frm_style .frm_submit input[type="submit"] {
	background: var(--ho-action);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--ho-white);
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-btn);
	font-weight: 700;
	min-height: var(--ho-tap);
	padding: 0 24px;
}

.entry-content .frm_forms.with_frm_style .frm_submit button:hover,
.entry-content .frm_forms.with_frm_style .frm_submit button:focus,
.entry-content .frm_forms.with_frm_style .frm_submit input[type="submit"]:hover,
.entry-content .frm_forms.with_frm_style .frm_submit input[type="submit"]:focus {
	background: var(--ho-action-hover);
	color: var(--ho-white);
}

.frm_forms .frm_error,
.frm_forms .frm_error_style {
	color: var(--ho-action-hover);
	font-weight: 600;
}

.frm_forms .frm_error::before {
	content: "Erro: ";
}

/* Comentários */
.comment-respond label {
	font-size: var(--ho-fs-small);
}

/* 14. Ecwid: nomes dos produtos em H2 com o aspeto original do Ecwid
 * (o h2 não deve receber a Lora, os tamanhos nem as margens dos títulos do site)
---------------------------------------------------------------------------------------------------- */

.ec-store h2.grid-product__title-inner,
.entry-content .ec-store h2.grid-product__title-inner {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-transform: inherit;
}

/* 15. Loja (Ecwid): mais largura e página de produto com um só H1
---------------------------------------------------------------------------------------------------- */

/* Contentor da loja: 900px -> 1100px de área útil */
.ho-loja.full-width-content .content {
	max-width: 1220px;
}

/* Página de produto: "Loja" é uma etiqueta com link, não um título */
.ho-loja-produto .entry-header::after {
	display: none;
}

.ho-loja-produto p.entry-title {
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-small);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	margin: 0 0 24px;
	text-align: left;
}

.ho-loja-produto p.entry-title a {
	color: var(--ho-text-muted);
	text-decoration: underline;
}

.ho-loja-produto p.entry-title a::before {
	content: "← ";
}

.ho-loja-produto p.entry-title a:hover,
.ho-loja-produto p.entry-title a:focus {
	color: var(--ho-action);
}

/* O nome do produto (H1 do Ecwid) passa a ser o título visível da página */
.ec-store h1.product-details__product-title {
	color: var(--ho-text);
	font-family: var(--ho-font-display);
	font-size: clamp(28px, calc(20px + 1.2vw), 36px);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin-bottom: 12px;
}

/* Descrição do produto com a tipografia de leitura do site */
.ec-store .product-details__description,
.ec-store .product-details__description p,
.ec-store .product-details__description li {
	font-family: var(--ho-font-body);
	font-size: var(--ho-fs-body);
	line-height: var(--ho-lh-body);
}

/* Página de produto: capa com tamanho contido (a galeria é um carrossel do Ecwid que calcula a
 * altura pela largura, por isso limita-se a largura e não a altura) */
.ho-loja .ec-store .product-details__gallery .details-gallery__wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 420px;
}

/* Sem o "Voltar à loja" do Ecwid: a etiqueta "← Loja" no topo já faz esse papel */
.ho-loja .ec-store .product-details .ec-breadcrumbs {
	display: none;
}

/* Coluna da direita (nome, preço, compra) fixa durante o scroll, só com o layout de duas colunas
 * (o Ecwid usa duas colunas a partir do tamanho "s"; abaixo disso é uma coluna e não fixa).
 * O topo desconta a altura do header fixo; até 800px o header não é fixo. */
.ho-loja .ec-size--s .product-details--layout-sidebar-right .product-details__sidebar {
	position: sticky;
	top: 24px;
}

@media only screen and (min-width: 801px) {

	.ho-loja .ec-size--m .product-details--layout-sidebar-right .product-details__sidebar {
		position: sticky;
		top: 170px; /* header em duas linhas (801–1239px) */
	}

}

@media only screen and (min-width: 1240px) {

	.ho-loja .ec-size--m .product-details--layout-sidebar-right .product-details__sidebar {
		top: 120px; /* header numa linha */
	}

}

/* 16. Páginas Quem Somos e livro "Casa Organizada, Vida Feliz" (nov. 2026, scripts/bd/31 e 32)
---------------------------------------------------------------------------------------------------- */

.entry-content .ho-lead {
	color: var(--ho-text);
	font-family: var(--ho-font-display);
	font-size: var(--ho-fs-lead);
	line-height: var(--ho-lh-lead);
}

.entry-content .ho-foto-susete {
	border-radius: 4px;
	height: auto;
	margin: 4px 0 24px 32px;
	max-width: 280px;
}

.entry-content .ho-principios li {
	margin-bottom: 8px;
}

.entry-content .ho-cta {
	background-color: var(--ho-sand);
	clear: both;
	margin: 48px 0 0;
	padding: 40px;
	text-align: center;
}

.entry-content .ho-cta h2 {
	margin-top: 0;
}

.entry-content .ho-cta p:last-child,
.entry-content .ho-cta ul:last-child {
	margin-bottom: 0;
}

/* Livro: capa ao lado da introdução */
.entry-content .ho-livro-topo {
	align-items: center;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	margin-bottom: 48px;
}

.entry-content .ho-livro-capa img {
	box-shadow: 0 12px 32px rgba(10, 18, 41, 0.18);
	display: block;
	height: auto;
	width: 100%;
}

.entry-content .ho-livro-ficha {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.entry-content .ho-livro-ficha li {
	list-style: none;
	margin: 0 0 4px;
}

.entry-content .ho-indice {
	display: grid;
	gap: 8px 40px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-content .ho-indice h3 {
	margin-top: 0;
}

.entry-content .ho-livrarias {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.entry-content .ho-livrarias li {
	list-style: none;
	margin: 0;
}

.entry-content .ho-nota {
	color: var(--ho-text-muted);
	font-size: var(--ho-fs-small);
}

@media only screen and (max-width: 600px) {

	.entry-content .ho-foto-susete {
		display: block;
		float: none;
		margin: 0 auto 24px;
	}

	.entry-content .ho-livro-topo,
	.entry-content .ho-indice {
		gap: 24px;
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-content .ho-livro-capa {
		margin: 0 auto;
		max-width: 220px;
	}

	.entry-content .ho-cta {
		padding: 28px 20px;
	}

}

/* Caixa "Leia também o livro" (página do Curso para Organizador Profissional, scripts/bd/35) */
.entry-content .ho-livro-relacionado {
	align-items: center;
	background-color: var(--ho-sand);
	display: grid;
	gap: 24px;
	grid-template-columns: 120px minmax(0, 1fr);
	margin: 40px 0;
	padding: 24px;
}

.entry-content .ho-livro-relacionado img {
	box-shadow: 0 8px 20px rgba(10, 18, 41, 0.18);
	display: block;
	height: auto;
	width: 100%;
}

.entry-content .ho-livro-relacionado h3 {
	margin-top: 0;
}

.entry-content .ho-livro-relacionado p:last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 600px) {
	.entry-content .ho-livro-relacionado {
		gap: 16px;
		grid-template-columns: 88px minmax(0, 1fr);
		padding: 20px;
	}
}
