/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #f97316;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand .brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.typing-text {
    display: inline-block;
    border-right: 2px solid var(--secondary-color);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--secondary-color); }
    51%, 100% { border-color: transparent; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Platform icons styles */
.stat-platforms {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.stat-platforms i {
    color: #64748b;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.stat-platforms .fa-instagram:hover {
    color: #E4405F;
    opacity: 1;
}

.stat-platforms .fa-tiktok:hover {
    color: #000000;
    opacity: 1;
}

.platform-icons {
    display: inline-flex;
    gap: 0.3rem;
    margin-left: 0.3rem;
    font-size: 0.85em;
    opacity: 0.8;
}

.platform-icons i {
    transition: all 0.3s ease;
}

.platform-icons .fa-instagram {
    color: #E4405F;
}

.platform-icons .fa-tiktok {
    color: #000000;
}

.stat-platforms-small {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.3rem;
    font-size: 0.85rem;
}

.stat-platforms-small i {
    color: #64748b;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.stat-platforms-small .fa-instagram:hover {
    color: #E4405F;
    opacity: 1;
}

.stat-platforms-small .fa-tiktok:hover {
    color: #000000;
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===========================
   SECTION COMMONS
   =========================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   PROFIL SECTION
   =========================== */
.profil {
    background: var(--light-bg);
}

.profil-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.profil-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.profil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.profil-card.entrepreneur::before { background: var(--gradient-2); }
.profil-card.product-owner::before { background: var(--gradient-1); }
.profil-card.creator::before { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }

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

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.card-icon.entrepreneur { background: var(--gradient-2); }
.card-icon.product-owner { background: var(--gradient-1); }
.card-icon.creator { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.year-range {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.card-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-stats {
    list-style: none;
}

.card-stats li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.card-stats i {
    color: var(--success-color);
    font-size: 1rem;
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

.stats-section .section-title,
.stats-section .section-subtitle {
    color: var(--white);
}

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

.stats-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: inline-block;
}

.plus, .suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-box p {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #cbd5e1;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

/* ===========================
   EXPERIENCE SECTION
   =========================== */
.experience-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

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

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
}

.timeline-icon {
    position: absolute;
    left: 10px;
    top: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--border-color);
    z-index: 2;
}

.timeline-item:nth-child(2) .timeline-icon {
    background: var(--gradient-2);
}

.timeline-item:nth-child(3) .timeline-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.timeline-content {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

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

.timeline-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.timeline-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-meta i {
    color: var(--primary-color);
}

.experience-context {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.experience-context h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-context i {
    color: var(--secondary-color);
}

.experience-context p {
    color: var(--text-dark);
    line-height: 1.7;
}

.challenge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.challenge-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #059669;
}

.experience-achievements {
    margin-bottom: 1.5rem;
}

.experience-achievements h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-achievements i {
    color: #f59e0b;
}

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

.achievement-item {
    background: var(--white);
    border-radius: 10px;
    padding: 1.25rem;
    border-left: 3px solid var(--primary-color);
}

.achievement-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.achievement-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.exp-skill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.exp-skill:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Résumé du Parcours */
.parcours-resume {
    max-width: 1000px;
    margin: 4rem auto 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.resume-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.resume-header i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.resume-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.resume-timeline-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.resume-period {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.period-years {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.period-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.resume-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================
   FORMATION SECTION
   =========================== */
.formation-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.formation-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.formation-card:nth-child(2)::before {
    background: var(--gradient-2);
}

.formation-card:nth-child(3)::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

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

.formation-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 14px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.formation-card:nth-child(2) .formation-icon {
    background: var(--gradient-2);
}

.formation-card:nth-child(3) .formation-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.formation-year {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.formation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.formation-specialty {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.formation-details {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.formation-details p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.formation-school {
    color: var(--text-light);
    font-style: italic;
}

.certifications-banner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.certifications-banner i {
    font-size: 3rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.certifications-banner h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.certifications-banner p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===========================
   EN GROS SECTION
   =========================== */
.en-gros-section {
    background: var(--light-bg);
}

.collab-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
}

.collab-badge span {
    color: var(--primary-color);
    font-weight: 700;
}

.en-gros-intro {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.concept-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.concept-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.big-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-1);
    border-radius: 12px;
    color: var(--white);
}

.big-stat:nth-child(2) {
    background: var(--gradient-2);
}

.big-stat:nth-child(3) {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.stat-icon {
    font-size: 2rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-right: auto;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Video Gallery */
.video-gallery {
    margin-top: 3rem;
}

.gallery-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.video-card:hover .play-button {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playlist-link {
    text-align: center;
    margin-top: 2rem;
}

.impact-message {
    background: linear-gradient(135deg, #dbeafe 0%, #fef3c7 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.impact-message i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.impact-message p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===========================
   PRODUCT OWNER SECTION
   =========================== */
.product-owner-section {
    background: var(--white);
}

.case-study {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.case-header {
    text-align: center;
    margin-bottom: 2rem;
}

.case-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.case-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.case-context {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
}

.context-item {
    display: flex;
    gap: 1rem;
}

.context-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.context-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.context-item p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.case-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.achievement-column {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.achievement-header i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.achievement-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.achievement-list i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.case-result {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.case-result i {
    font-size: 1.75rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.case-result p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===========================
   COMPÉTENCES SECTION
   =========================== */
.competences-section {
    background: var(--light-bg);
}

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

.competence-category {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.competence-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.competence-category:nth-child(2) .category-icon {
    background: var(--gradient-2);
}

.competence-category:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.competence-category:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.competence-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: var(--white);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 6px;
}

/* ===========================
   DISPONIBILITÉ SECTION
   =========================== */
.disponibilite-section {
    background: var(--light-bg);
}

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

.dispo-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.dispo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dispo-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.dispo-card:nth-child(2) .dispo-icon {
    background: var(--gradient-2);
}

.dispo-card:nth-child(3) .dispo-icon {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.dispo-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.dispo-list {
    list-style: none;
}

.dispo-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.dispo-list i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.dispo-list.highlight i {
    color: var(--secondary-color);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link:nth-child(2) {
    background: #ff0000;
}

/* Form Styles */
.contact-form {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2.5rem;
}

/* Contact form container (iframe) */
.contact-form-container {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 1rem;
    overflow: hidden;
}

.contact-form-container iframe {
    display: block;
    width: 100%;
    min-height: 900px;
    border: none;
    border-radius: 8px;
}

/* Contact form centered (iframe version) */
.contact-form-centered {
    max-width: 1400px; /* Élargi pour afficher 2 colonnes */
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form-centered iframe {
    display: block;
    width: 100%;
    height: 900px; /* Réduit car 2 colonnes = moins de hauteur */
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .contact-form-centered {
        max-width: 100%;
    }
    
    .contact-form-centered iframe {
        height: 1200px; /* Plus de hauteur en mode tablet */
    }
}

@media (max-width: 768px) {
    .contact-form-centered iframe {
        height: 1400px; /* Encore plus sur mobile (1 colonne) */
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rgpd-notice {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===========================
   VIDEO MODAL
   =========================== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 10000;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .hamburger {
        display: flex;
    }

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

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

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

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

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .case-achievements {
        grid-template-columns: 1fr;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-icon {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

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

    /* Formation responsive */
    .formation-grid {
        grid-template-columns: 1fr;
    }

    .certifications-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .profil-cards,
    .stats-grid,
    .competences-grid,
    .disponibilite-grid {
        grid-template-columns: 1fr;
    }

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

    .testimonial-text {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Timeline mobile */
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 3rem;
    }

    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--border-color);
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-header h3 {
        font-size: 1.25rem;
    }

    .timeline-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .challenge-tags {
        flex-direction: column;
    }

    .challenge-tag {
        text-align: center;
    }

    /* Formation mobile */
    .formation-card {
        padding: 2rem;
    }

    .certifications-banner {
        padding: 1.5rem;
    }

    .certifications-banner h4 {
        font-size: 1.25rem;
    }

    .certifications-banner i {
        font-size: 2rem;
    }

    /* Résumé parcours mobile */
    .parcours-resume {
        padding: 1.5rem;
    }

    .resume-header {
        flex-direction: column;
        text-align: center;
    }

    .resume-header h3 {
        font-size: 1.1rem;
    }

    .resume-timeline-simple {
        flex-direction: column;
    }

    .resume-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .period-years {
        font-size: 1.25rem;
    }

    .period-desc {
        font-size: 0.85rem;
    }
}