
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
	--EiffelBlue: #2B317F;
	--IGNGreen: #749A0F;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: linear-gradient(135deg, #292C4D, #292C4D, #292C4D, #D3D5F5);
    color: #000;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Header ===== */
header {
	position: absolute;
	width : 100%;
	/* height: 100px; */
	/* background : #fff; */
	/* background: rgba(0, 0, 0, 0.5); */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

/* Logo */
.logo {
	/* position: absolute; /* postulat de départ */
	/* style="height:50px; */
    /* top: 50%; */
    /* transform: translate(20%, -50%); /* décalage de 50% de sa propre taille */
	height: 100;
	width: 149px;
	margin-left: 20px;
	margin-top: auto;
	margin-bottom: auto;
}


/* Barre de navigation */

nav {
    /* position: absolute; */
	/* right: 0; */
    /* top: 50%; */
	/* transform: translate(-10%, -50%); */
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 40px;
    /* backdrop-filter: blur(10px); */
}

/* Texte barre de navigation */
nav a {
	/* position: inline; */
	right: 0;
    color: #2B317F;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 10px;
	border-width: 2px;
	border-style: solid;
	border-color: #fff;
    transition: all 0.3s ease;
	margin-top: auto;
	margin-bottom: auto;
}

/* Animation */
nav a:hover {
	border-style: solid;
	border-color: #2B317F;
	border-width: 2px;
	
    /* background: #B6F018;/*rgba(255, 255, 255, 0.1);*/
    /* text-decoration: underline; */
}

nav b {
    color: #749A0F;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 10px;
	border-width: 2px;
	border-color: #749A0F;
	border-style: solid;
    transition: all 0.3s ease;
	margin-top: auto;
	margin-bottom: auto;
}

nav b:hover {
    border-color: #94c11e;
	color: #94c11e;
}

/* Section Globe */
#section1 {
	position: relative;
	margin-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* le globe disparaît en dessous de 800px (voir media query), il ne se repositionne plus */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    color: white;
    box-sizing: border-box;
    /* background-color: #1F235C; */
}

.column {
    flex: 1 1 320px;
    padding: 20px;
    margin: 0 15px;
    height: 80vh;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
	/* background: rgba(0, 0, 0, 0.5); */
}

#left-column {
    /* background: rgba(0, 0, 0, 0.5); */
    border-radius: 12px;
    text-align: left;
}

.bluetogreengradient {
	font-size: clamp(22pt, 4.5vw, 36pt);
	font-weight: bold;
	background-image: linear-gradient(to left, #2B317F, #749A0F);
	background-clip: text;
	color: transparent;
}


#right-column {
    position: relative;
    /* background: rgba(0, 0, 0, 0.3); */
    border-radius: 12px;
    /* overflow: hidden; */
}

#ellipsoidGroup-container {
    width: 100%;
    height: 100%;
	color: #131858ff;
	z-index: 0;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

#contact-section h1 {
    color: #fff;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
}

p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
}

.text{
	margin-top: 10px;
	color: #000000;
}



.container{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 5px;
	justify-content: space-around; 
	
}

.container a{
	border: 1px solid silver;
	padding: 5px auto;
	width: auto;
	height:30px;
	border-radius: 15px;
	margin: 5px;
	text-decoration:none;
	color: silver;
	text-align: center;
	transition: all 0.3s ease;
}

.container a:hover {
	color: #616161;
	border-color: #616161;
}





.line{
	background-image: linear-gradient(to left, #2B317F, #749A0F);
	position: relative;
	margin-left: auto;
	margin-right: auto;
	height: 20px;
	width: 60%;
	border-radius: 10px;
}

/* Présentation de Vertigéo */
#section2 {
	position: relative;
	top: 50px;
	height: 80vh;
    margin: 0px 40px 40px;
    text-align: center;
    background: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
	/* border: 1px solid silver; */
}

.grid-container {
    display: grid;
	grid-template-columns: 1fr 1fr; /* 2 equal columns */
	grid-template-rows: 1fr 1fr;    /* 2 equal rows */
	gap: 10px;
	border: 1px solid silver;
	height: 80%;
	
	/* background: linear-gradient(to left, #2B317F, #749A0F); */
	border-radius: 20px;
	width: 80%;
	
	margin-right: auto;
	margin-left: auto;
	/* position: absolute; */
	/* right: 50%; */
	/* transform: translate(50%, 10%); */
}

.grid-item {
    border: 1px solid #749A0F;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
	background: #DBDBDB;
	text-align: left;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.grid-item h1 {
    color: #749A0F;
	font-size: 18pt;
	text-align: left;
}

.bluetogreengradient-small {
	font-size: 11pt;
	/* font-weight: bold; */
	background-image: linear-gradient(to left, #4952D6, #749A0F);
	background-clip: text;
	color: transparent;
}

.line2{
	background-image: linear-gradient(to left, #2B317F, #749A0F);
	position: absolute;
	right: 50%;
	transform: translate(50%, 50%); /* décalage de 50% de sa propre taille */
	height: 20px;
	width: 60%;
	border-radius: 10px;
}


/* footer */
footer{
	position: relative;
	/* border: 1px solid tomato; */
	width: 100%;
}

.footer-display{
	padding-top : 40px;
	padding-bottom : 40px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, 1fr);
    gap: 8px;
	height: 100%;
	/* border: 1px solid tomato; */
	
	justify-content: space-around;
	justify-items: center;
	align-items: top;
	/* border: 1px solid silver; */
	
	background-image: linear-gradient(to left, #2B317F, #749A0F);
}

.col1 {
	/* border: 1px solid silver; */
	color: silver;
	font-weight: lighter;
	font-size: 11pt;
}

.col1 a{
	/* color: silver; */
	text-decoration: none;
}

.col1 a:hover{
	text-decoration: underline;
}

.col2 {
	/* border: 1px solid silver; */
	color: white;
	font-weight: lighter;
}

.col2 p{
	color: silver;
	font-weight: normal;
	font-size: 14pt;
}

.col2 a{
	/* border: 1px solid silver; */
	color: white;
	font-weight: lighter;
	text-decoration: none;
	font-size: 14pt;
}

.col2 a:hover{
	text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
	/* Le header sort du positionnement absolu : il pousse le contenu au lieu
	   de se superposer à lui, quelle que soit sa hauteur une fois replié sur plusieurs lignes. */
	header {
		position: relative;
	}

	/* Le globe disparaît (au lieu de se repositionner sous le texte) */
	#right-column {
		display: none;
	}

	#section1 {
		justify-content: center;
	}

	#left-column {
		flex: 1 1 100%;
		height: auto;
		min-height: 0;
	}

	#section2 {
		height: auto;
		padding: 30px 0;
		margin: 0 20px 40px;
	}

	.grid-container {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		width: 100%;
		height: auto;
	}

	.footer-display {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.container {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}
}