:root {
    --bg-color: #212932;
    --text-color: #ffffff;
    --accent-color: #46e2bc;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {    
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 999;
    box-sizing: border-box;
}

header .logo {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent-color);
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

header nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
    white-space: nowrap; 
}

header nav a:hover {
    color: var(--accent-color);
}

section:not(#hero) {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

section:nth-child(even) { background-color: #14191f; }
section:nth-child(odd) { background-color: #212932; }

.button-link {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    background-color: #294f64;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #356e91;
}

.split-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    flex-wrap: wrap;
}

.image-block {
    flex: 1 1 650px;
    text-align: center;
}

.image-block img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.text-block {
    flex: 1 1 480px;
}

.text-block h2, h2.text-block, h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.text-block p {
    font-size: 1.1em;
    line-height: 1.6;
}

.centered-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.fade-section {
    opacity: 0;
}

/*********** Section Accueil ***********/
#homeCanvas {
	width: 100%;
    height: 100vh;
    background-color: blue;
	pointer-events: auto;
}

.hero {
    position: sticky;    
    overflow: hidden;
    min-height: 100vh !important;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 10;
}

.hero-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s linear;
}

.hero-front {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
	pointer-events: none;
}

.hero-title h1 {
    font-size: 10em;
	font-weight: bold;	
    color: white;
    margin: 0;
    text-align: center;
    font-family: 'Arial Black', sans-serif; 
	background-image: linear-gradient(180deg, white, #28323d);
	background-size: 100%;
	background-repeat: repeat;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-moz-background-clip: text;
	-moz-text-fill-color: transparent;
	filter: brightness(1.7);
	text-shadow: #1c2023 60px 60px 60px;
	
	transform: perspective(1000px) rotateY(-1deg); 
	animation: pulseDepthH1 5s ease-in-out infinite;	
}
@keyframes pulseDepthH1 {
    0%, 100% {
		transform: perspective(150px) rotateY(-1deg);
    }
    50% {
		transform: perspective(150px) rotateY(1deg);
    }
}
.hero-title h2 {
	text-align: center;
	font-size: 3em;
    color: white;
    background-image: linear-gradient(180deg, white, #50657a);
	background-size: 100%;
	background-repeat: repeat;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-moz-background-clip: text;
	-moz-text-fill-color: transparent;
	filter: brightness(1.7)	
	text-shadow: #545e69 40px 40px 40px;	
	transform: perspective(100px) rotateY(-1deg); 
	animation: pulseDepthH2 5s ease-in-out infinite;
}
@keyframes pulseDepthH2 {
    0%, 100% {
		transform: perspective(100px) rotateY(-1deg);
    }
    50% {
		transform: perspective(100px) rotateY(1deg);
    }
}
.hero-title p {
	color: white;
	text-align: center;
	font-size: 1.2em;
}

.hero-background {
    background-image: url('../images/sky.png'); 
    background-size: cover;
    background-position: center;
    z-index: 2;
    opacity: 1; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-out;
	pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    overflow: hidden;
	pointer-events: auto;
}

/* Image / vidéo / canvas de fond */
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 4;
}

/* Conteneur texte au-dessus */
.hero-text {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 30px;
}

/*********** End section Accueil ***********/

/*Section Behavior*/
.behavior-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 0 40px;
}
.behavior-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #111;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    flex: 1 1 250px;
    text-align: center;
}

/*Section Editor*/
.editors-section {
	display: block !important;
	flex-direction: column;
	align-items: unset;
	justify-content: unset;    
	min-height: 60vh;
	height: 60vh;
}

.editors-title {
    font-size: 2.8em;
    margin-bottom: 50px;
    text-align: center;
}

.mySwiper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.swiper-slide {
	position: relative;
    width: 840px !important;
    height:auto;
    opacity: 0.3;
    transform: scale(0.9);
    transition: opacity 0.4s ease;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.swiper-button-prev, .swiper-button-next {
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 50%;
    top: 50%;
}

.swiper-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

.swiper-slide-active .slide-label {
    opacity: 1;
    pointer-events: auto;
}

/*Section Open Source*/
.open-source-content {
    text-align: center;
    padding: 60px 20px;
}

.open-source-content h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.open-source-content p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/*Section Download*/
.download-section {
    min-height: 50vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.download-text {
    font-size: 1.2em;
    margin: 20px auto;
    max-width: 700px;
    line-height: 1.6;
}

.download-note {
    margin-top: 20px;
    font-size: 0.95em;
    color: #aaa;
}

/*Section Footer*/
.site-footer {
    background-color: #1d2939;
    color: #ccc;
    padding: 30px 20px 10px;
    font-size: 0.9em;
    text-align: center;
    position: relative;
    overflow: visible;
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-left {
    flex: 1 1 300px;
}

.footer-link {
    color: #acd0d5;
    text-decoration: none;
    margin: 0 5px;
}

.footer-link:hover {
    color: #8ac48b;
    text-decoration: underline;
}

.footer-right {
    flex: 1 1 300px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.social-link {
    color: #acd0d5;
    text-decoration: none;
}

.social-link:hover {
    color: #8ac48b;
    text-decoration: underline;
}

.final-scroll {
    background-color: transparent;
    color: var(--accent-color);
    perspective: 400px;
    height: 180px;
    margin-top: 10px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.crawl {
    font-size: 200px;
    font-weight: 900;
    text-align: center;
    transform: rotateX(30deg) translateZ(0);
    animation: scrollUp 6s linear infinite;
    font-family: 'Arial Black', sans-serif;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

@keyframes scrollUp {
    0% {
        transform: rotateX(25deg) translateY(-80px);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: rotateX(35deg) translateY(-300px);
        opacity: 0;
    }
}

/*
GOOGLE TRANSLATE
*/
#google_translate_element {position:relative}
#google_translate_element span {display: none!important; }
#google_translate_element:after {
	content: "";
	bottom:0;
	left:0;
	width:100%;
	background:transparent;
	position: absolute;
	z-index: 1;
	height: 40%;
}
.goog-te-banner-frame.skiptranslate {
	display: none !important;
	visibility: hidden !important;
	color: transparent !important;
}
html > .skiptranslate, body > .skiptranslate, #Contenu > .skiptranslate, .Contenu > .skiptranslate, #corp > .skiptranslate {
    display: none !important;
	color: transparent !important;
}
.goog-te-combo {
    width: 160px;
    height: 20px;
}
.goog-logo-link {
    display:none !important;
}
.goog-te-gadget{
    color: transparent !important;
}
#goog-gt-tt, .goog-te-balloon-frame{display: none !important;}
.goog-text-highlight { background-color: transparent !important; background: none !important; border: none !important; box-shadow: none !important;}
font {
  background-color: transparent !important;
  box-shadow: none !important;
}
.goog-te-gadget-icon {
	display: none !important;
	color: transparent !important;
}
.goog-tooltip {
	display: none !important;
}
.goog-tooltip:hover {
	display: none !important;
}
