/* Pages Spécifiques et Composants Communs */

.header-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 40px;
    transition: top 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphone-float-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iphoneFloat 4s ease-in-out infinite;
    z-index: 50; /* Augmenté pour être sûr de passer devant tout */
    margin-top: 80px;
}

/* NOTE: .portfolio-video-vertical est géré via .gsap-video ci-dessous */

@keyframes iphoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.sound-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: 175px; /* Déplacé sur le bord DROIT extérieur du téléphone */
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 100;
}

/* Ajustement mobile pour le bouton son */
@media (max-width: 768px) {
    .sound-btn {
        margin-left: 0; /* Centré ou proche sur mobile ? */
        left: auto;
        right: 20px;
        bottom: 25px;
        width: 40px;
        height: 40px;
    }
}

.sound-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px var(--accent-violet);
}

.speaker-icon {
    width: 20px;
    height: 20px;
}

.sound-btn.is-muted .speaker-icon {
    opacity: 0.5;
}

/* Zigzag Laser Path Background */
.laser-path-svg {
    position: absolute; /* Reste lié au scroll global en fond */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Couvre toute la hauteur */
    z-index: -1; /* Derrière TOUT, même le background */
    pointer-events: none;
    opacity: 0.6; /* Plus discret et atmosphérique */
}

#laser-path {
    stroke: var(--accent-violet);
    stroke-width: 1.5px; /* Équilibre parfait entre finesse et visibilité */
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    stroke-linecap: round;
    /* Effet 3D via des lueurs superposées */
    filter: 
        drop-shadow(0 0 2px #fff) 
        drop-shadow(0 0 5px var(--accent-violet))
        drop-shadow(0 0 15px var(--accent-violet));
}

/* Page content */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

/* Timeline globale animée (derrière tout le contenu) */
.global-timeline-bg {
    position: fixed;
    top: -5px; /* Pour cacher la ligne jaune */
    left: 0;
    width: 100vw;
    height: 300vh;
    background: url("../exemple vidéos/time line.png") center top;
    background-size: cover;
    opacity: 0.2;
    filter: blur(8px);
    z-index: -1;
    animation: slideDownGlobal 30s linear infinite;
    pointer-events: none;
}

/* Photo cinématique (Alexandre à son poste) en arrière-plan du Hero */
.hero-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140vh;
    background: url('../assets/images/hero-background.jpg') center 10% / cover no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: -10; /* Descendu plus profondément */
    mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
}


@keyframes slideDownGlobal {
    0% { transform: translateY(-33.33%); }
    100% { transform: translateY(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.glow-orb {
    position: absolute;
    width: 60vh;
    height: 60vh;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
    animation: drift 10s infinite alternate ease-in-out;
}

.orb-violet {
    background: var(--accent-violet);
    top: 10%;
    left: 20%;
}

.orb-bleu {
    background: var(--accent-bleu);
    top: 20%;
    right: 20%;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.2); }
}

/* Section titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-violet), var(--accent-bleu));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Portfolio Grid */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

/* Base Card transition */
.portfolio-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    position: relative;
}

/* Horizontal Video Cards */
.video-card {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    line-height: 0;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.portfolio-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

/* CSS Phone Mockup */
.css-iphone {
    position: relative;
    width: 320px;
    height: 570px; /* Format 9:16 pour éviter le crop latéral sur cover */
    border: 14px solid #1a1a1a;
    border-radius: 50px;
    background: #000;
    box-shadow: 
        inset 0 0 10px rgba(255,255,255,0.1),
        0 0 0 2px #333,
        0 20px 60px rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    overflow: hidden;
    transform: translateZ(0); /* Hardware accel & prevent clip bleed */
    z-index: 10; /* Assure que le téléphone passe devant l'image timeline */
}

/* Dynamic Island */
.css-iphone::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.portfolio-video-vertical {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Skills Grid */
.skills-section {
    padding: 80px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-bleu);
}

.skill-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Animations 3D flottantes pour cartes */
.float-1 { animation: float1 6s ease-in-out infinite; }
.float-2 { animation: float1 6s ease-in-out infinite 2s; }
.float-3 { animation: float1 6s ease-in-out infinite 4s; }

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.skill-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 206, 209, 0.2);
    border-color: rgba(0, 206, 209, 0.4);
}

