/* --- Variables & Reset --- */
:root {
    --color-cyan: #00c6ff;
    --color-pink: #ff007f;
    --color-yellow: #ffcc33;
    --color-green: #00D084;
    --bg-gradient: radial-gradient(circle at top right, #fdfbfb 0%, #ebedee 100%);
    --dark: #1a1a1a;
}

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

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--bg-gradient);
    min-height: 100vh;
}

/* --- Navigation --- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-pink), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent { color: var(--color-pink); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premier lien (Cyn) -> Vert */
.nav-links li:nth-child(1) a:hover {
    color: var(--color-green);
}

/* Deuxième lien (Développement) -> Bleu Cyan */
.nav-links li:nth-child(2) a:hover {
    color: var(--color-cyan);
}

/* Troisième lien (Collections) -> Rose */
.nav-links li:nth-child(3) a:hover {
    color: var(--color-pink);
}

/* Quatrième lien (Studio) -> Jaune/Orange */
.nav-links li:nth-child(4) a:hover {
    color: var(--color-yellow);
}

/* Cinquième lien (Contact) -> Vert */
.nav-links li:nth-child(5) a:hover {
    color: var(--color-green);
}

/* Premier lien (Cyn) : reste Vert si actif */
.nav-links li:nth-child(1) a.active {
    color: var(--color-green);
}

/* Deuxième lien (Développement) : reste Bleu si actif */
.nav-links li:nth-child(2) a.active {
    color: var(--color-cyan);
}

/* Troisième lien (Collections) : reste Rose si actif */
.nav-links li:nth-child(3) a.active {
    color: var(--color-pink);
}

/* Quatrième lien (Studio) : reste Jaune si actif */
.nav-links li:nth-child(4) a.active {
    color: var(--color-yellow);
}

/* Cinquième lien (Contact) : reste Vert si actif */
.nav-links li:nth-child(5) a.active {
    color: var(--color-green);
}
/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    margin-top: -50px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-cyan), var(--color-pink), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img2 {
    height: 300px;
    width: auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0px;
    margin-top: 20px;
    font-weight: bold;
    font-style: italic;
}

.hero-subtitle2 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: -50px;
    margin-top: 0px;
    font-style: italic;
}
.separator {
    border: none;               /* On enlève la bordure par défaut */
    height: 4px;                /* L'épaisseur de la ligne */
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        #00c6ff 20%, 
        #ff007f 50%, 
        #ffcc33 80%, 
        transparent 100%
    );
    border-radius: 50px;        /* Pour des bords arrondis et propres */
    margin: 2rem 0;             /* Un peu d'espace au-dessus et en dessous */
    width: 80%;                /* Prend toute la largeur */
    margin-top: -30px;
    margin-bottom: 0px;
    margin-left: auto;      /* Pousse l'élément vers la droite */
    margin-right: auto;     /* Pousse l'élément vers la gauche */
}


/* --- Grid & Cards --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    margin-bottom: -50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    position:relative;
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s all ease;
    display:flex;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 4px solid transparent; /* On crée l'espace pour la bordure en avance */
    background-clip: padding-box;  /* Empêche le fond blanc de recouvrir la bordure */
    transition: all 0.3s ease;
}

