:root {
    --primary-color: #2B2D42;
    --secondary-color: #6C63FF;
    --accent-color: #4ECDC4;
    --text-color: #2B2D42;
    --light-text: #8D99AE;
    --background-color: #F8F9FA;
    --card-background: #FFFFFF;
    --nav-background: #ffffff;
    --header-background: rgba(255, 255, 255, 0.95);
    --content-width: 1400px;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #4ECDC4 100%);
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-hero: linear-gradient(
        -45deg,
        #0062E6 0%,
        #33B1FF 20%,
        #1E90FF 40%,
        #00BFFF 60%,
        #4FB5FF 80%,
        #0062E6 100%
    );
}

[data-theme="dark"] {
    --primary-color: #FFFFFF;
    --secondary-color: #6C63FF;
    --accent-color: #4ECDC4;
    --text-color: #FFFFFF;
    --light-text: #CCCCCC;
    --background-color: #1a1a1a;
    --card-background: #2d2d2d;
    --nav-background: #2d2d2d;
    --header-background: rgba(45, 45, 45, 0.95);
    --gradient-hero: linear-gradient(
        -45deg,
        #1a1a1a 0%,
        #2d2d2d 20%,
        #1a1a1a 40%,
        #2d2d2d 60%,
        #1a1a1a 80%,
        #2d2d2d 100%
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color 0.3s, color 0.3s;
}

header {
    background: var(--header-background);
    backdrop-filter: blur(10px);
    padding: 1rem;
    position: fixed;
    width: calc(100% - 2rem);
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 25px;
    margin: 0 auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
}

.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1200;
    padding: 1rem;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transition: all 0.3s var(--animation-timing);
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s var(--animation-timing);
}

.burger-icon span:nth-child(1) { top: 0; }
.burger-icon span:nth-child(2) { top: 9px; }
.burger-icon span:nth-child(3) { top: 18px; }

.burger-menu.active .burger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active .burger-icon span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--animation-timing);
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    color: white;
    position: relative;
    overflow: hidden;
    animation: gradientAnimation 8s linear infinite;
    z-index: 1;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    20% {
        background-position: 100% 50%;
    }
    40% {
        background-position: 0% 25%;
    }
    60% {
        background-position: 100% 75%;
    }
    80% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.03) 50%, transparent 52%);
    background-size: 20px 20px;
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content > * {
    animation: fadeInUp 0.8s var(--animation-timing) backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.hero-content > *:nth-child(5) { animation-delay: 1s; }

.profile-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: float 6s infinite ease-in-out;
}

.profile-photo:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero-h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 4rem 2rem;
    max-width: var(--content-width);
    margin: 0 auto;
}

.service-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-origin: center;
    transition: all 0.4s var(--animation-timing);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s var(--animation-timing);
    z-index: -1;
    border-radius: inherit;
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-features li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

