/* ==========================================================================
   rb-fixes.css — corrections d'alignement et de proportions responsive
   Chargée après les CSS Elementor/thème sur toutes les pages.
   Points de rupture Elementor : mobile <= 767px, tablette 768–1024px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. EN-TÊTE (template Elementor 29) — toutes pages
   -------------------------------------------------------------------------- */
.elementor-location-header .elementor-element-8b2dfef {
	position: relative;
	z-index: 100;
}
.elementor-location-header .elementor-element-8b2dfef > .elementor-container {
	padding: 0 14px;
}
/* Logo + menu centrés verticalement sur une seule ligne */
.elementor-location-header .elementor-element-8b2dfef > .elementor-container > .elementor-row {
	flex-wrap: nowrap;
	align-items: center;
}
.elementor-location-header .elementor-element-8b2dfef .elementor-column-wrap,
.elementor-location-header .elementor-element-8b2dfef .elementor-widget-wrap {
	align-items: center;
	align-content: center;
}
/* La colonne marque prend l'espace disponible, la colonne menu s'adapte à son contenu */
.elementor-location-header .elementor-element-6892b16 {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
}
.elementor-location-header .elementor-element-7cabf7f {
	flex: 0 0 auto;
	width: auto !important;
}
.elementor-location-header .elementor-element-5a87c90 .elementor-text-editor > div {
	min-height: 50px;
}
.elementor-location-header .elementor-element-5a87c90 .elementor-text-editor img {
	flex: 0 0 auto;
}
.elementor-location-header .elementor-element-5a87c90 .elementor-text-editor span {
	line-height: 1.4;
}
/* Menu desktop : dernier lien aligné sur la marge droite */
.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li:last-child > a {
	padding-right: 0;
}
/* Burger : blanc, zone de clic confortable, collé à droite */
.elementor-location-header .elementor-menu-toggle {
	color: #fff;
	background: transparent;
	font-size: 24px;
	padding: 8px;
	margin-right: -8px;
}
.elementor-location-header .elementor-menu-toggle:hover,
.elementor-location-header .elementor-menu-toggle.elementor-active {
	color: #fff;
}

/* Menu déroulant (tablette + mobile) : pleine largeur sous l'en-tête, aux couleurs du site */
@media (max-width: 1024px) {
	.elementor-location-header .elementor-element-7cabf7f,
	.elementor-location-header .elementor-element-7cabf7f > .elementor-column-wrap,
	.elementor-location-header .elementor-element-7cabf7f .elementor-widget-wrap,
	.elementor-location-header .elementor-element-fca7f5b,
	.elementor-location-header .elementor-element-fca7f5b > .elementor-widget-container {
		position: static;
	}
	.elementor-location-header .elementor-nav-menu--dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		margin-top: 0 !important;
		background: #000;
		border-top: 1px solid #222;
		z-index: 9999;
	}
	.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
		background: #000 !important;
		color: #fff !important;
		font-size: 14px;
		letter-spacing: 2px;
		padding: 16px 20px !important;
		justify-content: center;
		border-bottom: 1px solid #1a1a1a;
	}
	.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
	.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover {
		background: #111 !important;
		color: #fff !important;
		font-weight: 500;
	}
}

@media (max-width: 767px) {
	.elementor-location-header .elementor-element-8b2dfef > .elementor-container {
		padding: 0 6px;
	}
	.elementor-location-header .elementor-element-5a87c90 .elementor-text-editor img {
		width: 40px;
		height: 40px;
	}
	.elementor-location-header .elementor-element-5a87c90 .elementor-text-editor > div {
		min-height: 40px;
	}
	.elementor-location-header .elementor-element-5a87c90 {
		font-size: 11px !important;
	}
}

/* --------------------------------------------------------------------------
   2. PAGES « EXPÉRIENCE » (PSG 926, OM 82, Hurricane 98) — gabarit commun
   -------------------------------------------------------------------------- */

/* Trait décoratif du thème Twenty Nineteen au-dessus des h2 :
   aligné à gauche partout, centré au-dessus du titre centré « New Systems » */
