/* ===================================
   VARIABLES & RESET
   =================================== */

:root {
    /* Couleurs principales - Palette GetUp Agency Inspired */
    --primary-color: #0A192F;
    --primary-dark: #020814;
    --primary-light: #1e3a5f;
    --secondary-color: #D4AF37;
    --accent-color: #8B7355;
    
    /* Couleurs neutres */
    --text-primary: #0f1e3a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #edf2f7;
    --border-color: #cbd5e0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5a8f 100%);
    --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #b8941f 100%);
    --gradient-dark: linear-gradient(135deg, #0f1e3a 0%, #1e3a5f 100%);
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typographie */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Syne', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Bordures */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 30, 58, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 30, 58, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, #0A192F 0%, #1e3a5f 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2d5a8f 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(50px, -50px);
    }
    66% {
        transform: translate(-30px, 30px);
    }
}

.hero-container {
    width: 100%;
    max-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-height: 100%;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.4rem var(--spacing-md);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.25) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-full);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    animation: fadeIn 0.8s ease-out 0.2s both;
}

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

.badge-icon {
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: white;
}

.title-line {
    display: inline;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.15) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: default;
    flex: 0 1 auto;
}

.skill-pill:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.3) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.skill-pill-icon {
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.skill-pill-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-icon {
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Hero Image */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-frame {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.frame-decoration {
    position: absolute;
    inset: -10px;
    background: var(--gradient-accent);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.15;
    animation: pulse 3s ease-in-out infinite;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-accent-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-base);
    animation: floatCard 3s ease-in-out infinite;
}

.hero-accent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-amf {
    top: 8%;
    right: -12%;
    animation-delay: 0s;
    border-left: 3px solid var(--secondary);
}

.card-years {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
    border-left: 3px solid var(--primary);
}

.card-team {
    bottom: 12%;
    right: -8%;
    animation-delay: 2s;
    border-left: 3px solid var(--accent);
}

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

.accent-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.accent-content {
    display: flex;
    flex-direction: column;
}

.accent-value {
    font-family: var(--font-display);
    font-size: 1.075rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-dark);
    margin-bottom: 0.15rem;
}

.accent-label {
    font-size: 0.575rem;
    color: var(--text-medium);
    font-weight: 600;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 30, 58, 0.3) 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        top: 5px;
        opacity: 1;
    }
    100% {
        top: 15px;
        opacity: 0;
    }
}

/* ===================================
   SECTIONS COMMUNES
   =================================== */

.section {
    padding: calc(var(--spacing-2xl) * 1.5) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-2xl) * 1.25);
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   SECTION PROFIL
   =================================== */

.profil-section {
    background: var(--bg-secondary);
}

.profil-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.profil-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.profil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.profil-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.card-icon-large {
    font-size: 2rem;
}

.profil-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 700;
}

.profil-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.profil-card p:last-child {
    margin-bottom: 0;
}

.profil-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item > div {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--secondary-color);
}

.amf-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.score-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.score-separator {
    font-size: 2rem;
    color: var(--text-light);
    margin: 0 0.5rem;
}

.score-total {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.score-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.score-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.score-description p {
    margin: 0;
}

.executive-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 500;
}

.bio-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.bio-point {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(30, 58, 95, 0.03);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--secondary-color);
}

.bio-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.bio-point strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.bio-point p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bento-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-color);
    padding: var(--spacing-md);
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

/* ===================================
   SECTION EXPERTISE - TRIPTYQUE
   =================================== */

.expertise-section {
    background: white;
}

.triptyque-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.pillar-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-1:hover {
    border-top-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.pillar-2:hover {
    border-top-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.pillar-3:hover {
    border-top-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

.pillar-icon svg {
    width: 35px;
    height: 35px;
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 700;
}

.pillar-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.pillar-intro {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.pillar-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--spacing-md);
}

.pillar-list li {
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
}

.pillar-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag {
    padding: 0.4rem 0.75rem;
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===================================
   SECTION PARCOURS
   =================================== */

.parcours-section {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    left: -46px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    transition: all var(--transition-base);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.3);
}

.timeline-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid rgba(10, 25, 47, 0.1);
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
}

.timeline-date {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--spacing-md);
}

.timeline-content li {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    position: relative;
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===================================
   SECTION COMPÉTENCES
   =================================== */

.competences-section {
    background: white;
}

.competences-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
}

.comp-column {
    background: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.comp-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    font-weight: 700;
}

.comp-category {
    margin-bottom: var(--spacing-lg);
}

.comp-category:last-child {
    margin-bottom: 0;
}

.comp-category h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.comp-category li {
    padding-left: var(--spacing-md);
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
}

.comp-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.soft-skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: default;
}

.soft-skill-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.soft-icon {
    font-size: 1.25rem;
}

.soft-skill-item span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.education-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.education-item:last-child {
    border-bottom: none;
}

.edu-year {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.edu-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.edu-info strong {
    color: var(--text-primary);
}

/* ===================================
   SECTION VISION - BENTO GRID
   =================================== */

.vision-section {
    background: var(--bg-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.bento-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.bento-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary-color) 50%, transparent 100%);
    opacity: 0.5;
}

.bento-large {
    grid-column: 1 / -1;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.bento-large::after {
    height: 3px;
    background: var(--gradient-accent);
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 700;
}

.bento-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.bento-highlight {
    padding: var(--spacing-sm);
    background: rgba(30, 58, 95, 0.05);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* ===================================
   SECTION CONTACT
   =================================== */

.contact-section {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.contact-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 800;
}

.contact-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(247, 250, 252, 1) 100%);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.contact-link:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-downloads h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: 700;
}

.download-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.download-card:hover {
    border-color: var(--secondary-color);
}


.download-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

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

.download-info h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 700;
}

.download-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-right p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr 0.8fr;
        gap: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        max-height: none;
        padding: 100px 0 60px 0;
    }
    
    .hero-container {
        max-height: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-accent-card {
        display: none;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-skills {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .triptyque-grid {
        grid-template-columns: 1fr;
    }
    
    .profil-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .competences-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        transition: transform var(--transition-base);
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero {
        padding: 80px 0 50px 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-skills {
        gap: 0.4rem;
        margin-bottom: var(--spacing-md);
    }
    
    .skill-pill {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .skill-pill-icon {
        font-size: 0.9rem;
    }
    
    .skill-pill-text {
        font-size: 0.7rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .hero-image {
        max-width: 350px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .pillar-card {
        padding: var(--spacing-lg);
    }
    
    .timeline-content {
        padding: var(--spacing-lg);
    }
    
    .comp-column {
        padding: var(--spacing-lg);
    }
    
    .bento-card {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .skill-pill {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .skill-pill-icon {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .footer-left .logo {
        margin-bottom: var(--spacing-sm);
    }
}

/* ===================================
   UTILITAIRES
   =================================== */

.hidden {
    display: none !important;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

