/*
Theme Name: Ferrão & Ferrão
Theme URI: https://ferraoeferrao.com
Author: TCSI Solutions
Author URI: https://www.tcsi-solutions.pt
Description: Tema institucional moderno para a Ferrão & Ferrão, Lda. Banner de apresentação, catálogos PDF com pré-visualização, página de contactos sem formulário e rodapé com toda a informação legal (termos, privacidade, cookies, Livro de Reclamações, Centro de Arbitragem e reconhecimentos). Compatível com Elementor.
Version: 2.8.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ferrao-ferrao
*/

/* =========================================================
   1. Variáveis
   ========================================================= */
:root {
	--ff-verde: #239a3b;
	--ff-verde-2: #1b7d2f;
	--ff-verde-claro: #e8f5eb;
	--ff-azul: #3fa9e0;
	--ff-preto: #0f1113;
	--ff-carvao: #16191c;
	--ff-carvao-2: #1f2327;
	--ff-cinza-9: #2b2f33;
	--ff-cinza-6: #5e656c;
	--ff-cinza-4: #9aa1a8;
	--ff-cinza-2: #e4e7ea;
	--ff-cinza-1: #f4f5f7;
	--ff-branco: #fff;
	--ff-texto: #1d2125;

	--ff-fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ff-largura: 1240px;
	--ff-raio: 14px;
	--ff-raio-s: 8px;
	--ff-sombra: 0 10px 30px -12px rgba(15, 17, 19, .25);
	--ff-sombra-forte: 0 30px 60px -20px rgba(0, 0, 0, .55);
	--ff-trans: .35s cubic-bezier(.2, .7, .2, 1);
	--ff-header-h: 84px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ff-fonte);
	font-size: 1.0625rem; /* 17px, em rem para o menu de acessibilidade poder aumentar */
	line-height: 1.7;
	color: var(--ff-texto);
	background: var(--ff-branco);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ff-verde); text-decoration: none; transition: color var(--ff-trans); }
a:hover { color: var(--ff-verde-2); }
:focus-visible { outline: 3px solid var(--ff-azul); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.12; color: var(--ff-preto); margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }

.ff-wrap { width: 100%; max-width: var(--ff-largura); margin: 0 auto; padding: 0 24px; }
.ff-wrap--texto { max-width: 820px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: #fff; padding: 12px 18px; border-radius: var(--ff-raio-s); box-shadow: var(--ff-sombra);
}

