/* @GLOBAL */
@font-face {
    font-family: 'SF Pro Display';
    src: url('/assets/styles/fonts/SFProDisplay/SFProDisplay-Bold.woff2') format('woff2'),
        url('/assets/styles/fonts/SFProDisplay/SFProDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/assets/styles/fonts/SFProDisplay/SFProDisplay-Light.woff2') format('woff2'),
        url('/assets/styles/fonts/SFProDisplay/SFProDisplay-Light.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/assets/styles/fonts/SFProDisplay/SFProDisplay-Regular.woff2') format('woff2'),
        url('/assets/styles/fonts/SFProDisplay/SFProDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/assets/styles/fonts/SFProDisplay/SFProDisplay-RegularItalic.woff2') format('woff2'),
        url('/assets/styles/fonts/SFProDisplay/SFProDisplay-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

* {
    text-decoration: none;
}

html, body {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	background: #98b3bb;
	background: linear-gradient(0deg, rgba(223,222,193,1) 0%, rgba(152,179,187,1) 70%);
	background-repeat: no-repeat;
    font-family: 'SF Pro Display';
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    color: #FFF;
    background: #4BB796;
}

img.svg-icon {
    padding-left: 8px;
}

.color {
	color: #4BB796;
}

/*
.cursor {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #6AB49A;
    border: 2px solid black;
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}*/

/* @BULMA */
:root {
	--bulma-navbar-height: 76px;
    --bulma-primary-h: 162deg;
    --bulma-primary-s: 43%;
    --bulma-primary-l: 51%;
}

img, a {
    user-drag: none; /* Pour les anciens navigateurs WebKit */
    -webkit-user-drag: none; /* Spécifique à WebKit (Chrome, Safari) */
}

.tabs li.is-active a {
    color: #4BB796;
    border-bottom-color: #4BB796;
}
.tabs.is-toggle li.is-active a {
    background-color: #4BB796;
    border-color: #4BB796;
    color: #FFF;
}

/* @BULMA - NAVBAR */
.navbar {
	--bulma-navbar-background-color: none;
}
.navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover {
	--bulma-navbar-item-background-l-delta: none;
    --bulma-navbar-item-background-a: none;
}
.navbar .logo {
	height: 70px;
	max-height: 70px;
	width: auto;
}
.navbar .navbar-item {
    font-size: 25px;
}
.navbar .button {
    font-size: 20px;
}
.navbar a {
    color: black;
}

.button.is-primary {
    color: white !important;
}

.button.is-primary.is-outlined {
    color: #4CB898 !important;
}

button.swal2-confirm.swal2-styled {
    background-color: #4CB898 !important;
}

/* @HOME */

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    perspective: 1000px;
    overflow: hidden;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-home {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-weight: bold;
    z-index: 1;
    pointer-events: none;
    color: black;
    text-align: center;
	width: 100%;
    line-height: 9rem;
}

.title-page {
    text-align: center;
    color: black;
    font-size: 40px;
}

.linear-text {
    background: linear-gradient(to bottom, rgb(22, 22, 22), rgb(100, 100, 100));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.island {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Hauteur total de la fenêtre */
}

.island picture, .island img {
    width: auto;
    height: auto;
    max-height: 70vh;
    max-width: 100%;
    transform-origin: center center;
    display: block;
}

.cloud {
    position: absolute;
    background: url('/assets/storage/page/home/cloud1.png') no-repeat center center;
    background-size: contain;
    width: 300px;
    height: 150px;
    transform: translate3d(0,0,0);
    z-index: 0;
    pointer-events: none;
}

.cloud, .island {
    will-change: transform;
}

.clouds-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;    /* empêche tout débordement visible */
    z-index: 0;          /* derrière le contenu */
    pointer-events: none;/* évite d'interférer avec les clics */
}

/* textes */

/* Bouton en bas centré */
.footer-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.footer-btn .bottom-button {
    background-color: #4BB796;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: 2px solid #4BB796; 
    outline-offset: 3px;
}
.footer-btn .bottom-button:hover {
    background-color: #3aa37d;
}

/* Bloc à droite avec bouton play */
.text-block-right {
    position: absolute;
    right: 20px;
    bottom: 100px;
    align-items: center;
    z-index: 10;
    max-width: 300px;
    text-align: center;
    background: url('/assets/storage/page/home/cloud1.png') no-repeat center center;
    background-size: contain;
    padding-right: 20px;
    padding-left: 20px;
}
.text-block-right p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

/* Bloc gauche */
.text-block-left {
    position: absolute;
    left: 20px;
    bottom: 360px;
    z-index: 10;
    max-width: 300px;
    text-align: center;
    align-items: center;
    background: url('/assets/storage/page/home/cloud1.png') no-repeat center center;
    background-size: contain;
    padding-right: 20px;
    padding-left: 20px;
}
.text-block-left p {
    margin: 0;
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
}

.text-block-left-m {
    display:none;
}

.navbar-item .button.login {
    outline: 1px solid #ffffff; 
    outline-offset: 3px;
}
/* ------------------ @Responsiveness ------------------ */

/* TABLET */
@media screen and (max-width: 1023px) {
    .title-home {
        font-size: 120px;
        line-height: 8rem;
        top: 110px;
    }
}

/* MOBILE */
@media screen and (max-width: 769px) {
    .title-home {
        font-size: 60px;
        line-height: 4rem;
        top: 65px;
    }
    .text-block-left {
        display: none;
    }
    .pull-m {
        height: 250px;
    }
    .text-block-right {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 100px;
        align-items: center;
        z-index: 10;
        width: 100%;
        text-align: center;
        background: url('/assets/storage/page/home/cloud1.png') no-repeat center center;
        background-size: contain;
        padding-right: 20px;
        padding-left: 20px;
    }
    .text-block-left-m {
        display: block;
        position: absolute;
        right: 20px;
        bottom: 14px;
        z-index: 10;
    }
    .island {
        margin-top: 60px;
    }
}