/************************************************
   GAVE Agency - ajustements du site Symfony
   (titres sémantiques h2/h3 avec l'apparence du thème)
*************************************************/
.titleTop .h3-like {
	margin-bottom: 0.5rem;
	font-size: 36px;
	font-weight: 600;
	color: #000;
}
.titleTop .h3-like span {
	color: #263bd6;
	font-weight: 200;
}
.category-card .h5-like {
	margin-bottom: 14px;
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
}
.sol-service .h4-like {
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #0f172a;
}
.solutions-content .h4-like {
	margin-bottom: 24px;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
}
.home-cta-card .h3-like {
	margin-bottom: 12px;
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}
.footer-modern .footer-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
}
.category-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
/* Logo sans image : initiales */
.co-logo--xs {
	width: 44px;
	height: 44px;
	font-size: 14px;
	border-radius: 12px;
}
.latest-job-company .co-logo {
	flex-shrink: 0;
}
/* Bouton en cours d'envoi */
.btn.is-loading {
	position: relative;
	pointer-events: none;
	opacity: 0.75;
}
.btn.is-loading::after {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	vertical-align: -2px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: gvSpin 0.7s linear infinite;
}
@keyframes gvSpin {
	to { transform: rotate(360deg); }
}
/* Erreurs de formulaire Symfony */
.gave-form .invalid-feedback.d-block,
.form-error-message {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #dc2626;
}
.mega-menu-item.active .mega-menu-label {
	color: #1d4ed8;
}
@media (max-width: 767px) {
	.titleTop .h3-like {
		font-size: 26px;
	}
}

/* Contenus riches (descriptions d'offres, présentations) */
.job-description,
.rich-text {
	font-size: 16px;
	line-height: 1.8;
	color: #475569;
}
.job-description p,
.rich-text p {
	margin-bottom: 14px;
}
.job-description ul,
.job-description ol,
.rich-text ul,
.rich-text ol {
	margin: 0 0 16px;
	padding-left: 22px;
}
.job-description ul,
.rich-text ul {
	list-style: disc;
}
.job-description ol,
.rich-text ol {
	list-style: decimal;
}
.job-description li,
.rich-text li {
	margin-bottom: 6px;
}
.job-description h3,
.job-description h4,
.rich-text h3,
.rich-text h4 {
	margin: 22px 0 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #0f172a;
}
.job-save-btn.is-saved {
	color: #e11d48;
	border-color: #fecdd3;
}
.apply-quick--static {
	border-style: solid;
	cursor: default;
}
.cand-tip--danger {
	background: #fef2f2;
	border-color: #fecaca;
}
.cand-tip--danger i,
.cand-tip--danger p {
	color: #b91c1c;
}
.sol-step .h4-like,
.sol-other .h4-like {
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #0f172a;
}
.sol-benefit .h5 {
	font-family: 'Montserrat', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
}
.sol-cta .h3-like {
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	font-weight: 700;
}
.co-logo--img {
	background: #fff center / contain no-repeat;
}
.rec-logo-initials {
	margin-bottom: 16px;
}
.co-perk .h6-like {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}
.contact-info-card .h5-like {
	margin-bottom: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

/* ------------------------------------------------------------------ Espaces connectés */
.cv-item-actions form,
.cand-file-actions form,
.cand-alert-actions form,
.cand-topic form,
.cv-tag form {
  display: inline-flex;
  margin: 0;
}
.cv-tag form button {
  background: none;
  border: 0;
  padding: 0 0 0 6px;
  color: inherit;
  cursor: pointer;
}
.cand-avatar.is-loading,
.cand-drop.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.cand-empty-block {
  text-align: center;
  padding: 24px 12px;
  color: #6b7280;
}
.cand-empty-block i {
  font-size: 28px;
  color: #263bd6;
  margin-bottom: 10px;
  display: block;
}
.cand-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cand-notif-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef0f6;
}
.cand-notif-list li:first-child {
  border-top: 0;
}
.cand-notif-list strong {
  display: block;
  color: #1b2340;
}
.cand-notif-list p {
  margin: 2px 0;
  color: #4b5563;
  font-size: 14px;
}
.cand-notif-list small {
  color: #9ca3af;
}
.cand-notif-icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef1fd;
  color: #263bd6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cand-connected-logo .fa-google {
  color: #ea4335;
  font-size: 20px;
}
.cand-app-mini .co-logo--xs,
.cand-reco-top .co-logo--xs {
  flex: 0 0 auto;
}

