/***************************************************/
d
/* OVERRIDE BOOTSTRAP                              */
/***************************************************/
.border-secondary {
	border-color: var(--bs-secondary)!important;
}
.nav-tabs {
	border-bottom: 1px solid var(--bs-primary);
}
.nav-tabs .nav-link {
	border-color: #e9ecef #e9ecef var(--bs-primary);
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	transition: all 0.2s ease;
	color: #2c3e50;
	text-decoration: none;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
	border-color: #e9ecef #e9ecef var(--bs-primary);
	background: var(--bs-light);
	color: #2c3e50;
	text-decoration: none;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	border-color: var(--bs-primary) var(--bs-primary) white;
	background: linear-gradient(to bottom, #fef9f4, #ffffff);
	color: #2c3e50;
	font-weight: 600;
}

/* Mobile: accordéon */
@media (max-width: 767px) {
	/* Masquer les tabs sur mobile */
	.nav-tabs {
		display: none !important;
	}

	/* Réduire le header CV sur mobile */
	.cv-name {
		font-size: 1.5rem !important;
	}
	.cv-title {
		font-size: 1.1rem !important;
	}
	.cv-subtitle {
		font-size: 0.95rem !important;
	}
	.profile-photo {
		width: 100px !important;
	}

	/* Compacter les infos de contact */
	.row.mt-4 {
		margin-top: 1rem !important;
	}

	/* Masquer les h1 dans le contenu de l'accordéon (déjà dans le bouton) */
	.accordion-body h1 {
		display: none;
	}

	/* Réduire espacement des sections */
	.accordion-body h2 {
		margin-top: 0;
		font-size: 1.3rem;
	}

	/* Pas de margin sur les headers d'accordéon */
	h2.accordion-header {
		margin-top: 0;
		margin-bottom: 0;
	}

	/* Réduire padding de l'accordéon */
	.accordion-body {
		padding: 1rem !important;
	}

	/* Réduire marges des paragraphes */
	.accordion-body p {
		margin-left: 0 !important;
		margin-bottom: 0.5rem;
	}

	/* Réduire espacement des listes */
	.accordion-body ul.somespace li {
		margin-bottom: 0.5em;
	}
}

/* Style de l'accordéon */
.accordion-item {
	border: 1px solid #e9ecef;
	border-radius: 0;
	margin-bottom: 0;
}
.accordion-button {
	font-weight: 600;
	font-size: 1.1rem;
	color: #2c3e50;
	background-color: white;
	padding: 0.875rem 1.25rem;
}
.accordion-button:not(.collapsed) {
	color: #2c3e50;
	background-color: #f8f9fa;
	border-bottom: 1px solid #e9ecef;
}
.accordion-button:focus {
	box-shadow: none;
	border-color: var(--bs-secondary);
}
.accordion-body {
	padding: 1.5rem;
}
.overflow-clip {
	overflow-x: hidden!important;
	overflow-y: auto!important;
	padding-top: 1rem;
}
.btn-menu {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjE0IiBoZWlnaHQ9IjIiIHJ4PSIxIiBmaWxsPSJibGFjayIvPjxyZWN0IHk9IjgiIHdpZHRoPSIxNCIgaGVpZ2h0PSIyIiByeD0iMSIgZmlsbD0iYmxhY2siLz48cmVjdCB5PSI0IiB3aWR0aD0iMTQiIGhlaWdodD0iMiIgcng9IjEiIGZpbGw9ImJsYWNrIi8+PC9zdmc+Cg==) center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: .5;
}
/***************************************************/
/* OVERRIDE HIGHLIGHT                              */
/***************************************************/
pre code.hljs {
	background: transparent!important;
	padding: 0
}
/***************************************************/
/* GENERAL                                         */
/***************************************************/
body{
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
	color: #2c3e50;
	margin: 0;
	padding: 0;
}
h1{
	font-size: 1.9rem;
	font-weight: 600;
	color: #2c3e50;
	border-bottom: 1px solid #e9ecef;
	padding-bottom: 1rem;
	padding-left: 1rem;
	margin-bottom: 2rem;
	position: relative;
}
h1::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 1rem;
	width: 4px;
	background: var(--bs-primary);
	border-radius: 2px;
}
h2{
	color: var(--bs-secondary);
	font-size: 1.6rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 1rem;
}
h3{
	font-size: 1.3rem;
	font-weight: 600;
	margin-top: 1.5rem;
}
h4{
	font-size: 1.1rem;
	font-weight: 600;
}
b {
	font-weight: 600;
}
p {
	line-height: 1.7;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	p{
		margin-left: 1rem;
	}
}
pre{
	font-size: 0.85em;
	font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
	background-color: #f8f9fa;
	border-left: 4px solid var(--bs-primary);
	padding: 1.25rem;
	margin: 1.5rem 0;
	border-radius: 6px;
	line-height: 1.6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	overflow-x: auto;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}