/* GSAP Pin Section */
.pin-section {
    position: relative;
    width: 100%;
    height: 700vh; 
    background: transparent;
}

.pin-container {
    position: sticky;
    top: 0;
    height: 100vh; /* Garder l'écran dans la vue au centre */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px; /* Ajout d'une perspective pour l'effet 3D */
}

/* Labels Vidéos Flottants */
.video-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    opacity: 0;
    font-size: 2.2rem;
    color: #ffffff; /* Forcé en blanc */
    white-space: nowrap;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.9), 0 0 15px var(--accent-violet);
    pointer-events: none;
}

.video-label svg {
    color: var(--accent-violet);
    filter: drop-shadow(0 0 5px var(--accent-violet));
}

/* Placements asymétriques pour chaque label (Desktop) */
.v1-label {
    top: 25%;
    right: 50%;
    margin-right: 180px; /* Gauche du téléphone */
}
.v1-label svg {
    transform: rotate(30deg); 
}

.v2-label {
    top: 65%;
    left: 50%;
    margin-left: 170px; /* Droite du téléphone */
    flex-direction: row-reverse;
}
.v2-label svg {
    transform: scaleX(-1) rotate(20deg);
}

.v3-label {
    top: 30%;
    left: 50%;
    margin-left: 180px; /* Droite du téléphone */
    flex-direction: row-reverse;
}
.v3-label svg {
    transform: scaleX(-1) rotate(50deg);
}

.v4-label {
    top: 55%;
    right: 50%;
    margin-right: 170px; /* Gauche du téléphone */
}
.v4-label svg {
    transform: rotate(-10deg);
}



/* Background Overlays */
.bg-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.dust-scratch {
    mix-blend-mode: screen; /* Le super black background devient transparent */
    opacity: 0.49; /* Réduit de 30% (était 0.7) */
    z-index: 2;
    pointer-events: none; /* Ne bloque pas le clic */
}

.gsap-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
}

.gsap-video.v1 {
    opacity: 1; /* Seule la 1ère est visible au chargement */
}

/* Alias pour compatibilité (vidéos verticales dans le téléphone) */
.portfolio-video-vertical.gsap-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Realizations Section Split Layout - V2 */
.realizations-container-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Réduit de 70% (était 40px) */
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.case-study-row {
    display: flex;
    align-items: center; /* Aligne verticalement le texte avec le milieu de la vidéo */
    gap: 150px; 
    width: 100%;
    margin-bottom: 30px; /* Espace équilibré par défaut */
}

.row-bottom {
    margin-top: -150px; /* Rapproche radicalement les deux vidéos verticalement */
    z-index: 10;
}

.case-study-text {
    flex: 1;
    max-width: 450px;
}

.case-study-visual {
    flex: 1;
    display: flex;
    justify-content: flex-start; 
    position: relative;
    transform: translateX(0); /* On remet à 0 pour laisser les textes sortir proprement */
}

.realizations-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin: 0;
}


/* Wrappers Vidéo Uniformes - Rapprochement Horizontal */
.v-montage-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16 / 9;
    z-index: 5;
    transform: translateX(-5%); /* Rapproché de l'axe central (était -15%) */
}

.v-brut-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16 / 9;
    z-index: 5;
    transform: translateX(10px); /* Rapproché de l'axe central (était 60px) */
}

