/*
Theme Name: Torres Fusion
Theme URI: https://torresdigital.com
Author: Torres Digital
Author URI: https://torresdigital.com
Description: Tema WordPress ultraleve construído para Elementor e SEO técnico. Zero bloat, zero CSS/JS desnecessário, performance e Core Web Vitals em primeiro lugar. Compatível com WooCommerce, JetEngine e Torres Translate EVO (SEO multilíngue).
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 8.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: torres-fusion
Tags: e-commerce, full-site-editing, block-patterns, custom-colors

Torres Fusion não gera layout próprio. Toda a identidade visual
pertence ao Elementor / Elementor Pro Theme Builder. Este ficheiro
contém apenas o reset mínimo indispensável para que o HTML tenha
uma base neutra, previsível e sem flash de conteúdo sem estilo.
*/

/* ── Reset mínimo (não framework, não design system) ───────────────────── */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

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

img {
	border-style: none;
}

svg:not(:root) {
	overflow: hidden;
}

/* Evita que media sem dimensões definidas cause Layout Shift (CLS). */
img:not([width]),
img:not([height]) {
	aspect-ratio: attr( width ) / attr( height );
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
}

/* ── Acessibilidade ──────────────────────────────────────────────────────── */

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

.screen-reader-text:focus {
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto;
	background-color: #f1f1f1;
	z-index: 100000;
	line-height: normal;
}

.skip-link {
	left: -9999px;
	position: absolute;
	top: -9999px;
	z-index: 999999;
}

.skip-link:focus {
	left: 6px;
	top: 6px;
}

/* ── Fallback mínimo (apenas quando Elementor não controla a área) ─────── */

.tf-fallback-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.tf-fallback-nav a {
	text-decoration: none;
}

.tf-breadcrumbs {
	font-size: 0.875rem;
}

/* Sticky footer mínimo para evitar footer "flutuante" em páginas curtas
   quando o Elementor Theme Builder não está a gerir o layout. */
.tf-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.tf-site-content {
	flex: 1 0 auto;
}