/* Menu principal : pas de retour à la ligne quand l'espace connecté prend de la place */
@media (min-width: 992px) {
  .main-menu > .nav-item > .nav-link {
    white-space: nowrap;
  }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .main-menu > .nav-item > .nav-link {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .ent-body .cand-user-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.ent-verified.is-pending {
  background: #fff7e6;
  color: #b45309;
}
.main-navbar .navbar-brand {
  flex-shrink: 0;
}
.main-navbar .navbar-brand img {
  max-width: none;
}

/* Témoignages (back-office) */
.testimonial-card blockquote {
  margin: 0;
}
.testimonial-card figcaption {
  margin: 0;
}
.testimonial-rating {
  color: #f5a623;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Favoris des cartes : neutraliser le cadre natif des boutons. */
.latest-job-card .bookmark {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #64748b;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	transition: color .15s ease, background-color .15s ease;
}
.latest-job-card .bookmark:hover,
.latest-job-card .bookmark.is-saved {
	color: #e11d48;
	background: #fff1f2;
}
.latest-job-card .bookmark:focus-visible {
	outline: 2px solid #263bd6;
	outline-offset: 3px;
}
.latest-job-card .bookmark:disabled {
	cursor: wait;
	opacity: .6;
}

/* ---------------------------------------------------------------- Autocomplétion de la recherche d'offres */
.ac-host {
	position: relative;
}
.ac-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 1050;
	min-width: 420px;
	max-height: 440px;
	overflow-y: auto;
	padding: 8px;
	text-align: left;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}
.ac-group + .ac-group {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid #f1f3f8;
}
.ac-group-label {
	display: block;
	padding: 8px 10px 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
}
.ac-group-label i {
	margin-right: 4px;
	font-size: 11px;
	color: #94a3b8;
}
.ac-option {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 8px 10px;
	border-radius: 10px;
	color: #1b2340;
	text-decoration: none;
}
.ac-option:hover,
.ac-option.is-active {
	background: #f1f4fe;
	color: #1b2340;
}
.ac-label {
	min-width: 0;
	overflow: hidden;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ac-label mark {
	padding: 0;
	background: none;
	color: #263bd6;
	font-weight: 700;
}
.ac-meta {
	overflow: hidden;
	font-size: 13px;
	color: #64748b;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ac-empty {
	margin: 0;
	padding: 12px 10px;
	font-size: 14px;
	color: #64748b;
}
@media (max-width: 575.98px) {
	.ac-panel {
		min-width: 0;
	}
}

/* ---------------------------------------------------------------- Logo par défaut d'une entreprise */
.co-placeholder {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	background: #e5e8ef;
	border-radius: 20px;
}
.side-card--company .co-placeholder {
	display: flex;
	border-radius: 16px;
}


/* ---------------------------------------------------------------- Logo d'entreprise par défaut : immeubles sur fond gris (même visuel que la page offre) */
.ent-logo:not(.has-photo) {
	color: transparent;
	font-size: 0 !important;
	background: #e5e8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='34' y='24' width='18' height='34' rx='3' fill='%236b7280'/%3E%3Crect x='39' y='31' width='4' height='4' rx='1' fill='%23e5e8ef'/%3E%3Crect x='39' y='39' width='4' height='4' rx='1' fill='%23e5e8ef'/%3E%3Crect x='39' y='47' width='4' height='4' rx='1' fill='%23e5e8ef'/%3E%3Crect x='12' y='6' width='26' height='52' rx='3.5' fill='%231f2633'/%3E%3Crect x='18' y='13' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='27' y='13' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='18' y='23' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='27' y='23' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='18' y='33' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='27' y='33' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='22' y='46' width='6' height='12' rx='1' fill='%23fff'/%3E%3C/svg%3E") center / 62% no-repeat;
}


/* ---------------------------------------------------------------- Page entreprise : couverture et logo par défaut */
.co-cover {
	position: relative;
}
.co-cover.has-image {
	height: 200px;
	background: #e5e8ef center / cover no-repeat;
}
.co-cover-tools {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	gap: 8px;
}
.co-cover-tools form {
	margin: 0;
}
.co-cover-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: #1b2340;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.92);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
	backdrop-filter: blur(4px);
	transition: background 0.2s;
}
.co-cover-btn:hover {
	background: #fff;
	color: var(--gv-blue);
}
.co-cover-btn.is-icon {
	justify-content: center;
	width: 38px;
	padding: 0;
	color: #dc2626;
}
.co-cover-btn:focus-within,
.co-cover-btn:focus-visible {
	outline: 3px solid rgba(38, 59, 214, 0.4);
	outline-offset: 2px;
}
.co-cover-btn.is-loading,
.co-logo.is-loading {
	opacity: 0.6;
	pointer-events: none;
}
.co-logo.co-logo--empty,
.latest-job-company .co-logo.co-logo--empty {
	color: transparent;
	font-size: 0;
	background: #e5e8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='34' y='24' width='18' height='34' rx='3' fill='%236b7280'/%3E%3Crect x='39' y='31' width='4' height='4' rx='1' fill='%23e5e8ef'/%3E%3Crect x='39' y='39' width='4' height='4' rx='1' fill='%23e5e8ef'/%3E%3Crect x='39' y='47' width='4' height='4' rx='1' fill='%23e5e8ef'/%3E%3Crect x='12' y='6' width='26' height='52' rx='3.5' fill='%231f2633'/%3E%3Crect x='18' y='13' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='27' y='13' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='18' y='23' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='27' y='23' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='18' y='33' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='27' y='33' width='5' height='5' rx='1' fill='%23fff'/%3E%3Crect x='22' y='46' width='6' height='12' rx='1' fill='%23fff'/%3E%3C/svg%3E") center / 58% no-repeat;
}
.co-logo-form {
	flex-shrink: 0;
	margin: -56px 0 0;
}
.co-logo-form .co-logo {
	position: relative;
	cursor: pointer;
}
.co-logo-form .cand-avatar-edit {
	right: -8px;
	bottom: -8px;
}
.co-logo-form .co-logo:hover .cand-avatar-edit {
	transform: scale(1.1);
}
.co-logo-form .co-logo:focus-within {
	outline: 3px solid rgba(38, 59, 214, 0.4);
	outline-offset: 3px;
}
@media (max-width: 575.98px) {
	.co-cover.has-image {
		height: 140px;
	}
	.co-cover-btn {
		height: 34px;
		padding: 0 10px;
		font-size: 12px;
	}
	.co-logo-form {
		margin-top: -44px;
	}
}

/* ---------------------------------------------------------------- Avatar par défaut (personne sans photo) */
.cand-avatar:not(.has-photo):not(.ent-logo):not(.admin-avatar) {
	color: transparent;
	font-size: 0 !important;
	background: #c5cbdf url("../images/avatar-default.jpg") center / cover no-repeat;
}

/* ---------------------------------------------------------------- Forum : photo de l'auteur, sinon avatar par défaut */
.forum-avatar {
	color: transparent;
	font-size: 0;
	background: #c5cbdf url("../images/avatar-default.jpg") center / cover no-repeat;
}
.forum-avatar.has-photo {
	background-color: #e5e8ef;
	background-size: cover;
}