/***************************************************/
/* SPECIFIC                                        */
/***************************************************/
span.katex span.katex-display {
	display: inline-block;
	margin: inherit;
	text-align: inherit;
	font-size: 1rem;
	color: #d63384;
}

a.menu {
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
}
a.menu svg {
	flex-shrink: 0;
}
a.menu:hover {
	background: var(--bs-secondary)!important;
	color: white!important;
	transform: translateX(2px);
}
ul.none{
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
ul.list1{
	list-style: none;
	padding-left: calc(1rem);
}
@media (min-width: 768px) {
	ul.list1{
		padding-left: 2rem;
	}
	ol.list1{
		margin-left: 1rem;
	}
}
ol.list1 li {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 1rem;
	padding-top: 0px;
}
ol.nospace li {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
}
ul.list1 li {
	position: relative;
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 1rem;
	padding-top: 0px;
}
ul.list1 li::before {
	/* Position absolute to remove bullet from document flow and
	   avoid vertical alignment issues caused by the bullet */
	position: absolute;
	content: "\2023";
	color: var(--bs-primary);
	opacity: 0.5;
	display: inline-block;
	margin-left: -1rem;
	width: 1rem;
	font-size: 1.2em;
}
ul.nospace li {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
}
ul.somespace li {
	margin-bottom: 1em;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
}
ul li p,
ol li p {
	margin: 0;
	padding: 0;
}
ul.fs{
	margin-left: 0px;
	padding-left: 10px;
}
li.dir {
	list-style-image: none;
	list-style-type: none;
	background-image: url(img/puce-folder.gif);
	background-repeat: no-repeat;
	padding-left: 15px;
}
li.file {
	list-style-image: none;
	list-style-type: none;
	background-image: url(img/puce-file.gif);
	background-repeat: no-repeat;
	padding-left: 15px;
}
img{
	margin-top: 10px;
	margin-bottom: 0px;
	max-width: 100%;
	height: auto;
	min-width: 0 !important;
}
img.profile-photo {
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	width: 138px;
	height: auto;
	flex-shrink: 0;
	align-self: flex-start;
}
a{
	text-decoration: none;
	color: var(--bs-primary);
	transition: color 0.2s ease;
}
a:hover{
	color: var(--bs-secondary);
	text-decoration: underline;
}
cite{
	font-size: 0.95rem;
	font-style: italic;
	margin: 1.5rem 0;
	background-color: #f8f9fa;
	border-left: 4px solid var(--bs-info);
	padding: 1rem 1.25rem;
	display: block;
	border-radius: 6px;
	color: #495057;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
dl {
	font-size: 16px;
}
table {
	max-width: 100%;
	overflow-x: auto;
	display: block;
}
table.skills {
	display: table;
}
span.lred {
	color: #ff0000;
	font-size: 10px;
}
table tr.green {
	background-color: #e8f5e9;
}
table tr.cyan {
	background-color: #e3f2fd;
}
table tr.bsep {
	border-bottom: var(--bs-secondary) 2px solid;
}
table tr td.white {
	background-color: #FFFFFF;
}
table tr th.yellow {
	background-color: #fff8e1;
}
table tr td.yellow {
	background-color: #fff8e1;
}
table tr td.num {
	text-align: right;
	font-family: "Courier New", Courier, monospace;
}
table tr td.nol {
	border-left: 0px;
}
table tr td.nor {
	border-right: 0px;
}
a.inline-picto img {
	margin: 0;
	margin-right: 0.2rem;
	padding: 0;
	height: 1rem;
}
a.pdf{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 25px;
	background-repeat: no-repeat;
	background-image: url(img/icon-pdf.svg);
	background-position: 0 center;
	background-size: contain;
}
a.pdf:hover{
	text-decoration: underline;
}
a.tar{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 25px;
	background-repeat: no-repeat;
	background-image: url(img/icon-tar.svg);
	background-position: 0 center;
	background-size: contain;
}
a.tar:hover{
	text-decoration: underline;
}
a.github{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 1rem;
	background-repeat: no-repeat;
	background-image: url(img/icon-github.svg);
	background-position: 0 center;
	background-size: contain;
}
a.github:hover{
	text-decoration: underline;
}
a.dir{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 1rem;
	background-repeat: no-repeat;
	background-image: url(img/icon-dir.svg);
	background-position: 0 center;
	background-size: contain;
}
a.dir:hover{
	text-decoration: underline;
}
a.txt{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 25px;
	background-repeat: no-repeat;
	background-image: url(img/icon-txt.svg);
	background-position: 0 center;
	background-size: contain;
}
a.txt:hover{
	text-decoration: underline;
}
a.lua{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	padding-left: 25px;
	background-repeat: no-repeat;
	background-image: url(img/icon-lua.svg);
	background-position: 0 center;
	background-size: contain;
}
a.lua:hover{
	text-decoration: underline;
}
a.doxygen{
	margin-top: 2px;
	margin-bottom: 2px;
	text-decoration: none;
	font-family: sans-serif;
	font-weight: 100;
	padding-top: 3px;
	font-size: 16px;
	color: #0000AA;
	padding-left: 53px;
	display: block;
	height: 17px;
	background: url(img/icon-doxygen.gif) no-repeat;
}
a.doxygen:hover{
	text-decoration: underline;
}
a.art_title {
	display: block;
	font-size: 1.2em;
	font-weight: 500;
	white-space: nowrap;
	background: url(img/link.svg) no-repeat 0% 40%;
	background-size: 19px 17px;
	padding-left: 24px;
	margin-bottom: 0.3em;
	transition: color 0.2s ease;
}
a.art_title:visited {
	color: #6c5ce7;
}
a.art_link {
	display: block;
	margin-bottom: 0.3em;
	color: var(--bs-info);
	transition: color 0.2s ease;
}
a.art_link:hover {
	color: var(--bs-primary);
}
div.art_text {
	margin-bottom: 1.5em;
	color: #6c757d;
	line-height: 1.6;
}
div.note {
	background-color: #fff8e1;
	border-left: 4px solid var(--bs-warning);
	padding: 1.25rem;
	margin: 1.5rem 0;
	border-radius: 6px;
	font-size: 0.95rem;
	line-height: 1.6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
div.note p {
	margin-left: 0px;
}

/***************************************************/
/* MAIN CONTAINER                                  */
/***************************************************/
.main-container {
	max-width: 1200px;
	margin: 0 auto;
	min-height: 100vh;
	align-items: stretch;
}

.main-container > .container-fluid {
	min-height: 100vh;
}

/***************************************************/
/* LEFT PANNEL                                     */
/***************************************************/
@media (min-width: 992px) {
	.panneau {
		transform: none!important;
		visibility: visible!important;
		top: unset!important;
		left: unset!important;
		width: 260px!important;
		min-width: 260px!important;
		border-right: 1px solid rgba(0,0,0,.08);
		position: initial!important;
		bottom: unset!important;
		z-index: unset!important;
		display: block!important;
		background-color: #fafbfc;
		transition: transform .3s ease-in-out;
	}
}
@media (min-width: 1200px) {
	.panneau {
		width: 340px!important;
		min-width: 340px!important;
	}
}
.panneau {
	overflow-y: auto;
	overflow-x: hidden;
	width: 100%;
	min-height: 100vh;
}
.panneau .fw-bold {
	font-size: 0.75rem;
	font-variant: small-caps;
	letter-spacing: 0.05em;
	margin-top: 2rem;
	padding-bottom: 0.5rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: var(--bs-secondary);
}
.panneau .fw-bold:first-of-type {
	margin-top: 1rem;
}
.panneau .d-flex.ms-2 {
	margin-bottom: 0.4rem;
}
.panneau a.menu,
.panneau .d-flex.ms-2 span {
	font-size: 0.85rem;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}
.panneau .d-flex.ms-2 span.bg-primary {
	font-weight: 600;
	padding: 0.4rem 0.8rem !important;
	box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
	font-size: 0.9rem;
}

i.star {
	display: inline-block;
	width: 100px;
	height: 8px;
	background: #e9ecef;
	border-radius: 4px;
	position: relative;
	vertical-align: middle;
	margin-right: 0.5rem;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
i.star::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
	border-radius: 4px;
	transition: width 0.3s ease;
}
i.s1::before { width: 20%; }
i.s2::before { width: 40%; }
i.s3::before { width: 60%; }
i.s4::before { width: 80%; }
i.s5::before { width: 100%; }
i.q {
	position: relative;
	top: -0.15em;
	font-size: 0.7em;
	font-style: normal;
	border-radius: 0.25rem!important;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	padding-left: 0.2em;
	padding-right: 0.2em;
}
i.script { background: var(--bs-info); color: white; } i.script::before { content: "scripting" }
i.dev { background: var(--bs-secondary); color: white; } i.dev::before { content: "développement" }
i.troub { background: var(--bs-primary); color: white; } i.troub::before { content: "troubleshooting" }
i.basic { background: var(--bs-gray-500); color: white; } i.basic::before { content: "basic" }
i.master { background: var(--bs-secondary); color: white; } i.master::before { content: "maîtrise" }
i.int { background: var(--bs-warning); color: white; } i.int::before { content: "intégration" }
i.user { background: var(--bs-info); color: white; } i.user::before { content: "utilisateur" }
i.rfc { background: var(--bs-info); color: white; } i.rfc::before { content: "RFC" }
i.api { background: var(--bs-warning); color: white; } i.api::before { content: "API" }

td i small {
	color: var(--bs-success)
}

table.skills {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}
table.skills tr {
	transition: background-color 0.2s ease;
}
table.skills tr:hover {
	background-color: #f8f9fa;
}
table.skills tr td {
	vertical-align: middle;
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid #f0f0f0;
}
table.skills tr:last-child td {
	border-bottom: none;
}

/* Retirer la bordure du dernier élément des tables Bootstrap */
table.table tr:last-child td {
	border-bottom: none;
}

/***************************************************/
/* SITE HEADER                                     */
/***************************************************/
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: linear-gradient(to bottom, #fef9f4, #ffffff);
	border-bottom: 1px solid #e9ecef;
	padding: 0.75rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.site-title {
	flex: 1;
	font-size: 0.95rem;
	color: #495057;
	font-weight: 400;
	text-align: center;
}
@media (min-width: 768px) {
	.site-title {
		font-size: 1rem;
	}
}
.cv-download {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.8rem;
	background: var(--bs-primary);
	color: white !important;
	border-radius: 6px;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.cv-download:hover {
	background: var(--bs-secondary);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}
.site-header .btn-menu {
	opacity: 1;
	margin: 0;
	padding: 0.25rem;
}

/***************************************************/
/* CV HEADER                                       */
/***************************************************/
.cv-name {
	color: #2c3e50;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.cv-title {
	font-weight: 500;
	margin-top: 0.25rem;
	color: #2c3e50;
}
.cv-subtitle {
	color: #495057;
	font-style: italic;
	margin-top: 0.5rem;
	font-size: 1.1rem;
}
