/* ==========================================================================
   Corrections « moins IA » et accessibilité (RGAA 4.1.2), validées le 05/11/2026 sur l’accueil.
   Chargée sur l’accueil et les pages au design À propos (offres, consultante, audit gratuit, réalisations),
   après les autres styles du snippet.
   Charte gardée (crème, vert sapin, terracotta, DM Serif Display + Montserrat),
   formules répétées retirées, contrastes et focus clavier mis aux normes.
   ========================================================================== */

/* Couleurs de texte conformes (audit du 20/10/2026, critère 3.2) : terracotta 5,5:1 et taupe 4,8:1 sur crème.
   Les boutons passent aussi au terracotta foncé : texte blanc à 5,5:1 au lieu de 4,47:1. */
:root {
	--adw-terracotta: #9E4E39;
	--adw-terracotta-hover: #7D3C2B;
	--adw-muted: #6E665F;
}

/* Surtitres : casse normale, sans lettres espacées */
body .elementor .adw-eyebrow {
	margin-bottom: 12px;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
}

body .elementor .adw-ap-phase-label,
body .elementor .adw-ap-band-label li:first-child,
body .elementor .adw-card-cat {
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
}

/* Étiquettes des fiches projet et des cartes (type de projet, prix de l’offre) : casse normale */
body .elementor .adw-rl-type,
body .elementor .adw-rl-carte-type,
body .elementor .adw-rl-offre-prix {
	letter-spacing: 0;
	text-transform: none;
}

/* Mots accentués des titres : la couleur terracotta reste (crème clair sur fond vert), seul l’italique disparaît */
body .elementor .adw-ap-h2 em,
body .elementor .adw-ap-h3 em,
body .elementor .adw-ap-subtitle em {
	font-style: normal;
}

body .elementor .adw-ap-h3 {
	letter-spacing: 0;
}

/* « Pourquoi travailler ensemble » : ce ne sont pas des étapes, donc pas de numéros */
body .elementor .adw-ap-problem {
	grid-template-columns: minmax(0, 1fr);
}

body .elementor .adw-ap-problem .adw-ap-step-num {
	display: none;
}

body .elementor .adw-ap-problem > :not(.adw-ap-step-num) {
	grid-column: 1;
}

body .elementor .adw-ap-problem .adw-ap-h3 {
	margin-top: 0;
}

/* Décors sans rôle retirés : disques derrière les photos, ombre de la carte verte */
body .elementor .adw-ap-qui-visual::before,
body .elementor .adw-ap-visual::before {
	display: none;
}

/* Grands titres : « Île-de-France » (balisé <span> dans Elementor) ne se coupe jamais au trait d'union */
body .elementor .adw-ap-title span {
	white-space: nowrap;
}

body .elementor .adw-ap-offre-main {
	box-shadow: none;
}

/* Photo du haut : portrait net dans la forme organique de la charte, annotation en vrai texte (critère 1.8) */
body .elementor .adw-ap-visual.adw-ap-visual-portrait {
	position: relative;
}

body .elementor .adw-ap-visual-portrait img.adw-ap-photo {
	width: 100%;
	max-width: 400px;
	margin: 0 0 0 4%;
	aspect-ratio: 4 / 5;
	border-radius: 52% 48% 46% 54% / 46% 42% 58% 54%;
	object-fit: cover;
	object-position: center 24%;
}

/* Annotation manuscrite : la signature de la page, une seule fois, à droite du portrait */
body .elementor .adw-annotation {
	position: absolute;
	top: 4%;
	right: -40px;
	margin: 0;
	white-space: nowrap;
	font-family: var(--adw-script);
	font-size: 28px;
	line-height: 1.2;
	color: var(--adw-terracotta);
	text-align: center;
	transform: rotate(-6deg);
}

/* Focus clavier visible partout (critère 10.7) : contour encre sur fond clair, crème sur fond vert */
body a:focus-visible,
body button:focus-visible,
body [tabindex]:focus-visible,
body input:focus-visible,
body textarea:focus-visible {
	outline: 2px solid #0E0E0E;
	outline-offset: 3px;
}

body .adw-ap-card-green :focus-visible,
body .adw-ap-offre-main :focus-visible,
body .adw-ap-cta-inner :focus-visible,
body .elementor-location-footer :focus-visible {
	outline-color: #FAF6F0;
}

/* Pas d'animation d'apparition : le contenu est là dès l'arrivée */
body .elementor .elementor-invisible {
	visibility: visible !important;
}

body .elementor .animated {
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Sur mobile, l'annotation passe sous le portrait pour ne jamais recouvrir la photo */
@media (max-width: 767px) {
	body .elementor .adw-ap-visual-portrait img.adw-ap-photo {
		margin: 0 auto;
	}

	body .elementor .adw-annotation {
		position: static;
		margin: 12px auto 0;
		font-size: 26px;
		transform: rotate(-4deg);
	}
}
