/**
 * Theme Name:     Vendome (GeneratePress Child)
 * Author:         Loïc Vessiere
 * Template:       generatepress
 * Text Domain:	   Vendome (GeneratePress Child)
 * Description:    Thème enfant pour le site Vendôme
 * Version:        1.2.1
 */

/* ==========================================================================
   Titres H2 — taille harmonisée sur tout le site (19/10/2026)
   Les !important sont nécessaires : les styles des pages (blocs HTML .evf,
   .evp, .evt, .ev-*) et d'Elementor sont chargés après ce fichier.
   Pour changer la taille partout : modifier uniquement --vdm-h2.
   ========================================================================== */

:root {
	--vdm-h2: clamp(28px, 3.4vw, 44px);
}

.evf h2,
.evp h2,
.evt h2,
[class^="ev-"] h2,
[class*=" ev-"] h2,
.elementor-widget-heading h2.elementor-heading-title,
.entry-content > h2,
.page-header h2 {
	font-size: var(--vdm-h2) !important;
	line-height: 1.1 !important;
}

/* Accueil : titre de la section Alternance, volontairement plus petit */
.evf .evf-alt h2 {
	font-size: clamp(26px, 2.8vw, 36px) !important;
}

/* Petits H2 « sous-titres » Elementor à ne pas agrandir
   (À propos : « L'alternance comme expérience professionnelle » ;
   Candidature : « des études à votre rythme ») */
.elementor-element-29a0941 h2.elementor-heading-title,
.elementor-element-3dd3a563 h2.elementor-heading-title {
	font-size: 22px !important;
	line-height: 1.3 !important;
}

/* ==========================================================================
   Pied de page Vendôme (sans Elementor) — 19/10/2026
   Markup généré par vdm_footer() dans functions.php.
   ========================================================================== */

.site-footer {
	background: #000;
}

.vdm-footer {
	--vdm-beige: #D6BBA5;
	--vdm-gris: rgba(255, 255, 255, .72);
	background: #000;
	color: #fff;
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.vdm-footer,
.vdm-footer * {
	box-sizing: border-box;
}

.vdm-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vdm-footer a {
	color: #fff;
	text-decoration: none;
	transition: color .2s;
}

.vdm-footer a:hover {
	color: var(--vdm-beige);
}

.vdm-footer a:focus-visible {
	outline: 2px solid var(--vdm-beige);
	outline-offset: 3px;
}

.vdm-footer-in {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: 40px;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 80px 0 56px;
}

.vdm-footer-logo img {
	display: block;
	width: 180px;
	height: auto;
}

.vdm-footer-tagline {
	margin: 18px 0 26px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-size: 21px;
	line-height: 1.3;
	color: var(--vdm-beige);
}

.vdm-footer a.vdm-footer-cta {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 13px 24px;
	background: var(--vdm-beige);
	color: #000;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	transition: background .2s;
}

.vdm-footer a.vdm-footer-cta:hover {
	background: #fff;
	color: #000;
}

.vdm-footer-h {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--vdm-beige);
}

.vdm-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vdm-footer-col li {
	margin: 0 0 10px;
}

.vdm-footer-col a,
.vdm-footer-col address,
.vdm-footer-col p {
	color: var(--vdm-gris);
	font-size: 14.5px;
}

.vdm-footer-col address {
	margin: 0 0 12px;
	font-style: normal;
}

.vdm-footer-col p {
	margin: 0 0 20px;
}

.vdm-footer ul.vdm-footer-social {
	display: flex;
	gap: 12px;
}

.vdm-footer-social li {
	margin: 0;
}

.vdm-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .3);
	transition: border-color .2s, color .2s;
}

.vdm-footer-social a:hover {
	border-color: var(--vdm-beige);
}

.vdm-footer-social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.vdm-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 32px;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 24px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-size: 13px;
	color: var(--vdm-gris);
}

.vdm-footer-bottom p {
	margin: 0;
}

.vdm-footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}

.vdm-footer-bottom a {
	color: var(--vdm-gris);
}

@media (max-width: 1024px) {
	.vdm-footer-in {
		grid-template-columns: repeat(3, 1fr);
	}
	.vdm-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.vdm-footer-in {
		grid-template-columns: 1fr 1fr;
		gap: 32px 20px;
		width: calc(100% - 32px);
		padding: 56px 0 40px;
	}
	.vdm-footer-bottom {
		width: calc(100% - 32px);
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vdm-footer * {
		transition: none !important;
	}
}

/* Couleurs forcées : le thème et Elementor (kit, chargé après ce fichier)
   imposent leur couleur de texte et de lien. */
body .site-footer .vdm-footer,
body .site-footer .vdm-footer p,
body .site-footer .vdm-footer li,
body .site-footer .vdm-footer address {
	color: rgba(255, 255, 255, .78) !important;
}

body .site-footer .vdm-footer a,
body .site-footer .vdm-footer a:visited {
	color: rgba(255, 255, 255, .78) !important;
}

body .site-footer .vdm-footer a:hover,
body .site-footer .vdm-footer a:focus-visible {
	color: #D6BBA5 !important;
}

body .site-footer .vdm-footer .vdm-footer-h,
body .site-footer .vdm-footer .vdm-footer-tagline {
	color: #D6BBA5 !important;
}

body .site-footer .vdm-footer a.vdm-footer-cta,
body .site-footer .vdm-footer a.vdm-footer-cta:visited,
body .site-footer .vdm-footer a.vdm-footer-cta:hover {
	color: #000 !important;
}

body .site-footer .vdm-footer .vdm-footer-social a {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .45) !important;
}

body .site-footer .vdm-footer .vdm-footer-social a:hover {
	color: #D6BBA5 !important;
	border-color: #D6BBA5 !important;
}

body .site-footer .vdm-footer .vdm-footer-social svg,
body .site-footer .vdm-footer .vdm-footer-social svg path {
	fill: currentColor !important;
}