/* ==========================================================================
   EGI CANADA Exécutif
   Palette tirée du logo : rouge du ruban et de la feuille d'érable, bordeaux du dégradé,
   brun-bordeaux du nom de l'école, blanc et gris pâle.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Spectral";
	src: url("../fonts/spectral-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Spectral";
	src: url("../fonts/spectral-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Spectral";
	src: url("../fonts/spectral-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Couleurs du logo */
	--rouge-vif: #e72128;     /* ruban, feuille d'érable */
	--bordeaux: #82142d;      /* fin du dégradé du ruban */
	--encre: #451211;         /* nom de l'école */

	/* Dérivés */
	--rouge: #c41a2a;         /* boutons : contraste suffisant avec le blanc */
	--rouge-fonce: #82142d;
	--rouge-texte: #a8182a;   /* liens et petits textes rouges sur blanc */
	--rose: #f6b9b4;          /* accents sur fond foncé */
	--fond-fonce: #3a0e12;
	--encre-panneau: #521619;
	--encre-pied: #2a090c;
	--ruban: linear-gradient(90deg, var(--rouge-vif) 0%, var(--bordeaux) 100%);

	/* Anciens noms, conservés pour la lisibilité du fichier */
	--patine: var(--rouge-vif);
	--patine-texte: var(--rouge-texte);
	--patine-clair: var(--rose);

	--pierre: #ece8e8;
	--pierre-claire: #f7f5f5;
	--blanc: #ffffff;
	--texte: #2a1d1e;
	--texte-doux: #6b5c5d;
	--ligne: #ddd5d5;
	--ligne-encre: rgba(255, 255, 255, 0.16);
	--ardoise: #55606a;

	--f-titre: "Spectral", Georgia, "Times New Roman", serif;
	--f-texte: "Archivo", "Helvetica Neue", Arial, sans-serif;

	--largeur: 1200px;
	--gouttiere: clamp(1rem, 4vw, 2rem);
	--espace-section: clamp(3.5rem, 7vw, 6rem);
	--rayon: 3px;

	/* Tutor LMS et WooCommerce reprennent la couleur d'action. */
	--tutor-color-primary: var(--rouge);
	--tutor-color-primary-rgb: 196, 26, 42;
	--tutor-color-primary-hover: var(--rouge-fonce);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 6rem;
}

html,
body {
	max-width: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--blanc) !important;
	color: var(--texte);
	font-family: var(--f-texte);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-variant-numeric: lining-nums;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--patine-texte);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--encre);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	font-family: var(--f-titre);
	font-weight: 600;
	line-height: 1.15;
	color: var(--encre);
}

p {
	margin: 0 0 1em;
}

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

:focus-visible {
	outline: 3px solid var(--patine);
	outline-offset: 2px;
}

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

.lien-evitement {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--blanc);
	color: var(--encre);
	font-weight: 600;
}

.lien-evitement:focus {
	top: 1rem;
}

.enveloppe {
	width: 100%;
	max-width: calc(var(--largeur) + 2 * var(--gouttiere));
	margin: 0 auto;
	padding: 0 var(--gouttiere);
}

.titre-section {
	font-size: clamp(1.75rem, 2.8vw, 2.4rem);
	letter-spacing: -0.01em;
	max-width: 22em;
}

.lien-fort {
	font-weight: 600;
	color: var(--encre);
	text-decoration-color: var(--patine);
	text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.bouton,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.9rem;
	padding: 0.7rem 1.25rem;
	border: 1px solid transparent;
	border-radius: var(--rayon);
	font-family: var(--f-texte);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bouton--principal,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--rouge);
	color: var(--blanc);
}

.bouton--principal:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--rouge-fonce);
	color: var(--blanc);
}

.bouton--secondaire {
	background: transparent;
	border-color: var(--encre);
	color: var(--encre);
}

.bouton--secondaire:hover {
	background: var(--encre);
	color: var(--blanc);
}

.bouton--contour-clair {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--blanc);
}

.bouton--contour-clair:hover {
	background: var(--blanc);
	border-color: var(--blanc);
	color: var(--encre);
}

/* --------------------------------------------------------------------------
   Bandeau du haut et en-tête
   -------------------------------------------------------------------------- */

