/* ===== RÉINITIALISATION ET GARANTIES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== CORRECTIONS SPÉCIFIQUES POUR VOTRE SITE ===== */
#accueil {
    background-color: #0a0e1a !important;
    position: relative;
    overflow: hidden;
}

#accueil > .absolute.inset-0.z-0 {
    background: linear-gradient(rgba(10, 14, 26, 0.7), rgba(10, 14, 26, 0.9)) !important;
}

#accueil > .absolute.inset-0.z-0 img {
    opacity: 0.4 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.header {
    background: rgba(10, 14, 26, 0.95) !important;
    border-bottom: 1px solid #4e9eff !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg {
    background: #1a1f2e !important;
}

.card-bg {
    background: #252a3d;
    border-radius: 10px;
    padding: 20px;
}

.gradient-bg {
    background: linear-gradient(45deg, #4e9eff, #601cfc) !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.profile-img {
    border: 5px solid #4e9eff;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 5px 0;
}

.nav-link:hover {
    color: #4e9eff;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
}

footer {
    background: #0a0e1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .profile-img { width: 200px; height: 200px; }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #4e9eff;
    --secondary: #601cfc;
    --dark: #0a0e1a;
    --dark-secondary: #1a1f2e;
    --card-bg: #252a3d;
    --text-light: #c7d5e0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: #ffffff;
    scroll-behavior: smooth;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.card-bg {
    background: var(--card-bg);
}

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

.header {
    backdrop-filter: blur(10px);
    background: rgba(26, 31, 46, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 31, 46, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
}

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

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

.profile-img {
    animation: float 6s ease-in-out infinite;
    border: 5px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

.skill-bar-bg {
    background: rgba(255, 255, 255, 0.1);
}

.skill-bar-fill {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.project-overlay {
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

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

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

@media (max-width: 1024px) {
    .timeline::before { left: 30px; }
    .timeline-item { padding-left: 80px; }
    .timeline-icon { position: absolute; left: 0; margin: 0; }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
    max-height: 500px;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.section {
    padding: 6rem 0;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-5px);
}

.tag {
    background: rgba(78, 158, 255, 0.2);
    color: var(--primary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(78, 158, 255, 0.3);
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .hero-title { font-size: 2.5rem; }
}

.certificate-card {
    position: relative;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-10px);
}

.certificate-badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.animate-slideInUp {
    animation: slideInUp 0.6s ease forwards;
}

.interest-card {
    transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mentions-legales-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0a0e1a 100%);
    position: relative;
    overflow-x: hidden;
}

.mentions-legales-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(78, 158, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(96, 28, 252, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.mentions-header {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(78, 158, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.mentions-header a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(78, 158, 255, 0.1);
    border: 1px solid rgba(78, 158, 255, 0.3);
    transition: all 0.3s ease;
}

.mentions-header a:hover {
    background: rgba(78, 158, 255, 0.2);
    border-color: #4e9eff;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(78, 158, 255, 0.2);
}

.mentions-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.mention-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.mention-section.delay-1 { animation-delay: 0.1s; }
.mention-section.delay-2 { animation-delay: 0.2s; }
.mention-section.delay-3 { animation-delay: 0.3s; }
.mention-section.delay-4 { animation-delay: 0.4s; }

.mention-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mention-section h2 {
    color: #4e9eff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mention-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.info-item i {
    color: #4e9eff;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-item span {
    flex: 1;
}

.info-item strong {
    color: #ffffff;
    font-weight: 600;
}

.contact-info {
    background: linear-gradient(135deg, rgba(78, 158, 255, 0.1), rgba(96, 28, 252, 0.1));
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(78, 158, 255, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.contact-info h3 {
    color: #4e9eff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mentions-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

@media (max-width: 768px) {
    .mention-section { padding: 1.5rem; }
    .mention-section h2 { font-size: 1.3rem; }
    .contact-info { padding: 1.5rem; }
}

.logo {
    width: 42px;
    height: 42px;
    position: relative;
    border-radius: 50%;
    border: 2px solid #4e9eff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo:hover {
    border-color: #601cfc;
    transform: scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.logo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4e9eff, #601cfc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: none;
}

.logo-img[src=""] + .logo-fallback,
.logo-img:not([src]) + .logo-fallback {
    display: flex;
}

.header .container .flex.items-center.gap-3 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    flex-shrink: 0;
}

#schemaModal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#schemaModal:target {
    display: flex !important;
    opacity: 1;
}

body:has(#schemaModal:target) {
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

#schemaModal:target .relative {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient {
    animation: gradient 15s ease infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

.delay-500 { animation-delay: 500ms; }
.delay-700 { animation-delay: 700ms; }
.delay-1000 { animation-delay: 1000ms; }
.delay-1200 { animation-delay: 1200ms; }

.interest-card {
    position: relative;
    overflow: hidden;
    background: rgba(37, 42, 61, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4e9eff, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.interest-card:hover::before {
    transform: translateX(100%);
}

.interest-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(78, 158, 255, 0.1);
}

.interest-card {
    position: relative;
    overflow: hidden;
    background: rgba(37, 42, 61, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4e9eff, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.interest-card:hover::before {
    transform: translateX(100%);
}

.interest-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(78, 158, 255, 0.15);
    border-color: rgba(78, 158, 255, 0.3) !important;
}

.interest-card .relative.inline-block {
    transition: all 0.3s ease;
}

.interest-card:hover .relative.inline-block {
    transform: scale(1.1);
}

.interest-card .tag {
    transition: all 0.3s ease;
}

.interest-card:hover .tag {
    background: rgba(78, 158, 255, 0.3) !important;
    border-color: rgba(78, 158, 255, 0.5) !important;
    transform: translateY(-2px);
}

.interest-card {
    position: relative;
    overflow: hidden;
    background: rgba(37, 42, 61, 0.85) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 158, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(78, 158, 255, 0.8), 
        rgba(96, 28, 252, 0.8), 
        transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 1;
}

.interest-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(78, 158, 255, 0.15),
                0 0 60px rgba(96, 28, 252, 0.1) !important;
    border-color: rgba(78, 158, 255, 0.3) !important;
}

.interest-card:hover::before {
    transform: translateX(100%);
}

.interest-card:hover i,
.interest-card:hover .fa {
    transform: scale(1.1);
    color: #4e9eff !important;
}

.interest-card:hover h3,
.interest-card:hover h4,
.interest-card:hover h5 {
    color: #4e9eff !important;
}

.interest-card:hover p,
.interest-card:hover span:not(.tag) {
    color: rgba(255, 255, 255, 0.9) !important;
}

.interest-card .tag {
    transition: all 0.3s ease;
    background: rgba(78, 158, 255, 0.2) !important;
    border: 1px solid rgba(78, 158, 255, 0.3);
}

.interest-card:hover .tag {
    background: rgba(78, 158, 255, 0.3) !important;
    border-color: rgba(78, 158, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 158, 255, 0.2);
}

@keyframes cardEnter {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.interest-card {
    animation: cardEnter 0.6s ease-out forwards;
}

.interest-card:nth-child(1) { animation-delay: 0.1s; }
.interest-card:nth-child(2) { animation-delay: 0.2s; }
.interest-card:nth-child(3) { animation-delay: 0.3s; }
.interest-card:nth-child(4) { animation-delay: 0.4s; }
.interest-card:nth-child(5) { animation-delay: 0.5s; }
.interest-card:nth-child(6) { animation-delay: 0.6s; }

.fixed.bottom-8.right-8.flex {
    z-index: 9999;
}

@keyframes ping-slow {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(1.5); opacity: 0; }
}

.animate-ping-slow {
    animation: ping-slow 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

#themeToggle {
    background: rgba(37, 42, 61, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(78, 158, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#themeToggle:hover {
    background: rgba(78, 158, 255, 0.2) !important;
    border-color: rgba(78, 158, 255, 0.5);
    box-shadow: 0 12px 40px rgba(78, 158, 255, 0.2);
}

#sunIcon, #moonIcon {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body:not([data-theme="light"]) #moonIcon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body:not([data-theme="light"]) #sunIcon {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

[data-theme="light"] #sunIcon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #f59e0b;
}

[data-theme="light"] #moonIcon {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

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

.group:hover .fa-arrow-up {
    animation: bounce 1s infinite;
}

#themeToggle::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        rgba(78, 158, 255, 0.3), 
        rgba(96, 28, 252, 0.3),
        rgba(78, 158, 255, 0.3));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#themeToggle:hover::after {
    opacity: 1;
}

#themeToggle::before,
.fixed.bottom-8.right-8 a::before {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10000;
}

#themeToggle:hover::before,
.fixed.bottom-8.right-8 a:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@media (max-width: 768px) {
    .fixed.bottom-8.right-8 {
        bottom: 6rem;
        right: 1.5rem;
    }
}

[data-theme="light"] #themeToggle {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #themeToggle:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] #themeToggle::after {
    background: linear-gradient(45deg, 
        rgba(251, 191, 36, 0.3), 
        rgba(245, 158, 11, 0.3),
        rgba(251, 191, 36, 0.3));
}

[data-theme="light"] #themeToggle::before,
[data-theme="light"] .fixed.bottom-8.right-8 a::before {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .fixed.bottom-8.right-8 a {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

[data-theme="light"] .fixed.bottom-8.right-8 a:hover {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

[data-theme="light"] .text-\[#c7d5e0\] {
    color: #475569 !important;
    font-weight: 500;
}

[data-theme="light"] p,
[data-theme="light"] span:not(.tag) {
    color: #334155 !important;
    font-weight: 450;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] .interest-card,
[data-theme="light"] .card-bg,
[data-theme="light"] .project-card,
[data-theme="light"] .certificate-card,
[data-theme="light"] .timeline-item .interest-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #2563eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    color: #1e293b !important;
}

[data-theme="light"] .interest-card p,
[data-theme="light"] .interest-card span:not(.tag),
[data-theme="light"] .project-card p,
[data-theme="light"] .certificate-card p {
    color: #334155 !important;
    font-weight: 450;
}

[data-theme="light"] #profil {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
}

[data-theme="light"] #profil .text-lg.text-white {
    color: #0f172a !important;
    font-weight: 600;
}

[data-theme="light"] #profil .space-y-4.text-\[#c7d5e0\] p {
    color: #475569 !important;
    font-weight: 450;
}

[data-theme="light"] .section .text-center h2 {
    color: #0f172a !important;
}

[data-theme="light"] .interest-card h3.text-white {
    color: #0f172a !important;
}

[data-theme="light"] .interest-card p.text-\[#c7d5e0\] {
    color: #475569 !important;
    font-weight: 450;
}

[data-theme="light"] #parcours .timeline-item .interest-card h3 {
    color: #2563eb !important;
}

[data-theme="light"] #parcours .timeline-item .interest-card p {
    color: #475569 !important;
}

[data-theme="light"] .text-center .text-\[#c7d5e0\] {
    color: #64748b !important;
    font-weight: 500;
}

[data-theme="light"] #projets .project-card h3 {
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] #projets .project-card p {
    color: #475569 !important;
}

[data-theme="light"] #certificats {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

[data-theme="light"] #certificats .certificate-card h3 {
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] #certificats .certificate-card p {
    color: #475569 !important;
}

[data-theme="light"] #veille {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9) !important;
}

[data-theme="light"] #veille .text-white {
    color: #0f172a !important;
}

