/*
Theme Name: Adages Canvas
Theme URI: https://adages.wallons.be/
Author: Bernard
Description: Thème minimaliste "toile vierge" pour Elementor Pro, conçu pour remplacer Hello Elementor sans changer le rendu visuel du site. Aucun style propre : tout le design est géré par Elementor (Site Settings + Theme Builder).
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: adages-canvas
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Volontairement quasi vide : Elementor gère tout le style via Site Settings et le Theme Builder. */

html {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	padding: 0;
}

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

a {
	text-decoration: none;
}

ul, ol {
	margin: 0;
	padding: 0;
}

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

/* Règle héritée du thème enfant "Hello Elementor Child" (adages.wallons.be),
   conservée par précaution même si aucun usage détecté dans le contenu. */
.vcenter {
	vertical-align: middle;
}

/* Aligne le titre de page (quand affiché en dehors d'Elementor Theme Builder)
   sur la même largeur que le contenu Elementor : 1140px centré, comme le
   faisait le thème Hello Elementor d'origine. */
.page-header,
.page-content {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.page-header {
	text-align: left;
}

.page-header .entry-title,
h1.entry-title {
	text-align: left !important;
}

/* Système typographique global du site. */
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-500-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body:not(.wp-admin) h1.entry-title,
body:not(.wp-admin) main .elementor-widget-heading h1.elementor-heading-title,
body:not(.wp-admin) main .elementor-widget-heading h2.elementor-heading-title,
body:not(.wp-admin) main .elementor-widget-heading h3.elementor-heading-title {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em !important;
}

body:not(.wp-admin) h1.entry-title,
body:not(.wp-admin) main .elementor-widget-heading h1.elementor-heading-title {
	font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
	line-height: 1.05 !important;
}

body:not(.wp-admin) main .elementor-widget-heading h2.elementor-heading-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
	line-height: 1.1 !important;
}

body:not(.wp-admin) main .elementor-widget-heading h3.elementor-heading-title {
	font-size: clamp(1.4375rem, 2.3vw, 1.9375rem) !important;
	line-height: 1.15 !important;
}

/* Titres de la carte : la typographie reste entièrement pilotée par le thème. */
.adages-map-app .adages-map-intro h2 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 54px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0.005em;
}

.adages-map-app .adages-map-card h3 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: clamp(1.5rem, 2.2vw, 1.75rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
	body:not(.wp-admin) h1.entry-title,
	body:not(.wp-admin) main .elementor-widget-heading h1.elementor-heading-title {
		font-size: clamp(2.375rem, 4.4vw, 2.75rem) !important;
	}

	body:not(.wp-admin) main .elementor-widget-heading h2.elementor-heading-title {
		font-size: clamp(1.9375rem, 3.6vw, 2.25rem) !important;
	}

	body:not(.wp-admin) main .elementor-widget-heading h3.elementor-heading-title {
		font-size: clamp(1.5625rem, 2.8vw, 1.75rem) !important;
	}

	.adages-map-app .adages-map-intro h2 {
		font-size: 46px;
	}
}

@media (max-width: 767px) {
	body:not(.wp-admin) h1.entry-title,
	body:not(.wp-admin) main .elementor-widget-heading h1.elementor-heading-title {
		font-size: clamp(2rem, 9vw, 2.375rem) !important;
	}

	body:not(.wp-admin) main .elementor-widget-heading h2.elementor-heading-title {
		font-size: clamp(1.75rem, 7.5vw, 2rem) !important;
	}

	body:not(.wp-admin) main .elementor-widget-heading h3.elementor-heading-title {
		font-size: clamp(1.4375rem, 6.5vw, 1.625rem) !important;
	}

	.adages-map-app .adages-map-intro h2 {
		font-size: 36px;
		line-height: 1.08;
	}
}
