/* =====================================================================
   Groupages.ch - feuille de style du site public.
   Les couleurs et les tailles viennent toutes de tokens.css.
   ===================================================================== */

/* -- Bases ------------------------------------------------------------ */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--gp-font-body);
	font-size: var(--gp-body);
	line-height: var(--gp-body-lh);
	color: var(--gp-text);
	background: var(--gp-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--gp-font-title);
	font-weight: 700;
	margin: 0 0 0.5em;
	color: var(--gp-text);
}

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

a { color: var(--gp-primary); }
a:hover { color: var(--gp-primary-dark); }

.gp-conteneur {
	width: 100%;
	max-width: var(--gp-container);
	margin-inline: auto;
	padding-inline: 24px;
}

.gp-visuellement-cache {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Lien d evitement, visible uniquement au clavier. */
.gp-evitement {
	position: absolute;
	left: -9999px;
	z-index: 100;
	padding: 12px 20px;
	background: var(--gp-primary-dark);
	color: #fff;
}
.gp-evitement:focus { left: 12px; top: 12px; }

/* -- En-tete ---------------------------------------------------------- */

.gp-entete {
	position: sticky;   /* collante a TOUTES les tailles d ecran */
	top: 0;
	z-index: 50;
	background: var(--gp-white);
	border-bottom: 1px solid var(--gp-border);
	transition: box-shadow 0.2s ease;
}
.gp-entete.est-defilee { box-shadow: var(--gp-shadow); }

.gp-entete__barre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 80px;
	transition: min-height 0.22s ease;
}

.gp-logo { flex: 0 0 auto; }

/* Le logo est cale sur sa hauteur, pas sa largeur : c est lui qui
   commandait la hauteur de la rangee, et donc celle de toute l en-tete. */
.gp-logo img {
	width: auto;
	height: 72px;
	transition: height 0.22s ease;
}

/* -- En-tete resserree ------------------------------------------------
   Des que la page a defile, l en-tete rend une trentaine de pixels au
   contenu. On regarde alors la photo, pas le menu, et la bande en
   parallaxe gagne d autant. La transition evite le a-coup.
   -------------------------------------------------------------------- */

.gp-entete.est-defilee .gp-entete__barre { min-height: 56px; }
.gp-entete.est-defilee .gp-logo img { height: 50px; }
.gp-entete.est-defilee .gp-nav__lien { padding-block: 10px; }