.card:hover {
    transform: none;
    /* Le dégradé CynSide s'applique sur toute la surface arrière */
    background-image: linear-gradient(white, white), 
                      linear-gradient(90deg, #00c6ff, #ff007f, #ffcc33);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    /* On retire l'ombre si on veut que seul le contour brille, ou on en met une légère */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.icon-cyan { background: #e0f7ff; color: var(--color-cyan); }
.icon-pink { background: #ffe6f2; color: var(--color-pink); }
.icon-yellow { background: #fff9e6; color: var(--color-yellow); }

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.card p { 
    color: #777; font-size: 1.05rem;
    text-align: center;}

.style-link-card {
    text-decoration: none; /* Enlève le soulignement */
    color: inherit;        /* Garde les couleurs d'origine du texte */
    display: flex;
    flex-direction: column;
    align-items: center;   /* Centre horizontalement l'icône et le texte */
    text-align: center;    /* Centre le texte à l'intérieur des paragraphes */
    width: 100%;
}

/* --- CODAGE --- */

.dev-intro {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -80px;
    margin-bottom: -60px;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: -20px;
    margin-top: 20px;
}

.dev-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
}


.dev-card-icon {
    font-size: 2rem;
    color: #0082a3;
    background: rgba(0, 130, 163, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.dev-card-text h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.dev-card-text p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* La barre des technos */
/* --- La barre des technos (Stack) --- */
.dev-stack-section {
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 1rem;
    margin-bottom: -70px;
}

.dev-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 1.5rem;
    background: white; /* Fond neutre pour le contraste */
    border-radius: 50px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stack-tag {
    font-family: 'Courier New', Courier, monospace; /* Look code */
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 18px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

/* Effet arc-en-ciel au survol : chaque tag prend une de tes 4 couleurs */
.stack-tag:nth-child(4n+1):hover { background: var(--color-cyan); color: white; transform: translateY(-5px); }
.stack-tag:nth-child(4n+2):hover { background: var(--color-pink); color: white; transform: translateY(-5px); }
.stack-tag:nth-child(4n+3):hover { background: var(--color-yellow); color: white; transform: translateY(-5px); }
.stack-tag:nth-child(4n+4):hover { background: var(--color-green); color: white; transform: translateY(-5px); }



/* Personnalisation des couleurs par carte dans la dev-grid */
.dev-card:nth-child(1) { border-bottom: 4px solid var(--color-cyan); }
.dev-card:nth-child(2) { border-bottom: 4px solid var(--color-pink); }
.dev-card:nth-child(3) { border-bottom: 4px solid var(--color-yellow); }
.dev-card:nth-child(4) { border-bottom: 4px solid var(--color-green); }

/* On change aussi la couleur de l'icône au survol */
.dev-card:nth-child(1):hover .dev-card-icon { color: var(--color-cyan); background: rgba(0, 198, 255, 0.1); }
.dev-card:nth-child(2):hover .dev-card-icon { color: var(--color-pink); background: rgba(255, 0, 127, 0.1); }
.dev-card:nth-child(3):hover .dev-card-icon { color: var(--color-yellow); background: rgba(255, 204, 51, 0.1); }
.dev-card:nth-child(4):hover .dev-card-icon { color: var(--color-green); background: rgba(0, 208, 132, 0.1); }

/* --- Sous-menu de la page Dev --- */
/* Container de la barre secondaire */
.sub-navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
    position: sticky;  /* La barre "colle" au scroll */
    top: 95px;           /* Se fixe tout en haut de la fenêtre */
    z-index: 90;
}

.sub-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* On centre les liens */
}

.sub-nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.sub-nav-links a {
    text-decoration: none;
    color: #777;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

/* Effet au survol des sous-liens */
.sub-nav-links a:hover {
    color: var(--color-cyan);
}

/* Petite barre multicolore sous le lien actif du sous-menu */
.sub-nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00c6ff, #ff007f);
    transition: width 0.3s ease;
}

.sub-nav-links a:hover::after {
    width: 100%;
}

/* --- État actif pour la sous-navigation --- */

/* 1. On fixe la couleur du texte pour le lien actif */
.sub-nav-links a.active {
    color: var(--color-cyan);
}

/* 2. On force la barre multicolore à rester visible (100%) */
.sub-nav-links a.active::after {
    width: 100%;
}

/* 3. Optionnel : On peut ajouter une petite lueur si tu veux accentuer l'effet */
.sub-nav-links a.active {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.2);
}

/* --- LE HALO DE LA PAGE CODAGE --- */
.dev-icon-halo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    
    /* Couleur de l'icône : Cyan pour le code */
    color: var(--color-cyan); 
    
    border-radius: 50%;
    border: 4px solid transparent;
    background: 
        linear-gradient(white, white) padding-box, 
        conic-gradient(var(--color-cyan), var(--color-pink), var(--color-yellow), var(--color-green), var(--color-cyan)) border-box;
}

/* PAGE PROJETS-PRO */

.pro-intro {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: -80px auto -60px;
}

.pro-intro h1 {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 800; /* Option A */
    color: #1e293b;
    margin-bottom: 1rem;
}

/* La carte prend du relief et un subtil reflet Cyan */
.pro-redirect-card {
    background: #ffffff;
    max-width: 500px;
    margin: 2rem auto -50px;
    padding: 2.5rem; /* Rééquilibrage du padding */
    border-radius: 2.5rem;
    text-align: center;
    
    /* Ombre Apple Premium avec une pointe de Cyan */
    border: 1px solid rgba(0, 198, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.05), 0 1px 3px rgba(0,0,0,0.02);
    
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Badge : On abandonne le gris triste pour un bleu/cyan ultra-frais et pro */
.pro-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(0, 198, 255, 0.08);
    color: #0099cc; /* Un beau bleu-cyan vif mais sérieux */
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800; /* Option A */
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 198, 255, 0.2);
}

.pro-redirect-card p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* L'aperçu du logo perd sa boîte grise opaque pour un effet "pastille en lévitation" */
.link-preview {
    background: #ffffff;   
    padding: 15px;
    border-radius: 24px;
    max-width: 140px;    
    margin: 1.5rem auto;   
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    display: flex;       
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

/* On enlève le grayscale pour laisser vivre les vraies couleurs de ton logo pro */
.pro-logo-preview {
    height: 90px;          
    width: auto;           
    transition: transform 0.3s ease;
}

/* Le bouton : On mixe ton Cyan fun avec un Bleu royal très tech */
.btn-pro {
    display: inline-flex; 
    align-items: center;  
    gap: 12px;            
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-cyan, #00c6ff), #0052d4); 
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800; /* Option A */
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 82, 212, 0.15);
    transition: all 0.3s ease;
}

/* --- EFFETS INTERACTIFS (LE PEPS EN ACTION) --- */

.pro-redirect-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 198, 255, 0.4);
    box-shadow: 0 30px 50px rgba(0, 198, 255, 0.12);
}