.barre-haut {
	background: var(--ruban);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.875rem;
}

.barre-haut__interieur {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.barre-haut__texte {
	margin: 0;
}

.barre-haut__liens {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	list-style: none;
}

.barre-haut a {
	color: var(--blanc);
	text-decoration: none;
}

.barre-haut a:hover {
	text-decoration: underline;
}

.entete {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--blanc);
	border-bottom: 1px solid var(--ligne);
}

.admin-bar .entete {
	top: 32px;
}

.entete__interieur {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 5.75rem;
}

.marque {
	display: inline-flex;
	line-height: 0;
}

.marque img {
	display: block;
	width: auto;
	height: 4.5rem;
}

.pied .marque img {
	height: 4.6rem;
}

@media (max-width: 560px) {
	.marque img {
		height: 3.4rem;
	}
}

.custom-logo {
	display: block;
	max-height: 4.5rem;
	width: auto;
}

.entete__navigation {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.entete__navigation .menu {
	display: flex;
	gap: 1.75rem;
	list-style: none;
}

.entete__navigation .menu a {
	display: block;
	padding: 0.4rem 0;
	color: var(--encre);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.entete__navigation .menu a:hover,
.entete__navigation .menu .current-menu-item > a,
.entete__navigation .menu .current_page_item > a {
	border-bottom-color: var(--patine);
}

.entete__navigation .sub-menu {
	display: none;
}

.entete__bouton-menu {
	display: none;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.75rem;
	background: transparent;
	border: 1px solid var(--ligne);
	border-radius: var(--rayon);
	color: var(--encre);
	font: 600 0.95rem var(--f-texte);
	cursor: pointer;
}

@media (max-width: 960px) {
	.entete__bouton-menu {
		display: inline-flex;
	}

	.entete__navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem var(--gouttiere) 1.5rem;
		background: var(--blanc);
		border-bottom: 1px solid var(--ligne);
		box-shadow: 0 12px 24px rgba(18, 38, 58, 0.12);
	}

	.entete__navigation.est-ouvert {
		display: flex;
	}

	.entete__navigation .menu {
		flex-direction: column;
		gap: 0;
	}

	.entete__navigation .menu a {
		padding: 0.75rem 0;
		border-bottom: 1px solid var(--pierre);
	}
}

@media (max-width: 782px) {
	.admin-bar .entete {
		top: 0;
	}
}

/* --------------------------------------------------------------------------
   Accueil : titre principal et horloges
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--fond-fonce);
	color: var(--blanc);
	padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.hero__grille {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
}

.hero__titre {
	margin-bottom: 1.5rem;
	color: var(--blanc);
	font-size: clamp(2.4rem, 4.6vw, 3.9rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	max-width: 13em;
}

.hero__intro {
	max-width: 34em;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1.125rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 2rem 0 2.25rem;
}

.hero__faits {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.95rem;
}

.hero__faits li {
	padding: 0 1rem;
	border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero__faits li:first-child {
	padding-left: 0;
	border-left: 0;
}

@media (max-width: 560px) {
	.hero__faits {
		flex-direction: column;
		gap: 0.35rem;
	}

	.hero__faits li {
		padding: 0 0 0 0.9rem;
		border-left: 2px solid var(--patine);
	}

	.hero__faits li:first-child {
		padding-left: 0.9rem;
		border-left: 2px solid var(--patine);
	}
}

.horloges {
	padding: clamp(1.5rem, 3vw, 2rem);
	background: rgba(58, 14, 18, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--rayon);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.horloges__titre {
	margin-bottom: 1rem;
	color: var(--blanc);
	font-size: 1.3rem;
}

.horloges__liste {
	list-style: none;
}

.horloges__ville {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "nom heure" "repere heure";
	align-items: baseline;
	column-gap: 1rem;
	padding: 0.7rem 0;
	border-top: 1px solid var(--ligne-encre);
}

.horloges__nom {
	grid-area: nom;
	font-family: var(--f-titre);
	font-size: 1.15rem;
}

.horloges__repere {
	grid-area: repere;
	color: var(--patine-clair);
	font-size: 0.82rem;
}

.horloges__heure {
	grid-area: heure;
	align-self: center;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 500;
	font-stretch: 115%;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.horloges__ville--origine .horloges__nom::before {
	content: "";
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	margin-right: 0.55rem;
	background: var(--rouge-vif);
	vertical-align: 0.12em;
}

.horloges__ville--vous {
	color: var(--patine-clair);
}

.horloges__note {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

@media (max-width: 960px) {
	.hero__grille {
		grid-template-columns: 1fr;
	}

	.hero .fond-video::after {
		background: rgba(58, 14, 18, 0.86);
	}
}

/* --------------------------------------------------------------------------
   Inscription ouverte toute l'année
   -------------------------------------------------------------------------- */

.ouverture {
	background: var(--pierre);
	border-bottom: 1px solid var(--ligne);
}

.ouverture__interieur {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 3rem;
	padding-top: 1.75rem;
	padding-bottom: 1.75rem;
}

.ouverture__texte {
	flex: 1 1 28rem;
	padding-left: 1.25rem;
	border-left: 4px solid var(--rouge-vif);
}

.ouverture__titre {
	margin-bottom: 0.35rem;
	font-size: 1.45rem;
}

.ouverture__texte p {
	margin: 0;
	max-width: 40em;
	color: var(--texte-doux);
}

/* --------------------------------------------------------------------------
   Ce que comprend chaque programme
   -------------------------------------------------------------------------- */

.inclus {
	padding: var(--espace-section) 0;
	background: var(--pierre-claire);
}

.inclus__grille {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.inclus__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--rayon);
	aspect-ratio: 4 / 5;
	background: var(--pierre);
}