.ff-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ff-verde);
}
.ff-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Botões */
.ff-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--ff-verde); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1;
	transition: transform var(--ff-trans), background var(--ff-trans), box-shadow var(--ff-trans), color var(--ff-trans);
	box-shadow: 0 10px 24px -10px rgba(35, 154, 59, .7);
}
.ff-btn:hover { background: var(--ff-verde-2); color: #fff; transform: translateY(-2px); }
.ff-btn svg { width: 18px; height: 18px; flex: none; }
.ff-btn--vidro { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.ff-btn--vidro:hover { background: #fff; color: var(--ff-preto); }
.ff-btn--linha { background: transparent; color: var(--ff-preto); box-shadow: inset 0 0 0 1.5px var(--ff-cinza-2); }
.ff-btn--linha:hover { background: var(--ff-preto); color: #fff; box-shadow: none; }
.ff-btn--escuro { background: var(--ff-preto); box-shadow: none; }
.ff-btn--escuro:hover { background: var(--ff-verde); }
.ff-btn--pequeno { padding: 10px 18px; font-size: .85rem; }

/* =========================================================
   3. Cabeçalho
   ========================================================= */
.ff-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow var(--ff-trans), border-color var(--ff-trans);
}
.admin-bar .ff-header { top: 32px; }
.ff-header.is-scrolled { border-color: var(--ff-cinza-2); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.ff-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--ff-header-h); }

.ff-logos { display: flex; align-items: center; gap: 22px; min-width: 0; }
.ff-logos img { max-height: 54px; width: auto; }
.ff-logos .ff-logo2 { max-height: 40px; }
.ff-logos .ff-sep { width: 1px; height: 34px; background: var(--ff-cinza-2); }
.ff-site-title { font-size: 1.35rem; font-weight: 800; color: var(--ff-preto); letter-spacing: -.02em; }

.ff-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.ff-nav a {
	position: relative; display: block; padding: 10px 16px; border-radius: 999px;
	color: var(--ff-cinza-9); font-weight: 600; font-size: .95rem;
}
.ff-nav a:hover { color: var(--ff-preto); background: var(--ff-cinza-1); }
.ff-nav .current-menu-item > a,
.ff-nav .current_page_item > a,
.ff-nav .current-menu-ancestor > a,
.ff-nav .is-current > a { color: #fff; background: var(--ff-preto); }

.ff-menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ff-cinza-2);
	background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.ff-menu-toggle span, .ff-menu-toggle span::before, .ff-menu-toggle span::after {
	display: block; width: 18px; height: 2px; background: var(--ff-preto); position: relative; transition: transform var(--ff-trans), background var(--ff-trans);
}
.ff-menu-toggle span::before, .ff-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.ff-menu-toggle span::before { top: -6px; }
.ff-menu-toggle span::after { top: 6px; }
.ff-menu-toggle[aria-expanded="true"] span { background: transparent; }
.ff-menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.ff-menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   4. Hero
   ========================================================= */
.ff-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(82vh, 760px); display: flex; align-items: flex-end;
	background: var(--ff-carvao); color: #fff;
}
.ff-hero__bg { position: absolute; inset: 0; z-index: -2; }
.ff-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: ff-zoom 18s ease-out forwards; }
.ff-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(10,12,14,.88) 0%, rgba(10,12,14,.6) 45%, rgba(10,12,14,.15) 100%),
		linear-gradient(0deg, rgba(10,12,14,.85) 0%, rgba(10,12,14,0) 45%);
}
.ff-hero--sem-imagem { background: radial-gradient(1200px 600px at 80% 0%, rgba(35,154,59,.35), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(63,169,224,.18), transparent 60%), var(--ff-carvao); }
.ff-hero__in { padding-top: 120px; padding-bottom: 56px; width: 100%; }
.ff-hero .ff-eyebrow { color: #7fd892; }
.ff-hero h1 {
	color: #fff; font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em;
	max-width: 15ch; margin: 18px 0 22px;
}
.ff-hero h1 em { font-style: normal; color: #7fd892; }
.ff-hero__texto { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 54ch; margin-bottom: 32px; }
.ff-hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.ff-stats {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px;
	border-top: 1px solid rgba(255,255,255,.18);
}
.ff-stats > div { padding: 22px 24px 0 0; }
.ff-stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.ff-stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.ff-stats span { font-size: .85rem; color: rgba(255,255,255,.65); }

@keyframes ff-zoom { to { transform: scale(1); } }

/* =========================================================
   5. Secções
   ========================================================= */
.ff-section { padding: clamp(64px, 9vw, 120px) 0; }
.ff-section--escura { background: var(--ff-carvao); color: rgba(255,255,255,.8); }
.ff-section--escura h2, .ff-section--escura h3 { color: #fff; }
.ff-section--cinza { background: var(--ff-cinza-1); }
.ff-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.ff-section__head h2 { margin: 12px 0 0; max-width: 20ch; }
.ff-section__head p { margin: 10px 0 0; max-width: 52ch; color: var(--ff-cinza-6); }
.ff-section--escura .ff-section__head p { color: rgba(255,255,255,.6); }
.ff-section--escura .ff-eyebrow { color: #7fd892; }

/* =========================================================
   6. Cartões de catálogo
   ========================================================= */
.ff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ff-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ff-card { position: relative; display: flex; flex-direction: column; color: inherit; }
.ff-card__capa {
	position: relative; display: block; aspect-ratio: 210 / 297; border-radius: var(--ff-raio); overflow: hidden;
	background: linear-gradient(145deg, #eef1f3, #dfe4e8);
	box-shadow: var(--ff-sombra);
	transition: transform var(--ff-trans), box-shadow var(--ff-trans);
}
.ff-section--escura .ff-card__capa { background: linear-gradient(145deg, #2a2f34, #1c2024); box-shadow: var(--ff-sombra-forte); }
.ff-card__capa img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ff-card__capa::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
	opacity: 0; transition: opacity var(--ff-trans);
}
.ff-card__ver {
	position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--ff-preto);
	font-weight: 700; font-size: .85rem; transform: translateY(14px); opacity: 0;
	transition: transform var(--ff-trans), opacity var(--ff-trans);
}
.ff-card__ver svg { width: 16px; height: 16px; }
.ff-card:hover .ff-card__capa { transform: translateY(-6px); }
.ff-card:hover .ff-card__capa img { transform: scale(1.05); }
.ff-card:hover .ff-card__capa::after,
.ff-card:focus-within .ff-card__capa::after { opacity: 1; }
.ff-card:hover .ff-card__ver,
.ff-card:focus-within .ff-card__ver { transform: none; opacity: 1; }

.ff-card__pdf {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	color: var(--ff-cinza-6); font-weight: 800; letter-spacing: .1em;
}
.ff-card__pdf svg { width: 54px; height: 54px; color: #c0392b; }
.ff-section--escura .ff-card__pdf { color: var(--ff-cinza-4); }

.ff-badge {
	align-self: flex-start; display: inline-block;
	padding: 4px 10px; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	background: var(--ff-verde); color: #fff;
}
.ff-badge--atualizado { background: var(--ff-cinza-2); color: var(--ff-preto); }
.ff-section--escura .ff-badge--atualizado { background: rgba(255,255,255,.14); color: #fff; }

.ff-card__corpo { padding: 18px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.ff-card__titulo { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.ff-card__titulo a { color: inherit; }
.ff-card__titulo a:hover { color: var(--ff-verde); }
.ff-section--escura .ff-card__titulo a:hover { color: #7fd892; }
.ff-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--ff-cinza-6); }
.ff-section--escura .ff-card__meta { color: var(--ff-cinza-4); }
.ff-card__meta span + span::before { content: "\00b7"; margin-right: 12px; opacity: .6; }
.ff-card__dl {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
	font-size: .82rem; font-weight: 700; color: var(--ff-cinza-9);
}
.ff-card__dl svg { width: 15px; height: 15px; }
.ff-section--escura .ff-card__dl { color: rgba(255,255,255,.8); }
.ff-card__dl:hover { color: var(--ff-verde); }
.ff-section--escura .ff-card__dl:hover { color: #7fd892; }

/* =========================================================
   7. Faixa de contacto
   ========================================================= */
.ff-cta {
	position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 5vw, 64px);
	background: linear-gradient(120deg, var(--ff-verde) 0%, #17702a 100%); color: #fff;
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.ff-cta::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.ff-cta h2 { color: #fff; margin: 0 0 10px; }
.ff-cta p { margin: 0; color: rgba(255,255,255,.85); }
.ff-cta__acoes { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; position: relative; z-index: 1; }
.ff-cta__tel { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.ff-cta__tel:hover { color: #fff; opacity: .9; }
.ff-cta small { color: rgba(255,255,255,.75); font-size: .75rem; text-align: right; }

/* =========================================================
   8. Cabeçalho de página / conteúdos
   ========================================================= */
.ff-page-head {
	position: relative; overflow: hidden; background: var(--ff-carvao); color: #fff;
	padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
}
.ff-page-head::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(800px 400px at 90% 0%, rgba(35,154,59,.35), transparent 60%);
}
.ff-page-head__bg { position: absolute; inset: 0; opacity: .28; }
.ff-page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.ff-page-head .ff-wrap { position: relative; z-index: 1; }
.ff-page-head h1 { color: #fff; margin: 14px 0 0; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.03em; }
.ff-page-head p { color: rgba(255,255,255,.72); margin: 14px 0 0; max-width: 60ch; }
.ff-page-head .ff-eyebrow { color: #7fd892; }
.ff-voltar { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; }
.ff-voltar:hover { color: #fff; }
.ff-voltar svg { width: 18px; height: 18px; }
.ff-page-head svg:not([width]) { max-width: 24px; max-height: 24px; }

.ff-content { padding: clamp(48px, 7vw, 96px) 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content p, .entry-content li { color: #33393f; }
.entry-content .alignwide { margin-left: calc(-1 * min(12vw, 210px)); margin-right: calc(-1 * min(12vw, 210px)); max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.entry-content .wp-block-gallery, .entry-content .gallery { margin: 2em 0; gap: 14px; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.entry-content .gallery-item { margin: 0; }
.entry-content .wp-block-gallery img, .entry-content .gallery img, .entry-content .wp-block-image img { border-radius: var(--ff-raio); }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--ff-verde); font-size: 1.15rem; color: var(--ff-preto); }
.ff-aviso-rascunho { background: #fff7e0; border: 1px solid #f0d27a; padding: 14px 18px; border-radius: var(--ff-raio-s); font-size: .9rem; }

/* =========================================================
   9. Arquivo de catálogos
   ========================================================= */
.ff-ferramentas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.ff-filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-filtros a {
	padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600;
	background: var(--ff-cinza-1); color: var(--ff-cinza-9);
}
.ff-filtros a:hover { background: var(--ff-cinza-2); color: var(--ff-preto); }
.ff-filtros a.is-active { background: var(--ff-preto); color: #fff; }
.ff-procura { position: relative; flex: 0 1 360px; }
.ff-procura svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ff-cinza-6); pointer-events: none; }
.ff-procura input {
	width: 100%; padding: 13px 18px 13px 46px; border-radius: 999px; font: inherit; font-size: .95rem;
	border: 1.5px solid var(--ff-cinza-2); background: #fff; color: var(--ff-texto);
	transition: border-color var(--ff-trans), box-shadow var(--ff-trans);
}
.ff-procura input:focus { outline: none; border-color: var(--ff-verde); box-shadow: 0 0 0 4px var(--ff-verde-claro); }
.ff-sem-resultados { display: none; padding: 40px 0; text-align: center; color: var(--ff-cinza-6); }
.ff-sem-resultados.is-visible { display: block; }

.ff-paginacao { margin-top: 56px; display: flex; justify-content: center; }
.ff-paginacao .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.ff-paginacao .page-numbers {
	min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px;
	border-radius: 999px; background: var(--ff-cinza-1); color: var(--ff-cinza-9); font-weight: 600;
}
.ff-paginacao .current { background: var(--ff-preto); color: #fff; }

/* Catálogo individual */
.ff-cat-head { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: end; }
.ff-cat-head__capa { border-radius: var(--ff-raio); overflow: hidden; box-shadow: var(--ff-sombra-forte); aspect-ratio: 210/297; background: var(--ff-carvao-2); }
.ff-cat-head__capa img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ff-cat-head h1 { margin-top: 10px; }
.ff-cat-head .ff-card__meta { color: rgba(255,255,255,.65); margin-top: 14px; font-size: .9rem; }
.ff-cat-head .ff-hero__acoes { margin-top: 24px; }
.ff-visualizador {
	display: block; width: 100%; height: 85vh; min-height: 560px;
	border: 1px solid var(--ff-cinza-2); border-radius: var(--ff-raio); background: var(--ff-cinza-1);
}

/* =========================================================
   10. Contactos
   ========================================================= */
.ff-contactos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ff-contacto {
	position: relative; padding: 32px; border-radius: 20px; background: var(--ff-cinza-1);
	transition: transform var(--ff-trans), box-shadow var(--ff-trans), background var(--ff-trans);
}
.ff-contacto:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--ff-sombra); }
.ff-contacto__icone {
	width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: var(--ff-preto); color: #fff; margin-bottom: 20px;
}
.ff-contacto__icone svg { width: 24px; height: 24px; }
.ff-contacto h3 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-cinza-6); font-weight: 700; }
.ff-contacto__valor { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: var(--ff-preto); line-height: 1.35; letter-spacing: -.01em; margin: 0; }
.ff-contacto__valor a { color: inherit; }
.ff-contacto__valor a:hover { color: var(--ff-verde); }
.ff-contacto small { display: block; margin-top: 8px; color: var(--ff-cinza-6); font-size: .8rem; line-height: 1.5; }
.ff-contacto .ff-btn { margin-top: 18px; }

.ff-mapa {
	margin-top: 20px; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 21 / 8; min-height: 320px;
	background: var(--ff-carvao) radial-gradient(600px 300px at 70% 30%, rgba(35,154,59,.35), transparent 60%);
	display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.75);
}
.ff-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ff-mapa__aviso { max-width: 440px; padding: 24px; font-size: .9rem; }
.ff-mapa__aviso .ff-btn { margin-top: 14px; }

/* =========================================================
   11. Rodapé
   ========================================================= */
.ff-footer { background: var(--ff-preto); color: rgba(255,255,255,.66); font-size: .92rem; }
.ff-footer a { color: rgba(255,255,255,.82); }
.ff-footer a:hover { color: #fff; }
.ff-footer h4 {
	color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 18px;
}
.ff-footer ul { list-style: none; margin: 0; padding: 0; }
.ff-footer li { margin-bottom: 10px; }

.ff-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.ff-footer__marca { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 14px; }
.ff-footer__sobre { margin-bottom: 20px; max-width: 34ch; }
.ff-footer__contacto { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.ff-footer__contacto svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #7fd892; }
.ff-footer__contacto small { display: block; font-size: .74rem; opacity: .7; }

.ff-footer__faixa {
	display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
	padding-top: 36px; padding-bottom: 36px;
	background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) center top / calc(100% - 48px) 1px no-repeat;
}
.ff-reconhecimentos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ff-reconhecimentos__titulo { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 700; margin-right: 10px; }
.ff-reconhecimentos a, .ff-reconhecimentos > span:not(.ff-reconhecimentos__titulo) {
	display: block; background: #fff; border-radius: 10px; padding: 8px; transition: transform var(--ff-trans);
}
.ff-reconhecimentos a:hover { transform: translateY(-3px); }
.ff-reconhecimentos img { height: 64px; width: auto; }

.ff-livro {
	display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 12px;
	background: #fff; color: #b8202a !important; font-weight: 800; font-size: .88rem; line-height: 1.2;
	transition: transform var(--ff-trans);
}
.ff-livro:hover { transform: translateY(-3px); }
.ff-livro img { height: 44px; width: auto; }
.ff-livro__icone { width: 36px; height: 36px; border-radius: 8px; background: #b8202a; color: #fff; display: grid; place-items: center; }
.ff-livro__icone svg { width: 20px; height: 20px; }
.ff-livro small { display: block; color: var(--ff-cinza-6); font-weight: 600; font-size: .72rem; }

.ff-ral { font-size: .84rem; line-height: 1.6; }
.ff-ral strong { color: #fff; font-weight: 600; }

.ff-footer__base { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .8rem; }
.ff-footer__base .ff-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.ff-footer__base a { color: rgba(255,255,255,.66); }
.ff-footer__base .ff-wrap { align-items: center; }
.ff-autor { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
.ff-autor img { display: block; width: auto; height: 26px; opacity: .72; transition: opacity .2s ease; }
.ff-autor:hover, .ff-autor:focus-visible { color: #fff; }
.ff-autor:hover img, .ff-autor:focus-visible img { opacity: 1; }

/* =========================================================
   12. Animação de entrada
   ========================================================= */
.ff-js .ff-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.ff-js .ff-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ff-js .ff-reveal { opacity: 1; transform: none; }
}

/* Elementor / largura total */
.ff-fullwidth .ff-content { padding: 0; }

/* =========================================================
   13. Responsivo
   ========================================================= */
@media (max-width: 1080px) {
	.ff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ff-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	:root { --ff-header-h: 72px; }
	.ff-menu-toggle { display: inline-flex; }
	.ff-nav {
		position: fixed; inset: var(--ff-header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--ff-cinza-2);
		padding: 12px 24px 24px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all var(--ff-trans);
	}
	.admin-bar .ff-nav { top: calc(var(--ff-header-h) + 46px); }
	.ff-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.ff-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
	.ff-nav a { padding: 14px 18px; font-size: 1.05rem; }
	.ff-logos img { max-height: 42px; }
	.ff-logos { gap: 14px; }
	.ff-logos .ff-sep { height: 26px; }
	.ff-grid, .ff-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.ff-cta { grid-template-columns: 1fr; }
	.ff-cta__acoes { align-items: flex-start; }
	.ff-cta small { text-align: left; }
	.ff-cat-head { grid-template-columns: 140px 1fr; gap: 24px; }
	.ff-contactos { grid-template-columns: 1fr; }
	.ff-footer__faixa { grid-template-columns: 1fr; }
	.ff-card__ver { transform: none; opacity: 1; }
	.ff-card__capa::after { opacity: 1; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 782px) { .admin-bar .ff-header { top: 46px; } }
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.ff-hero__bg img { object-position: 82% 50%; }
	.ff-wrap { padding: 0 18px; }
	.ff-logos .ff-logo2, .ff-logos .ff-sep { display: none; }
	.ff-stats { grid-template-columns: 1fr 1fr; }
	.ff-stats > div:nth-child(3) { display: none; }
	.ff-grid--home {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
		margin: 0 -18px; padding: 0 18px 12px; scrollbar-width: none;
	}
	.ff-grid--home::-webkit-scrollbar { display: none; }
	.ff-grid--home .ff-card { flex: 0 0 72%; scroll-snap-align: start; }
	.ff-grid:not(.ff-grid--home) { gap: 18px 14px; }
	.ff-footer__top { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
	.ff-cat-head { grid-template-columns: 1fr; }
	.ff-cat-head__capa { max-width: 160px; }
	.ff-visualizador { height: 70vh; min-height: 420px; }
	.ff-mapa { aspect-ratio: 4 / 5; }
	.ff-procura { flex-basis: 100%; }
}

/* =========================================================
   14. Página "Em construção"
   ========================================================= */
.ff-cons {
	min-height: 100vh; min-height: 100svh; margin: 0; display: flex; flex-direction: column;
	background: var(--ff-preto); color: rgba(255,255,255,.75); overflow-x: hidden; position: relative;
}
.ff-cons__brilho {
	position: fixed; inset: -20%; z-index: 0; pointer-events: none;
	background:
		radial-gradient(40% 40% at 78% 18%, rgba(35,154,59,.38), transparent 70%),
		radial-gradient(35% 35% at 10% 95%, rgba(63,169,224,.18), transparent 70%);
	animation: ff-flutuar 16s ease-in-out infinite alternate;
}
.ff-cons__grelha {
	position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
	mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
@keyframes ff-flutuar { to { transform: translate3d(-4%, 3%, 0) scale(1.05); } }

.ff-cons__topo, .ff-cons__main, .ff-cons__rodape { position: relative; z-index: 1; width: 100%; max-width: var(--ff-largura); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ff-cons__topo { padding-top: 32px; }
.ff-cons__logos {
	display: inline-flex; align-items: center; gap: 20px; padding: 12px 22px; border-radius: 16px; background: #fff;
	box-shadow: 0 20px 40px -24px rgba(0,0,0,.8);
}
.ff-cons__logos img { max-height: 46px; width: auto; }
.ff-cons__logos .ff-logo2 { max-height: 34px; }
.ff-cons__logos .ff-sep { width: 1px; height: 30px; background: var(--ff-cinza-2); }

.ff-cons__main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.ff-cons__estado {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
	background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
	font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.ff-cons__ponto { width: 9px; height: 9px; border-radius: 50%; background: #7fd892; box-shadow: 0 0 0 0 rgba(127,216,146,.7); animation: ff-pulso 2s infinite; }
@keyframes ff-pulso { 70% { box-shadow: 0 0 0 10px rgba(127,216,146,0); } 100% { box-shadow: 0 0 0 0 rgba(127,216,146,0); } }

.ff-cons h1 {
	color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.045em;
	max-width: 14ch; margin: 24px 0 20px;
}
.ff-cons h1 em { font-style: normal; color: #7fd892; }
.ff-cons__texto { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 52ch; color: rgba(255,255,255,.72); margin: 0; }

.ff-cons__barra { margin: 32px 0 36px; width: min(420px, 100%); height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.ff-cons__barra span { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--ff-verde), #7fd892); animation: ff-carregar 2.6s ease-in-out infinite; }
@keyframes ff-carregar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.ff-cons__contactos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ff-cons__contacto {
	display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px;
	background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
	color: rgba(255,255,255,.75); transition: background var(--ff-trans), transform var(--ff-trans), box-shadow var(--ff-trans);
}
.ff-cons__contacto:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); color: #fff; box-shadow: inset 0 0 0 1px rgba(127,216,146,.45); }
.ff-cons__icone { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ff-verde); color: #fff; }
.ff-cons__icone svg { width: 20px; height: 20px; }
.ff-cons__contacto small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.ff-cons__contacto strong { display: block; color: #fff; font-size: .98rem; line-height: 1.4; font-weight: 700; }
.ff-cons__contacto em { display: block; font-style: normal; font-size: .74rem; color: rgba(255,255,255,.5); margin-top: 6px; line-height: 1.45; }

.ff-cons__rodape {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 26px;
	font-size: .8rem; color: rgba(255,255,255,.5);
	background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) center top / calc(100% - 48px) 1px no-repeat;
}
.ff-cons__rodape a { color: rgba(255,255,255,.75); }
.ff-cons__rodape a:hover { color: #fff; }
.ff-cons__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

@media (max-width: 860px) {
	.ff-cons__contactos { grid-template-columns: 1fr; }
	.ff-cons__main { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 480px) {
	.ff-cons__logos .ff-logo2, .ff-cons__logos .ff-sep { display: none; }
	.ff-cons__logos img { max-height: 38px; }
}

/* =========================================================
   15. Resumo do catálogo (visível — SEO e IA)
   ========================================================= */
.ff-cat-info { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; margin-bottom: 48px; }
.ff-cat-info__resumo { font-size: 1.15rem; line-height: 1.65; color: var(--ff-preto); margin: 0 0 28px; }
.ff-cat-info h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-cinza-6); font-weight: 700; margin: 0 0 14px; }
.ff-lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ff-lista-check li { position: relative; padding-left: 30px; color: #33393f; line-height: 1.5; }
.ff-lista-check li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--ff-verde-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23239a3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ff-ficha { background: var(--ff-cinza-1); border-radius: 20px; padding: 28px; align-self: start; }
.ff-ficha dl { margin: 0; display: grid; gap: 14px; }
.ff-ficha dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-cinza-6); font-weight: 700; }
.ff-ficha dd { margin: 2px 0 0; font-weight: 600; color: var(--ff-preto); }
.ff-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ff-chips span { padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--ff-cinza-2); font-size: .8rem; font-weight: 600; }
@media (max-width: 860px) { .ff-cat-info { grid-template-columns: 1fr; gap: 28px; } }


/* =========================================================
   Barra de cookies e menu de acessibilidade (v2.7)
   ========================================================= */
.ff-link-botao { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.82); cursor: pointer; text-align: left; }
.ff-link-botao:hover { color: #fff; text-decoration: underline; }

.ff-cookies {
	position: fixed; left: 20px; bottom: 20px; z-index: 9990; width: min(440px, calc(100% - 40px));
	display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px;
	background: var(--ff-preto); color: rgba(255,255,255,.82); box-shadow: 0 24px 60px -18px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
	font-size: .9rem; line-height: 1.55; opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.ff-cookies.is-visible { opacity: 1; transform: none; }
.ff-cookies__icone { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(35,154,59,.18); color: #6fd38a; }
.ff-cookies__icone svg { width: 22px; height: 22px; }
.ff-cookies__titulo { margin: 0 0 4px; color: #fff; font-weight: 700; font-size: 1rem; }
.ff-cookies__texto { margin: 0 0 14px; }
.ff-cookies__texto a { color: #6fd38a; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ff-cookies__acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-cookies .ff-btn--linha { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.ff-cookies .ff-btn--linha:hover { background: rgba(255,255,255,.1); }

.ff-a11y { position: fixed; right: 20px; bottom: 20px; z-index: 9991; }
.ff-a11y__botao {
	width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
	background: var(--ff-verde); color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.55); transition: transform .2s ease, background .2s ease;
}
.ff-a11y__botao svg { width: 28px; height: 28px; }
.ff-a11y__botao:hover { transform: scale(1.06); background: var(--ff-verde-2); }
.ff-a11y__botao.is-ativo::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #ffbf00; box-shadow: 0 0 0 2px #fff; }
.ff-a11y__painel {
	position: absolute; right: 0; bottom: 64px; width: 300px; max-width: calc(100vw - 40px); padding: 18px;
	background: #fff; color: var(--ff-texto); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06);
	opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; font-size: 15px;
}
.ff-a11y__painel.is-open { opacity: 1; transform: none; }
.ff-a11y__topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ff-a11y__titulo { margin: 0; font-weight: 800; font-size: 17px; color: var(--ff-preto); }
.ff-a11y__fechar { border: 0; background: var(--ff-cinza-1); width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ff-preto); }
.ff-a11y__texto { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 6px; padding: 10px 12px; background: var(--ff-cinza-1); border-radius: 12px; margin-bottom: 10px; }
.ff-a11y__texto span { font-weight: 600; font-size: 14px; }
.ff-a11y__texto button { width: 36px; height: 32px; border-radius: 8px; border: 1px solid var(--ff-cinza-2); background: #fff; font-weight: 800; cursor: pointer; color: var(--ff-preto); font-size: 14px; }
.ff-a11y__texto output { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ff-cinza-6); }
.ff-a11y__opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ff-a11y__opcoes button {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 12px; cursor: pointer;
	border: 1.5px solid var(--ff-cinza-2); background: #fff; color: var(--ff-preto); font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center;
}
.ff-a11y__opcoes button svg { width: 22px; height: 22px; }
.ff-a11y__opcoes button[aria-pressed="true"] { border-color: var(--ff-verde); background: var(--ff-verde-claro); color: #0b5a1c; }
.ff-a11y__repor { width: 100%; margin-top: 10px; padding: 10px; border-radius: 10px; border: 0; background: var(--ff-cinza-1); cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ff-preto); }
.ff-a11y__declaracao { display: block; margin-top: 10px; text-align: center; font-size: 13px; text-decoration: underline; }
.ff-a11y button:focus-visible, .ff-cookies button:focus-visible { outline: 3px solid #ffbf00; outline-offset: 2px; }

@media (max-width: 600px) {
	.ff-cookies { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
	.ff-cookies__icone { display: none; }
	.ff-a11y { right: 12px; bottom: 12px; }
	.ff-a11y__botao { width: 46px; height: 46px; }
	/* com a barra de cookies aberta, o botão sobe para não a tapar */
	.ff-cookies.is-visible ~ .ff-a11y { bottom: calc(12px + var(--ff-cookies-h, 190px)); }
}

/* --- Modos de acessibilidade --- */
html.ff-a11y-t1 { font-size: 112%; }
html.ff-a11y-t2 { font-size: 125%; }
html.ff-a11y-t3 { font-size: 140%; }

html.ff-a11y-links a:not(.ff-btn):not(.ff-card__capa):not(.custom-logo-link) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.ff-a11y-links a:focus, html.ff-a11y-links a:hover { outline: 3px solid #ffbf00; outline-offset: 2px; }

html.ff-a11y-legivel body { letter-spacing: .03em; word-spacing: .08em; line-height: 1.85; }
html.ff-a11y-legivel h1, html.ff-a11y-legivel h2, html.ff-a11y-legivel h3 { letter-spacing: 0; line-height: 1.3; }
html.ff-a11y-legivel p, html.ff-a11y-legivel li { max-width: 70ch; }

html.ff-a11y-parado *, html.ff-a11y-parado *::before, html.ff-a11y-parado *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.ff-a11y-parado .ff-reveal { opacity: 1 !important; transform: none !important; }

html.ff-a11y-contraste {
	--ff-texto: #000; --ff-preto: #000; --ff-cinza-6: #000; --ff-cinza-4: #fff; --ff-cinza-2: #000;
	--ff-verde: #005a12; --ff-verde-2: #003d0c; --ff-azul: #ffbf00;
}
html.ff-a11y-contraste body { background: #fff; color: #000; }
html.ff-a11y-contraste .ff-header { background: #fff !important; box-shadow: 0 2px 0 #000; }
html.ff-a11y-contraste .ff-hero__bg { opacity: .18; }
html.ff-a11y-contraste :is(.ff-hero, .ff-section--escura, .ff-page-head, .ff-footer, .ff-cat-head, .ff-cookies, .ff-cta),
html.ff-a11y-contraste :is(.ff-hero, .ff-section--escura, .ff-page-head, .ff-footer, .ff-cat-head, .ff-cookies, .ff-cta) :is(p, span, li, small, h1, h2, h3, h4, strong, div, output, a) { background-color: transparent; color: #fff !important; }
html.ff-a11y-contraste :is(.ff-hero, .ff-section--escura, .ff-page-head, .ff-footer, .ff-cookies) { background: #000 !important; }
html.ff-a11y-contraste :is(.ff-hero, .ff-section--escura, .ff-page-head, .ff-footer, .ff-cat-head, .ff-cookies) a:not(.ff-btn),
html.ff-a11y-contraste .ff-link-botao { color: #ffd84d !important; text-decoration: underline; }
html.ff-a11y-contraste .ff-btn { background: #000 !important; color: #fff !important; box-shadow: inset 0 0 0 2px #ffd84d !important; }
html.ff-a11y-contraste .ff-a11y__painel { box-shadow: 0 0 0 3px #000; }
html.ff-a11y-contraste .ff-card__capa { box-shadow: 0 0 0 2px #fff !important; }
html.ff-a11y-contraste .ff-card__capa::after { display: none; }
html.ff-a11y-contraste .ff-badge { background: #000 !important; color: #fff !important; box-shadow: 0 0 0 2px #fff; }
html.ff-a11y-contraste .ff-cta .ff-btn { box-shadow: inset 0 0 0 2px #fff !important; }
html.ff-a11y-contraste :is(main, .entry-content) :is(p, li, td, th, small) { color: #000; }

/* Nota de preços e PDF no telemóvel (v2.8) */
.ff-nota-precos { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 28px; padding: 14px 18px; border-radius: 12px; background: #fff8e1; border: 1px solid #f1d27a; color: #4a3b00; font-size: .9rem; line-height: 1.55; }
.ff-nota-precos::before { content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #c99a00; color: #fff; font-weight: 800; font-size: .8rem; font-style: italic; font-family: Georgia, serif; }
.ff-visualizador-movel { display: none; }
@media (max-width: 860px) {
	.ff-visualizador { display: none; }
	.ff-visualizador-movel { display: block; margin: 0; }
	.ff-visualizador-movel .ff-btn { width: 100%; }
}

/* ==========================================================================
   v2.8.4 — Quem somos / gamas e perguntas frequentes (página inicial)
   ========================================================================== */
.ff-gamas .ff-section__head h2 { max-width: 24ch; }
.ff-gamas__intro { max-width: 70ch !important; font-size: 1.05rem; line-height: 1.7; color: var(--ff-cinza-6); }
.ff-gamas__sub { font-size: 1.1rem; margin: 0 0 18px; }
.ff-gamas__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ff-gamas__lista a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; color: inherit; transition: border-color var(--ff-trans), transform var(--ff-trans), box-shadow var(--ff-trans); }
.ff-gamas__lista a:hover { border-color: var(--ff-verde); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.07); }
.ff-gamas__lista strong { color: var(--ff-carvao); font-size: 1.05rem; }
.ff-gamas__lista span { font-size: .92rem; line-height: 1.55; color: var(--ff-cinza-6); }
.ff-gamas__lista em { margin-top: auto; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--ff-verde); }
.ff-faq h2 { margin: 12px 0 26px; }
.ff-faq__lista { display: grid; gap: 10px; }
.ff-faq__item { background: var(--ff-cinza-1); border-radius: 12px; padding: 0 20px; }
.ff-faq__item summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 700; color: var(--ff-carvao); position: relative; }
.ff-faq__item summary::-webkit-details-marker { display: none; }
.ff-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--ff-verde); }
.ff-faq__item[open] summary::after { content: "−"; }
.ff-faq__item summary:focus-visible { outline: 3px solid var(--ff-verde); outline-offset: 4px; border-radius: 6px; }
.ff-faq__item p { margin: 0 0 18px; line-height: 1.7; }