[data-theme="light"] #veille .text-\[#c7d5e0\] {
    color: #475569 !important;
    font-weight: 450;
}

[data-theme="light"] #veille .interest-card .text-white {
    color: #0f172a !important;
}

[data-theme="light"] #veille .interest-card .text-\[#c7d5e0\] {
    color: #475569 !important;
}

[data-theme="light"] .interest-card.block h4 {
    color: #0f172a !important;
}

[data-theme="light"] .interest-card.block p {
    color: #475569 !important;
}

[data-theme="light"] .text-xs.text-\[#c7d5e0\] {
    color: #64748b !important;
    font-weight: 500;
}

[data-theme="light"] #contact .interest-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] #contact .interest-card p {
    color: #475569 !important;
    font-weight: 500;
}

[data-theme="light"] .form-input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 450;
}

[data-theme="light"] .form-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}

[data-theme="light"] .form-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    outline: none;
}

[data-theme="light"] footer {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] footer p {
    color: #475569 !important;
    font-weight: 500;
}

[data-theme="light"] footer a {
    color: #2563eb !important;
    font-weight: 500;
}

[data-theme="light"] .tag {
    background: rgba(37, 99, 235, 0.15) !important;
    border: 1px solid rgba(37, 99, 235, 0.3) !important;
    color: #1d4ed8 !important;
    font-weight: 600;
}