.inclus__photo::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 38%;
	height: 6px;
	background: var(--ruban);
}

.inclus__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.inclus__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	margin-top: 2rem;
	list-style: none;
}

.inclus__element {
	padding-top: 1.25rem;
	border-top: 1px solid var(--ligne);
}

.inclus__element .icone {
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.85rem;
	color: var(--rouge);
}

.inclus__titre {
	margin-bottom: 0.4rem;
	font-family: var(--f-texte);
	font-size: 1.05rem;
	line-height: 1.35;
}

.inclus__element p {
	margin: 0;
	color: var(--texte-doux);
	font-size: 0.98rem;
}

@media (max-width: 960px) {
	.inclus__grille {
		grid-template-columns: 1fr;
	}

	.inclus__photo {
		aspect-ratio: 16 / 9;
	}

	.inclus__photo img {
		object-position: center 30%;
	}
}

@media (max-width: 560px) {
	.inclus__liste {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

/* --------------------------------------------------------------------------
   Catalogue
   -------------------------------------------------------------------------- */

.catalogue {
	padding: var(--espace-section) 0;
	background: var(--blanc);
}

.page-programmes .catalogue {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.page-programmes .catalogue .titre-section {
	font-size: clamp(2rem, 3.6vw, 3rem);
}

.catalogue__entete {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem 3rem;
	align-items: end;
}

.catalogue__entete .titre-section {
	margin: 0;
}

.catalogue__intro {
	margin: 0;
	max-width: 32em;
	color: var(--texte-doux);
}

.catalogue__outils {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin: 2.25rem 0 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ligne);
}

.filtres {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.filtres__bouton {
	padding: 0.5rem 1rem;
	background: var(--blanc);
	border: 1px solid var(--ligne);
	border-radius: 2rem;
	color: var(--encre);
	font: 500 0.95rem var(--f-texte);
	cursor: pointer;
}

.filtres__bouton:hover {
	border-color: var(--encre);
}

.filtres__bouton[aria-pressed="true"] {
	background: var(--encre);
	border-color: var(--encre);
	color: var(--blanc);
}

.zone {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.95rem;
}

.zone__libelle {
	color: var(--texte-doux);
}

.zone__choix {
	min-height: 2.6rem;
	padding: 0.45rem 2.25rem 0.45rem 0.85rem;
	background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312263a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
	border: 1px solid var(--encre);
	border-radius: var(--rayon);
	color: var(--encre);
	font: 500 0.95rem var(--f-texte);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.avis-zone {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	background: var(--pierre-claire);
	border-left: 3px solid var(--patine);
}

.avis-zone a {
	font-weight: 600;
}

.catalogue__grille {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none;
}

.fiche {
	--famille: var(--rouge-vif);
	--famille-texte: var(--rouge-texte);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--blanc);
	border: 1px solid var(--ligne);
	border-top: 4px solid var(--famille);
	border-radius: 2px;
}

.fiche__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--pierre);
}

.fiche__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fiche:hover .fiche__image img {
	transform: scale(1.04);
}

.fiche__corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.35rem 1.5rem 1.4rem;
}

