/* --- 1. BASE & GRID --- */
body {
    background-color: #f5f5f3;
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0.8px, transparent 0.8px),
        radial-gradient(circle, rgba(0, 0, 0, 0.2) 0.8px, transparent 0.8px);
    background-size: 25px 4px, 4px 25px;
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif !important;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .nav-links a, .btn-cta {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
}

/* --- 2. NAVIGATION CONTAINER (LOOK GLASS DARK) --- */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1000;
}

.nav-container {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 100px;
    padding: 8px 10px 8px 40px;
    display: flex;
    align-items: center;
    gap: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- 3. MENU LINKS (ADAPTÉS FOND CLAIR) --- */
.nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px;
}

.nav-links li {
    display: inline-block;
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5) !important;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* État Hover et Page Actuelle */
.nav-links li a:hover,
.nav-links li.current-menu-item a {
    color: #1a1a1a !important;
}

/* Barre de soulignement sous l'item actif */
.nav-links li.current-menu-item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fc4f9c !important;
    border-radius: 2px;
}





/* --- 4. BOUTON ET DROITE --- */
.nav-right {
    display: flex;
    align-items: center;
}

.btn-cta {
    background: #D9FF76;
    color: #1A1A1A;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-cta:hover {
    transform: scale(1.03);
}

/* --- 5. CONTENT AREA & CENTRAGE --- */
.site-main {
    padding-top: 120px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.section-hello{
    padding-top: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.wp-block-columns {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 80px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-column {
    flex: 0 1 auto !important;
}

.site-main p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
}

/* --- 6. L'EFFET POLAROID --- */
.hero-photo img, .wp-block-image.hero-photo img {
    background: white !important;
    padding: 12px 12px 50px 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transform: rotate(-3deg);
    transition: all 0.3s ease-out;
    max-width: 300px !important;
    width: 100%;
    height: auto;
}

.hero-photo img:hover {
    transform: rotate(0deg) scale(1.05);
}





/* --- LE CONTENEUR (NUAGE DE STICKERS) --- */
.competences-container {
    display: flex !important;
    flex-direction: row !important; /* Force l'alignement horizontal */
    flex-wrap: wrap !important;     /* Permet de passer à la ligne proprement */
    justify-content: center !important;
    gap: 12px !important;           /* Espace entre les stickers */
    max-width: 1000px;
    margin: 40px auto !important;
    clear: both !important;         /* Sécurité pour ne pas chevaucher le haut */
}

/* --- LES STICKERS (HORIZONTAUX) --- */
.badge-sticker {
    flex: 0 1 auto !important;     /* Empêche les stickers de s'étirer sur toute la largeur */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important; /* Garde le texte sur une seule ligne */

    padding: 10px 25px !important;
    border-radius: 100px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.bg-rose   { background-color: #FF509D !important; color: #000 !important; }
.bg-bleu   { background-color: #73FAFF !important; color: #000 !important; }
.bg-mauve  { background-color: #D9FF76 !important; color: #000 !important; }
.bg-jaune  { background-color: #FFF7B7 !important; color: #000 !important; }

.badge-sticker::before {
    content: '✶';
    margin-right: 8px;
    font-size: 1.1em;
}


/* --- CLASSE POUR CENTRER LE TEXTE --- */
.centrer-paragraphe {
    text-align: center !important; /* Centre les lettres */
    margin-left: auto !important;  /* Centre le bloc à gauche */
    margin-right: auto !important; /* Centre le bloc à droite */
    display: block !important;
}



/* --- TRANSFORMATION DU PARAGRAPHE EN BOUTON --- */
.p-bouton-vert {
    display: block !important;
    background-color: #D9FF76 !important; /* Ton vert */
    color: #1A1A1A !important;
    width: fit-content !important;
    margin: 30px auto !important;
    padding: 14px 40px !important;
    border-radius: 100px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

    /* Effet au survol */
    .p-bouton-vert:hover {
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 20px rgba(217, 255, 118, 0.3) !important;
        background-color: #e3ff94 !important;
    }




    /* --- FOOTER DESIGN --- */
    .footer-design {
        background-color: #1A1A1A;
        padding: 120px 0 60px 0;
        margin-top: 100px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
        z-index: 10;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .footer-big-title {
        font-size: clamp(45px, 9vw, 110px);
        font-weight: 900;
        line-height: 0.85;
        letter-spacing: -3px;
        margin-bottom: 40px;
        color: #F4F4F4;
        text-transform: uppercase;
    }

    .footer-big-title span {
        display: block;
        color: transparent;
        -webkit-text-stroke: 1.5px #D9FF76; /* Ton vert flashy en contour */
    }

    .footer-contact-link {
        font-size: clamp(20px, 4vw, 32px);
        color: #FF509D; /* Ton bleu badge */
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-block;
        padding-bottom: 5px;
        border-bottom: 2px solid transparent;
    }

    .footer-contact-link:hover {
        color: #FFFFFF;
        border-bottom: 2px solid #FF509D;
        transform: translateX(10px);
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 100px;
        padding-top: 60px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        flex-wrap: wrap;
        gap: 50px;
    }

    .footer-nav {
        display: flex;
        gap: 80px;
    }

    .footer-col h4 {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.3);
        margin-bottom: 25px;
    }

    .footer-col a {
        display: block;
        color: #F4F4F4;
        text-decoration: none;
        font-size: 16px;
        margin-bottom: 12px;
        transition: color 0.2s ease;
    }

    .footer-col a:hover {
        color: #D9FF76;
    }

    .footer-copyright {
        margin-top: 100px;
        text-align: center;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.2);
    }

    /* Version Mobile */
    @media (max-width: 768px) {
        .footer-nav {
            gap: 40px;
            width: 100%;
        }
        .footer-big-title {
            letter-spacing: -1px;
        }
    }


    .footer-brand p {
      color: #F4F4F4;
    }





.colonne-photo-stickers {
    position: relative !important;
    overflow: visible !important;
}

.sticker-png {
    position: absolute !important;
    z-index: 20;
    margin: 0 !important;
    height: auto !important;
    filter: drop-shadow(3px 5px 8px rgba(0,0,0,0.3)); /* Ombre propre pour PNG */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



/* --- PLACEMENT STYLE SCRAPBOOK --- */

/* 1. L'ÉTOILE ROSE */
.colonne-photo-stickers .sticker-png:nth-of-type(5) {
    bottom: 280px;
    right: 170px;
    width: 90px !important;
    transform: rotate(-15deg);
    z-index: 22; /* Z-index plus haut pour chevaucher le rond vert */
}

/* 2. LE ROND VERT */
.colonne-photo-stickers .sticker-png:nth-of-type(2) {
    bottom: 180px;
    right: 200px;
    width: 200px !important;
    transform: rotate(-15deg);
    z-index: 22; /* Z-index plus haut pour chevaucher le rond vert */
}

/* 3. LA MAIN BLEUE */
.colonne-photo-stickers .sticker-png:nth-of-type(3) {
    top: 180px;
    left: 250px;
    width: 100px !important;
    transform: rotate(5deg);
    z-index: 21;
}

/* 4. LE TEXTE NOIR */
.colonne-photo-stickers .sticker-png:nth-of-type(4) {
    bottom: -15px;
    right: 150px;
    width: 200px !important;
    transform: rotate(5deg);
    z-index: 23; /* Passe par dessus tout le monde en bas */
}

/* --- EFFET DE PROFONDEUR --- */
.sticker-png {
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.4)) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.sticker-png:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 50 !important; /* Le sticker survolé passe toujours devant */
}




/* --- LE GROUPE PARENT --- */
.wp-block-group.typewriter-container {
    display: flex !important;
    justify-content: flex-start; /* Ou center si tu veux le titre au milieu */
    width: 100% !important;
}

/* --- LE TITRE --- */
.typewriter {
  display: inline-block !important; /* Très important pour ne pas prendre 100% */
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #D9FF76;
  letter-spacing: .05em;

  /* On ajuste le nombre de steps sur le nombre précis de tes lettres (ex: Elisabeth Sion. = 15) */
  animation:
    typing-loop 4s steps(15, end) infinite,
    blink-caret .6s step-end infinite;
}

@keyframes typing-loop {
  0%, 0.3%    { width: 0; }        /* Début (vide) */
  15%, 80%  { width: 100%; }     /* PAUSE : Le texte reste affiché de 15% à 80% du temps */
  95%, 100% { width: 0; }        /* EFFACE : Revient à 0 très vite à la fin */
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #D9FF76; }
}





.cv-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}



.timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 80px;
}

/* La ligne verticale */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* Le point */
.timeline-dot {
    position: absolute;
    left: -37px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #1A1A1A;
    z-index: 5;
}

/* Couleur Expériences (Bleu) */
.job .timeline-dot {
    background-color: #73FAFF;
    box-shadow: 0 0 12px rgba(115, 250, 255, 0.4);
}

/* Couleur Formation (Vert) */
.edu .timeline-dot {
    background-color: #D9FF76;
    box-shadow: 0 0 12px rgba(217, 255, 118, 0.4);
}

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: #FF509D; /* Rose pour les dates */
    text-transform: uppercase;
    margin-bottom: 5px;
}

.timeline-content h3 {
    color: #1a1a1a;
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
}

.timeline-content h4 {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    margin: 5px 0 10px 0;
}

.timeline-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.8) !important;
    max-width: 600px;
}










/* --- 1. ANIMATION TITRE (TYPING) --- */
.typewriter-container {
    display: flex !important;
    justify-content: flex-start;
    width: 100% !important;
}

.typewriter {
    display: inline-block !important;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #D9FF76;
    letter-spacing: .05em;
    animation: typing-loop 8s steps(15, end) infinite, blink-caret 0.8s step-end infinite;
}

@keyframes typing-loop {
    0% { width: 0; }
    30%, 80% { width: 100%; }
    95%, 100% { width: 0; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #D9FF76; }
}





/* --- 2. TIMELINE CV (COULEURS ADAPTÉES FOND CLAIR) --- */


.cv-section-title {
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #1A1A1A;
    border: none !important;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    /* On utilise un dégradé plus visible sur le blanc */
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(0, 0, 0, 0.03); /* Léger gris au survol */
    backdrop-filter: blur(5px);
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid ;
    z-index: 5;
}

.job .timeline-dot { background-color: #73FAFF; box-shadow: 0 0 12px rgba(115, 250, 255, 0.4); }
.edu .timeline-dot { background-color: #D9FF76; box-shadow: 0 0 12px rgba(217, 255, 118, 0.4); }

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: #FF509D; /* Ton rose signature */
    text-transform: uppercase;
    margin-bottom: 5px;
}

.timeline-content h3 { font-size: 20px; margin: 0; color: #1A1A1A; } /* Titre sombre */
.timeline-content h4 { font-size: 15px; color: rgba(0,0,0,0.5); font-weight: 400; margin: 5px 0 10px 0; }
.timeline-content p { font-size: 14px; color: #333333 !important; line-height: 1.6; } /* Texte sombre */









/* --- 3. LOGICIELS MARQUEE & TOOLTIPS --- */
.logiciels-section {
    padding: 40px 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    padding: 60px 0 30px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    contain: paint;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll 12s linear infinite;
}

/* Tooltip Wrapper */
.tool-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Bulle stylée */
.tool-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #D9FF76;
    color: #1A1A1A;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.tool-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-25px);
}

.tool-card {
    height: 60px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tool-wrapper:hover .tool-card {
    transform: scale(1.3) rotate(5deg);
}

.marquee:hover .marquee-content { animation-play-state: paused; }

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- 4. PROGRESS BAR --- */
#scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 4px; background: #D9FF76; z-index: 9999;
}














/* --- SECTION LANGUES (ADAPTÉE FOND CLAIR) --- */


.langues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 10px;
}

.langue-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.langue-header {
    display: flex;
    flex-direction: column;
}

.langue-name {
    font-size: 20px;
    font-weight: 800;
    color: #1A1A1A; /* Textes sombres pour fond clair */
    text-transform: capitalize;
}

.langue-desc {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5); /* Gris sombre transparent */
    margin-top: 2px;
}

/* La barre de fond */
.progress-track {
    width: 100%;
    height: 14px;
    background: #D1D1D1;
    border: 1px solid rgba(0,0,0,0.05); /* Petite bordure discrète */
    border-radius: 20px;
    overflow: hidden;
}

/* Le remplissage (Préparation pour le JS) */
.progress-bar {
    height: 100%;
    background-color: #FF509D;
    border-radius: 20px;

    /* On garde tes réglages de préparation pour le JS */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);

    /* Lueur rose adaptée */
    box-shadow: 0 0 10px rgba(255, 80, 157, 0.2);
}

/* Quand le JavaScript ajoute la classe .is-visible à la section au scroll */
.langues-section.is-visible .progress-bar {
    transform: scaleX(1);
}

/* Mobile : une seule colonne */
@media (max-width: 768px) {
    .langues-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}










/* --- SECTION CENTRES D'INTÉRÊT (GRANDE MEP) --- */


.interests-grid {
    display: grid;
    /* Création d'une grille flexible : les cartes font au moins 300px */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.interest-card {
    position: relative;
    height: 450px; /* Grande hauteur pour tes photos */
    border-radius: 20px;
    overflow: hidden;
    background-color: #1A1A1A;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.interest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ta photo remplit tout le rectangle sans se déformer */
    filter: grayscale(40%) brightness(0.7); /* Look un peu dark au début */
    transition: all 0.5s ease;
}

/* Le sticker avec le nom du hobby */
.interest-label {
    position: absolute;
    bottom: 30px;
    left: 20px;
    background: #FF509D; /* Ton Rose */
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 10px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* --- EFFETS AU SURVOL --- */
.interest-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.interest-card:hover img {
    filter: grayscale(0%) brightness(1); /* La photo s'éclaire en couleur */
    transform: scale(1.1); /* Léger zoom dans l'image */
}

.interest-card:hover .interest-label {
    background: #D9FF76; /* Change en Vert au survol pour le fun */
    color: #1A1A1A;
    transform: scale(1.1) rotate(-3deg);
}





/* Responsive tablette/mobile */
@media (max-width: 768px) {
    .interest-card {
        height: 350px;
    }
}













/* --- GRILLE PROJETS : 3 COLONNES & STICKERS VERTS --- */
.projects-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    /* On verrouille les 3 colonnes */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    aspect-ratio: 4 / 3; /* Pour tes images 800x600 */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* L'OVERLAY SOMBRE AU SURVOL */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0; /* Invisible par défaut */
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

/* L'ÉTIQUETTE VERTE (STYLE STICKER) */
.project-category {
    background: #D9FF76; /* Ton vert fluo */
    color: #1A1A1A;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    /* Animation de remontée */
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-title {
    color: white;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

/* --- INTERACTIONS HOVER --- */
.project-card:hover .project-image img {
    transform: scale(1.15); /* Zoom image */
}

.project-card:hover .project-overlay {
    opacity: 1; /* Apparition fond noir */
}

.project-card:hover .project-category,
.project-card:hover .project-title {
    transform: translateY(0); /* Remontée des textes */
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .projects-grid { grid-template-columns: 1fr; }
}

















/* --- DESIGN PAGE DÉTAIL PROJET --- */
.project-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px;
    color: #1A1A1A;
}

.project-hero {
    text-align: center;
    margin-bottom: 80px;
}

.project-tag {
    color: #FF509D; /* Ton Rose */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.project-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin: 20px 0;
    font-weight: 900;
}

.project-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Layout en alternance (Texte / Image) */
.project-content-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.project-content-row.reverse {
    flex-direction: row-reverse;
}

.media-block { flex: 1.2; }

.text-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
}

.text-block h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #D9FF76; /* Ton Vert */
    margin-top: 10px;
}

.media-block img, .media-block video {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.full-img {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 100px;
}

/* Liste de points stylisée */
.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li::before {
    content: '✓';
    color: #D9FF76;
    font-weight: bold;
    margin-right: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 50px;
    color: #FF509D;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-10px);
}



/* --- GRILLE VIDÉO DÉTAIL --- */
.video-grid-detail {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 60px 0;
}

.video-item { flex: 2; }
.video-item.vertical-mode { flex: 1; }

.video-item h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #FF509D;
}

video {
    width: 100%;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-vertical {
    max-width: 280px; /* Format smartphone */
    margin: 0 auto;
    display: block;
    border: 5px solid #1A1A1A; /* Simule un contour de téléphone */
}

@media (max-width: 768px) {
    .video-grid-detail { flex-direction: column; }
    .video-vertical { max-width: 100%; }
}


/* Mobile */
@media (max-width: 768px) {
    .project-content-row, .project-content-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
}



/* Grille pour les 4 captures d'écran du site */
.project-screens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 20px;
    margin-bottom: 60px;
}


.project-screens-grid img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.project-screens-grid img:hover {
    transform: scale(1.02); /* Petit effet au survol sur les screens */
}

/* Responsive mobile : 1 seule colonne pour que ce soit lisible */
@media (max-width: 768px) {
    .project-screens-grid {
        grid-template-columns: 1fr;
    }
}


.media-block a {
    cursor: zoom-in;
    display: block;
}

.media-block img:hover {
    opacity: 0.9;
    transform: scale(1.01);
    transition: all 0.3s ease;
}


/* Cible les images de la galerie Gutenberg qui ont un lien */
.wp-block-gallery .wp-block-image a,
.wp-block-image a {
    display: block;
    overflow: hidden;
    border-radius: 15px; /* Pour garder tes bords arrondis */
    cursor: zoom-in;     /* La petite loupe */
    transition: all 0.4s ease;
}

/* L'effet de zoom sur l'image elle-même */
.wp-block-gallery .wp-block-image img,
.wp-block-image img {
    transition: transform 0.4s ease-in-out !important;
}

/* Au survol du lien, on fait grossir l'image */
.wp-block-gallery .wp-block-image a:hover img,
.wp-block-image a:hover img {
    transform: scale(1.08); /* Zoom de 8% */
    filter: brightness(1.05);
}

/* Optionnel : ajouter une petite ombre au survol */
.wp-block-gallery .wp-block-image a:hover,
.wp-block-image a:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