[data-theme="light"] .fa,
[data-theme="light"] .fas,
[data-theme="light"] .fab {
    color: #475569 !important;
}

[data-theme="light"] .text-\[#4e9eff\] {
    color: #2563eb !important;
}

[data-theme="light"] #accueil {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #dbeafe 100%) !important;
}

[data-theme="light"] #accueil h1 {
    color: #0f172a !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] #accueil span.text-\[#c7d5e0\] {
    color: #475569 !important;
    font-weight: 500;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .header a.text-2xl {
    color: #2563eb !important;
}

[data-theme="light"] .nav-link {
    color: #475569 !important;
    font-weight: 500;
}

[data-theme="light"] .nav-link:hover {
    color: #2563eb !important;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    font-weight: 700;
}

[data-theme="light"] .gradient-bg {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}

[data-theme="light"] .project-overlay a,
[data-theme="light"] .certificate-overlay a {
    background: #ffffff !important;
    color: #1e293b !important;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .project-overlay a:hover,
[data-theme="light"] .certificate-overlay a:hover {
    background: #f8fafc !important;
    border-color: #2563eb;
}

[data-theme="light"] .text-xl.md\:text-2xl.font-normal {
    color: #475569 !important;
    font-weight: 500;
}

[data-theme="light"] span:not(.gradient-text):not(.tag) {
    color: #475569 !important;
}

[data-theme="light"] li,
[data-theme="light"] ul,
[data-theme="light"] ol {
    color: #334155 !important;
}

[data-theme="light"] #themeToggle::before,
[data-theme="light"] .fixed.bottom-8.right-8 a::before {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}