.v-montage-card-wrapper .portfolio-card,
.v-brut-card-wrapper .portfolio-card {
    height: 100%;
    position: relative;
    z-index: 2;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Labels Script Flottants TRÈS LOIN des vidéos pour ne pas les toucher */
.video-label.v-montage-label-v2 {
    opacity: 1;
    position: absolute;
    top: 50%;
    right: -300px; /* Repoussé massivement pour laisser un espace vide */
    transform: translateY(-50%);
    font-size: 1.8rem;
    z-index: 10;
    white-space: nowrap;
}

.video-label.v-brut-label-v2 {
    opacity: 1;
    position: absolute;
    top: 50%;
    left: -300px; /* Repoussé massivement pour laisser un espace vide */
    transform: translateY(-50%);
    font-size: 1.8rem;
    z-index: 10;
    white-space: nowrap;
}

/* Responsive Mobile */
@media (max-width: 992px) {
    .case-study-row {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }

    .row-top { flex-direction: column !important; }
    .row-top .case-study-text { order: 1; }
    .row-top .case-study-visual { order: 2; }

    .row-bottom { flex-direction: column !important; }
    .row-bottom .case-study-visual { order: 3; } /* Ordre demandé : Titre > V1 > P1 > V2 > P2 */
    .row-bottom .case-study-text { order: 4; }

    .row-bottom .text-group-v2 {
        padding-left: 0;
    }

    .video-label.v-montage-label-v2,
    .video-label.v-brut-label-v2 {
        position: static;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        display: flex;
    }
}

.sync-button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sync-button-container .btn-primary {
    padding: 16px 40px;
    font-size: 1rem;
    min-width: 280px;
}

.sound-btn-circle {
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sound-btn-circle:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
    border-color: var(--accent-violet);
    box-shadow: 0 0 15px var(--accent-violet);
}

.sound-btn-circle.is-muted svg {
    opacity: 0.5;
}

.small-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
    border-color: var(--accent-violet);
}

@media (max-width: 992px) {
    .realizations-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .realizations-content-left .section-title::after {
        margin: 15px auto 0;
    }

    .videos-comparison-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Section À Propos */
.about-section {
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 2;
}

/* Overlay noir semi-opaque pour la lisibilité */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: -1;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start; /* Aligne en haut pour un look plus pro */
}

.about-image-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    line-height: 0;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.5),
        0 0 30px rgba(161, 75, 240, 0.15),
        0 0 60px rgba(161, 75, 240, 0.08);
    width: 100%;
}

.about-trust-content {
    width: 100%;
    padding-left: 20px;
}

.about-trust-content .trust-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.about-trust-content .trust-list {
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Tout le texte aligné à gauche */
.about-text {
    text-align: left;
}

.about-text .section-title::after {
    margin-left: 0; /* Soulignement aligné à gauche */
    margin-right: auto;
}

.about-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

/* Phrase-clé en évidence */
.highlight-cyan {
    font-size: 1.5rem !important;
    color: var(--accent-bleu) !important;
    font-weight: 500;
    margin-bottom: 20px !important;
}

/* Titre Confiance */
.trust-title {
    color: var(--accent-bleu);
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Liste de confiance – puces discrètes */
.trust-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 0 35px 0;
}

.trust-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trust-list .bullet {
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1.8;
}

/* Animations fade-in */
.about-text p, .about-text h2, .about-text h3, .about-text ul, .about-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: antigravityFadeIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.about-text p:nth-child(2) { animation-delay: 0.1s; }
.about-text .highlight-cyan { animation-delay: 0.25s; }
.about-text p:nth-child(4) { animation-delay: 0.4s; }
.about-text p:nth-child(5) { animation-delay: 0.55s; }
.about-text p:nth-child(6) { animation-delay: 0.7s; }
.about-text h3 { animation-delay: 0.85s; }
.about-text ul { animation-delay: 1s; }
.about-cta { animation-delay: 1.15s; }

@keyframes antigravityFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text ul li strong {
    color: #fff;
    margin-right: 5px;
}

.about-text ul li span {
    color: rgba(255,255,255,0.7);
}

/* Bloc CTA aligné à gauche */
.about-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 40px;
}

.about-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* LinkedIn agrandi */
.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(10, 102, 194, 0.1);
    border: 1px solid rgba(10, 102, 194, 0.3);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.linkedin-btn:hover {
    background: #0077b5; /* Bleu officiel LinkedIn */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.3);
    border-color: transparent;
    color: #fff !important;
}

.linkedin-btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
}

.footer-legal {
    margin: 20px 0 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-violet);
    text-shadow: 0 0 10px var(--accent-violet);
}

.footer-legal .separator {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    .footer-legal .separator {
        display: none;
    }
}

.footer-bottom {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Responsive Pages */
@media (max-width: 768px) {
    .header-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        width: 95%;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .footer-contact h2 {
        font-size: 2rem;
    }
    
    .css-iphone {
        width: 280px;
        height: 498px; /* Format exact 9:16 */
    }
    
    .video-label {
        font-size: 1.5rem;
        right: auto;
        left: 50%;
        margin-right: 0;
        margin-left: 0;
        transform: translateX(-50%) !important;
        flex-direction: column !important;
        align-items: center;
    }
    
    .v1-label, .v3-label {
        top: 8%;
    }
    .v1-label svg, .v3-label svg {
        transform: rotate(90deg) !important;
    }

    .v2-label, .v4-label {
        top: auto;
        bottom: 8%;
        flex-direction: column-reverse !important;
    }
    .v2-label svg, .v4-label svg {
        transform: rotate(-90deg) scaleX(-1) !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Section Création Web - Design Aérien */
.web-creation-section {
    padding: 120px 0;
    position: relative;
    z-index: 5;
    text-align: center;
}

.web-creation-container {
    max-width: 900px;
}

.web-creation-content .section-title {
    margin-bottom: 0;
    font-size: 3rem;
}

.violet-separator {
    width: 60px;
    height: 3px;
    background: var(--accent-violet);
    margin: 20px auto 40px;
    border-radius: 2px;
}

.web-creation-subtitle {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.4;
}

.web-creation-body {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 50px;
}

.web-creation-sectors {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.sector-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sector-icon {
    font-size: 2rem;
    background: rgba(161, 75, 240, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(161, 75, 240, 0.2);
    transition: all 0.3s ease;
}

.sector-chip:hover .sector-icon {
    transform: translateY(-5px);
    background: rgba(161, 75, 240, 0.2);
    box-shadow: 0 10px 20px rgba(161, 75, 240, 0.2);
}

.sector-chip span:not(.sector-icon) {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.web-creation-proof {
    font-size: 1.8rem;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .web-creation-content .section-title {
        font-size: 2.2rem;
    }
    .web-creation-sectors {
        gap: 20px;
    }
}


/* Mini Expertise sous le téléphone (Scrolly) */
.expertise-mini {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 250px;
}

.expertise-mini span {
    display: block;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.social-icons-mini {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.social-icons-mini img {
    height: 30px;
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
}

.social-icons-mini img.insta-icon-lg {
    height: 45px; /* Agrandit de 50% (30px * 1.5) */
}

.social-icons-mini img:hover {
    filter: brightness(1.5) opacity(1);
    transform: scale(1.1);
}


/* Logo YouTube décoratif sur l'arc (Étude de Cas) */
.yt-decor-logo {
    position: absolute;
    right: -80px; /* Rapproche du bord de la vidéo */
    top: 50%;
    transform: translateY(-50%);
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(161, 75, 240, 0.4));
    opacity: 0.8;
    z-index: 15;
}

@media (max-width: 1200px) {
    .yt-decor-logo {
        display: none; /* Cache sur petits écrans pour éviter l'overflow horizontal */
    }
}


/* Headers de sections thématiques (Vertical / Horizontal) */
.row-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    width: 100%;
}

.vertical-header {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.horizontal-header {
    margin-bottom: 30px;
    text-align: center;
}

.header-label {
    font-family: var(--font-title); /* Montserrat */
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-logos-row {
    display: flex;
    gap: 50px; /* 50px de part et d'autre d'Instagram */
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4)); /* Lueur blanche subtile type téléphone */
}

/* TikTok et Facebook ont la même largeur fixe pour que 
   le centre d'Instagram coïncide exactement avec le centre du titre */
.header-logo-tt {
    width: 80px;
    object-fit: contain;
    transform: scale(1.3); /* Augmenté de 10% par rapport au scale(1.2) précédent */
}

.header-logo-lg {
    height: 60px; /* Instagram */
}

.header-logo-fb {
    height: 66px; /* +10% vs Instagram */
    width: 80px;  /* Même largeur que TikTok pour symétrie parfaite */
    object-fit: contain;
}


.yt-header-logo {
    height: 50px;
}

.fb-logo {
    fill: #fff; /* Assorti au reste */
    filter: drop-shadow(0 0 10px rgba(161, 75, 240, 0.4));
}

@media (max-width: 768px) {
    .vertical-header { top: 20px; }
    .header-label { font-size: 1.3rem; }
    .header-logo { height: 30px; }
}


/* Section Expertise Web */
.web-expertise-section {
    padding: 60px 20px;
    position: relative;
    z-index: 5;
}

.web-expertise-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(161, 75, 240, 0.3);
    background: rgba(161, 75, 240, 0.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.web-expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-violet);
}

.small-title {
    font-size: 2.2rem !important;
    margin-bottom: 25px !important;
}

.web-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 750px;
    margin: 0 auto 30px;
}

.web-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 2.2rem;
}

.web-icon {
    filter: drop-shadow(0 0 10px rgba(161, 75, 240, 0.3));
    transition: transform 0.3s ease;
}

.web-icon:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .web-expertise-card { padding: 40px 20px; }
    .small-title { font-size: 1.8rem !important; }
    .web-text { font-size: 1.1rem; }
}


/* Titre Artistique Premium Horizontal (Vidéo YouTube & Corporate) */
.artistic-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Réduit le gap car police plus petite */
    margin-bottom: 25px;
    position: relative;
}

.art-main-text {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.5rem; /* Réduit de 50% (était 5rem) */
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.art-sub-stack {
    display: flex;
    flex-direction: row; /* REMIS À L'HORIZONTAL */
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.art-sub-text {
    font-family: var(--font-script);
    font-size: 2rem; /* Réduit de 50% (était 4rem) */
    color: var(--accent-violet);
    text-transform: none;
    margin: 0;
}

.art-ampersand {
    font-family: var(--font-script);
    font-size: 1.75rem; /* Réduit de 50% (était 3.5rem) */
    color: var(--accent-violet);
    opacity: 0.8;
}

.art-yt-logo-glow {
    height: 25px; /* Réduit aussi la taille du logo de ~50% */
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
    margin-left: 10px;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.8)); }
}

