/* ==========================================================================
   Clube SMK — Base (reset + elementos + tipografia)
   (As @font-face ficam em fonts.css)
   ========================================================================== */

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

* { margin: 0; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	-webkit-tap-highlight-color: transparent;
}

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-16);
	line-height: var(--lh);
	font-weight: var(--fw-reg);
	color: var(--text);
	background-color: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, picture, svg, video, canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

svg { fill: currentColor; }

/* Ícones do tema são inline (evita quebra de linha em breadcrumb, títulos, botões) */
.csmk-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

input, button, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

a {
	color: var(--link);
	text-decoration: none;
	transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--link-hover); }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	color: var(--text);
	letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-48); }
h2 { font-size: var(--fs-32); }
h3 { font-size: var(--fs-24); }
h4 { font-size: var(--fs-20); }
h5 { font-size: var(--fs-18); }
h6 { font-size: var(--fs-16); }

p { line-height: var(--lh); }

strong, b { font-weight: var(--fw-bold); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-8) 0; }

:focus-visible {
	outline: 2px solid var(--c-purple);
	outline-offset: 2px;
	border-radius: var(--r-xs);
}

::selection { background: var(--c-purple); color: #fff; }

/* Scrollbar discreta (desktop) */
@media (pointer: fine) {
	* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
	*::-webkit-scrollbar { width: 10px; height: 10px; }
	*::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-pill); border: 2px solid transparent; background-clip: content-box; }
}

/* Acessibilidade: skip link e screen-reader text */
.screen-reader-text, .sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: var(--z-toast);
	background: var(--c-purple);
	color: #fff;
	padding: var(--s-3) var(--s-5);
	border-radius: 0 0 var(--r-sm) 0;
	font-weight: var(--fw-semi);
}
.skip-link:focus { left: 0; color: #fff; }

/* Utilitários de tipografia */
.font-display { font-family: var(--font-display); }
.font-ui { font-family: var(--font-sans); }
.text-purple { color: var(--c-purple); }
.text-soft { color: var(--text-soft); }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }
