/*
Theme Name: Cabinet Mouche
Theme URI: https://cabinet-mouche.example
Author: Cabinet Mouche
Description: Thème sur mesure pour le site de l'agence immobilière Cabinet Mouche.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
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: cabinet-mouche
Tags: agence-immobiliere, custom, one-column, custom-logo, custom-menu
*/

/*
 * Charte graphique — à compléter avec les valeurs du client.
 * Toutes les couleurs et typographies du thème passent par ces variables.
 */
:root {
	/* Couleurs — charte client : orange #ec8d38, bleu nuit #14202f */
	--cm-color-primary: #ec8d38;
	--cm-color-secondary: #ec8d38;
	--cm-color-accent: #f5b877;
	--cm-color-dark: #14202f;
	--cm-color-light: #faf6f1;
	--cm-color-text: #2b2b2b;
	--cm-color-white: #ffffff;

	/* Typographies */
	--cm-font-title: Georgia, "Times New Roman", serif;
	--cm-font-body: "Segoe UI", Arial, sans-serif;

	/* Espacements et mise en page */
	--cm-container: 1200px;
	--cm-gap: 1.5rem;
	--cm-radius: 8px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--cm-font-body);
	color: var(--cm-color-text);
	background: var(--cm-color-light);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--cm-color-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--cm-color-secondary);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cm-font-title);
	color: var(--cm-color-dark);
	line-height: 1.25;
	margin: 0 0 0.75em;
}

/* Utilitaires de mise en page */
.cm-container {
	max-width: var(--cm-container);
	margin-inline: auto;
	padding-inline: var(--cm-gap);
}

.cm-section {
	padding-block: 4rem;
}

.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;
}

/* Alignements WordPress */
.alignleft {
	float: left;
	margin-right: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}
