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

* {
    font-family: 'Quantico', monospace !important;
}

:root {
    --primary-color: #000;
    --secondary-color: #666;
    --accent-color: #0f056b;
    --accent-light: #130c4d;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Quantico', monospace; /* Ta nouvelle police ici */
    background-color: #f4f4f4; /* Ou ta couleur actuelle */
    color: #333;
    line-height: 1.6;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: var(--bg-white);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.logo-text {
    position: relative;
    display: inline-block;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(15, 5, 107, 0.1);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line:nth-child(1) {
    animation: slideInLeft 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation: slideInRight 0.8s ease-out 0.2s backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--text-light);
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    margin-bottom: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 5, 107, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 10;
    background: var(--bg-white);
}

.section-alt {
    background: var(--bg-light);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    -webkit-text-stroke: 1px rgba(15, 5, 107, 0.2);
    z-index: -1;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

.content-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.section-alt .content-box {
    background: var(--bg-white);
}

.content-box p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.profile-header {
    position: relative;
    margin-bottom: 2rem;
}

.profile-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.intro-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.cv-box {
    text-align: center;
}

.cv-preview {
    max-width: 600px;
    margin: 0 auto;
}

.cv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.cv-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.cv-preview h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cv-preview p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cv-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cv-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cv-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cv-button:hover::before {
    width: 300px;
    height: 300px;
}

.cv-view {
    background: var(--accent-color);
    color: white;
}

.cv-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 5, 107, 0.3);
}

.cv-download {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cv-download:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 5, 107, 0.2);
}

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

.veille-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.veille-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.veille-card:hover::before {
    left: 100%;
}

.veille-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(15, 5, 107, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

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

.veille-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
}

.veille-card:hover .card-shine {
    animation: shine 0.8s;
}

@keyframes shine {
    to { transform: translateX(100%); }
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.stage-item {
    padding: 2rem 0 2rem 3rem;
    position: relative;
}

.stage-marker {
    position: absolute;
    left: -6px;
    top: 2.5rem;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(15, 5, 107, 0.2);
    animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
    0%, 100% { box-shadow: 0 0 0 4px rgba(15, 5, 107, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(15, 5, 107, 0); }
}

.stage-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stage-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.skill-category {
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: scale(1.05);
}

.category-header {
    margin-bottom: 1.5rem;
}

.category-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.header-line {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.skill-category:hover .header-line {
    width: 100%;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.skill-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.skill-category li:hover {
    padding-left: 2rem;
    color: var(--accent-color);
}

.skill-category li:hover::before {
    transform: translateX(5px);
}

.contact-box {
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(15, 5, 107, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow: hidden;
}

.contact-details strong {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details span {
    color: var(--text-dark);
    font-size: 0.95rem;
    word-break: break-word;
}

.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        max-width: 80%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .content-box {
        padding: 2rem;
    }

    .cv-actions {
        flex-direction: column;
    }

    .cv-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .skills-grid,
    .veille-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .stage-item {
        padding-left: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .cv-icon {
        width: 60px;
        height: 60px;
    }

    .cv-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* 1. On cache le sous-menu par défaut et on le positionne */
.dropdown-content {
    display: none;          /* Cache la liste */
    position: absolute;     /* Permet de flotter au-dessus du contenu */
    background-color: #fff; /* Fond blanc comme sur ton exemple */
    min-width: 150px;       /* Largeur du menu */
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1); /* Ombre légère pour le relief */
    border-radius: 5px;     /* Arrondis pour un look moderne */
    padding: 10px 0;
    list-style: none;
    z-index: 100;           /* Passe au-dessus de tout le reste */
}

/* 2. L'ACTION MAGIQUE : On affiche quand on survole le parent */
.dropdown:hover .dropdown-content {
    display: block;         /* Le menu apparaît ! */
}

/* 3. Style des liens Stage 1 et Stage 2 */
.dropdown-content li a {
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

/* Changement de couleur au survol d'un stage */
.dropdown-content li a:hover {
    background-color: #f5f5f5;
    color: #0a0a64; /* Utilise ton bleu foncé */
}

.dropdown {
    position: relative;
}

/* Grille d'images */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Garde les proportions de l'image */
    display: block;
}

.img-caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    font-size: 0.9rem;
    text-align: center;
}

/* Style pour les liens documents */
.stage-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.doc-link:hover {
    text-decoration: underline;
}

/* Section des documents */
.stage-docs-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 15px;
    margin-top: 20px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.doc-card i {
    font-size: 1.5rem;
    color: #e74c3c; /* Rouge PDF */
}

.doc-card span {
    font-size: 0.95rem;
    font-weight: 500;
}

.doc-card:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.doc-card:hover i {
    color: white;
}

/* Adaptabilité Mobile */
@media (max-width: 600px) {
    .docs-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur petit écran */
    }
}

/* Le fond de la boîte (caché par défaut) */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

/* L'image à l'intérieur avec l'animation */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
    animation: zoom 0.3s ease-out; /* L'animation de zoom */
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Le bouton fermer */
.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* On ajoute un curseur "loupe" sur tes images de galerie */
.gallery-item img {
    cursor: zoom-in;
}

/* Container du PDF dans le modal */
.modal-content-pdf {
    margin: auto;
    width: 80%;
    height: 85vh; /* Presque toute la hauteur de l'écran */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: zoom 0.3s ease-out;
}

#pdfFrame {
    width: 100%;
    height: 100%;
}

.close-pdf {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
}

.header-stage-container {
    display: flex !important;       /* Force le mode ligne */
    justify-content: space-between; /* Pousse le bouton à l'opposé du texte */
    align-items: center;            /* Aligne tout verticalement au centre */
    width: 100%;
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 0 10px;
    clear: both;                    /* Nettoie les anciens flottants */
}

.header-text-group {
    display: block !important;      /* Force le titre et la date l'un sous l'autre */
    text-align: left !important;    /* Force l'écriture à gauche */
}

.title-main {
    margin: 0 !important;           /* Enlève les marges qui décalent tout */
    font-size: 2rem;
}

.date-sub {
    margin: 5px 0 0 0 !important;
    color: #555;
    font-size: 1.1rem;
}

.btn-entreprise {
    background-color: #3498db;
    color: white !important;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;            /* Empêche le bouton de se couper en deux */
}

.stage-header {
    display: flex;
    justify-content: space-between; /* Aligne le texte à gauche et le logo à droite */
    align-items: center;           /* Centre verticalement le logo par rapport au texte */
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

.header-content {
    display: flex;
    flex-direction: column; /* Garde le titre au-dessus de la date */
}

.company-logo {
    max-height: 80px;  /* Ajuste la hauteur selon tes besoins */
    width: auto;       /* Garde les proportions du logo */
    border-radius: 5px; /* Optionnel : arrondit un peu les bords du logo */
}

/* Version mobile : on empile si l'écran est petit */
@media (max-width: 600px) {
    .stage-header {
        flex-direction: column;
        text-align: center;
    }
    .company-logo {
        margin-top: 20px;
        max-height: 60px;
    }
}

.stage-card:hover > div {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 5, 107, 0.2) !important;
    border-color: #0f056b !important;
}

.stage-card img {
    transition: transform 0.3s ease;
}

.stage-card:hover img {
    transform: scale(1.1);
}

.footer-contacts a:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Force la couleur blanche pour le lien "Retour en haut" */
footer a, 
footer a:visited, 
footer a:hover, 
footer a:active {
    color: #ffffff !important;
    text-decoration: none;
}

/* Optionnel : petit effet au survol pour savoir qu'on peut cliquer */
footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.navbar-simple {
    background-color: #ffffff; /* Fond blanc */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Espace entre PK et le bouton */
    align-items: center;
    max-width: 1200px; /* Ajuste selon la largeur de ton site */
    margin: 0 auto;
    padding: 0 40px;
}

/* Style identique au logo original */
.logo-text {
    font-family: 'Tektur', sans-serif;
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #0f056b;
    border-radius: 50%;
    margin-left: 4px;
}

/* Bouton avec animation de soulignement */
.btn-retour {
    color: #000;
    text-decoration: none;
    font-family: 'Quantico', sans-serif;
    position: relative;
    padding-bottom: 5px;
}

.btn-retour::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0f056b;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.btn-retour:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Ajoute ça dans ton bloc <style> */
.mentions-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: 'Quantico', sans-serif;
    color: #333;
    line-height: 1.6;

    /* AJOUT ICI POUR L'ANIMATION */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* L'EFFET AU SURVOL */
.mentions-container:hover {
    transform: translateY(-10px); /* La carte monte */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); /* L'ombre devient plus profonde */
}

/* ============================================================
   SECTION VEILLE TECHNO - DESIGN COMPLET & ANIMATIONS
   ============================================================ */

/* Conteneur principal de la section */
#veille-preview {
    padding: 120px 0 !important;
    display: block !important;
    position: relative;
    z-index: 10;
}

/* Titre de section (Style "Compétences") */
#veille-preview .section-title {
    font-family: 'Tektur', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    color: #000;
    margin-bottom: 70px !important;
    text-transform: none;
}