.fiche:hover {
	border-color: var(--texte-doux);
	border-top-color: var(--famille);
}

.fiche--certification {
	--famille: var(--encre);
	--famille-texte: var(--encre);
}

.fiche--master {
	--famille: var(--ardoise);
	--famille-texte: var(--ardoise);
}

.fiche[hidden] {
	display: none;
}

.fiche__type {
	margin: 0 0 0.6rem;
	color: var(--famille-texte);
	font-size: 0.88rem;
	font-weight: 600;
}

.fiche__titre {
	margin-bottom: 0.6rem;
	font-size: 1.4rem;
	line-height: 1.2;
}

.fiche__titre a {
	color: var(--encre);
	text-decoration: none;
}

.fiche__titre a:hover {
	text-decoration: underline;
	text-decoration-color: var(--famille);
}

.fiche__accroche {
	color: var(--texte-doux);
	font-size: 0.98rem;
}

.fiche__details {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
}

.fiche__details dt {
	display: inline;
	color: var(--texte-doux);
}

.fiche__details dt::after {
	content: " :";
}

.fiche__details dd {
	display: inline;
	margin: 0;
	font-weight: 500;
}

.fiche__bas {
	margin-top: auto;
	padding-top: 1.1rem;
	border-top: 1px solid var(--pierre);
}

.fiche__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.fiche__actions .bouton {
	flex: 1 1 auto;
}

.catalogue__vide,
.catalogue__aucun {
	color: var(--texte-doux);
}

@media (max-width: 1024px) {
	.catalogue__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.catalogue__entete {
		grid-template-columns: 1fr;
	}

	.catalogue__grille {
		grid-template-columns: 1fr;
	}

	.zone {
		width: 100%;
		flex-wrap: wrap;
	}

	.zone__choix {
		flex: 1 1 100%;
	}
}

/* --------------------------------------------------------------------------
   Prix
   -------------------------------------------------------------------------- */

.prix {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.prix__montant {
	color: var(--encre);
	font-size: 1.6rem;
	font-weight: 650;
	font-stretch: 108%;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}

.prix__note {
	color: var(--texte-doux);
	font-size: 0.85rem;
}

.prix--externe .prix__montant {
	font-size: 1.05rem;
	font-weight: 600;
}

.prix--externe .prix__montant a {
	color: var(--patine-texte);
}

.prix--grand .prix__montant {
	font-size: clamp(2.4rem, 4.5vw, 3.2rem);
	font-stretch: 112%;
}

.prix--en-ligne {
	display: inline;
	white-space: nowrap;
}

.prix--en-ligne .prix__montant {
	font-size: inherit;
	font-weight: 600;
	color: inherit;
}

/* --------------------------------------------------------------------------
   Pass annuel
   -------------------------------------------------------------------------- */

.pass {
	padding: var(--espace-section) 0;
	background: linear-gradient(120deg, var(--rouge) 0%, var(--bordeaux) 100%);
	color: rgba(255, 255, 255, 0.92);
}

.pass__grille {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.pass__titre {
	color: var(--blanc);
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
	max-width: 16em;
}

.pass__texte p {
	max-width: 36em;
}

.pass__liste {
	margin-top: 1.5rem;
	list-style: none;
}

.pass__liste li {
	position: relative;
	padding: 0.55rem 0 0.55rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.pass__liste li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 1.05rem;
	width: 0.75rem;
	height: 0.4rem;
	border-left: 2px solid var(--blanc);
	border-bottom: 2px solid var(--blanc);
	transform: rotate(-45deg);
}

.pass__offre {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--blanc);
	border-radius: var(--rayon);
	color: var(--texte);
}

.pass__comparaison {
	margin: 1rem 0 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--pierre);
	color: var(--texte-doux);
	font-size: 0.95rem;
}

.pass__comparaison .prix {
	color: var(--encre);
}

.pass__offre .bouton {
	width: 100%;
}

