/* ================================
   VARIABLES & RESET
   ================================ */
:root {
    --gold: #D4AF37;
    --brown: #3B2A1A;
    --cream: #FAF6F0;
    --white: #ffffff;
    --dark-gold: #B8941F;
    --light-gold: #E8D4A0;
    --shadow: rgba(59, 42, 26, 0.1);
    --shadow-heavy: rgba(59, 42, 26, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--brown);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-padding-top: 120px;
}

/* ================================
   NAVIGATION
   ================================ */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--brown);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

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

.lang-selector {
    padding: 8px 15px;
    border-radius: 8px;
    border: 2px solid var(--gold);
    background: var(--white);
    color: var(--brown);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-selector:hover {
    background: var(--gold);
    color: var(--white);
}

/* ================================
   SECTIONS GÉNÉRALES
   ================================ */
.page-section {
    min-height: 100vh;
    padding: 140px 8% 80px; 
    position: relative;
}

.bg-alt {
    background: linear-gradient(135deg, #ffffff 0%, var(--cream) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--brown);
    opacity: 0.7;
    font-weight: 300;
}

/* ================================
   PAGE 1: ACCUEIL / HERO
   ================================ */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, #FFFFFF 50%, var(--light-gold) 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(5deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 10px 40px var(--shadow-heavy);
    position: relative;
    z-index: 2;
}

.profile-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--light-gold);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.hero-title .firstname {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    color: var(--brown);
    letter-spacing: 3px;
}

.hero-title .lastname {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 5px;
    margin-top: -10px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 12px;
    text-decoration: none;
    color: var(--brown);
    transition: all 0.3s ease;
}

.contact-btn img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.contact-btn span {
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.contact-btn:hover img {
    transform: scale(1.1);
}

.btn-cv-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--brown), #4A3828);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 42, 26, 0.3);
}

.btn-cv-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 42, 26, 0.4);
}

.scroll-indicator {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
}

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

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--brown);
    opacity: 0.7;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}



/* ================================
   PAGE 2: PARCOURS / TIMELINE
   ================================ */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.1rem;
    padding-top: 20px;
}


.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    padding-top: 50px;  /* Espace pour l'icône en haut */
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-heavy);
}

.timeline-icon {
    position: absolute;
    left: 30px;       /* ← CHANGÉ : À gauche de la carte */
    top: -35px;       /* ← CHANGÉ : Au-dessus de la carte */
    transform: none;  /* ← CHANGÉ : Pas de centrage */
    width: 70px;              
    height: 70px;             
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;          
    line-height: 1;           
    box-shadow: 0 0 0 10px var(--cream), 0 5px 20px rgba(212, 175, 55, 0.3);  /* ← Ombre améliorée */
    z-index: 10;
    flex-shrink: 0;           
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 25px;
    width: 0;
    height: 0;
    border-left: 15px solid var(--white);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 25px;
    width: 0;
    height: 0;
    border-right: 15px solid var(--white);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-role {
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--brown);
    opacity: 0.75;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-style: italic; 
}

.timeline-location::before {
    content: ''; 
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--brown);
    opacity: 0.9;
}

.timeline-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ================================
   PAGE 3: ACTIVITÉS
   ================================ */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-heavy);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.activity-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.activity-role {
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 15px;
    font-size: 1rem;
}

.activity-card p {
    color: var(--brown);
    opacity: 0.8;
    line-height: 1.7;
}

/* ================================
   PAGE 4: COMPÉTENCES
   ================================ */
.competences-blocs {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.bloc-competence {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.bloc-competence:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 45px var(--shadow-heavy);
}

.bloc-header {
    background: linear-gradient(135deg, var(--brown), #4A3828);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.bloc-competence.highlighted .bloc-header {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
}

.bloc-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.bloc-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.bloc-content {
    padding: 40px;
}

.competence-category {
    margin-bottom: 30px;
}

.competence-category h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-gold);
    padding-bottom: 8px;
}

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

.competence-category li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--brown);
}

.competence-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.skills-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--brown);
}

.skill-level {
    font-size: 0.85rem;
    color: var(--gold);
}

.skill-progress {
    height: 10px;
    background: var(--cream);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    border-radius: 10px;
    transition: width 1s ease-out;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tool-tag {
    padding: 8px 16px;
    background: var(--cream);
    color: var(--brown);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-tag.gold {
    background: var(--light-gold);
    color: var(--brown);
}

.tool-tag:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.other-tools {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.other-tools h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.tool-item {
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.tool-item img {
    width: 24px;
    height: 24px;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-heavy);
}

/* ================================
   PAGE 5: PROJETS
   ================================ */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 30px;
    color: var(--brown);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px var(--shadow-heavy);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--light-gold), var(--gold));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.project-tag {
    padding: 6px 15px;
    background: var(--white);
    color: var(--gold);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--brown);
    opacity: 0.7;
}

