/*
Theme Name: Neutral Base
Theme URI: https://example.com/neutral-base
Author: Tom
Author URI: https://example.com
Description: Thème WordPress minimaliste et volontairement neutre. Il se contente du strict nécessaire (structure HTML propre, wp_head / wp_footer) afin de laisser tout l'espace au design des plugins. Aucune couleur, police ou mise en page imposée.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neutral-base
Tags: minimal, blank, full-width, translation-ready
*/

/* ==========================================================================
   Reset léger / baseline neutre
   On ne met que ce qui évite les surprises (box-sizing, images fluides…).
   Aucune décoration : couleurs, polices et espacements restent ceux du
   navigateur ou de ton plugin.
   ========================================================================== */

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

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

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
}

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

a {
	color: inherit;
}

/* Conteneur principal : pleine largeur, aucune contrainte.
   Le plugin gère sa propre mise en page. */
.site-main {
	width: 100%;
}

/* En-tête / pied minimalistes : on les neutralise au maximum.
   Tu peux supprimer ces règles si tu ne gardes pas header.php / footer.php. */
.site-header,
.site-footer {
	padding: 1rem;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-header a,
.site-footer a {
	text-decoration: none;
}

/* Accessibilité : lien d'évitement (skip link) caché jusqu'au focus clavier. */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 0.5rem 1rem;
	background: #fff;
}

.skip-link:focus {
	left: 0;
}

/* Classe utilitaire d'accessibilité standard WordPress. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
