/*
 * Base CSS — reset + typographie minimale.
 * Aucune couleur, aucun espacement "de marque" codé en dur ici :
 * ce sera le rôle des design tokens (Phase 2) générés dans un fichier
 * séparé et consommés via var(--token, fallback).
 */

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

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

body {
	margin: 0;
	font-family: var(--font-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	line-height: 1.5;
	color: var(--color-text, #1a1a1a);
	background-color: var(--color-background, #ffffff);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
}

a {
	color: var(--color-accent, #2563eb);
}

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

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

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

.myfw-skip-link:focus {
	position: fixed;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 100000;
	padding: 1rem;
	background: #fff;
}

/* Container de base. --container-width arrivera comme token dédié
   si besoin ; en attendant, largeur fixe raisonnable. */
.myfw-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--spacing-md, 1rem);
}

.myfw-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: var(--spacing-md, 1rem);
}

.myfw-nav-menu {
	display: flex;
	gap: var(--spacing-lg, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.myfw-site-footer {
	margin-top: var(--spacing-lg, 3rem);
	padding-block: var(--spacing-md, 2rem);
	border-top: 1px solid #e5e5e5;
}

/* Exemple d'usage des radius tokens, repris tel quel par les futurs
   widgets (boutons, cartes...) en Phase 5+. */
.myfw-site-header__logo img {
	border-radius: var(--radius-small, 4px);
}