/* La Carte Blanche */
.veille-preview-card {
    background: #ffffff !important;
    border-radius: 25px;
    padding: 60px 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-bottom: 10px solid #0f056b;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: default;
}

/* Animation de la carte au survol */
.veille-preview-card:hover {
    transform: translateY(-15px) scale(1.01);
    box-shadow: 0 35px 80px rgba(15, 5, 107, 0.25);
}

/* Titre Interne (Zero Trust...) */
.preview-header h3 {
    font-family: 'Tektur', sans-serif;
    color: #0f056b;
    font-size: 2.2rem;
    margin: 20px 0;
}

/* Paragraphe de description */
.veille-preview-card p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 30px;
}

/* Conteneur des Tags */
.topics-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

/* Style des Tags et Animation */
.tag {
    border: 1.5px solid #0f056b;
    color: #0f056b;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #0f056b;
    color: #ffffff;
    transform: scale(1.1);
}

/* Bouton Bleu Nuit et Animation */
.btn-veille {
    display: inline-block;
    background: #0f056b !important;
    color: #ffffff !important;
    padding: 18px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Tektur', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-veille:hover {
    background: #000000 !important;
    letter-spacing: 2px;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* --- PAGES AP (PROJETS) --- */

.project-details {
    margin-top: 25px;
}

.project-details p {
    margin-bottom: 15px !important;
    text-align: left !important;
}

.project-details ul {
    padding-left: 20px;
    margin-bottom: 25px;
    list-style: square;
}

.project-details li {
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Galerie d'images */
.ap-gallery {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: #fdfdfd;
    padding: 12px;
    border-radius: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    filter: grayscale(20%);
    transition: 0.3s;
}

.gallery-item p {
    font-size: 0.9rem !important;
    font-weight: bold;
    color: #0f056b !important;
    margin-top: 10px !important;
}

/* Animation Galerie */
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: #0f056b;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.gallery-item:hover img {
    filter: grayscale(0%);
}