@media (max-width: 960px) {
	.pass__grille {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Comparatif
   -------------------------------------------------------------------------- */

.comparatif {
	padding: var(--espace-section) 0;
	background: var(--blanc);
}

.comparatif__intro {
	max-width: 40em;
	color: var(--texte-doux);
}

.comparatif__table {
	width: 100%;
	margin-top: 2rem;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.98rem;
}

.comparatif__table th,
.comparatif__table td {
	padding: 1rem 1.25rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--ligne);
}

.comparatif__table thead th {
	font-family: var(--f-titre);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--encre);
	border-bottom: 2px solid var(--encre);
}

.comparatif__table thead td {
	width: 18%;
	border-bottom: 2px solid var(--encre);
}

.comparatif__table tbody th {
	font-weight: 600;
	color: var(--encre);
}

.comparatif__table td {
	color: var(--texte-doux);
}

.comparatif__table .comparatif__egi {
	background: var(--pierre-claire);
	color: var(--texte);
}

.comparatif__table thead .comparatif__egi {
	border-bottom-color: var(--patine);
}

@media (max-width: 720px) {
	.comparatif__table thead {
		display: none;
	}

	.comparatif__table,
	.comparatif__table tbody,
	.comparatif__table tr,
	.comparatif__table th,
	.comparatif__table td {
		display: block;
		width: 100%;
	}

	.comparatif__table tr {
		padding: 1rem 0;
		border-bottom: 1px solid var(--ligne);
	}

	.comparatif__table tbody th {
		width: 100%;
		padding: 0 0 0.5rem;
		border: 0;
		font-family: var(--f-titre);
		font-size: 1.15rem;
	}

	.comparatif__table td {
		padding: 0.5rem 0.75rem;
		border: 0;
	}

	.comparatif__table td::before {
		content: attr(data-libelle);
		display: block;
		color: var(--texte-doux);
		font-size: 0.82rem;
		font-weight: 600;
	}
}

/* --------------------------------------------------------------------------
   Étapes
   -------------------------------------------------------------------------- */

.etapes {
	padding: var(--espace-section) 0;
	background: var(--pierre-claire);
	border-top: 1px solid var(--ligne);
}

.etapes__liste {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin-top: 2.25rem;
	list-style: none;
	counter-reset: etape;
}

.etapes__element {
	counter-increment: etape;
	padding-top: 1.25rem;
	border-top: 3px solid var(--rouge);
}

.etapes__element::before {
	content: counter(etape);
	display: block;
	margin-bottom: 0.5rem;
	color: var(--rouge);
	font-family: var(--f-titre);
	font-size: 2.6rem;
	font-weight: 600;
	line-height: 1;
}

.etapes__titre {
	margin-bottom: 0.4rem;
	font-family: var(--f-texte);
	font-size: 1.1rem;
}

.etapes__element p {
	margin: 0;
	color: var(--texte-doux);
	font-size: 0.98rem;
}

@media (max-width: 960px) {
	.etapes__liste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.etapes__liste {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Conçu à Montréal : mosaïque de photos et attestation
   -------------------------------------------------------------------------- */

.montreal {
	padding: var(--espace-section) 0;
	background: var(--pierre-claire);
}

.montreal__entete {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 1rem clamp(2rem, 5vw, 5rem);
	align-items: end;
	margin-bottom: 2.5rem;
}

.montreal__entete .titre-section {
	margin: 0;
}

.montreal__entete p {
	margin: 0;
	max-width: 38em;
	color: var(--texte-doux);
	font-size: 1.05rem;
}

.mosaique {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-rows: auto auto;
	gap: 1rem;
}

.mosaique__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--rayon);
	background: var(--pierre);
}

.mosaique__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mosaique__photo--a {
	aspect-ratio: 16 / 10;
}

.mosaique__photo--b {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.mosaique__photo--c {
	aspect-ratio: 16 / 9;
}

.mosaique__photo figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.5rem 1rem 0.8rem;
	background: linear-gradient(to top, rgba(42, 9, 12, 0.78), rgba(42, 9, 12, 0));
	color: var(--blanc);
	font-size: 0.9rem;
}

.montreal__attestation {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--blanc);
	border: 1px solid var(--ligne);
	border-top: 4px solid var(--rouge-vif);
	border-radius: var(--rayon);
}

