/* ========================================
   ROYAL PORTFOLIO - STYLE PRINCIPAL
   Abdel Ibbi - Développeur & Admin Système
   ======================================== */

/* --- VARIABLES ROYALES --- */
/* :root {
    --royal-black: #0a0a0a;
    --royal-dark: #121212;
    --royal-darker: #1a1a1a;
    --royal-gold: #d4af37;
    --royal-gold-light: #f4d03f;
    --royal-gold-dark: #b8960c;
    --royal-purple: #2d1b4e;
    --royal-blue: #1a237e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-web: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-mobile: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-sys: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
} */
 :root {
  /* Base Sombre (Vert très profond) */
  --royal-black: #0a110e;
  --royal-dark: #0f1c16;
  --royal-darker: #16261f;

  /* Accents Métalliques (Remplacement de l'Or) */
  --royal-gold: #cd7f32;          /* Bronze Antique */
  --royal-gold-light: #e59b52;
  --royal-gold-dark: #a05f20;
  
  /* Secondaires (Vert Émeraude) */
  --royal-purple: #1a4d38;        /* Émeraude Sombre */
  --royal-blue: #0d2b20;

  /* Textes (Un peu plus chauds) */
  --text-primary: #f0f4f1;
  --text-secondary: #aebfb5;
  --text-muted: #5c6b63;

  /* Glassmorphism (Teinté de vert/bronze) */
  --glass-bg: rgba(205, 127, 50, 0.03);
  --glass-border: rgba(205, 127, 50, 0.2);

  /* Gradients (Naturel & Terre) */
  --gradient-gold: linear-gradient(135deg, #cd7f32 0%, #f4c478 50%, #cd7f32 100%);
  --gradient-dark: linear-gradient(180deg, #0a110e 0%, #16261f 100%);
  --gradient-web: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-mobile: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
  --gradient-sys: linear-gradient(135deg, #134e5e 0%, #71b280 100%);

  /* Ombres (Lueur chaude et douce) */
  --shadow-glow: 0 0 40px rgba(205, 127, 50, 0.1);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--royal-black);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 27, 78, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* --- TYPOGRAPHY ROYALE --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.3;
} */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px; /* 1px → 0.5px */
    line-height: 1.15;     /* 1.3 → ~1.15 */
}

/* h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); } */
h1 { font-size: clamp(2rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.76rem); }     

.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #ffffff 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- CONTAINER --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo span { color: var(--royal-gold); }

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--royal-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--royal-gold);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--royal-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-link { font-size: 1.2rem; }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--royal-gold);
    margin-bottom: 30px;
}

.hero-title {
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- BUTTONS ROYAUX --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--royal-black);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--royal-gold);
    border: 2px solid var(--royal-gold);
}

.btn-secondary:hover {
    background: var(--royal-gold);
    color: var(--royal-black);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--royal-gold);
    color: var(--royal-gold);
}

.btn-web { background: var(--gradient-web); color: white; }
.btn-mobile { background: var(--gradient-mobile); color: white; }
.btn-sys { background: var(--gradient-sys); color: var(--royal-black); }

/* --- SECTIONS GÉNÉRALES --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--royal-gold);
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- CARDS & GRID --- */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- CARD STYLE --- */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-glow);
}

.card:hover::before { opacity: 1; }

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--royal-black);
}

.card-icon.web { background: var(--gradient-web); color: white; }
.card-icon.mobile { background: var(--gradient-mobile); color: white; }
.card-icon.sys { background: var(--gradient-sys); color: var(--royal-black); }

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- SERVICE CARDS --- */
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--royal-black);
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--royal-gold);
    font-weight: bold;
}

/* --- PROJECT CARDS --- */
.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--royal-gold);
    box-shadow: var(--shadow-glow);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-category {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--royal-gold);
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
}

.project-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tag {
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--royal-gold);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.project-link:hover { color: var(--royal-gold); }

/* --- SKILLS --- */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: var(--transition);
}

.skill-item:hover {
    border-color: var(--royal-gold);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--royal-gold);
}

.skill-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- SKILLS PROGRESS --- */
.skills-progress {
    max-width: 800px;
    margin: 0 auto;
}

.skill-progress-item {
    margin-bottom: 30px;
}

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-progress-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.skill-progress-percent {
    color: var(--royal-gold);
    font-weight: 600;
}

.skill-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-out;
}

/* --- CONTACT FORM --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; }
}

.contact-info {
    padding: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--royal-black);
}

.contact-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--royal-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--royal-dark);
    color: var(--text-primary);
}

/* --- FOOTER --- */
.footer {
    background: var(--royal-dark);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-content { grid-template-columns: 1fr; }
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--royal-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--royal-gold);
    border-color: var(--royal-gold);
    color: var(--royal-black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
  
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}
.footer-bottom img {
    text-align: center;
     margin: 0 auto;
}


.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SCROLL TO TOP --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 1.2rem;
    color: var(--royal-black);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* --- STATS SECTION --- */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .stats-container { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--royal-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50px;
    margin-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--royal-gold);
    border-radius: 50%;
    border: 3px solid var(--royal-black);
}

.timeline-item:nth-child(even)::before {
    right: auto;
    left: -8px;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--royal-gold);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timeline-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item {
        width: 100%;
        padding-right: 50px;
        padding-left: 50px;
        margin-left: 0;
    }
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        margin-left: 0;
    }
    .timeline-item::before {
        left: 11px;
        right: auto;
    }
    .timeline-item:nth-child(even)::before {
        left: 11px;
    }
}

/* --- PRICING --- */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .pricing-container { grid-template-columns: 1fr; }
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--royal-gold);
}

.pricing-card.featured {
    border-color: var(--royal-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.pricing-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--royal-gold);
    color: var(--royal-black);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pricing-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-price {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--royal-gold);
    margin-bottom: 30px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--royal-gold);
    font-weight: bold;
}
.nav-link.active {
    color: var(--royal-gold);
    font-weight: 600;
    position: relative;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--royal-gold);
    border-radius: 2px;
}

/* --- Force Visibility for Project Cards --- */
.project-card {
   
    background: #571111 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-content {
   
    padding: 1.5rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.project-title {
    color: #f3f3f6 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
}

.project-description {
    color: #bebed8 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    display: block !important;
    margin-bottom: 1rem !important;
}

.project-tags, .project-category, .project-link {
    display: none !important; /* Caché pour version minimaliste */
}