.service-features li::before {
    content: "→";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.contact-container {
    max-width: var(--content-width);
    margin: 4rem auto;
    padding: 2rem;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

form {
    display: grid;
    grid-template-columns: auto-fit, minmax(300px, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

input, textarea, select {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

select {
    cursor: pointer;
    background: var(--card-background);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

textarea {
    grid-column: 1 / -1;
    min-height: 150px;
}

button {
    grid-column: 1 / -1;
    background: var(--gradient);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: var(--gradient);
    transition: transform 0.5s var(--animation-timing);
    transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    z-index: 0;
}

button:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-15%);
}

button span {
    position: relative;
    z-index: 1;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: var(--background-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    form {
        grid-template-columns: 1fr;
    }
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: white;
    color: var(--secondary-color);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s var(--animation-timing);
}

.skill-tag:hover {
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

@media (max-width: 860px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--background-color);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s var(--animation-timing);
        z-index: 1090;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        color: var(--text-color);
        font-size: 1.2rem;
    }

    [data-theme="dark"] .nav-links {
        background: rgba(26, 26, 26, 0.98);
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s var(--animation-timing);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.5s; }

    .hero-content {
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        padding: 2rem 1rem;
    }

    .contact-container {
        margin: 2rem 1rem;
        padding: 1rem;
    }

    .skills-container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 180px;
        height: 180px;
    }

    .service-card {
        padding: 1.5rem;
    }

    form {
        padding: 1rem;
    }
}

/* Styles spécifiques pour la page réalisations */
.realisations-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 8rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .realisations-hero {
    background: var(--gradient-hero);
}

.realisations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

[data-theme="dark"] .realisations-hero::before {
    opacity: 0.05;
    animation: pulseDark 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.05; }
    50% { opacity: 0.15; }
    100% { opacity: 0.05; }
}

@keyframes pulseDark {
    0% { opacity: 0.02; }
    50% { opacity: 0.08; }
    100% { opacity: 0.02; }
}

.realisations-hero h1 {
    font-size: 4rem;
    margin-bottom: 2.5rem;
    color: white;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.realisations-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    opacity: 0.9;
    line-height: 1.8;
    padding: 0 1rem;
}

/* Page hero (réutilisable pour services, à propos, contact) */
.page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 8rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.page-hero h1 {
    font-size: 4rem;
    margin-bottom: 2.5rem;
    color: white;
    position: relative;
}

.page-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    opacity: 0.9;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    max-width: var(--content-width);
    margin: 0 auto;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-cta {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-cta:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Contact page avec onglets */
.contact-page-section {
    padding: 4rem 2rem;
    max-width: var(--content-width);
    margin: 0 auto;
}

.contact-page-section .contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #eee;
    background: var(--background-color);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.tab-btn {
    position: relative;
}

.tab-btn .tab-btn-text {
    position: relative;
    z-index: 1;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.services-section {
    padding: 4rem 2rem;
    max-width: var(--content-width);
    margin: 0 auto;
}

/* Home page teasers */
.home-teaser {
    padding: 4rem 2rem;
    max-width: var(--content-width);
    margin: 0 auto;
}

.home-teaser h2,
.home-realisations h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-teaser .service-card {
    padding: 2rem;
}

.services-teaser .service-card h3 {
    font-size: 1.2rem;
}

.home-realisations {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-color);
    max-width: var(--content-width);
    margin: 0 auto;
}

.teaser-text {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: var(--light-text);
}

.projects-grid {
    max-width: var(--content-width);
    margin: -6rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Grille 3 colonnes sur l'accueil */
.projects-home {
    margin: 2rem auto 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.projects-home .project-card {
    display: flex;
    flex-direction: column;
}

.projects-home .project-image {
    height: 220px;
}

.projects-home .project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projects-home .project-description {
    flex: 1;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card {
    background: var(--card-background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s var(--animation-timing);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--animation-timing);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.project-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.project-description {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.project-tags span {
    background: var(--background-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    transform: translateY(-2px);
    background: var(--gradient);
    color: white;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-links .primary-btn {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.project-links .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-links .primary-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.project-links .primary-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .project-card {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 400px;
    }

    .projects-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-home {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .realisations-hero {
        padding: 8rem 1.5rem 6rem;
        min-height: 50vh;
    }

    .realisations-hero h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .realisations-hero p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .page-hero {
        padding: 8rem 1.5rem 6rem;
        min-height: 50vh;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .page-hero p {
        font-size: 1.2rem;
    }

    .contact-page-section .contact-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        margin-top: -2rem;
        padding: 0 1.5rem;
    }

    .project-content {
        padding: 2rem;
    }

    .project-content h2 {
        font-size: 1.8rem;
    }

    .project-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .project-image {
        height: 250px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-tags {
        gap: 0.5rem;
    }

    .project-tags span {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Styles du footer */
footer.site-footer,
.site-footer {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 4rem 2rem 1rem !important;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] footer.site-footer,
[data-theme="dark"] .site-footer {
    background: var(--card-background) !important;
    color: var(--text-color) !important;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

footer.site-footer .footer-content,
.footer-content {
    max-width: var(--content-width);
    margin: 0 auto 3rem;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 3rem;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-description {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-contact li {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .footer-links a, 
[data-theme="dark"] .footer-contact li {
    color: var(--text-color);
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .footer-social a {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal a,
.footer-legal a:visited {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-legal a,
[data-theme="dark"] .footer-legal a:visited {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.separator {
    margin: 0 1rem;
    opacity: 0.5;
}

/* Ajout des styles responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a, .footer-contact li {
        justify-content: center;
    }
}

/* Animation au survol des éléments du footer */
.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

/* Styles pour la section À propos */
.about-section {
    padding: 4rem 2rem;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    display: none;
}

.about-container {
    max-width: var(--content-width);
    margin: 0 auto;
    position: relative;
}

.about-container h2 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.about-text:hover {
    transform: translateY(-5px);
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.about-text p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--background-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.about-list li::before {
    content: "→";
    color: var(--secondary-color);
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-list li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-top: 10rem;
    }    
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 5px;
}

.nav-logo img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.nav-logo {
    margin-right: auto;
}

.nav-links {
    margin-left: auto;
}

/* Pour le responsive */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }
    
    .nav-logo {
        margin-right: 0;
    }
}

.skills-section {
    max-width: var(--content-width);
    margin: 4rem auto;
    padding: 0 2rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .skills-section {
        padding: 0 1rem;
    }
}

/* Pour la section Services */
#services {
    max-width: var(--content-width);
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Pour la section Contact */
#contact {
    max-width: var(--content-width);
    margin: 4rem auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    #services, #contact {
        padding: 0 1rem;
    }
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(var(--text-color), 0.1);
}

.theme-toggle i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .theme-text {
        display: none;
    }
    
    .theme-toggle {
        padding: 8px;
    }
}

/* Ajuster le header en mobile */
@media (max-width: 768px) {
    header {
        width: calc(100% - 1rem);
        left: 0.5rem;
        top: 0.5rem;
        padding: 1rem;
    }

    nav {
        padding: 0 0.5rem;
    }

    /* Ajuster le menu mobile */
    .nav-links {
        width: 100vw;
        right: -100vw;
    }
}