.project-content > p {
    color: var(--brown);
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-badge {
    padding: 5px 12px;
    background: var(--cream);
    color: var(--brown);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-results {
    background: var(--cream);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-results h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1rem;
}

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

.project-results li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--brown);
}

.project-results li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--dark-gold);
    transform: translateX(5px);
}

/* ================================
   PAGE 6: VEILLE TECHNOLOGIQUE
   ================================ */
.veille-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.veille-focus {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.veille-focus h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.veille-focus p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.veille-sources {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
}

.veille-sources h4 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.sources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.source-item {
    background: var(--cream);
    padding: 20px;
    border-radius: 12px;
}

.source-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.source-item h5 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

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

.source-item li {
    padding: 5px 0;
    color: var(--brown);
    font-size: 0.9rem;
}

.veille-articles {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
}

.veille-articles h4 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.article-card {
    background: var(--cream);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--gold);
}

.article-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px var(--shadow);
}

.article-date {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.article-card h5 {
    color: var(--brown);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.article-card p {
    color: var(--brown);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.article-tag {
    padding: 4px 12px;
    background: var(--white);
    color: var(--gold);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--dark-gold);
}

.veille-methodology {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    max-width: 1400px;
    margin: 0 auto;
}

.veille-methodology h4 {
    color: var(--gold);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
}

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

.method-step {
    text-align: center;
    padding: 30px;
    background: var(--cream);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.method-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.method-step h5 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.method-step p {
    color: var(--brown);
    opacity: 0.8;
    line-height: 1.6;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 15px 0;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--brown); 
    color: var(--brown);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}


.btn-read-more:hover {
    background-color: var(--brown);
    color: #fff;
    transform: translateY(-2px);
}

/* ================================
   PAGE 7: PROJET PROFESSIONNEL
   ================================ */
.career-vision {
    margin-bottom: 60px;
}

.vision-card {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.4);
    max-width: 800px;
    margin: 0 auto;
}

.vision-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.vision-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.career-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.career-phase {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: all 0.3s ease;
}

.career-phase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-heavy);
}

.career-phase.long-term {
    border: 3px solid var(--gold);
}

.phase-header {
    background: linear-gradient(135deg, var(--brown), #4A3828);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.career-phase.long-term .phase-header {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
}

.phase-icon {
    font-size: 2.5rem;
}

.phase-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.phase-content {
    padding: 40px;
}

.phase-goals,
.phase-actions {
    margin-bottom: 30px;
}

.phase-goals h4,
.phase-actions h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.phase-goals ul,
.phase-actions ul {
    list-style: none;
    padding: 0;
}

.phase-goals li,
.phase-actions li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--brown);
    line-height: 1.6;
}

.phase-goals li::before {
    content: '🎯';
    position: absolute;
    left: 0;
}

.phase-actions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.sectors-interests {
    max-width: 1200px;
    margin: 0 auto;
}

.sectors-interests h3 {
    color: var(--gold);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
}

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

.sector-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-heavy);
}

.sector-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.sector-card h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.sector-card p {
    color: var(--brown);
    opacity: 0.8;
    line-height: 1.7;
}

/* ================================
   PAGE 8: SOFT SKILLS
   ================================ */
.soft-skills-section {
    text-align: center;
}

.soft-skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-tag {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--brown), #4A3828);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* ================================
   PAGE 9: EXPÉRIENCE (Bonus)
   ================================ */
.experience-details {
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow);
    margin-bottom: 40px;
}

.experience-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.experience-card .company {
    font-weight: 700;
    color: var(--brown);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.experience-section {
    margin-bottom: 25px;
}

.experience-section h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

.experience-section li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--brown);
    line-height: 1.7;
}

.experience-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .hero-title .firstname {
        font-size: 1.5rem;
    }

    .hero-title .lastname {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 60px;
    }

    .timeline-date {
        text-align: left;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(0);
    }

    .veille-container {
        grid-template-columns: 1fr;
    }

    .sources-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid,
    .projects-grid,
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-wrap: wrap;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(0);
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        line-height: 1;           /* ← IMPORTANT */
        box-shadow: 0 0 0 6px var(--cream);
    }
}



        .project-referentiel {
            margin-top: 18px;
            border-top: 1px solid var(--light-gold);
            padding-top: 14px;
        }
        .project-referentiel h4 {
            color: var(--gold);
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }
        .ref-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .ref-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 5px 11px;
            background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
            border: 1px solid rgba(212,175,55,0.35);
            border-radius: 20px;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--brown);
            white-space: nowrap;
        }
        .ref-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--gold);
            flex-shrink: 0;
        }


/* ================================
   ANIMATIONS
   ================================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}