/* Le logo se met à flotter quand on survole la carte */
.pro-redirect-card:hover .link-preview {
    transform: scale(1.08) rotate(-2deg);
}

.btn-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 82, 212, 0.3);
    filter: brightness(1.1); /* Donne un coup d'éclat au survol */
}


/* APPLICATIONS */

.page-apps-header
{
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -80px;
    margin-bottom: -60px;
}

/* Grille responsive */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 1fr; /* FORCE toutes les lignes à avoir la même hauteur */
    gap: 2rem;
    gap: 2rem;
    padding: 2rem 0;
}

/* Style de la carte */
.app-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    align-items: center;    /* Centre tous les éléments horizontalement */
    text-align: center;      /* Centre le texte (titre et description) */
}

/* Icône de l'app */
.app-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-cyan);
    transition: all 0.3s ease;
}

/* Conteneur du logo */
.app-logo-container {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Pour que le logo ne dépasse pas des arrondis */
    border: 1px solid #f0f0f0; /* Une fine bordure pour détacher du fond blanc */
    transition: all 0.3s ease;
}

/* L'image du logo elle-même */
.app-logo-img {
    max-width: 100%;  /* Laisse un peu d'espace autour du logo */
    max-height: 100%;
    object-fit: contain; /* Garde les proportions sans déformer */
}

/* Effet au survol de la carte */
.app-card:hover .app-logo-container {
    transform: scale(1.1); /* Le logo "saute" légèrement aux yeux */
    border-color: var(--color-cyan);
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.1);
}

.app-card h3 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.app-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Les petits tags en bas */
.app-tag {
    display: inline-block;
    background: #eee;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: auto; /* Pousse le tag vers le bas */
}

/* EFFET HALO AU SURVOL (Multicolore) */
.app-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #00c6ff, #ff007f, #ffcc33);
    border-radius: 2rem;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover::before {
    opacity: 0.4;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card:hover .app-icon {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.2);
}


/* APPS Section */
.app-hero {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
    margin-top: -80px;
}

.app-hero-header {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.app-hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.app-hero-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.app-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.app-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.tag {
  background: rgba(0, 198, 255, 0.1); 
    color: #0082a3; /* Texte plus foncé pour le contraste */
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 198, 255, 0.2); /* Bordure fine */
}