.gp-entete__actions { display: flex; align-items: center; gap: 12px; }
.gp-entete__membre {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}
.gp-entete__membre:hover { color: var(--gp-primary); }
.gp-entete__membre .gp-avatar--petit { width: 32px; height: 32px; font-size: 12px; }
.gp-entete__portrait {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

/* Deuxieme rangee : le menu. Dix entrees ne tiennent pas a cote du logo,
   elles ont donc leur propre ligne. C est aussi ce que faisait le theme
   d origine quand le menu devenait long. */
.gp-nav {
	border-top: 1px solid var(--gp-border);
	background: var(--gp-soft);
}
.gp-nav > .gp-conteneur { display: flex; align-items: center; }

.gp-nav__liste {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gp-nav__lien {
	display: inline-block;
	font-family: var(--gp-font-title);
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-text);
	text-decoration: none;
	padding: 13px 0;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
	transition: padding 0.22s ease, color 0.15s ease, border-color 0.15s ease;
}
.gp-nav__lien:hover,
.gp-nav__lien.est-actif {
	color: var(--gp-primary);
	border-bottom-color: var(--gp-primary);
}

/* Sur grand ecran, les actions vivent dans la rangee du haut. */
.gp-nav__actions { display: none; }

.gp-burger { display: none; }

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

.gp-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-family: var(--gp-font-title);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;   /* « Créer un compte » ne doit jamais se couper */
	border: 2px solid transparent;
	border-radius: var(--gp-radius-pill);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gp-bouton--large { padding: 15px 32px; font-size: 16px; }

.gp-bouton--plein {
	background: var(--gp-primary);
	border-color: var(--gp-primary);
	color: #fff;
}
.gp-bouton--plein:hover {
	background: var(--gp-primary-dark);
	border-color: var(--gp-primary-dark);
	color: #fff;
}

.gp-bouton--fantome {
	background: transparent;
	border-color: var(--gp-primary);
	color: var(--gp-primary);
}
.gp-bouton--fantome:hover { background: var(--gp-primary); color: #fff; }

.gp-bouton--clair {
	background: #fff;
	border-color: #fff;
	color: var(--gp-primary-dark);
}
.gp-bouton--clair:hover { background: var(--gp-card); border-color: var(--gp-card); color: var(--gp-primary-dark); }

/* -- Heros et parallaxe ----------------------------------------------- */

.gp-heros {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;

	/* Le bandeau occupe ce qui reste de l ecran sous l en-tete. Il tenait
	   auparavant sur ses seules marges, ce qui le reduisait a 324 px :
	   la photo n avait plus la place d exister. */
	min-height: var(--gp-hero-h);
}

/* Le bandeau d entree des pages interieures. La page d origine posait
   130 px de marge haute et basse ; Joel les jugeait trop epais, on garde
   donc les valeurs corrigees, qui laissent respirer sans occuper l ecran. */
.gp-heros__contenu { padding-block: var(--gp-hero-pad-desktop); }

/* La couche image deborde volontairement en hauteur : le JavaScript la
   translate pendant le defilement, il faut donc de la marge en haut et
   en bas pour ne jamais laisser apparaitre le vide. */
.gp-heros__fond {
	position: absolute;
	/* Le debordement doit couvrir l amplitude du deplacement, sinon un
	   lisere vide apparait en haut ou en bas pendant le defilement.

	   ATTENTION : le deplacement vaut un pourcentage de la hauteur de
	   CETTE couche, pas du bloc. Avec un debordement de k, la couche
	   mesure (1 + 2k) fois le bloc, et un deplacement de A se traduit
	   par A x (1 + 2k) du bloc. Il faut donc A x (1 + 2k) <= k.

	   Les valeurs d origine (A = 12 %, k = 12 %) donnaient 14,9 % pour
	   12 % de marge : la couche decouvrait bel et bien 17 px de vide aux
	   extremes.

	   Mais le debordement a un prix : « object-fit: cover » agrandit la
	   photo pour remplir la couche. A k = 34 % la photo etait zoomee
	   1,35 fois et l on n en voyait plus que 60 % en hauteur, ce qui
	   sur la page de connexion ne montrait plus que des jambes. Avec
	   k = 16 % et A = 11 %, il reste 10 px de reserve sur un bandeau de
	   660 px, le zoom tombe a 1,06 et les trois quarts de la photo
	   restent visibles. C est le point d equilibre. */
	inset: -16% 0;
	z-index: -2;
	will-change: transform;
}
.gp-heros__fond img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gp-heros__voile {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* La teinte exacte vient de la page d origine, posee en style en ligne. */
	background: rgba(15, 32, 16, 0.55);
}

.gp-heros__contenu {
	padding-block: var(--gp-hero-pad-desktop);
	text-align: center;
	color: #fff;
}

.gp-surtitre {
	font-family: var(--gp-font-title);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 16px;
	color: var(--gp-gold);
}

.gp-heros__titre {
	font-size: var(--gp-h1);
	line-height: var(--gp-h1-lh);
	color: #fff;
	margin-bottom: 20px;
}

.gp-heros__texte {
	max-width: 740px;
	margin: 0 auto;
	font-size: 19px;
	line-height: 30px;
	color: rgba(255, 255, 255, 0.94);
}
.gp-heros__texte p { margin: 0; color: inherit; }
.gp-heros__texte + .gp-heros__texte { margin-top: 12px; }

.gp-surtitre--clair { color: #fff; opacity: 0.85; letter-spacing: 0.22em; }

.gp-heros__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 28px;
}

/* -- Sections --------------------------------------------------------- */

.gp-section { padding-block: 88px; }
.gp-section--claire { background: var(--gp-soft); }
.gp-section--verte { background: var(--gp-primary-dark); color: #fff; }
.gp-section--centree { text-align: center; }

.gp-section__titre {
	font-size: var(--gp-h2);
	line-height: var(--gp-h2-lh);
	text-align: center;
	margin-bottom: 48px;
}
.gp-section--verte .gp-section__titre { color: #fff; }

.gp-texte-centre { text-align: center; }

.gp-grille { display: grid; gap: 24px; }
.gp-grille--4 { grid-template-columns: repeat(4, 1fr); }
.gp-grille--3 { grid-template-columns: repeat(3, 1fr); }
.gp-grille--2 { grid-template-columns: repeat(2, 1fr); }

.gp-carte {
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	padding: 28px 24px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gp-carte:hover { transform: translateY(-3px); box-shadow: var(--gp-shadow-lift); }

.gp-carte__titre { font-size: 19px; line-height: 27px; margin-bottom: 10px; }
.gp-carte__texte { margin: 0; color: var(--gp-muted); font-size: 15px; line-height: 26px; }

.gp-appel { text-align: center; }
.gp-appel__titre { font-size: var(--gp-h2); line-height: var(--gp-h2-lh); color: #fff; }
.gp-appel__texte { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.88); }

/* -- Messages --------------------------------------------------------- */

.gp-flashes { max-width: var(--gp-container); margin: 16px auto 0; padding-inline: 24px; }
.gp-flash { margin: 0 0 8px; padding: 12px 18px; border-radius: var(--gp-radius); font-size: 15px; }
.gp-flash--succes { background: var(--gp-card); color: var(--gp-primary-dark); }
.gp-flash--erreur { background: #FBEAEA; color: var(--gp-red); }
.gp-flash--info   { background: var(--gp-soft); color: var(--gp-muted); }

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

.gp-pied { background: var(--gp-primary-darker); color: rgba(255, 255, 255, 0.75); }

.gp-pied__haut {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 40px;
	padding-block: 64px 40px;
}

.gp-pied__baseline { font-size: 15px; margin-top: 12px; }
.gp-pied__titre { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.gp-pied__colonne ul { list-style: none; margin: 0; padding: 0; }
.gp-pied__colonne li { margin-bottom: 10px; }
.gp-pied a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 15px; }
.gp-pied a:hover { color: #fff; }

.gp-pied__bas {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14px;
}
.gp-pied__bas p { margin: 0; }

/* -- Adaptatif -------------------------------------------------------- */

@media (max-width: 1100px) {
	.gp-grille--4 { grid-template-columns: repeat(2, 1fr); }
	.gp-pied__haut { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1150px) {
	.gp-entete__barre { min-height: var(--gp-header-h-mobile); }
	.gp-entete__haut { border-bottom: 0; }
	.gp-logo img { width: 132px; }

	/* Bouton du menu : trois traits bien contrastes, pas le gris
	   quasi invisible du theme WordPress. */
	.gp-burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px; height: 44px;
		padding: 0;
		background: transparent;
		border: 0;
		cursor: pointer;
	}
	.gp-burger__trait,
	.gp-burger__trait::before,
	.gp-burger__trait::after {
		content: "";
		display: block;
		width: 24px; height: 2px;
		background: var(--gp-primary-dark);
		border-radius: 2px;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}
	.gp-burger__trait { position: relative; }
	.gp-burger__trait::before { position: absolute; top: -7px; }
	.gp-burger__trait::after  { position: absolute; top: 7px; }

	.gp-burger[aria-expanded="true"] .gp-burger__trait { background: transparent; }
	.gp-burger[aria-expanded="true"] .gp-burger__trait::before { transform: translateY(7px) rotate(45deg); }
	.gp-burger[aria-expanded="true"] .gp-burger__trait::after  { transform: translateY(-7px) rotate(-45deg); }

	.gp-entete__actions { display: none; }

	.gp-nav {
		position: fixed;
		inset: var(--gp-header-h-mobile) 0 auto 0;
		max-height: calc(100dvh - var(--gp-header-h-mobile));
		overflow-y: auto;
		background: #fff;
		border-top: 0;
		border-bottom: 1px solid var(--gp-border);
		box-shadow: var(--gp-shadow);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	}
	.gp-nav.est-ouvert { transform: none; opacity: 1; visibility: visible; }
	.gp-nav > .gp-conteneur { display: block; padding-inline: 0; }

	.gp-nav__liste { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; }
	.gp-nav__lien {
		display: block;
		padding: 15px 24px;
		border-bottom: 1px solid var(--gp-border);
		border-left: 3px solid transparent;
	}
	.gp-nav__lien:hover, .gp-nav__lien.est-actif {
		border-bottom-color: var(--gp-border);
		border-left-color: var(--gp-primary);
		background: var(--gp-soft);
	}

	.gp-nav__actions { display: flex; padding: 20px 24px 24px; flex-direction: column; gap: 10px; }
	.gp-nav__actions .gp-bouton { width: 100%; }
}

@media (max-width: 767px) {
	.gp-conteneur { padding-inline: 20px; }
	.gp-section { padding-block: 56px; }
	.gp-section__titre { margin-bottom: 32px; }
	.gp-heros__contenu { padding-block: var(--gp-hero-pad-mobile); }
	.gp-heros__texte { font-size: 16px; line-height: 27px; }
	.gp-heros__actions { flex-direction: column; }
	.gp-heros__actions .gp-bouton { width: 100%; }
	.gp-grille--4, .gp-grille--3, .gp-grille--2 { grid-template-columns: 1fr; }
	.gp-pied__haut { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
}

/* Respect du reglage systeme : pas d animation ni de parallaxe pour
   qui a demande a en etre dispense. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.gp-heros__fond { transform: none !important; }
}

/* =====================================================================
   Blocs de contenu repris de l ancien site
   ===================================================================== */

.gp-bloc { padding-block: 88px; }
.gp-bloc--teinte { background: var(--gp-soft); }

/* Fond sombre : on inverse la couleur des textes. */
.gp-bloc--sombre,
.gp-bloc--sombre .gp-bloc__titre,
.gp-bloc--sombre .gp-colonne__titre,
.gp-bloc--sombre .gp-item__titre { color: #fff; }
.gp-bloc--sombre .gp-bloc__chapeau,
.gp-bloc--sombre .gp-colonne__texte { color: rgba(255, 255, 255, 0.82); }
.gp-bloc--sombre .gp-colonne { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }

.gp-bloc__titre {
	font-size: var(--gp-h2);
	line-height: var(--gp-h2-lh);
	text-align: center;
	max-width: 900px;
	margin-inline: auto;
	margin-bottom: 24px;
}
.gp-bloc h1.gp-bloc__titre { font-size: var(--gp-h1); line-height: var(--gp-h1-lh); }

.gp-bloc__chapeau {
	max-width: 780px;
	margin: 0 auto 20px;
	text-align: center;
	color: var(--gp-muted);
}
.gp-bloc__chapeau h2 { font-size: 22px; line-height: 32px; color: var(--gp-text); }
.gp-bloc__chapeau p:last-child { margin-bottom: 0; }
.gp-bloc__chapeau ul { display: inline-block; text-align: left; }

/* Le titre fantome de l accueil : grand mot en filigrane derriere le H1. */
.gp-fantome {
	font-family: var(--gp-font-title);
	font-size: clamp(46px, 8vw, 96px);
	font-weight: 700;
	line-height: 1;
	color: var(--gp-sage);
	opacity: 0.22;
	text-align: center;
	/* Il chevauchait le H1 de plus d un tiers de sa hauteur : les deux
	   textes se lisaient l un dans l autre. Il reste au-dessus, mais a
	   sa place. */
	margin: 0 0 10px;
	letter-spacing: -0.02em;
	user-select: none;
}

.gp-bloc__illustration { margin: 32px auto; max-width: 900px; }
.gp-bloc__illustration img { border-radius: var(--gp-radius); margin-inline: auto; }

.gp-bloc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 36px;
}

/* -- Colonnes --------------------------------------------------------- */

.gp-colonnes {
	display: grid;
	gap: 24px;
	margin-top: 44px;
}
.gp-colonnes--2 { grid-template-columns: repeat(2, 1fr); }
.gp-colonnes--3 { grid-template-columns: repeat(3, 1fr); }
.gp-colonnes--4 { grid-template-columns: repeat(4, 1fr); }
.gp-colonnes--5 { grid-template-columns: repeat(5, 1fr); }
.gp-colonnes--6 { grid-template-columns: repeat(3, 1fr); }

.gp-colonne {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	padding: 26px 22px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gp-colonne:hover { transform: translateY(-3px); box-shadow: var(--gp-shadow-lift); }

.gp-colonnes--illustrees .gp-colonne { padding: 0 0 26px; overflow: hidden; }
.gp-colonne__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gp-colonnes--illustrees .gp-colonne__titre,
.gp-colonnes--illustrees .gp-colonne__texte,
.gp-colonnes--illustrees .gp-colonne .gp-bouton { margin-inline: 22px; }

.gp-colonne__titre { font-size: 18px; line-height: 26px; margin: 0; }
.gp-colonne__texte { margin: 0; color: var(--gp-muted); font-size: 15px; line-height: 26px; }
.gp-colonne__texte p:last-child { margin-bottom: 0; }
.gp-colonne .gp-bouton { align-self: flex-start; margin-top: auto; }

/* Pastille d icone, comme sur l ancien site : rond plein, glyphe au
   centre. La couleur du glyphe et celle du fond sont reprises telles
   quelles depuis l ancienne page, en style en ligne. */
.gp-icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--gp-card);
	color: var(--gp-primary);
	font-size: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}
.gp-icone--xl { width: 86px; height: 86px; font-size: 36px; }

/* Sur fond sombre, une pastille blanche resterait aveuglante : on la
   passe en translucide et le glyphe en dore. */
.gp-bloc--sombre .gp-icone {
	background: rgba(255, 255, 255, 0.10) !important;
	color: var(--gp-gold) !important;
	box-shadow: none;
}

/* Les colonnes a icone sont centrees, comme dans la maquette d origine. */
.gp-colonne:has(.gp-icone) { align-items: center; text-align: center; }
.gp-colonne:has(.gp-icone) .gp-bouton { align-self: center; }

.gp-item { margin-top: 4px; }
.gp-item__titre { font-size: 16px; line-height: 24px; margin: 0 0 4px; }
.gp-item__texte { margin: 0; color: var(--gp-muted); font-size: 15px; line-height: 25px; }

/* -- Axes populaires -------------------------------------------------- */

.gp-axes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 40px;
}
.gp-axe {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px 20px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-top: 3px solid var(--gp-primary);
	border-radius: var(--gp-radius);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gp-axe:hover { transform: translateY(-3px); box-shadow: var(--gp-shadow-lift); }
.gp-axe__titre { font-family: var(--gp-font-title); font-weight: 700; font-size: 18px; color: var(--gp-text); }
.gp-axe__detail { font-size: 14px; color: var(--gp-muted); }

/* -- Bande photo en parallaxe ----------------------------------------- */

.gp-bande {
	position: relative;
	height: var(--gp-bande-h, 520px);
	overflow: hidden;
}
/* Meme calcul que pour le bandeau : voir gp-heros__fond. */
.gp-bande__fond { position: absolute; inset: -16% 0; will-change: transform; }
.gp-bande__fond img { width: 100%; height: 100%; object-fit: cover; }

/* -- Adaptatif -------------------------------------------------------- */

@media (max-width: 1100px) {
	.gp-colonnes--4, .gp-colonnes--5, .gp-colonnes--6 { grid-template-columns: repeat(2, 1fr); }
	.gp-axes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.gp-bloc { padding-block: 56px; }
	.gp-colonnes { margin-top: 32px; gap: 18px; }
	.gp-colonnes--2, .gp-colonnes--3, .gp-colonnes--4,
	.gp-colonnes--5, .gp-colonnes--6 { grid-template-columns: 1fr; }
	.gp-axes { grid-template-columns: 1fr; }
	.gp-bande { height: var(--gp-bande-h-mob, 260px); }
	.gp-bloc__actions .gp-bouton { width: 100%; }
}

/* Boutons du heros de l accueil. La classe vient du HTML d origine :
   elle est conservee pour ne pas toucher au contenu repris. */
.gp-btn-hero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	padding: 18px 28px;
	font-family: var(--gp-font-title);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff !important;
	background: var(--gp-primary);
	border-radius: var(--gp-radius-pill);
	text-decoration: none;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.gp-btn-hero:hover { background: var(--gp-primary-dark); transform: translateY(-2px); }

/* La rangee des deux boutons du heros : deux colonnes egales. */
.gp-bloc--heros-actions .gp-colonnes { margin-top: 0; }

/* -- Questions frequentes --------------------------------------------- */

.gp-faq { max-width: 860px; margin: 40px auto 0; }

.gp-faq__item {
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	margin-bottom: 12px;
	overflow: hidden;
}
.gp-bloc--sombre .gp-faq__item {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.16);
}

.gp-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-family: var(--gp-font-title);
	font-size: 17px;
	font-weight: 600;
	line-height: 26px;
	color: var(--gp-text);
	cursor: pointer;
	list-style: none;
}
.gp-faq__question::-webkit-details-marker { display: none; }
.gp-bloc--sombre .gp-faq__question { color: #fff; }

/* Chevron dessine en CSS : aucune police d icones a charger. */
.gp-faq__question::after {
	content: "";
	flex: 0 0 auto;
	width: 10px; height: 10px;
	border-right: 2px solid var(--gp-primary);
	border-bottom: 2px solid var(--gp-primary);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 0.2s ease;
}
.gp-bloc--sombre .gp-faq__question::after { border-color: var(--gp-gold); }
.gp-faq__item[open] .gp-faq__question::after { transform: rotate(-135deg) translate(-2px, -2px); }

.gp-faq__question:hover { color: var(--gp-primary); }

.gp-faq__reponse {
	padding: 0 22px 20px;
	color: var(--gp-muted);
	font-size: 16px;
	line-height: 27px;
}
.gp-faq__reponse p:last-child { margin-bottom: 0; }
.gp-bloc--sombre .gp-faq__reponse { color: rgba(255, 255, 255, 0.82); }

/* -- Heros video ------------------------------------------------------ */

.gp-video {
	position: relative;
	width: 100%;
	height: var(--gp-hero-h);
	overflow: hidden;
	background: var(--gp-primary-darker);
}
.gp-video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

@media (max-width: 767px) {
	.gp-video { height: 46vh; min-height: 260px; }
}

/* Lecture automatique coupee si le visiteur a demande moins d animation :
   l affiche fixe prend le relais. */
@media (prefers-reduced-motion: reduce) {
	.gp-video__media { display: none; }
	.gp-video {
		background-image: var(--gp-video-affiche);
		background-size: cover;
		background-position: center;
	}
}

/* =====================================================================
   Page Tarifs
   ===================================================================== */

.gp-selecteurs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 28px;
}

.gp-segment {
	display: inline-flex;
	padding: 4px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-pill);
}
.gp-segment button {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 9px 20px;
	font-family: var(--gp-font-title);
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-muted);
	border-radius: var(--gp-radius-pill);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.gp-segment button:hover { color: var(--gp-primary); }
.gp-segment button[aria-pressed="true"] { background: var(--gp-primary); color: #fff; }

.gp-etiquette {
	padding: 7px 16px;
	background: var(--gp-card);
	color: var(--gp-primary-dark);
	border-radius: var(--gp-radius-pill);
	font-size: 13px;
	font-weight: 600;
}

.gp-rappel {
	max-width: 760px;
	margin: 0 auto 40px;
	padding: 14px 20px;
	background: var(--gp-card);
	border-left: 3px solid var(--gp-primary);
	border-radius: var(--gp-radius);
	color: var(--gp-primary-dark);
	font-size: 15px;
	line-height: 25px;
}

/* Les quatre grilles coexistent ; seule celle du profil choisi s affiche. */
.gp-formules { display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
#gp-tarifs[data-profil="transporteur"] [data-grille="transporteur"],
#gp-tarifs[data-profil="expediteur"]   [data-grille="expediteur"] { display: grid; }
[data-grille="expediteur"] { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
.gp-formules--packs { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 40px auto 0; }

/* Meme mecanique pour la periodicite. */
[data-vue] { display: none; }
#gp-tarifs[data-periode="mensuel"] [data-vue="mensuel"],
#gp-tarifs[data-periode="annuel"]  [data-vue="annuel"] { display: block; }

/* Les boutons d achat suivent la meme bascule, mais un bouton reste un
   inline-flex : en display:block il perdrait son centrage. */
#gp-tarifs[data-periode="mensuel"] .gp-bouton[data-vue="mensuel"],
#gp-tarifs[data-periode="annuel"]  .gp-bouton[data-vue="annuel"] { display: inline-flex; }

.gp-formule {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	padding: 30px 24px 26px;
}
.gp-formule--phare {
	border-color: var(--gp-primary);
	border-width: 2px;
	box-shadow: var(--gp-shadow-lift);
}
.gp-formule__ruban {
	position: absolute;
	top: -13px; left: 50%;
	transform: translateX(-50%);
	padding: 5px 16px;
	background: var(--gp-primary);
	color: #fff;
	border-radius: var(--gp-radius-pill);
	font-family: var(--gp-font-title);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.gp-formule__nom { font-size: 20px; line-height: 28px; margin-bottom: 12px; }
.gp-formule__prix { margin: 0 0 4px; }
.gp-formule__montant { font-family: var(--gp-font-title); font-size: 34px; font-weight: 700; color: var(--gp-primary-dark); }
.gp-formule__unite { font-size: 15px; color: var(--gp-muted); }
.gp-formule__barre { display: inline-block; margin-right: 8px; font-size: 18px; color: var(--gp-muted); text-decoration: line-through; }
.gp-formule__note { margin: 0 0 18px; font-size: 13px; color: var(--gp-muted); }

.gp-formule__liste { list-style: none; margin: 0 0 24px; padding: 0; }
.gp-formule__liste li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 24px;
	color: var(--gp-text);
}
/* Coche dessinee en CSS, pas d image ni de glyphe supplementaire. */
.gp-formule__liste li::before {
	content: "";
	position: absolute;
	left: 4px; top: 7px;
	width: 6px; height: 11px;
	border-right: 2px solid var(--gp-primary);
	border-bottom: 2px solid var(--gp-primary);
	transform: rotate(45deg);
}

.gp-formule .gp-bouton { margin-top: auto; width: 100%; }

@media (max-width: 1100px) {
	.gp-formules { grid-template-columns: repeat(2, 1fr); }
	.gp-formules--packs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.gp-formules, .gp-formules--packs,
	[data-grille="expediteur"] { grid-template-columns: 1fr; }
	.gp-selecteurs { gap: 10px; }
	.gp-segment button { padding: 9px 16px; font-size: 13px; }
}

/* =====================================================================
   Carte des trajets
   ===================================================================== */

.gp-bloc--compact { padding-block: 48px; }

.gp-filtres {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}
.gp-filtres select,
.gp-filtres input {
	padding: 11px 16px;
	font-family: inherit;
	font-size: 15px;
	color: var(--gp-text);
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-filtres input { flex: 1 1 260px; min-width: 200px; }
.gp-filtres select:focus,
.gp-filtres input:focus { outline: 2px solid var(--gp-primary); outline-offset: 1px; }
.gp-filtres__compte { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--gp-muted); }

.gp-carte {
	width: 100%;
	height: 520px;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	overflow: hidden;
	background: var(--gp-soft);
}

/* Marqueur : une pastille pleine, cerclee de blanc pour rester lisible
   sur n importe quel fond de carte. */
.gp-marqueur {
	display: block;
	width: 16px; height: 16px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.gp-bulle strong { display: block; margin-bottom: 4px; font-family: var(--gp-font-title); }
.gp-bulle__meta { margin-top: 4px; color: var(--gp-muted); font-size: 13px; }
.gp-bulle__lien {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 14px;
	background: var(--gp-primary);
	color: #fff !important;
	border-radius: var(--gp-radius-pill);
	font-weight: 600;
	text-decoration: none;
}

/* Onglets En cours / Effectués. Le libelle est dans un span : sur
   l ancien site, le theme forcait le blanc sur tous les boutons et
   rendait ce texte invisible. Ici rien ne nous contraint, mais on
   garde la structure, elle est plus souple. */
.gp-carte-onglets { display: flex; gap: 10px; margin: 22px 0 14px; }
.gp-carte-onglets button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 18px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-pill);
	font-family: var(--gp-font-title);
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-muted);
	cursor: pointer;
	transition: all 0.15s ease;
}
.gp-carte-onglets button:hover { border-color: var(--gp-primary); color: var(--gp-primary); }
.gp-carte-onglets button[aria-pressed="true"] {
	background: var(--gp-primary);
	border-color: var(--gp-primary);
	color: #fff;
}

.gp-pastille { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.gp-pastille--vert { background: var(--gp-primary); }
.gp-pastille--gris { background: #9AA0A6; }
.gp-carte-onglets button[aria-pressed="true"] .gp-pastille { background: #fff; }

.gp-liste-annonces { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.gp-annonce {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 6px 14px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gp-annonce:hover { border-color: var(--gp-primary); box-shadow: var(--gp-shadow); }
.gp-annonce--avant { border: 2px solid var(--gp-gold-deep); background: #FBF6EA; }

.gp-annonce__type {
	grid-row: 1;
	padding: 3px 10px;
	border-radius: var(--gp-radius-pill);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.gp-annonce__type--trajet { background: var(--gp-card); color: var(--gp-primary-dark); }
.gp-annonce__type--envoi  { background: #FBEAEA; color: var(--gp-red); }

.gp-annonce__titre { grid-row: 1; font-family: var(--gp-font-title); font-weight: 600; color: var(--gp-text); text-decoration: none; }
.gp-annonce__titre:hover { color: var(--gp-primary); }
.gp-annonce__trajet { grid-column: 2; font-size: 14px; color: var(--gp-muted); }
.gp-annonce__fleche { color: var(--gp-primary); }
.gp-annonce__meta { grid-column: 3; grid-row: 1 / span 2; font-size: 13px; color: var(--gp-muted); text-align: right; white-space: nowrap; }

.gp-liste-vide { margin-top: 20px; text-align: center; color: var(--gp-muted); }

@media (max-width: 767px) {
	.gp-carte { height: 380px; }
	.gp-filtres__compte { margin-left: 0; }
	.gp-annonce { grid-template-columns: 1fr; }
	.gp-annonce__meta { grid-column: 1; grid-row: auto; text-align: left; }
}

/* =====================================================================
   Formulaires et espace membre
   ===================================================================== */

.gp-formulaire-page { max-width: 720px; }
.gp-formulaire-page--etroite { max-width: 480px; }
.gp-bloc__titre--gauche { text-align: left; margin-inline: 0; }

.gp-formulaire { margin-top: 28px; }
.gp-champ { margin: 0 0 20px; }
.gp-champ label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }

.gp-champ input[type="text"],
.gp-champ input[type="email"],
.gp-champ input[type="tel"],
.gp-champ input[type="password"],
.gp-champ input[type="date"],
.gp-champ input[type="time"],
.gp-champ input[type="number"],
.gp-champ select,
.gp-champ textarea {
	width: 100%;
	padding: 12px 15px;
	font-family: inherit;
	font-size: 16px;   /* 16 px minimum : en dessous, Safari iOS zoome */
	color: var(--gp-text);
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-champ input:focus,
.gp-champ select:focus,
.gp-champ textarea:focus {
	outline: 2px solid var(--gp-primary);
	outline-offset: 1px;
	border-color: var(--gp-primary);
}
.gp-champ input[aria-invalid="true"] { border-color: var(--gp-red); }

.gp-champs-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.gp-aide { display: block; margin-top: 5px; font-size: 13px; color: var(--gp-muted); font-weight: 400; }
.gp-erreur { display: block; margin-top: 6px; font-size: 14px; color: var(--gp-red); font-weight: 600; }
.gp-erreur-generale {
	margin: 0 0 20px;
	padding: 14px 18px;
	background: #FBEAEA;
	border-left: 3px solid var(--gp-red);
	border-radius: var(--gp-radius);
	color: var(--gp-red);
	font-weight: 600;
}
.gp-message-succes {
	margin: 24px 0;
	padding: 18px 22px;
	background: var(--gp-card);
	border-left: 3px solid var(--gp-primary);
	border-radius: var(--gp-radius);
	color: var(--gp-primary-dark);
}
.gp-message-succes p:last-child { margin-bottom: 0; }

.gp-champ--choix { border: 0; padding: 0; margin-bottom: 22px; }
.gp-champ--choix legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }

.gp-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gp-choix--serre { max-width: 420px; }

/* La carte entiere est cliquable : la cible tactile fait toute la
   surface, pas seulement le petit rond du bouton radio. */
.gp-choix__option {
	display: block;
	position: relative;
	padding: 16px 18px 16px 44px;
	background: #fff;
	border: 2px solid var(--gp-border);
	border-radius: var(--gp-radius);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.gp-choix__option:hover { border-color: var(--gp-sage); }
.gp-choix__option input { position: absolute; top: 19px; left: 16px; margin: 0; accent-color: var(--gp-primary); }
.gp-choix__option:has(input:checked) { border-color: var(--gp-primary); background: var(--gp-card); }
.gp-choix__option:has(input:focus-visible) { outline: 2px solid var(--gp-primary); outline-offset: 2px; }
.gp-choix__titre { display: block; font-family: var(--gp-font-title); font-weight: 600; }
.gp-choix__detail { display: block; margin-top: 3px; font-size: 13px; line-height: 20px; color: var(--gp-muted); }

.gp-champ--case label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.gp-champ--case input { margin-top: 3px; accent-color: var(--gp-primary); }

.gp-formulaire button[type="submit"] { width: 100%; }
.gp-formulaire__pied { margin-top: 20px; text-align: center; font-size: 15px; color: var(--gp-muted); }

/* -- Tableau de bord --------------------------------------------------- */

.gp-avis {
	padding: 22px 24px;
	border-radius: var(--gp-radius);
	background: #FDF7E7;
	border-left: 4px solid var(--gp-gold-deep);
}
.gp-avis--attention { background: #FDF7E7; }
.gp-avis__titre { font-size: 18px; margin-bottom: 8px; }
.gp-avis p { margin: 0 0 12px; }
.gp-avis__liste { margin: 0 0 18px; padding-left: 20px; }
.gp-avis__liste li { margin-bottom: 4px; }

.gp-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gp-chiffre {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 22px 20px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-chiffre--alerte { border-color: var(--gp-red); }
.gp-chiffre__valeur { font-family: var(--gp-font-title); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--gp-primary-dark); }
.gp-chiffre--alerte .gp-chiffre__valeur { color: var(--gp-red); }
.gp-chiffre__libelle { font-size: 14px; color: var(--gp-muted); }
.gp-chiffre__lien { margin-top: 8px; font-size: 14px; font-weight: 600; }

.gp-formule-active {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px;
	padding: 20px 24px;
	background: var(--gp-card);
	border-radius: var(--gp-radius);
}
.gp-formule-active__etiquette { display: block; font-size: 13px; color: var(--gp-muted); }
.gp-formule-active__nom { font-family: var(--gp-font-title); font-size: 20px; color: var(--gp-primary-dark); }
.gp-formule-active__prix { margin-left: 10px; color: var(--gp-muted); font-size: 15px; }

.gp-entete-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 22px;
}
.gp-entete-section .gp-bloc__titre { margin-bottom: 0; }

.gp-vide {
	padding: 44px 24px;
	text-align: center;
	background: #fff;
	border: 1px dashed var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-vide p { margin: 0; }
.gp-vide__aide { margin-top: 8px; color: var(--gp-muted); font-size: 15px; }

.gp-etat {
	display: inline-block;
	padding: 3px 10px;
	border-radius: var(--gp-radius-pill);
	font-size: 12px;
	font-weight: 700;
}
.gp-etat--actif     { background: var(--gp-card); color: var(--gp-primary-dark); }
.gp-etat--attente   { background: #FDF3DC; color: #8A6A0B; }
.gp-etat--expire    { background: #EFEFEF; color: #6B6B6B; }
.gp-etat--complet   { background: #FBEAEA; color: var(--gp-red); }
.gp-etat--brouillon { background: #EFEFEF; color: #6B6B6B; }

@media (max-width: 1100px) {
	.gp-chiffres { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.gp-champs-deux, .gp-choix, .gp-chiffres { grid-template-columns: 1fr; }
	.gp-entete-section .gp-bouton { width: 100%; }
}

/* -- Publication d annonce -------------------------------------------- */

.gp-champs-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.gp-bloc__chapeau--gauche { text-align: left; margin-inline: 0; }

/* Autocompletion des lieux */
.gp-champ--lieu { position: relative; }
.gp-suggestions {
	position: absolute;
	z-index: 20;
	left: 0; right: 0;
	margin: 4px 0 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow-lift);
	max-height: 260px;
	overflow-y: auto;
}
.gp-suggestions li {
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
}
.gp-suggestions li:hover,
.gp-suggestions li.est-actif { background: var(--gp-card); color: var(--gp-primary-dark); }

/* -- Fiche d annonce --------------------------------------------------- */

.gp-fiche { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.gp-fiche__trajet { font-size: 19px; margin: 0; }
.gp-fiche__soustitre { font-size: 20px; margin: 0 0 14px; }
.gp-fiche__description { margin-bottom: 32px; color: var(--gp-text); }

.gp-fiche__details { margin: 0; }
.gp-fiche__ligne {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--gp-border);
}
.gp-fiche__ligne dt { font-weight: 600; color: var(--gp-muted); }
.gp-fiche__ligne dd { margin: 0; }

.gp-encart {
	position: sticky;
	top: calc(var(--gp-header-h) + 20px);
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow);
}
.gp-encart__etiquette { margin: 0; font-size: 13px; color: var(--gp-muted); }
.gp-encart__nom { margin: 2px 0 16px; font-family: var(--gp-font-title); font-size: 19px; font-weight: 700; }
.gp-encart__note { margin: 0 0 18px; font-size: 15px; line-height: 24px; color: var(--gp-muted); }
.gp-encart__solde { margin: 12px 0 0; font-size: 14px; color: var(--gp-muted); text-align: center; }
.gp-encart .gp-bouton { width: 100%; }

.gp-badge-verifie {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 9px;
	background: var(--gp-card);
	color: var(--gp-primary-dark);
	border-radius: var(--gp-radius-pill);
	font-family: var(--gp-font-body);
	font-size: 12px;
	font-weight: 700;
	vertical-align: middle;
}

@media (max-width: 900px) {
	.gp-fiche { grid-template-columns: 1fr; gap: 28px; }
	.gp-encart { position: static; }
}
@media (max-width: 767px) {
	.gp-champs-trois { grid-template-columns: 1fr; }
	.gp-fiche__ligne { grid-template-columns: 1fr; gap: 2px; }
}
.gp-pied__adresse { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,0.55); }

/* Pictogramme d une carte : affiche a sa taille reelle, centre, jamais
   recadre. Sert au drapeau suisse et aux petites illustrations. */
.gp-colonne__pictogramme {
	width: auto;
	max-width: 96px;
	height: auto;
	margin-inline: auto;
	flex: 0 0 auto;
}
.gp-colonne:has(.gp-colonne__pictogramme) { align-items: center; text-align: center; }
.gp-colonne:has(.gp-colonne__pictogramme) .gp-bouton { align-self: center; }

/* Etiquette d une carte (« ÉTAPE 01 »), au-dessus de son titre. */
.gp-colonne__surtitre {
	margin: 0;
	font-family: var(--gp-font-title);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gp-sage);
}
.gp-colonne__surtitre + .gp-colonne__titre { margin-top: 2px; }

/* =====================================================================
   Messagerie
   =====================================================================

   Deux colonnes : les discussions a gauche, le fil a droite. Le fil est
   une colonne de bulles, les miennes a droite en vert, celles de l autre
   a gauche en blanc, regroupees par auteur et separees par jour. Sur
   telephone, une seule colonne a la fois.
   ===================================================================== */

.gp-bloc--chat { padding-block: 28px 56px; }

.gp-chat {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	height: min(78vh, 820px);
	min-height: 520px;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--gp-shadow);
}

/* -- Colonne des discussions ------------------------------------------ */

.gp-chat__liste {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	border-right: 1px solid var(--gp-border);
	background: var(--gp-soft);
}
.gp-chat__liste-entete {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 20px 14px;
	background: var(--gp-soft);
	border-bottom: 1px solid var(--gp-border);
}
.gp-chat__titre { margin: 0; font-size: 22px; line-height: 1.2; }
.gp-chat__compte {
	min-width: 22px;
	padding: 0 7px;
	border-radius: var(--gp-radius-pill);
	background: var(--gp-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.gp-conv {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 16px;
	text-decoration: none;
	color: var(--gp-text);
	border-left: 3px solid transparent;
	border-bottom: 1px solid var(--gp-border);
	transition: background 0.12s ease;
}
.gp-conv:hover { background: #fff; }
.gp-conv.est-actif { background: #fff; border-left-color: var(--gp-primary); }
.gp-conv__corps { flex: 1; min-width: 0; }
.gp-conv__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gp-conv__nom { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-conv__date { flex: 0 0 auto; font-size: 12px; color: var(--gp-muted); }
.gp-conv__annonce {
	display: block;
	margin-top: 1px;
	font-size: 12px;
	color: var(--gp-primary);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gp-conv__extrait {
	margin-top: 3px;
	font-size: 14px;
	line-height: 20px;
	color: var(--gp-muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gp-conv__vous { color: var(--gp-text); }
.gp-conv--non-lu .gp-conv__nom,
.gp-conv--non-lu .gp-conv__extrait { color: var(--gp-text); font-weight: 600; }
.gp-conv__pastille {
	flex: 0 0 auto;
	min-width: 20px;
	padding: 0 6px;
	border-radius: var(--gp-radius-pill);
	background: var(--gp-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

/* -- Avatars ------------------------------------------------------------ */

.gp-avatar {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gp-card);
	color: var(--gp-primary-dark);
	font-family: var(--gp-font-title);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.gp-avatar--grand { width: 48px; height: 48px; font-size: 16px; }

/* Une photo remplit le rond sans en changer la taille : la pastille de
   presence reste exactement ou elle etait. */
.gp-avatar img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.gp-avatar--petit { width: 28px; height: 28px; font-size: 11px; }
/* Le point vert de la presence. */
.gp-avatar::after {
	content: "";
	position: absolute;
	right: -1px;
	bottom: -1px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #C8CFC6;
	border: 2px solid #fff;
	transition: background 0.2s ease;
}
.gp-avatar--petit::after { display: none; }
.gp-avatar--en-ligne::after { background: #2FA84F; }

/* -- Le fil ------------------------------------------------------------- */

.gp-chat__fil {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
}
.gp-chat__vide {
	margin: auto;
	text-align: center;
	color: var(--gp-muted);
}
.gp-chat__vide-icone {
	display: block;
	width: 72px; height: 72px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--gp-soft);
	position: relative;
}
.gp-chat__vide-icone::before {
	content: "";
	position: absolute; inset: 22px;
	border: 3px solid var(--gp-sage);
	border-radius: 14px 14px 14px 3px;
}

.gp-chat__entete {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--gp-border);
	background: #fff;
}
.gp-chat__retour { display: none; }
.gp-chat__identite { flex: 1; min-width: 0; }
.gp-chat__nom { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.3; }
.gp-chat__etat { display: block; font-size: 13px; color: var(--gp-muted); }
.gp-chat__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.gp-chat__annonce {
	padding: 5px 11px;
	border-radius: var(--gp-radius-pill);
	background: var(--gp-card);
	color: var(--gp-primary-dark);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.gp-chat__contact { position: relative; }
.gp-chat__contact summary {
	list-style: none;
	cursor: pointer;
	padding: 5px 11px;
	border-radius: var(--gp-radius-pill);
	border: 1px solid var(--gp-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--gp-primary);
	white-space: nowrap;
}
.gp-chat__contact summary::-webkit-details-marker { display: none; }
.gp-chat__contact[open] summary { background: var(--gp-soft); }
.gp-chat__contact-carte {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 220px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow-lift);
	font-size: 14px;
}
.gp-chat__archiver { margin: 0; }

.gp-chat__defilement {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px 20px 6px;
	background:
		radial-gradient(circle at 1px 1px, rgba(60, 100, 60, 0.05) 1px, transparent 0) 0 0 / 22px 22px,
		var(--gp-soft);
}
.gp-chat__messages {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gp-chat__debut {
	margin: 20px auto;
	padding: 10px 16px;
	border-radius: var(--gp-radius);
	background: #fff;
	color: var(--gp-muted);
	font-size: 14px;
	text-align: center;
}
.gp-chat__jour {
	display: flex;
	justify-content: center;
	margin: 12px 0 6px;
}
.gp-chat__jour span {
	padding: 3px 12px;
	border-radius: var(--gp-radius-pill);
	background: rgba(60, 100, 60, 0.1);
	color: var(--gp-primary-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* -- Les bulles ---------------------------------------------------------- */

.gp-msg {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 72%;
	animation: gp-apparition 0.16s ease-out;
}
@keyframes gp-apparition {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: none; }
}
.gp-msg--moi { align-self: flex-end; align-items: flex-end; }
.gp-msg--suite { margin-top: -4px; }

.gp-msg__bulle {
	padding: 9px 14px;
	border-radius: 18px 18px 18px 4px;
	background: #fff;
	color: var(--gp-text);
	font-size: 15px;
	line-height: 22px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	word-wrap: break-word;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}
.gp-msg--suite:not(.gp-msg--moi) .gp-msg__bulle { border-top-left-radius: 6px; }
.gp-msg--moi .gp-msg__bulle {
	background: var(--gp-primary);
	color: #fff;
	border-radius: 18px 18px 4px 18px;
}
.gp-msg--moi.gp-msg--suite .gp-msg__bulle { border-top-right-radius: 6px; }

.gp-msg__meta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 3px 6px 0;
	font-size: 11px;
	color: var(--gp-muted);
}
.gp-msg--suite .gp-msg__meta { display: none; }
.gp-msg--suite:hover .gp-msg__meta { display: inline-flex; }

/* Les coches : une pour envoye, deux pour lu. Dessinees en CSS. */
.gp-msg__coches {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 10px;
}
.gp-msg__coches::before,
.gp-msg__coches::after {
	content: "";
	position: absolute;
	top: 1px;
	width: 5px;
	height: 8px;
	border: solid #9AA89A;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.gp-msg__coches::before { left: 1px; }
.gp-msg__coches::after  { left: 6px; opacity: 0; }
.gp-msg__coches.est-lu::before,
.gp-msg__coches.est-lu::after { border-color: #2FA84F; opacity: 1; }

/* En cours d envoi, puis en erreur. */
.gp-msg--envoi .gp-msg__bulle { opacity: 0.65; }
.gp-msg--erreur .gp-msg__bulle { background: #FBEAEA; color: var(--gp-red); }
.gp-msg__reessayer {
	margin: 4px 6px 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gp-red);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

/* L intervention de la moderation : centree, sur fond dore, signee. */
.gp-msg--moderation {
	align-self: center;
	align-items: center;
	max-width: 86%;
	margin: 8px 0;
}
.gp-msg__moderateur {
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8A6A0B;
}
.gp-msg--moderation .gp-msg__bulle {
	border-radius: var(--gp-radius);
	background: #FDF3DC;
	border: 1px solid #F0DDA6;
	color: var(--gp-text);
	text-align: center;
}

/* -- En train d ecrire --------------------------------------------------- */

.gp-chat__frappe {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 10px;
}
.gp-chat__points {
	display: inline-flex;
	gap: 4px;
	padding: 10px 14px;
	border-radius: 18px 18px 18px 4px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.gp-chat__points i {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--gp-sage);
	animation: gp-points 1.2s infinite ease-in-out;
}
.gp-chat__points i:nth-child(2) { animation-delay: 0.15s; }
.gp-chat__points i:nth-child(3) { animation-delay: 0.3s; }
@keyframes gp-points {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
	30%           { transform: translateY(-5px); opacity: 1; }
}

/* -- Nouveaux messages, hors de vue ------------------------------------- */

.gp-chat__nouveaux {
	position: absolute;
	left: 50%;
	bottom: 116px;
	transform: translateX(-50%);
	padding: 8px 16px;
	border: 0;
	border-radius: var(--gp-radius-pill);
	background: var(--gp-primary-dark);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	box-shadow: var(--gp-shadow-lift);
	cursor: pointer;
}
.gp-chat__nouveaux::after { content: " \2193"; }

/* -- Le composer ---------------------------------------------------------- */

.gp-chat__composer {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	padding: 12px 16px;
	border-top: 1px solid var(--gp-border);
	background: #fff;
}
.gp-chat__composer textarea {
	flex: 1;
	min-height: 44px;
	max-height: 160px;
	padding: 11px 16px;
	font: inherit;
	font-size: 15px;
	line-height: 22px;
	color: var(--gp-text);
	background: var(--gp-soft);
	border: 1px solid var(--gp-border);
	border-radius: 22px;
	resize: none;
	overflow-y: auto;
}
.gp-chat__composer textarea:focus { outline: 2px solid var(--gp-primary); border-color: var(--gp-primary); background: #fff; }
.gp-chat__envoyer {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--gp-primary);
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}
.gp-chat__envoyer svg { margin-left: 2px; }
.gp-chat__envoyer:hover { background: var(--gp-primary-dark); }
.gp-chat__envoyer:active { transform: scale(0.94); }
.gp-chat__envoyer:disabled { background: #C8CFC6; cursor: default; transform: none; }

.gp-chat__rappel {
	margin: 0;
	padding: 6px 18px 10px;
	font-size: 12px;
	line-height: 18px;
	color: var(--gp-muted);
	text-align: center;
	background: #fff;
}

/* -- Reseau perdu --------------------------------------------------------- */

.gp-chat--hors-ligne .gp-chat__entete::after {
	content: "Connexion perdue, nouvel essai en cours\2026";
	position: absolute;
	left: 0; right: 0; top: 0;
	padding: 4px;
	background: #FDF3DC;
	color: #8A6A0B;
	font-size: 12px;
	text-align: center;
}
.gp-chat__entete { position: relative; }

/* -- Telephone ------------------------------------------------------------- */

@media (max-width: 900px) {
	.gp-bloc--chat { padding-block: 0 0; }
	.gp-bloc--chat > .gp-conteneur { padding-inline: 0; }
	.gp-chat {
		grid-template-columns: 1fr;
		height: calc(100dvh - var(--gp-header-h-mobile));
		min-height: 0;
		border-radius: 0;
		border-left: 0; border-right: 0;
	}
	.gp-chat__liste { border-right: 0; }
	.gp-chat__fil { display: none; }
	.gp-chat--fil-ouvert .gp-chat__liste { display: none; }
	.gp-chat--fil-ouvert .gp-chat__fil { display: flex; }
	.gp-chat__retour {
		display: inline-block;
		width: 36px; height: 36px;
		flex: 0 0 auto;
		border-radius: 50%;
		background: var(--gp-soft);
		position: relative;
	}
	.gp-chat__retour::before {
		content: "";
		position: absolute;
		left: 14px; top: 12px;
		width: 9px; height: 9px;
		border: solid var(--gp-primary-dark);
		border-width: 0 0 2px 2px;
		transform: rotate(45deg);
	}
	.gp-chat__annonce { display: none; }
	.gp-msg { max-width: 86%; }
	.gp-chat__defilement { padding: 14px 12px 6px; }
	.gp-chat__composer { padding: 10px 12px; }
	.gp-chat__rappel { display: none; }
}

/* ======================================================================
   Caisse, documents, jetons et contact
   ====================================================================== */

/* -- Variantes d avis ---------------------------------------------------
   Le bloc d avis existait deja en version « attention ». Trois teintes
   de plus, et une variante mince pour les remarques d une ligne.
   -------------------------------------------------------------------- */

.gp-avis--succes { background: var(--gp-card); }
.gp-avis--info   { background: #EEF3F7; }
.gp-avis--mince  { padding: 14px 18px; font-size: 15px; line-height: 24px; }
.gp-avis--mince p:last-child { margin-bottom: 0; }
.gp-avis__precision { color: var(--gp-muted); font-size: 15px; }

/* -- Recapitulatif de commande ---------------------------------------- */

.gp-recap {
	margin: 24px 0;
	padding: 22px 24px;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-recap__reference {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--gp-muted);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.gp-recap__ligne {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	padding: 10px 0;
}
.gp-recap__libelle { display: block; font-size: 17px; }
.gp-recap__detail  { display: block; margin-top: 3px; font-size: 14px; color: var(--gp-muted); }
.gp-recap__prix    { white-space: nowrap; font-weight: 600; }
.gp-recap__bonus {
	margin: 6px 0 0;
	padding: 12px 14px;
	background: var(--gp-soft);
	border-radius: var(--gp-radius);
	font-size: 15px;
	color: var(--gp-muted);
}
.gp-recap__total {
	display: flex;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--gp-border);
	font-family: var(--gp-font-title);
	font-size: 20px;
}
.gp-recap__retour { margin-top: 22px; font-size: 15px; color: var(--gp-muted); }

/* -- Tableaux du site public ------------------------------------------
   L administration a les siens ; ceux-ci vivent dans la charte du site
   et defilent horizontalement plutot que de faire deborder la page.
   -------------------------------------------------------------------- */

.gp-table {
	width: 100%;
	margin-top: 22px;
	border-collapse: collapse;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	overflow: hidden;
	font-size: 15px;
}
.gp-table th,
.gp-table td { padding: 12px 14px; text-align: left; vertical-align: top; }
.gp-table thead th {
	background: var(--gp-soft);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gp-muted);
	white-space: nowrap;
}
.gp-table tbody tr + tr { border-top: 1px solid var(--gp-border); }
.gp-discret { color: var(--gp-muted); font-size: 14px; }
.gp-plus  { color: var(--gp-primary); font-weight: 600; white-space: nowrap; }
.gp-moins { color: var(--gp-muted); white-space: nowrap; }

/* -- Pieces justificatives -------------------------------------------- */

.gp-piece {
	margin: 20px 0;
	padding: 22px 24px;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-piece--alerte { border-color: var(--gp-red); }
.gp-piece__entete {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.gp-piece__titre { font-size: 19px; margin: 0; }
.gp-piece__fichier { margin: 12px 0 0; font-size: 15px; }
.gp-piece__fichier .gp-discret { display: block; margin-top: 3px; }
.gp-piece__motif {
	margin: 12px 0 0;
	padding: 12px 14px;
	background: #FBEAEA;
	border-radius: var(--gp-radius);
	font-size: 15px;
}
.gp-piece__formulaire { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gp-border); }
.gp-piece__formulaire input[type="file"] {
	width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 15px;
	background: var(--gp-soft);
	border: 1px dashed var(--gp-border);
	border-radius: var(--gp-radius);
}
.gp-piece__formulaire input[type="file"]:focus { outline: 2px solid var(--gp-primary); }
.gp-piece__formulaire .gp-bouton { width: 100%; }

/* -- Repli de la FAQ sur le formulaire de contact ---------------------- */

.gp-faq-repli {
	margin: 0 0 22px;
	padding: 18px 20px;
	background: var(--gp-card);
	border-radius: var(--gp-radius);
}
.gp-faq-repli__titre {
	margin: 0;
	font-weight: 600;
	font-size: 15px;
	color: var(--gp-primary-dark);
}
.gp-faq-repli__pied { margin: 12px 0 0; font-size: 14px; color: var(--gp-muted); }
.gp-faq--compacte { margin: 10px 0 0; max-width: none; }
.gp-faq--compacte .gp-faq__item { margin-bottom: 0; border-radius: 0; border-left: 0; border-right: 0; }
.gp-faq--compacte .gp-faq__question { padding: 12px 34px 12px 0; font-size: 15px; }
.gp-faq--compacte .gp-faq__reponse { padding: 0 0 12px; font-size: 15px; line-height: 24px; }

/* Piege a robots : hors de l ecran, mais pas display:none, que certains
   robots savent detecter. */
.gp-pot-de-miel {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 640px) {
	.gp-recap__ligne { flex-direction: column; gap: 4px; }
	.gp-table { display: block; overflow-x: auto; }
}

/* -- Selecteur de langue ------------------------------------------------ */

.gp-langues { position: relative; flex: 0 0 auto; }
.gp-langues summary {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	list-style: none;
	cursor: pointer;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-pill);
	font-family: var(--gp-font-title);
	font-size: 13px;
	font-weight: 600;
	color: var(--gp-text);
	white-space: nowrap;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.gp-langues summary::-webkit-details-marker { display: none; }
.gp-langues summary::after {
	content: "";
	width: 6px; height: 6px;
	border: solid var(--gp-muted);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translateY(-2px);
}
.gp-langues summary:hover { border-color: var(--gp-primary); color: var(--gp-primary); }
.gp-langues[open] summary { border-color: var(--gp-primary); color: var(--gp-primary); }

.gp-langues__liste {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 60;
	min-width: 170px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--gp-white);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius);
	box-shadow: var(--gp-shadow-lift);
}
.gp-langues__lien {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
	color: var(--gp-text);
	text-decoration: none;
	white-space: nowrap;
}
.gp-langues__lien:hover { background: var(--gp-soft); }
.gp-langues__lien.est-actif { background: var(--gp-card); color: var(--gp-primary-dark); font-weight: 600; }
.gp-langues__drapeau { font-size: 17px; line-height: 1; }

@media (max-width: 1150px) {
	/* Sur telephone, les actions du haut disparaissent : le selecteur
	   reste, seul, a cote du logo. Il doit rester atteignable. */
	.gp-entete__actions { display: flex; }
	.gp-entete__actions > *:not(.gp-langues) { display: none; }
	.gp-langues summary { padding: 7px 10px; }
}

/* -- Mon profil --------------------------------------------------------- */

/* Un texte d aide qui ne suit pas un champ : il lui faut sa respiration. */
.gp-aide--bloc { margin: 0 0 16px; }

.gp-profil-photo {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 24px;
	align-items: start;
}

.gp-profil-photo__apercu {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gp-profil-photo__image {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--gp-card);
	background: var(--gp-card);
}

/* L avatar d attente reprend la taille de la photo : le cadre ne bouge
   pas quand le membre en envoie une. */
.gp-avatar--enorme { width: 160px; height: 160px; font-size: 52px; }
.gp-avatar--enorme::after { display: none; }

.gp-profil-photo__formulaire { margin-top: 4px; }
.gp-profil-photo__boutons { margin-top: 14px; }
.gp-profil-photo__retrait { margin-top: 10px; }

@media (max-width: 640px) {
	.gp-profil-photo {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
	.gp-profil-photo__texte { text-align: left; }
}
