/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-color: #ff6600;
    --secondary-color: #cc5200;
    --accent-color: #ff8533;
    --success-color: #00d9ff;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --card-shadow: 0 10px 30px rgba(255, 102, 0, 0.1);
    --card-shadow-hover: 0 20px 40px rgba(255, 102, 0, 0.2);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    transition: letter-spacing 0.3s ease;
}

.nav-logo:hover {
    letter-spacing: 2px;
}

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

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.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;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-duration: 10s;
    animation-direction: reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(0, 217, 255, 0.2));
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 102, 0, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Photo professionnelle */
.profile-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(255, 102, 0, 0.3);
    object-fit: cover;
    aspect-ratio: 3/4;
    border: 3px solid rgba(255, 102, 0, 0.4);
    transition: all 0.4s ease;
}

.profile-photo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 60px rgba(255, 102, 0, 0.4);
    border-color: var(--primary-color);
}

/* Placeholder (garde au cas où) */
.profile-placeholder {
    width: 320px;
    height: 320px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(0, 217, 255, 0.1));
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 102, 0, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.2);
}

.profile-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(255, 102, 0, 0.3);
}

.profile-placeholder svg {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.5));
}

.profile-placeholder p {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, var(--accent-color), #ff9944);
}

.btn-secondary {
    background: var(--success-color);
    color: var(--dark-bg) !important;
    border: 2px solid var(--success-color);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

.btn-secondary:hover {
    background: #00c4e6;
    border-color: #00c4e6;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-light {
    background: #ffffff;
    color: var(--text-primary);
}

.section-dark {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

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

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 3px;
}

.section-title-dark {
    color: var(--text-primary);
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 2.5rem auto 4rem;
    line-height: 1.8;
}

.section-dark .section-intro {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 10rem 2rem 4rem;
    position: relative;
}

.mission-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.mission-header-content {
    max-width: 800px;
}

.mission-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ============================================
   PARCOURS GRID
   ============================================ */
.parcours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.parcours-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
}

.parcours-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.2);
}

.parcours-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.parcours-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.parcours-card > p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.parcours-description {
    flex-grow: 1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.parcours-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-content-large {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
    transform: translateX(12px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
    border-left-width: 6px;
}

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

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--primary-color) !important;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.contact-item p {
    color: var(--text-primary) !important;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   ENTREPRISE CARDS
   ============================================ */
.entreprise-content {
    display: grid;
    gap: 2.5rem;
}

.entreprise-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.entreprise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.entreprise-card h2,
.entreprise-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f0f0f0;
}

.info-grid,
.info-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #fff5eb, #e6f7ff);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, #ffecd9, #cceeff);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.15);
}

.info-item strong {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.info-item span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.content-block {
    margin-top: 1.5rem;
}

.content-block h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.content-block p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.domaine-card {
    background: linear-gradient(135deg, #fff5eb, #e6f7ff);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
    transition: all 0.3s ease;
}

.domaine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.15);
}

.domaine-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.domaine-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ============================================
   MISSION DETAIL
   ============================================ */
.mission-detail {
    display: grid;
    gap: 2.5rem;
}

.mission-section-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.mission-section-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.mission-section-card.highlight {
    background: linear-gradient(135deg, #fff5eb, #ffffff);
    border: 2px solid var(--primary-color);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #f0f0f0;
}

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

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
}

.objectives-list {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.objectives-list h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.objectives-list li {
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
}

.objectives-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tasks-timeline {
    position: relative;
    padding-left: 2rem;
}

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

.task-item {
    position: relative;
    margin-bottom: 2rem;
}

.task-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.task-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.task-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.task-traces {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.task-traces h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.trace-mini-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.trace-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.trace-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trace-mini-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.trace-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.trace-link::after {
    content: ' →';
    font-size: 0.9em;
    transition: transform 0.3s ease;
    display: inline-block;
}

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

.trace-link:hover::after {
    transform: translateX(4px);
}

.trace-mini-card:has(.trace-link:hover) {
    background: linear-gradient(135deg, #fff5eb, #ffffff);
    border-color: var(--accent-color);
}

.tools-used {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.tools-used h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tool-tag {
    background: white;
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
}

/* ============================================
   COMPETENCES
   ============================================ */
.competences-mission {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.competence-mission-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.comp-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1.2rem;
    font-weight: 900;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
    height: fit-content;
}

.comp-content h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.ac-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ac-tag {
    background: #e6f7ff;
    color: #0099cc;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--success-color);
}

.justification {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
}

.justification h3 {
    color: #0099cc;
    margin-bottom: 1rem;
}

/* ============================================
   ANALYSE REFLEXIVE
   ============================================ */
.reflexion-item {
    padding: 1.8rem;
    border-radius: 15px;
    border-left: 4px solid;
}

.reflexion-item.full-width {
    width: 100%;
    margin-bottom: 1.5rem;
}

.reflexion-item.success {
    background: #f0fdf4;
    border-color: #10b981;
}

.reflexion-item.warning {
    background: #fff7ed;
    border-color: #f59e0b;
}

.reflexion-item.info {
    background: #eff6ff;
    border-color: #3b82f6;
}

.reflexion-item.primary {
    background: #fef2f2;
    border-color: #ef4444;
}

.reflexion-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.reflexion-item p {
    line-height: 1.7;
    margin-bottom: 0;
}

.difficulties-solutions-container {
    display: grid;
    gap: 2rem;
    margin: 1.5rem 0;
}

.difficulty-solution-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.arrow-separator {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    min-width: 50px;
    animation: pulse 2s ease-in-out infinite;
}

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

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
.navigation-buttons,
.mission-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f1419;
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 2px solid rgba(255, 102, 0, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
}

::selection {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image {
        order: -1;
    }

    .profile-photo {
        max-width: 280px;
    }

    .profile-placeholder {
        width: 280px;
        height: 280px;
    }

    .page-hero {
        padding: 8rem 2rem 3rem;
    }

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

    .parcours-grid,
    .info-grid,
    .info-grid-large,
    .domaines-grid,
    .trace-mini-grid {
        grid-template-columns: 1fr;
    }

    .difficulty-solution-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .arrow-separator {
        transform: rotate(90deg);
        font-size: 2rem;
        margin: 0.5rem 0;
    }

    .contact-content-large {
        max-width: 100%;
    }
    
    .contact-item {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-item strong {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }

    .navigation-buttons,
    .mission-navigation {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