.montreal__visuel {
	margin: 0;
}

.montreal__visuel img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--rayon);
}

.montreal__visuel figcaption {
	margin-top: 0.6rem;
	color: var(--texte-doux);
	font-size: 0.85rem;
}

.montreal__sous-titre {
	font-size: 1.45rem;
}

.montreal__colonnes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	margin-top: 1rem;
}

.montreal__colonnes h4 {
	margin-bottom: 0.75rem;
	font-family: var(--f-texte);
	font-size: 1rem;
}

.liste-oui,
.liste-non {
	list-style: none;
	font-size: 0.97rem;
}

.liste-oui li,
.liste-non li {
	position: relative;
	padding: 0.45rem 0 0.45rem 1.6rem;
	border-top: 1px solid var(--pierre);
}

.liste-oui li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.95rem;
	width: 0.7rem;
	height: 0.38rem;
	border-left: 2px solid var(--encre);
	border-bottom: 2px solid var(--encre);
	transform: rotate(-45deg);
}

.liste-non li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 1.1rem;
	width: 0.7rem;
	height: 2px;
	background: var(--rouge);
}

@media (max-width: 960px) {
	.montreal__entete,
	.montreal__attestation {
		grid-template-columns: 1fr;
	}

	.montreal__visuel {
		max-width: 26rem;
	}
}