@media (max-width: 768px) {
    .artistic-title-wrapper {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .art-main-text { font-size: 1.8rem; }
    .art-sub-text { font-size: 1.4rem; }
    .art-ampersand { font-size: 1.2rem; }
    .art-yt-logo-glow { height: 20px; }
}


/* ============================================= */
/* === RESPONSIVE MOBILE GLOBAL (≤ 768px) === */
/* ============================================= */
@media (max-width: 768px) {

    /* --- Navigation --- */
    .header-nav {
        padding: 10px 15px;
        width: 95%;
        top: 10px;
    }
    nav ul {
        gap: 15px;
    }
    nav a {
        font-size: 12px;
    }

    /* --- Section À Propos --- */
    .about-section {
        padding: 40px 0 60px 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .about-image-column {
        align-items: center;
    }
    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }
    .about-text {
        text-align: center;
    }
    .about-text .section-title {
        font-size: 2rem;
        text-align: center !important;
    }
    .about-text .section-title::after {
        margin: 15px auto 0;
    }
    .about-text p {
        font-size: 1rem;
    }
    .highlight-cyan {
        font-size: 1.2rem !important;
    }
    .about-cta {
        align-items: center;
    }
    .about-buttons {
        justify-content: center;
    }
    .trust-title {
        font-size: 1.2rem;
        text-align: center;
    }
    .trust-list {
        max-width: 100%;
    }
    .trust-list li {
        justify-content: center;
        text-align: left;
    }
    .about-trust-content {
        padding-left: 0;
        text-align: center;
    }

    /* --- Scrollytelling (Téléphone) --- */
    .pin-section {
        height: 500vh;
    }
    .iphone-float-wrapper {
        margin-top: 60px;
    }
    .css-iphone {
        width: 250px;
        height: 445px;
        border-width: 10px;
        border-radius: 40px;
    }
    .css-iphone::before {
        width: 80px;
        height: 25px;
        top: 8px;
    }
    .sound-btn {
        margin-left: 0;
        left: auto;
        right: -5px;
        bottom: 20px;
        width: 36px;
        height: 36px;
    }
    .speaker-icon {
        width: 16px;
        height: 16px;
    }

    /* Labels vidéos en mode mobile */
    .video-label {
        font-size: 1.2rem;
        right: auto;
        left: 50%;
        margin-right: 0;
        margin-left: 0;
        transform: translateX(-50%) !important;
        flex-direction: column !important;
        align-items: center;
    }
    .v1-label, .v3-label { top: 6%; }
    .v1-label svg, .v3-label svg { transform: rotate(90deg) !important; }
    .v2-label, .v4-label {
        top: auto;
        bottom: 6%;
        flex-direction: column-reverse !important;
    }
    .v2-label svg, .v4-label svg { transform: rotate(-90deg) scaleX(-1) !important; }
    .video-label svg {
        width: 30px;
        height: 30px;
    }

    /* Titre "Contenus Verticaux" */
    .vertical-header {
        top: 15px;
    }
    .header-label {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    .header-logo { height: 25px; }
    .header-logo-lg { height: 40px; }
    .header-logo-fb { height: 48px; }

    /* --- Section Réalisations Horizontales --- */
    .realizations-container-v2 {
        padding: 20px 15px;
        gap: 8px;
    }
    .case-study-row {
        flex-direction: column !important;
        text-align: center;
        gap: 25px;
        margin-bottom: 20px;
    }
    .row-bottom {
        margin-top: 0;
    }
    .case-study-text {
        max-width: 100%;
    }
    .realizations-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }
    .v-montage-card-wrapper,
    .v-brut-card-wrapper {
        max-width: 100%;
        transform: none;
    }
    .video-label.v-montage-label-v2,
    .video-label.v-brut-label-v2 {
        position: static;
        transform: none;
        margin-top: 15px;
        justify-content: center;
        display: flex;
        font-size: 1.4rem;
    }

    /* Titre Artistique */
    .artistic-title-wrapper {
        justify-content: center;
    }

    /* Boutons comparaison */
    .sync-button-container {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }
    .sync-button-container .btn-primary {
        min-width: auto;
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    .sound-btn-circle {
        width: 48px;
        height: 48px;
    }

    /* --- Section Expertise Web --- */
    .web-expertise-section {
        padding: 40px 15px;
    }
    .web-expertise-card {
        padding: 30px 20px;
    }
    .small-title {
        font-size: 1.6rem !important;
    }
    .web-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* --- Footer / Contact --- */
    .footer-contact {
        padding: 60px 15px;
    }
    .footer-contact h2 {
        font-size: 1.8rem;
    }
    .footer-contact p {
        font-size: 1rem;
    }
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    .btn-primary, .btn-whatsapp {
        min-width: auto;
        width: 100%;
        max-width: 320px;
        font-size: 0.95rem;
        padding: 14px 20px;
    }
    .linkedin-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* --- Section titre H1 --- */
    .section-title {
        font-size: 2rem;
    }

    /* --- Laser masqué sur mobile --- */
    .laser-path-svg {
        display: none;
    }

    /* --- Hero background --- */
    .hero-background-layer {
        height: 100vh;
    }
}

/* Petit mobile (≤ 480px) */
@media (max-width: 480px) {
    .css-iphone {
        width: 220px;
        height: 391px;
    }
    .header-nav {
        padding: 8px 10px;
    }
    nav ul {
        gap: 10px;
    }
    nav a {
        font-size: 11px;
    }
    .about-text .section-title {
        font-size: 1.6rem;
    }
    .footer-contact h2 {
        font-size: 1.5rem;
    }
    .art-main-text { font-size: 1.5rem; }
    .art-sub-text { font-size: 1.2rem; }
}

/* Fin du fichier */
