:root {
    --bg-color: #ffffff;
    --text-color: #333;
    --accent-color: #f8f9fa;
    --border-color: #e0e0e0;
    --nav-height: 60px;
}
@font-face {
    font-family: 'Bambino';
    src: url("../font/Bambino-Light.ttf") format("truetype");
}
@font-face {
	font-family: 'Bambino1';
	src:   url("../font/Bambino-Extra-Light.ttf") format("truetype")
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
/*    cursor: none; */    
    font-family: "Bambino";
    overflow-x: hidden;
    min-height: 100%;
}


a:link, a:visited {
    text-decoration: none;
    color: #1D1D1D;
}




.circle {
    z-index: 5;
    position: absolute;
    pointer-events: none;
   
    top: 0px;
    left: 0px;
    background-color: #32964a;
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    transition: width 0.2s ease, height 0.2s ease;
}



header {
    position: sticky;
    width: 100%;
    height: 750px;
    z-index: 4;
   
}
body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: var(--text-color);
}

/* Navigation Sticky */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.nav-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.btn-back {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #000;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #000;
    color: #fff;
}

.nav-title {
    font-weight: bold;
}

/* Container Principal */
.container {
    max-width: 850px;
    margin: 20px auto;
    background: #fff;
    padding: 0 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Sections et Délimitations */
.section {
    padding: 60px 0;
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-block {
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 3px solid #eee; /* Délimitation visuelle du texte */
}

/* Gestion des images (Plus petites) */
.image-container {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.small-img {
    max-width: 90%; /* L'image ne prend que 80% de son container */
    height: auto;

}

.image-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.image-grid-small img {
    max-width: 100%;
    border-radius: 4px;
}

.dark-mockup {
    background-color: #1a1a1a;
}

.bg-light {
    background-color: #fdfdfd;
}
.video-as-image {
    /* Mêmes contraintes que vos images précédentes */
    max-width: 80%; 
    height: auto;
    display: block;
    margin: 0 auto;
    
    /* Optionnel : pour garder un ratio précis ou remplir le container */
    object-fit: cover; 
    border-radius: 8px;

}

/* Si vous voulez qu'elle soit dans un bloc sombre comme vos mockups web */
.dark-mockup .video-as-image {
    max-width: 90%;

}

/* Utilitaires */
.mt-40 { margin-top: 40px; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid #eee;
}
h3 {
    display: block;
    font-size: 1.50em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.arrow-link {
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.arrow-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.arrow-link:hover {
    color: #000;
    gap: 15px; /* L'espace augmente au survol */
}

.arrow-link:hover::after {
    transform: translateX(5px); /* La flèche bouge vers la droite */
}

.figma-link {
    display: inline-flex;
    align-items: center; /* Aligne l'icône et le texte sur la même ligne */
    gap: 8px;            /* Espace entre l'icône et le texte */
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.figma-icon {
    width: 14px;         /* Taille de l'icône adaptée au texte */
    height: auto;
    transition: transform 0.3s ease;
}

/* Effet au survol */
.figma-link:hover {
    color: #000;
}

.figma-link:hover .figma-icon {
    transform: scale(1.2); /* L'icône grossit légèrement au survol */
}

.figma-link:hover span {
    border-bottom: 1px solid #000; /* Le soulignement n'apparaît que sous le texte */
}

@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .small-img { max-width: 100%; }
}

/* --- Styles spécifiques à la mise en page éditoriale --- */

.content-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.text-side {
    flex: 1; /* Prend environ la moitié de la largeur */
}

.image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-side img {
    max-width: 100%;
    height: auto;
}

.content-stack {
    margin-bottom: 80px;
}

.text-full {
    margin-bottom: 25px;
    padding-left: 10px;
}

.image-display-center {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* Taille des images pour correspondre à la capture */
.medium-img {
    max-width: 70%; /* Légèrement plus petit pour l'élégance */
    height: auto;
}

/* Typographie inspirée de l'image */
h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #111;
}

p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    text-align: justify; /* Pour l'aspect bloc de texte propre */
}

/* Responsive : sur mobile, tout se met l'un sous l'autre */
@media (max-width: 768px) {
    .content-split {
        flex-direction: column;
    }
    .medium-img {
        max-width: 100%;
    }
}

.image-grid-3 {
    display: flex;          /* Active l'alignement horizontal */
    gap: 20px;             /* Espace entre les images */
    margin: 40px 0;        /* Espace au-dessus et en dessous de la grille */
    width: 100%;           /* Utilise toute la largeur disponible */
}

.grid-item {
    flex: 1;               /* Force les 3 colonnes à avoir exactement la même largeur */
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item img {
    width: 100%;           /* L'image s'adapte à sa colonne */
    height: auto;          /* Garde les proportions */
    border-radius: 4px;    /* Optionnel : petit arrondi pour le style */
    transition: transform 0.3s ease; /* Prépare un petit effet au survol */
}

/* Petit effet au survol pour montrer l'interaction */
.grid-item img:hover {
    transform: scale(1.02);
}

/* --- Responsive : Mobile --- */
@media (max-width: 768px) {
    .image-grid-3 {
        flex-direction: column; /* Empile les images sur téléphone */
        gap: 15px;
    }
}



/* --- Mise en page Pinterest --- */
.pinterest-gallery {
    column-count: 3;
    column-gap: 20px;
    column-fill: balance;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 0; 
}

.gallery-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #f0f0f0;
    break-inside: avoid; /* Évite de couper l'image entre 2 colonnes */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Overlay & Animation --- */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.legend-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0 15px;
    text-align: center;
    border-bottom: 1px solid white;
    padding-bottom: 8px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover .legend-text { transform: translateY(0); }
.gallery-item:hover img { transform: scale(1.1); }

/* --- Footer & Responsive --- */
.footer {
    padding: 40px 0;
    text-align: center;
}

@media (max-width: 900px) { .pinterest-gallery { column-count: 2; } }
@media (max-width: 600px) { .pinterest-gallery { column-count: 1; } }

/* Classe pour que la vidéo se comporte comme une image de la galerie */
.video-gif {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Assure que la vidéo remplit bien son espace */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* On applique le même effet de zoom au survol que pour tes images */
.gallery-item:hover .video-gif {
    transform: scale(1.1);
}