@media (max-width: 720px) {
	.mosaique {
		grid-template-columns: 1fr;
	}

	.mosaique__photo--b {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 4 / 5;
	}

	.montreal__colonnes {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Questions fréquentes
   -------------------------------------------------------------------------- */

.questions {
	padding: var(--espace-section) 0;
	background: var(--blanc);
}

.questions__grille {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(2rem, 5vw, 5rem);
}

.questions__photo {
	margin: 2rem 0 0;
	overflow: hidden;
	border-radius: var(--rayon);
	aspect-ratio: 4 / 5;
	max-width: 22rem;
}

.questions__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 860px) {
	.questions__photo {
		display: none;
	}
}

.questions__grille > div > p {
	color: var(--texte-doux);
}

.faq {
	border-top: 1px solid var(--ligne);
}

.faq__item {
	border-bottom: 1px solid var(--ligne);
}

.faq__question {
	position: relative;
	padding: 1.15rem 2.5rem 1.15rem 0;
	color: var(--encre);
	font-family: var(--f-titre);
	font-size: 1.18rem;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question::before,
.faq__question::after {
	content: "";
	position: absolute;
	right: 0.35rem;
	top: 50%;
	width: 0.9rem;
	height: 2px;
	background: var(--patine-texte);
	transition: transform 0.2s ease;
}

.faq__question::after {
	transform: rotate(90deg);
}

.faq__item[open] .faq__question::after {
	transform: rotate(0deg);
}

.faq__reponse {
	padding: 0 2.5rem 1.25rem 0;
	color: var(--texte-doux);
}

.faq__reponse p {
	margin: 0;
	max-width: 44em;
}

@media (max-width: 860px) {
	.questions__grille {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Appel final
   -------------------------------------------------------------------------- */

.appel {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 9vw, 6.5rem) 0;
	background: var(--fond-fonce);
	color: rgba(255, 255, 255, 0.84);
}

.appel__interieur {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.appel__titre {
	color: var(--blanc);
	font-size: clamp(1.7rem, 2.8vw, 2.3rem);
	max-width: 18em;
}

.appel p {
	margin: 0;
	max-width: 38em;
}

.appel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */

.titre-page {
	padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
	background:
		linear-gradient(90deg, rgba(58, 14, 18, 0.94) 0%, rgba(58, 14, 18, 0.8) 55%, rgba(58, 14, 18, 0.62) 100%),
		url("../media/montreal-parc-centre-ville.webp") center 35% / cover no-repeat,
		var(--fond-fonce);
	color: var(--blanc);
}

.titre-page__titre {
	margin: 0;
	color: var(--blanc);
	font-size: clamp(2rem, 3.6vw, 3rem);
	letter-spacing: -0.015em;
	max-width: 20em;
}

.titre-page__intro {
	margin: 0.9rem 0 0;
	max-width: 40em;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
}

.titre-page__date {
	margin: 0 0 0.5rem;
	color: rgba(255, 255, 255, 0.8);
}

.page-standard > .enveloppe {
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-bottom: var(--espace-section);
}

.contenu-texte {
	max-width: 46rem;
}

.contenu-texte h2 {
	margin-top: 2.25rem;
	font-size: 1.65rem;
}

.contenu-texte h3 {
	margin-top: 1.75rem;
	font-size: 1.3rem;
}

.contenu-texte ul,
.contenu-texte ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

.contenu-texte li {
	margin-bottom: 0.35em;
}

.contenu-texte > .faq {
	margin-top: 1rem;
}

.elementor-page .contenu-texte {
	max-width: none;
}

.contenu-texte .wp-block-image {
	margin: 2rem 0;
}

.contenu-texte .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--rayon);
}

.article__image {
	margin-bottom: 1.5rem;
	border-radius: var(--rayon);
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.contact__photo {
	margin: 2rem 0 0;
	overflow: hidden;
	border-radius: var(--rayon);
}

.contact__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.contact__fiche {
	padding: 1.75rem;
	background: var(--pierre-claire);
	border: 1px solid var(--ligne);
	border-radius: var(--rayon);
}

.contact__titre {
	font-size: 1.35rem;
}

.contact__fiche dl {
	margin: 0;
}

.contact__fiche dl > div {
	padding: 0.75rem 0;
	border-top: 1px solid var(--ligne);
}

.contact__fiche dt {
	color: var(--texte-doux);
	font-size: 0.88rem;
}

.contact__fiche dd {
	margin: 0.15rem 0 0;
	font-weight: 500;
}

@media (max-width: 860px) {
	.contact {
		grid-template-columns: 1fr;
	}
}

.articles {
	list-style: none;
	max-width: 46rem;
}

.article-resume {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--ligne);
}

.article-resume__date {
	margin: 0 0 0.35rem;
	color: var(--texte-doux);
	font-size: 0.9rem;
}

.article-resume__titre {
	font-size: 1.4rem;
}

.article-resume__titre a {
	color: var(--encre);
	text-decoration: none;
}

.nav-links {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.pied {
	padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
	background: var(--encre-pied);
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.95rem;
}

.pied__grille {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
}

.pied__marque p {
	margin: 1rem 0 0;
	max-width: 24em;
}

.pied__titre {
	margin-bottom: 0.9rem;
	color: var(--blanc);
	font-family: var(--f-texte);
	font-size: 0.98rem;
	font-weight: 600;
}

.pied ul {
	list-style: none;
}

.pied li {
	margin-bottom: 0.5rem;
}

.pied a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.pied a:hover {
	color: var(--blanc);
	text-decoration: underline;
}

.pied__bas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ligne-encre);
}

.pied__bas p {
	margin: 0;
}

.pied__reseaux {
	display: flex;
	gap: 0.75rem;
}

.pied__reseaux li {
	margin: 0;
}

.pied__reseaux a {
	display: inline-flex;
	padding: 0.4rem;
	border: 1px solid var(--ligne-encre);
	border-radius: var(--rayon);
}

.pied__reseaux .icone {
	width: 1.15rem;
	height: 1.15rem;
}

@media (max-width: 960px) {
	.pied__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.pied__grille {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Champs de formulaire (recherche, extensions)
   -------------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	max-width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--ligne);
	border-radius: var(--rayon);
	font: inherit;
	color: var(--texte);
}

/* --------------------------------------------------------------------------
   Tutor LMS : harmonisation légère
   -------------------------------------------------------------------------- */

.tutor-wrap,
.tutor-course-details-page,
.tutor-dashboard {
	font-family: var(--f-texte);
}

.tutor-course-details-title,
.tutor-dashboard-title {
	font-family: var(--f-titre);
	color: var(--encre);
}

/* --------------------------------------------------------------------------
   Vidéos de fond
   -------------------------------------------------------------------------- */

.fond-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.fond-video__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fond-video::after {
	content: "";
	position: absolute;
	inset: 0;
}

.hero .fond-video::after {
	background:
		linear-gradient(90deg, rgba(58, 14, 18, 0.94) 0%, rgba(58, 14, 18, 0.86) 45%, rgba(58, 14, 18, 0.5) 62%, rgba(58, 14, 18, 0.28) 100%),
		linear-gradient(to top, rgba(58, 14, 18, 0.55), rgba(58, 14, 18, 0) 35%);
}

.appel .fond-video::after {
	background: linear-gradient(90deg, rgba(42, 9, 12, 0.93) 0%, rgba(58, 14, 18, 0.82) 60%, rgba(58, 14, 18, 0.7) 100%);
}

.hero__grille,
.appel__interieur {
	position: relative;
	z-index: 1;
}

.fond-video__bouton {
	position: absolute;
	right: var(--gouttiere);
	bottom: 1rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.8rem;
	background: rgba(42, 9, 12, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 2rem;
	color: var(--blanc);
	font: 500 0.82rem var(--f-texte);
	cursor: pointer;
}

.fond-video__bouton:hover {
	background: rgba(42, 9, 12, 0.85);
}

.fond-video__icone {
	position: relative;
	width: 0.7rem;
	height: 0.75rem;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.fond-video__bouton.est-en-pause .fond-video__icone {
	width: 0;
	height: 0;
	border-top: 0.4rem solid transparent;
	border-bottom: 0.4rem solid transparent;
	border-left: 0.65rem solid currentColor;
	border-right: 0;
}

/* --------------------------------------------------------------------------
   Animations
   Une entrée orchestrée pour l'accueil, puis des apparitions discrètes au défilement.
   -------------------------------------------------------------------------- */

@keyframes egi-monte {
	from {
		opacity: 0;
		transform: translateY(26px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes egi-glisse {
	from {
		opacity: 0;
		transform: translateX(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes egi-ruban {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.anim .hero__titre,
.anim .hero__intro,
.anim .hero__actions,
.anim .hero__faits {
	animation: egi-monte 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.anim .hero__intro {
	animation-delay: 0.15s;
}

.anim .hero__actions {
	animation-delay: 0.3s;
}

.anim .hero__faits {
	animation-delay: 0.45s;
}

.anim .horloges {
	animation: egi-glisse 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
}

.anim .horloges__ville {
	animation: egi-glisse 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.anim .horloges__ville:nth-child(1) { animation-delay: 0.55s; }
.anim .horloges__ville:nth-child(2) { animation-delay: 0.65s; }
.anim .horloges__ville:nth-child(3) { animation-delay: 0.75s; }
.anim .horloges__ville:nth-child(4) { animation-delay: 0.85s; }
.anim .horloges__ville:nth-child(5) { animation-delay: 0.95s; }
.anim .horloges__ville:nth-child(6) { animation-delay: 1.05s; }
.anim .horloges__ville:nth-child(7) { animation-delay: 1.15s; }

.anim .barre-haut {
	position: relative;
}

.anim .barre-haut::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: rgba(255, 255, 255, 0.45);
	transform-origin: left;
	animation: egi-ruban 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

/* Apparitions au défilement : les éléments sont marqués par le script. */
.anim [data-apparition] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--delai, 0s);
}

.anim [data-apparition].est-visible {
	opacity: 1;
	transform: none;
}

.anim [data-apparition="photo"] {
	transform: none;
	clip-path: inset(12% 0 0 0);
	transition: opacity 0.8s ease, clip-path 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--delai, 0s);
}

.anim [data-apparition="photo"] img {
	transform: scale(1.08);
	transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--delai, 0s);
}

.anim [data-apparition="photo"].est-visible {
	clip-path: inset(0 0 0 0);
}

.anim [data-apparition="photo"].est-visible img {
	transform: scale(1);
}

.anim .etapes__element[data-apparition]::before {
	transition: color 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

/* Neutralise les styles globaux hérités d'Elementor sur les éléments du thème. */
.titre-page__titre,
.titre-section,
.hero__titre,
.entete a,
.pied a {
	border-bottom: 0;
	text-decoration-line: none;
}

.titre-page__titre,
.titre-section {
	padding-bottom: 0;
	background: none;
}

.catalogue__tous {
	margin: 2.25rem 0 0;
	text-align: center;
}

.legal__maj {
	color: var(--texte-doux);
	font-size: 0.92rem;
}

.legal h2 {
	font-size: 1.35rem;
}
