/* css general pour le cv en ligne */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* =====================================================
   Reset global et typographie
   ===================================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background-color: #FAEBD7;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}

/* =====================================================
   Container principal
   ===================================================== */
.container {
	width: 100%;
	max-width: 1000px;
	min-height: 1000px;
	background: #FAEBD7;
	display: flex;
	flex-direction: row;
}

/* =====================================================
   Colonne gauche
   ===================================================== */
.container .left-side {
	background: #9D7153;
	padding: 40px;
}

/* Profil photo et texte */
.profileTexte {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.profileTexte .imgBx {
	position: relative;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
}

.profileTexte .imgBx img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profileTexte h2 {
	color: #000;
	font-size: 1.5em;
	margin-top: 20px;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
	line-height: 1.4em;
}

.profileTexte h2 span {
	font-size: 0.8em;
	font-weight: 300;
}

/* =====================================================
   Informations de contact et sections diverses
   ===================================================== */
.contactInfo {
	padding-top: 40px;
}

.contactInfo .title {
	color: #000;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
	margin: 20px 0 10px 0;
}

.contactInfo ul {
	position: relative;
}

.contactInfo ul li {
	position: relative;
	list-style: none;
	margin: 10px 0;
	cursor: pointer;
}

.contactInfo ul li .icon {
	display: inline-block;
	width: 20px;
	font-size: 18px;
	color: #FAEBD7
}

.contactInfo ul li span {
	color: #000;
	font-weight: 300;
}

/* =====================================================
   Section formations
   ===================================================== */
.contactInfo.education h5 {
	color: #FAEBD7;
	font-weight: 500;
}

.contactInfo.education h4 {
	color: #000;
	font-weight: 300;
}

.contactInfo.education h4: nth-child(2) {
	font-weight: 500;
}

/* =====================================================
   Colonne droite
   ===================================================== */
.container .right-side {
	background: #fff;
	padding: 40px
}

/* =====================================================
   Section À propos
   ===================================================== */
.about {
	margin-bottom: 50px;
}

.about: last-child {
	margin-bottom: 0;
}

.title2 {
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

/* Paragraphes */
p {
	color: #5A3A22;
	text-align: justify;
	padding: 10px 8px;
}

/* =====================================================
   Box expérience / compétences
   ===================================================== */
.about .box {
	display: flex;
	flex-direction: row;
	margin: 20px 0;
}

.about .box .year_company {
	min-width: 250px;
}

.about .box .year_company h4 {
	font-size: 20:
}

.about .box .year_company h5 {
	text-transform: uppercase;
	color: #9D7153;
	font-weight: 600;
}

/* Compétences */
.skills .box {
	display: grid;
	grid-template-columns: 200px 1fr;
	justify-content: center;
	column-gap: 10px;
}

.skills .box h4 {
	text-transform: uppercase;
	color: #9D7153;
	font-weight: 500;

}

.skills .box .percent {
	width: 100%;
	height: 10px;
	background: #FAEBD7;
	position: relative;
}

.skills .box .percent div {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #9D7153;
}

/* =====================================================
   Centres d'intérêt
   ===================================================== */
.interest ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.interest ul li {
	list-style: none;
	color: #000
	font-weight: 500;
	margin: 10px 0;
}

.interest ul li .fa {
	color: #9D7153;
	font-size: 18px;
	width: 20px;
	margin-right: 10px;
}

/* =====================================================
   Encadrés
   ===================================================== */
.encadre {
	border: 2px solid #5A3A22;
	padding:  10px 20px;
	margin: 10px;
	border-radius: 50px;
	background:  #FAEBD7;
}

/* Footer */
#fin {
	border-top-style: solid; 
	border-color: #FAEBD7;
	display:flex;
	justify-content: center;
}

/* =====================================================
   Boutons langue
   ===================================================== */
.btn-group {
  display: flex;
  column-gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

.btn-lang {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #FAEBD7;
  border: 2px solid #FAEBD7;
  font-size: 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.btn-lang:hover {
  background-color: #9D7153;
  border-color: #9D7153;
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.btn-lang:active {
  transform: translateY(0);
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.btn-lang.active {
  background-color: #9D7153;
  color: white;
  border-color: #9D7153;
}

/* Barre sticky pour boutons langue */
.nav-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

/* ===============================
   ALIGNEMENT DES COLONNES
   =============================== */

.container {
    display: flex;
}

.left-side,
.right-side {
    min-height: 100%;
}

/* =====================================================
   Media queries pour responsive
   ===================================================== */
@media (max-width: 1000px) {
    .container {
        margin: 10px;
        flex-direction: column;
    }

    .interest ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about .box {
        flex-direction: column;
    }

    .about .box .year_company {
        margin-bottom: 5px;
    }

    .interest ul {
        grid-template-columns: repeat(1, 1fr);
    }

    .skills .box {
        grid-template-columns: repeat(1, 1fr);
    }
}