/* Section Screenshots */
.app-screenshots {
    padding: 4rem 0;
    margin-bottom: -80px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-item {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

/* Tags spécifiques : Booky */
.tag-indigo {
    background: rgba(63, 81, 181, 0.1);
    color: #303f9f;
    border: 1px solid rgba(63, 81, 181, 0.2);
}

.tag-amber {
    background: rgba(255, 193, 7, 0.1);
    color: #ffa000;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Tags spécifiques : Collectio */
.tag-orange {
    background: rgba(255, 152, 0, 0.1);
    color: #e65100;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.tag-blue {
    background: rgba(3, 169, 244, 0.1);
    color: #01579b;
    border: 1px solid rgba(3, 169, 244, 0.2);
}

/* Tags spécifiques : Fidly */
.tag-pink {
    background: rgba(255, 0, 127, 0.1);
    color: #c20061;
    border: 1px solid rgba(255, 0, 127, 0.2);
}

.tag-cyan {
    background: rgba(0, 198, 255, 0.1);
    color: #0082a3;
    border: 1px solid rgba(0, 198, 255, 0.2);
}
/* Tags spécifiques : EspacesVerts */
.tag-green {
    background: rgba(46, 125, 50, 0.1);
    color: #1b5e20;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.tag-slate {
    background: rgba(71, 85, 105, 0.1);
    color: #334155;
    border: 1px solid rgba(71, 85, 105, 0.2);
}

/* Tags spécifiques : TeacherTracker */
.tag-violet {
    background: rgba(138, 43, 226, 0.1); /* BlueViolet */
    color: #6a1b9a;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.tag-teal {
    background: rgba(0, 150, 136, 0.1); /* Teal / Turquoise sombre */
    color: #00695c;
    border: 1px solid rgba(0, 150, 136, 0.2);
}

/* Tags spécifiques : PlaceMaker */
.tag-sky {
    background: rgba(0, 191, 255, 0.1); /* DeepSkyBlue pour le côté "Plan" */
    color: #007bb0;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.tag-graphite {
    background: rgba(84, 110, 122, 0.1); /* Blue Gray pour le côté "Crayon" */
    color: #37474f;
    border: 1px solid rgba(84, 110, 122, 0.2);
}


/* Bouton spécifique */
.btn-teacher {
    background: linear-gradient(90deg, #3f51b5, #5c6bc0);
}

.btn-teacher:hover {
    box-shadow: 0 10px 20px rgba(63, 81, 181, 0.3);
}

/* Icônes Features */
.app-features .feature-icon i {
    color: #3f51b5; /* Indigo pour TeacherTracker */
}

/* Style pour la section Features (si tu l'ajoutes) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    margin-bottom: -20px;
}

.feature-item {
    background: #fdfdfd;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #eee;
}

.feature-item i {
    font-size: 1.5rem;
    color: #ff9800; /* Une couleur orange pour Collectio */
    margin-bottom: 1rem;
}

/* --- CONTACT --- */

.contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -80px;
    margin-bottom: -60px;
}

/* Header de la page contact */
.contact-hero-pimped {
    text-align: center;
    padding: 4rem 0 3rem;
}

.contact-avatar-halo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-cyan);
    border-radius: 50%;
    border: 4px solid transparent;
    background: 
        linear-gradient(white, white) padding-box, 
        conic-gradient(var(--color-cyan), var(--color-pink), var(--color-yellow), var(--color-green), var(--color-cyan)) border-box;
}