.elementor-widget-heading .elementor-heading-title:before {
	margin-left: 0;
	margin-right: auto;
}
.elementor-element-27f9f179 .elementor-heading-title:before,
.elementor-element-1db75e6a .elementor-heading-title:before {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Titre de page : même gouttière que le contenu, et un peu d'air avant l'image */
.elementor-element-e38f55f > .elementor-container {
	padding-bottom: 10px;
}

/* Grille de cartes « New Systems » : hauteurs égales, espacement régulier,
   colonnes vides masquées et dernière ligne centrée */
.elementor-inner-section {
	padding: 0 !important;
}
.elementor-inner-section > .elementor-container > .elementor-row {
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}
.elementor-inner-section .elementor-inner-column:not(:has(.elementor-widget)) {
	display: none;
}
.elementor-inner-section .elementor-inner-column > .elementor-column-wrap {
	padding: 14px !important;
	margin: 0 !important;
}
.elementor-inner-section .elementor-inner-column .elementor-widget-wrap {
	height: 100%;
}
.elementor-inner-section .elementor-widget-icon-box {
	height: 100%;
	margin-bottom: 0 !important;
}
.elementor-inner-section .elementor-widget-icon-box > .elementor-widget-container {
	height: 100%;
	box-sizing: border-box;
	padding: 25px 20px 40px !important;
}
.elementor-inner-section .elementor-icon-box-title {
	hyphens: manual;
	overflow-wrap: normal;
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-element-e38f55f > .elementor-container {
		padding-left: 25px;
		padding-right: 25px;
	}
	/* Moins de vide entre le texte et « New Systems » */
	.elementor-element-65da4e10 {
		padding-bottom: 30px !important;
	}
	.elementor-element-782acf1,
	.elementor-element-3f145356 {
		padding-top: 60px !important;
		padding-bottom: 60px !important;
	}
	/* Bloc image : proportions plus équilibrées */
	.elementor-element-51c53e18 > .elementor-column-wrap {
		padding: 110px 40px !important;
	}
	/* Cartes : 2 par ligne au lieu de 4 trop étroites */
	.elementor-inner-section .elementor-inner-column {
		width: 50% !important;
		max-width: 340px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.elementor-element-e38f55f > .elementor-container {
		padding-left: 20px;
		padding-right: 20px;
	}
	.elementor-element-fcf456c .elementor-heading-title {
		font-size: 34px;
		line-height: 1.1 !important;
	}
	.elementor-element-65da4e10 {
		padding: 10px 0 20px !important;
	}
	.elementor-element-51c53e18 > .elementor-column-wrap {
		padding: 80px 20px !important;
	}
	.elementor-element-16f70b3f > .elementor-widget-container {
		padding: 0 !important;
	}
	.elementor-element-16f70b3f .elementor-heading-title {
		font-size: 38px !important;
		line-height: 1.1 !important;
	}
	.elementor-element-7f25c816 > .elementor-column-wrap {
		padding: 30px 20px 0 !important;
	}
	.elementor-element-782acf1,
	.elementor-element-3f145356 {
		padding: 40px 10px !important;
	}
	.elementor-element-27f9f179 .elementor-heading-title,
	.elementor-element-1db75e6a .elementor-heading-title {
		font-size: 38px !important;
	}
	/* Cartes : une colonne, largeur maîtrisée, plus compactes */
	.elementor-inner-section .elementor-inner-column {
		width: 100% !important;
		max-width: 360px;
	}
	.elementor-inner-section .elementor-inner-column > .elementor-column-wrap {
		padding: 10px !important;
	}
	.elementor-inner-section .elementor-icon {
		padding: 10px !important;
		font-size: 40px !important;
	}
	.elementor-inner-section .elementor-widget-icon-box > .elementor-widget-container {
		padding: 20px 20px 28px !important;
	}
	.elementor-inner-section .elementor-icon-box-title,
	.elementor-inner-section .elementor-icon-box-title a {
		font-size: 22px !important;
	}
}

/* --------------------------------------------------------------------------
   3. PAGES À BANDEAUX (Accueil, Volunteer, Interest)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	/* Titres/sous-titres des bandeaux : marges latérales pour que le texte
	   espacé (letter-spacing) ne touche pas les bords */
	.elementor-page-1123 .elementor-top-section .elementor-widget-heading,
	.elementor-page-6 .elementor-top-section .elementor-widget-heading,
	.elementor-page-236 .elementor-top-section .elementor-widget-heading {
		padding-left: 16px;
		padding-right: 16px;
	}
	.elementor-page-1123 h5.elementor-heading-title,
	.elementor-page-6 h5.elementor-heading-title,
	.elementor-page-236 h5.elementor-heading-title {
		letter-spacing: 2px !important;
		line-height: 1.6;
	}
	.elementor-page-1123 .elementor-element-368f66b .elementor-heading-title {
		font-size: 26px;
	}
}

/* --------------------------------------------------------------------------
   4. FOOTER — logo à la place de la fusée
   -------------------------------------------------------------------------- */
.rb-footer-logo {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: -4px;
	margin: 0 4px;
}

/* --------------------------------------------------------------------------
   5. PROJETS « NEW SYSTEMS » EN LISTE (pages expérience)
   Ajouter un projet = ajouter un <li class="rb-project"> dans .rb-projects
   -------------------------------------------------------------------------- */
.rb-projects-wrap {
	width: 100%;
	max-width: 960px;
	margin: 10px auto 0;
	padding: 0 10px;
	box-sizing: border-box;
}
.rb-projects {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 48px;
	border-top: 1px solid #e6e6e6;
}
.rb-project {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 76px;
	padding: 14px 4px 14px 8px;
	border-bottom: 1px solid #e6e6e6;
	border-left: 3px solid transparent;
	transition: border-color .2s, background-color .2s;
	margin: 0;
}
.rb-project:hover {
	border-left-color: #ED1D24;
	background: #fafafa;
}
.rb-project__icon {
	flex: 0 0 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f3f3;
	color: #9a9a9a;
	font-size: 20px;
}
.rb-project__name {
	flex: 1 1 auto;
	min-width: 0;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: #000;
}
.rb-project__tag {
	flex: 0 0 auto;
	font-family: "Roboto", sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #8a8a8a;
	text-align: right;
}

@media (max-width: 767px) {
	.rb-projects-wrap {
		padding: 0;
	}
	.rb-projects {
		grid-template-columns: 1fr;
	}
	.rb-project {
		gap: 12px;
		min-height: 64px;
		padding: 12px 4px 12px 6px;
	}
	.rb-project__icon {
		flex-basis: 38px;
		height: 38px;
		font-size: 17px;
	}
	.rb-project__name {
		font-size: 16px;
	}
	.rb-project__tag {
		font-size: 10px;
		letter-spacing: 1px;
		max-width: 38%;
	}
}

/* Fiche (poste, lieu, équipe, liens) : interligne d'origine 0.9em → chevauchement
   dès qu'une ligne passe à la ligne (ex. « Montpellier (France), China… ») */
.elementor-element-4765c61b {
	line-height: 1.35 !important;
}

/* Espace homogène sous la liste des projets avant le footer
   (Hurricane avait 0px, PSG/OM 50px) — tablette/mobile gérés plus haut */
@media (min-width: 1025px) {
	.elementor-element-782acf1,
	.elementor-element-3f145356 {
		padding-bottom: 80px !important;
	}
}

/* --------------------------------------------------------------------------
   6. CONTENU CV — accroche sous le titre et « snapshot » en étiquettes
   -------------------------------------------------------------------------- */
.rb-page-tagline {
	margin: 10px 0 0;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.4;
	color: #666;
}
.rb-snapshot {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0 !important;
	padding: 0 !important;
}
.rb-snapshot li {
	margin: 0 !important;
	padding: 6px 10px;
	background: #f3f3f3;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #555;
}
@media (max-width: 767px) {
	.rb-page-tagline { font-size: 14px; }
	.rb-snapshot li { font-size: 10px; padding: 5px 8px; }
}

/* --------------------------------------------------------------------------
   7. FLÈCHE « EXPÉRIENCE SUIVANTE » après le nom de l'entreprise
   -------------------------------------------------------------------------- */
.rb-page-title .rb-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-left: 18px;
	vertical-align: middle;
	position: relative;
	top: -0.06em;
	border: 2px solid #000;
	border-radius: 0;
	color: #000 !important;
	background: transparent;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.rb-page-title .rb-next svg {
	transition: transform .2s;
}
.rb-page-title .rb-next:hover,
.rb-page-title .rb-next:focus-visible {
	background: #000;
	color: #fff !important;
}
.rb-page-title .rb-next:hover svg,
.rb-page-title .rb-next:focus-visible svg {
	transform: translateX(3px);
}
@media (max-width: 767px) {
	.rb-page-title .rb-next {
		width: 38px;
		height: 38px;
		margin-left: 10px;
	}
	.rb-page-title .rb-next svg {
		width: 18px;
		height: 18px;
	}
}

/* --------------------------------------------------------------------------
   8. STATUT DES PROJETS : badge NEW (plein) / REVAMP (contour)
   <span class="rb-project__status rb-project__status--new">New</span>
   <span class="rb-project__status rb-project__status--revamp">Revamp</span>
   -------------------------------------------------------------------------- */
.rb-project__status {
	flex: 0 0 auto;
	width: 64px;
	box-sizing: border-box;
	padding: 4px 0;
	font-family: "Roboto", sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: center;
	border: 1.5px solid #000;
}
.rb-project__status--new {
	background: #000;
	color: #fff;
}
.rb-project__status--revamp {
	background: transparent;
	color: #000;
}
@media (max-width: 767px) {
	.rb-project__status {
		width: 56px;
		font-size: 9px;
		letter-spacing: 1px;
	}
}

/* Statut OPTIMISATION (gris clair) + largeur commune adaptée au libellé le plus long
   <span class="rb-project__status rb-project__status--optimisation">Optimisation</span> */
.rb-project__status {
	width: 96px;
	letter-spacing: 1px;
}
.rb-project__status--optimisation {
	background: #e9e9e9;
	border-color: #e9e9e9;
	color: #000;
}
@media (max-width: 767px) {
	.rb-project {
		gap: 10px;
	}
	.rb-project__status {
		width: 80px;
		font-size: 8.5px;
		letter-spacing: 0.5px;
	}
}

/* Statut BOOST (remplace « Optimisation ») — gris clair ; badges ramenés
   à la largeur du libellé le plus long (« Revamp »)
   <span class="rb-project__status rb-project__status--boost">Boost</span> */
.rb-project__status {
	width: 68px;
	letter-spacing: 1.5px;
}
.rb-project__status--boost {
	background: #e9e9e9;
	border-color: #e9e9e9;
	color: #000;
}
@media (max-width: 767px) {
	.rb-project {
		gap: 12px;
	}
	.rb-project__status {
		width: 58px;
		font-size: 9px;
		letter-spacing: 1px;
	}
}

/* Footer : logo agrandi sur sa propre ligne, puis « RENAUD BONDOUX – 2026 » */
.rb-footer { line-height: 1.6; }
.rb-footer__brand { display: inline-block; margin-bottom: 10px; }
.rb-footer-logo.rb-footer-logo--big { width: 48px; height: 48px; margin: 0; vertical-align: middle; }
@media (max-width: 767px) { .rb-footer-logo.rb-footer-logo--big { width: 40px; height: 40px; } }

/* SEO : H1 de l'accueil = nom dans l'en-tête, sans changer son apparence */
h1.rb-brand-h1 { display: inline; margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; }
h1.rb-brand-h1::before, h1.rb-brand-h1::after { content: none !important; display: none !important; } /* trait décoratif du thème Twenty Nineteen */
/* SEO / accessibilité : titre lu par les moteurs et lecteurs d'écran, invisible à l'écran */
.rb-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Accueil : titre du poste lisible sur les photos (blanc, plus gras, ombre douce) + dates sur leur propre ligne */
.home .elementor-heading-title.rb-job { color: #fff; font-size: 16px; line-height: 1.45; letter-spacing: 2.5px; text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 14px rgba(0, 0, 0, .55); }
.home .rb-job__role { display: block; font-weight: 500; }
.home .rb-job__dates { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; letter-spacing: 3px; color: rgba(255, 255, 255, .85); }
@media (max-width: 767px) { .home .elementor-heading-title.rb-job { font-size: 14px; letter-spacing: 1.5px; } .home .rb-job__dates { font-size: 12px; } }

/* Accueil : tout le bloc expérience (photo) est cliquable – le lien du logo s'étend à la section */
.home .rb-exp-card { position: relative; cursor: pointer; }
.home .rb-exp-card .elementor-container, .home .rb-exp-card .elementor-column, .home .rb-exp-card .elementor-column-wrap,
.home .rb-exp-card .elementor-widget-wrap, .home .rb-exp-card .elementor-widget, .home .rb-exp-card .elementor-widget-container { position: static; }
/* contenus au-dessus du voile sombre de la photo, le lien étendu au-dessus de tout */
.home .rb-exp-card .elementor-widget-heading, .home .rb-exp-card__link img { position: relative; z-index: 1; }
.home .rb-exp-card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.home .rb-exp-card__link:focus-visible { outline: none; }
.home .rb-exp-card__link:focus-visible::after { outline: 3px solid #fff; outline-offset: -6px; }
.home .rb-exp-card > .elementor-background-overlay { transition: opacity .25s ease; }
.home .rb-exp-card:hover > .elementor-background-overlay { opacity: .45 !important; }