/* Grille et Cartes */
.social-grid-pimped {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-card-new {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.social-icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.social-card-new h3 {
    font-family: 'Segoe UI', Roboto, sans-serif; /* Ta police principale */
    font-weight: 800; /* Très gras pour l'impact */
    font-size: 1.4rem;
    letter-spacing: -0.5px; /* On resserre un peu pour le style "bouton" */
    color: #1e293b;
    margin-bottom: 5px;
}

.social-card-new p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.social-action {
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Variantes de couleurs */
.card-cyan .social-icon-wrapper, .card-cyan .social-action { color: var(--color-cyan); }
.card-pink .social-icon-wrapper, .card-pink .social-action { color: var(--color-pink); }
.card-yellow .social-icon-wrapper, .card-yellow .social-action { color: var(--color-yellow); }

/* Effets au survol */
.social-card-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-cyan:hover { border-bottom: 6px solid var(--color-cyan); }
.card-pink:hover { border-bottom: 6px solid var(--color-pink); }
.card-yellow:hover { border-bottom: 6px solid var(--color-yellow); }

.social-card-new:hover .social-icon-wrapper {
    transform: scale(1.2) rotate(5deg);
}

/* Petit effet de reflet sur la carte */
.social-card-new::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.social-card-new:hover::after {
    opacity: 0.1;
}


/* Couleurs spécifiques aux réseaux */
.icon-email { background: rgba(0, 130, 163, 0.1); color: #0082a3; }
.icon-linkedin { background: rgba(0, 119, 181, 0.1); color: #0077b5; }
.icon-instagram { background: rgba(225, 48, 108, 0.1); color: #e1306c; }
.icon-apple { background: rgba(0, 0, 0, 0.05); color: #000; }
.icon-github { background: rgba(51, 51, 51, 0.1); color: #333; }
.icon-x { background: rgba(0, 0, 0, 0.05); color: #000; }



/* --- ABOUT CYN --- */

/* Header */
.about-hero-personal {
    text-align: center;
    padding: 5rem 0 3rem;
    margin-top: -80px;
}

.hero-profile-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
    /* On garde l'effet de profondeur de tes autres cartes */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pour que la photo ne soit pas déformée */
    border-radius: 30%; /* Look icône d'application moderne */
    border: 4px solid white; /* Cadre blanc pour faire ressortir la photo */
    background: white;
}

/* Petit effet au survol pour le côté "vivant" du site */
.hero-profile-img:hover {
    transform: scale(1.05) rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-circle {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 25px; /* Arrondi type icône App Store */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--color-cyan);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.about-hero-personal {
    text-align: center;
    padding: 5rem 0 3rem;
}

.hero-profile-cynside {
    width: 200px; /* On agrandit le cercle */
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: block;
    
    /* Épaisseur de la bordure augmentée pour mieux voir la fusion */
    border: 6px solid transparent; 
    
    background: 
        linear-gradient(white, white) padding-box, 
        conic-gradient(
            var(--color-cyan), 
            var(--color-pink), 
            var(--color-yellow), 
            var(--color-green), 
            var(--color-cyan) /* On revient au cyan pour fermer le cercle proprement */
        ) border-box;
    
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-profile-cynside:hover {
    transform: scale(1.08) rotate(10deg);
    /* Optionnel : on peut faire "briller" la bordure au survol */
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.2); 
}

/* Grille d'identité */
.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.identity-card {
    background: white;
    padding: 3rem 2rem 2rem;
    border-radius: 2rem;
    border: 1px solid #f0f0f0;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.identity-card:hover {
    transform: translateY(-8px);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 15px;
    border-radius: 50px;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.identity-card i {
    font-size: 2.5rem;
    color: #334155;
    margin-bottom: 1.5rem;
}

.identity-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.identity-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Quick Facts */
..identity-deck {
    padding: 4rem 0 10rem;
    text-align: center;
    overflow: hidden; /* Pour éviter les soucis avec les rotations */
}

.deck-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.identity-card-alt {
    width: 200px;
    height: 280px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    border: 2px dashed #eee; /* Un petit côté "timbre" ou "coupon" */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.identity-card-alt i { font-size: 2.5rem; }
.identity-card-alt span { font-weight: 800; font-size: 1.1rem; color: #1e293b; }
.identity-card-alt p { font-size: 0.85rem; color: #64748b; margin: 0 10px; }

/* Rotation des cartes pour l'aspect "moins sérieux" */
.card-prof { transform: rotate(-5deg); color: var(--color-cyan); }
.card-geek { transform: rotate(3deg); color: var(--color-pink); margin-top: 20px; }
.card-collect { transform: rotate(-2deg); color: var(--color-green); }
.card-place { transform: rotate(4deg); color: var(--color-yellow); margin-top: -10px; }

/* Animation au survol : la carte se remet droite et "monte" */
.identity-card-alt:hover {
    transform: rotate(0deg) translateY(-20px) scale(1.1);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: currentColor;
}

/* On réutilise la base précédente mais on personnalise les couleurs */

.card-poukie { 
    transform: rotate(-7deg); 
    color: var(--color-cyan); 
}

.card-series { 
    transform: rotate(4deg); 
    color: var(--color-pink); 
    margin-top: 25px; 
}

.card-books { 
    transform: rotate(-3deg); 
    color: var(--color-green); 
}

.card-plush { 
    transform: rotate(6deg); 
    color: var(--color-yellow); 
    margin-top: -15px; 
}

/* Style commun pour les cartes (rappel) */
.identity-card-alt {
    width: 200px;
    height: 280px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
}

.card-inner {
    flex: 1;
    border: 2px dashed #f0f0f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    gap: 12px;
}

.card-inner i { font-size: 2.8rem; }
.card-inner span { font-weight: 800; font-size: 1.1rem; color: #334155; }
.card-inner p { font-size: 0.85rem; color: #64748b; line-height: 1.4; }

.identity-card-alt:hover {
    transform: rotate(0deg) translateY(-25px) scale(1.05);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* --- PAGE STUDIO (SUNO) --- */

.studio-hero {
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: -80px;
}

.studio-icon-halo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-yellow);
    border-radius: 50%;
    border: 4px solid transparent;
    background: 
        linear-gradient(white, white) padding-box, 
        conic-gradient(var(--color-cyan), var(--color-pink), var(--color-yellow), var(--color-green), var(--color-cyan)) border-box;
}

.songs-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    margin-top: -20px;
}

.song-card {
    background: white;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 25px;
    gap: 2rem;
    transition: 0.3s;
    border: 1px solid #f1f5f9;
    position: relative;
}

.song-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.song-cover {
    width: 120px;
    height: 120px;
    position: relative;
    flex-shrink: 0;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: var(--song-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: 0.3s;
}

.song-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.song-details {
    flex-grow: 1;
}

.song-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--song-color);
    background: rgba(0,0,0,0.03);
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.song-details h3 {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 800; /* Option A comme demandé */
    font-size: 1.3rem;
    margin: 5px 0;
    color: #1e293b;
}

/* Simulation de Waveform pour le look "Audio" */
.fake-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    margin-top: 15px;
}

.fake-waveform span {
    width: 3px;
    background: #e2e8f0;
    border-radius: 50px;
}

/* On donne des hauteurs différentes aux barres pour l'effet audio */
.fake-waveform span:nth-child(1) { height: 10px; }
.fake-waveform span:nth-child(2) { height: 18px; }
.fake-waveform span:nth-child(3) { height: 14px; }
.fake-waveform span:nth-child(4) { height: 20px; }

.song-card:hover .fake-waveform span {
    background: var(--song-color);
}

/* --- FOOTER LEGAL STUDIO (VERSION 3 LIGNES) --- */
.studio-legal-footer {
    margin: 4rem auto 2rem;
    max-width: 650px; /* Légèrement plus étroit pour l'élégance */
    padding: 0 1.5rem;
}

.legal-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.5rem 1.5rem; /* Padding réduit en haut/bas car géré par les items */
    display: flex;
    flex-direction: column;
}

.legal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 0;
}

/* On ajoute une ligne de séparation sauf pour le dernier élément */
.legal-item:not(:last-child) {
    border-bottom: 1px solid #edf2f7;
}

.legal-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Tes couleurs CynSide */
.legal-icon.cyan { background: rgba(0, 198, 255, 0.1); color: var(--color-cyan); }
.legal-icon.pink { background: rgba(255, 0, 127, 0.1); color: var(--color-pink); }
.legal-icon.yellow { background: rgba(255, 204, 51, 0.1); color: var(--color-yellow); }

.legal-item p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.4;
}

.legal-item strong {
    color: #1e293b;
}



/* --- COLLECTIONS - EN CONSTRUCTION --- */

/* Container principal */
.construction-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 2rem;
}

/* Badge de statut au-dessus de la photo */
.profile-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.status-badge {
    position: absolute;
    bottom: 10px;
    right: -10px;
    background: var(--color-yellow);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Ta bordure fusionnée agrandie */
.hero-profile-cynside {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid transparent;
    background: 
        linear-gradient(white, white) padding-box, 
        conic-gradient(
            var(--color-cyan), 
            var(--color-pink), 
            var(--color-yellow), 
            var(--color-green), 
            var(--color-cyan)
        ) border-box;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.construction-text {
    max-width: 600px;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Mini grille de teasing */
.coming-soon-grid {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.coming-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--item-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.coming-item i, .coming-item span {
    font-size: 1.8rem;
}

/* Bouton retour */
.back-button {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    border-radius: 100px;
    transition: 0.3s;
}

.back-button:hover {
    background: #f8fafc;
    color: var(--color-cyan);
    border-color: var(--color-cyan);
}

.unpacking-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    padding: 3rem;
    flex-wrap: wrap;
}

/* La Checklist style "bloc-notes" */
.packing-list {
    background: #fffdf0; /* Jaune papier très pâle */
    padding: 2rem;
    box-shadow: 5px 5px 0px var(--color-yellow);
    border: 1px solid #eee;
    transform: rotate(-2deg);
    min-width: 300px;
}

.packing-list h3 {
    font-family: 'Comfortaa', cursive;
    margin-bottom: 1.5rem;
    color: var(--color-pink);
    border-bottom: 2px dashed #ddd;
}

.packing-list ul { list-style: none; padding: 0; }

.packing-list li {
    font-family: 'Afacad Flux', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checked { color: var(--color-green); text-decoration: line-through; opacity: 0.7; }
.waiting { color: #64748b; }
.cat-special { color: var(--color-cyan); font-weight: bold; margin-top: 2rem; }

/* Les boîtes graphiques */
.storage-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.box {
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.box i { font-size: 2.5rem; margin-bottom: 10px; }

/* Couleurs des boîtes */
.box.cyan { background: var(--color-cyan); transform: translateY(10px); }
.box.pink { background: var(--color-pink); transform: rotate(5deg); }
.box.yellow { background: var(--color-yellow); transform: rotate(-5deg); }
.box.green { background: var(--color-green); transform: translateY(-10px); }

.box:hover {
    transform: scale(1.1) rotate(0deg) !important;
}

/* --- PAGE COLLECTIONS (PORTAIL) --- */

.collections-hero {
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: -80px;
    margin-bottom: -20px;
}

.collections-icon-halo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-pink);
    border-radius: 50%;
    border: 4px solid transparent;
    background: 
        linear-gradient(white, white) padding-box, 
        conic-gradient(var(--color-cyan), var(--color-pink), var(--color-yellow), var(--color-green), var(--color-cyan)) border-box;
}

.collections-gateways {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    margin: 2rem auto 4rem;
    max-width: 1000px;
    margin-top: -20px;
}

.gateway-card {
    background: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.gateway-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: 0.3s;
}

/* Couleurs de fond pour les zones d'image */
.card-cyan .gateway-image { background: rgba(0, 198, 255, 0.05); color: var(--color-cyan); }
.card-pink .gateway-image { background: rgba(255, 0, 127, 0.05); color: var(--color-pink); }
.card-green .gateway-image { background: rgba(0, 255, 127, 0.05); color: var(--color-green); }

.gateway-info {
    padding: 2rem;
    text-align: center;
}

.gateway-info h3 {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 800; /* Option A */
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.gateway-info p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.gateway-link {
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

/* --- LE SECRET DU CONTRASTE : Un fond coloré très subtil pour chaque carte --- */
.gateway-card.card-cyan {
    background: linear-gradient(180deg, #ffffff 0%, rgba(0, 198, 255, 0.02) 100%);
}

.gateway-card.card-pink {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 0, 127, 0.02) 100%);
}

.gateway-card.card-green {
    background: linear-gradient(180deg, #ffffff 0%, rgba(0, 255, 127, 0.02) 100%);
}

/* --- EFFET AU SURVOL (L'effet "Wouah") --- */
.gateway-card:hover {
    transform: translateY(-10px); /* La carte s'élève */
}

/* L'ombre devient intense et prend la couleur de la carte au survol */
.gateway-card.card-cyan:hover {
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 20px 35px rgba(0, 198, 255, 0.12);
}

.gateway-card.card-pink:hover {
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 20px 35px rgba(255, 0, 127, 0.12);
}

.gateway-card.card-green:hover {
    border-color: rgba(0, 255, 127, 0.3);
    box-shadow: 0 20px 35px rgba(0, 255, 127, 0.12);
}

/* Animation de l'icône à l'intérieur au survol */
.gateway-card:hover .gateway-image i {
    transform: scale(1.15) rotate(5deg);
    transition: transform 0.3s ease;
}


.card-cyan .gateway-link { color: var(--color-cyan); }
.card-pink .gateway-link { color: var(--color-pink); }
.card-green .gateway-link { color: var(--color-green); }




/* --- Footer --- */
.footer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: row;    /* Aligne le logo et le texte côte à côte */
    align-items: center;    /* Aligne verticalement le texte au milieu du logo */
    gap: 5px;              /* Espace entre le logo et le texte */
}

.footer .logo-img {
    height: 40px;           /* On réduit un peu la taille pour le footer */
    width: auto;
}

.footer p {
    margin: 0;              /* Enlève les marges par défaut qui pourraient décaler le texte */
}

.separator-short {
    border: none;               /* On enlève la bordure par défaut */
    height: 3px;                /* L'épaisseur de la ligne */
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        #00c6ff 20%, 
        #ff007f 50%, 
        #ffcc33 80%, 
        transparent 100%
    );
    border-radius: 50px;        /* Pour des bords arrondis et propres */
    margin: 2rem 0;             /* Un peu d'espace au-dessus et en dessous */
    width: 30%;                /* Prend toute la largeur */
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: auto;      /* Pousse l'élément vers la droite */
    margin-right: auto;     /* Pousse l'élément vers la gauche */
}


/* --- Responsive --- */

/* --- OPTIMISATION MOBILE GLOBALE --- */

@media (max-width: 768px) {
    /* 1. Ajustement des textes Hero */
    .hero {
        padding: 4rem 1.5rem;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2.5rem; /* Réduction du titre géant */
        margin-bottom: 1.5rem;
    }

    .logo-img2 {
        height: 180px; /* Logo plus petit sur mobile */
    }

    .hero-subtitle, .hero-subtitle2 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    /* 2. Navigation Mobile Simplifiée */
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .logo-text {
        font-size: 1.5rem;
    }


    /* 3. Sections et Grilles */
    .container, .container2 {
        padding: 2rem 1rem;
    }

    .grid, .apps-grid, .dev-grid, .social-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 1.5rem;
    }

    .card, .dev-card, .app-card, .social-card {
        padding: 2rem 1.5rem;
    }

    /* 4. Spécificités Page "About" (Cyn) */
    .about-hero-personal {
        padding: 3rem 1rem;
    }

    .hero-profile-cynside {
        width: 150px;
        height: 150px;
    }

    /* 5. Le "Coming Soon" asymétrique */
    .unpacking-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 1rem;
    }

    .packing-list {
        width: 100%;
        min-width: unset;
        transform: rotate(0deg); /* On remet droit pour faciliter la lecture */
    }

    .storage-boxes {
        grid-template-columns: 1fr 1fr; /* Garde 2 colonnes pour les boîtes */
        width: 100%;
    }

    .box {
        width: 100%; /* Les boîtes prennent toute la place dispo */
        height: 120px;
    }

    /* 6. Ajustements des Projets Pro */
    .app-hero-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .app-hero-logo {
        width: 100px;
        height: 100px;
    }

    .app-hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .unpacking-container { flex-direction: column; align-items: center; }
}

/* Correction pour les très petits écrans (iPhone SE, etc.) */
@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* Responsive : on retire les arrondis trop larges sur mobile */
@media (max-width: 768px) {
    .dev-stack {
        border-radius: 20px;
        padding: 1rem;
    }

    /* --- ADAPTATION MOBILE STUDIO --- */

@media (max-width: 768px) {
    .studio-hero {
        padding: 2rem 1.5rem;
    }

    .studio-hero h1 {
        font-size: 2.2rem; /* Réduction du titre */
    }

    .songs-grid {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .song-card {
        flex-direction: column; /* L'image passe au dessus du texte */
        padding: 1rem;
        gap: 1rem;
        text-align: center;
        border-radius: 20px;
    }

    .song-cover {
        width: 100%; /* L'image prend toute la largeur */
        height: 250px; /* On lui donne une hauteur fixe sympa */
        max-width: 300px; /* Mais on ne l'étire pas trop non plus */
        margin: 0 auto;
    }

    .song-cover img {
        border-radius: 12px;
    }

    .song-details {
        width: 100%;
    }

    .song-details h3 {
        font-size: 1.4rem;
        margin-top: 10px;
    }

    .fake-waveform {
        justify-content: center; /* On centre la barre audio */
        margin-bottom: 10px;
    }

    /* On rend le bouton play plus gros pour les doigts sur smartphone */
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Correction pour les écrans très étroits */
@media (max-width: 480px) {
    .song-cover {
        height: 180px;
    }
}

@media (max-width: 768px) {
    /* On force le conteneur à ne pas aller à la ligne */
    .nav-links {
        display: flex !important; /* On s'assure qu'il est visible */
        overflow-x: auto;         /* Permet le scroll horizontal */
        white-space: nowrap;      /* Empêche le retour à la ligne des mots */
        width: 100%;
        padding: 10px 0;
        gap: 15px;                /* Espace entre les liens */
        scrollbar-width: none;    /* Cache la barre de scroll sur Firefox */
        -webkit-overflow-scrolling: touch; /* Scroll fluide sur iPhone */
    }

    /* Cache la barre de scroll sur Chrome/Safari */
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        font-size: 0.85rem;
        display: inline-block;
        flex-shrink: 0;           /* Empêche les liens de s'écraser */
    }
}

/* Ajustement mobile pour le texte */
@media (max-width: 600px) {
    .legal-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .song-card { flex-direction: column; text-align: center; }
    .song-cover { width: 100%; height: 200px; }
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .collections-gateways {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
    
    .gateway-image {
        height: 140px;
    }
}
