/* ================================================================
    VARIABLES & BASE
================================================================ */
:root {
    --bg-color: #EEE9ED;
    --dark-blue: #241D45;
    --main-violet: #9D2284;
    --soft-violet: #AA72AF;
    --light-violet: #BDA9C9;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 20px rgba(36, 29, 69, 0.08);
    --shadow-md: 0 10px 40px rgba(36, 29, 69, 0.12);
    --shadow-lg: 0 20px 60px rgba(36, 29, 69, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    font-family: 'DM Sans', sans-serif;
    color: var(--dark-blue);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================================================================
    TYPOGRAPHIE
================================================================ */
h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

p {
    font-size: 1.1rem;
    color: rgba(36, 29, 69, 0.8);
}

/* ================================================================
    LOADER
================================================================ */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.loader-content {
    width: min(90%, 300px);
    text-align: left;
}

.loader-brand {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    letter-spacing: 2px;
}

.brand-year {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--main-violet);
}

.progress-container {
    width: 100%;
    height: 2px;
    background-color: rgba(36, 29, 69, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--main-violet), var(--soft-violet));
    transition: width 0.3s ease-out;
}

.progress-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--soft-violet);
    font-weight: 600;
    text-transform: uppercase;
}

/* ================================================================
    NAVIGATION
================================================================ */
.floating-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 32px;
    border-radius: 50px;
    border: 1px solid rgba(157, 34, 132, 0.15);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.floating-nav:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--light-violet);
}

.floating-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(20px, 3vw, 30px);
}

.floating-nav a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

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

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

.floating-nav a:hover,
.floating-nav a.active {
    color: var(--main-violet);
}

.nav-icon {
    color: var(--soft-violet);
    font-size: 1.2rem;
    margin: 0 5px;
}

/* ================================================================
    SECTION HERO
================================================================ */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(189, 169, 201, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(189, 169, 201, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
}

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.flash-swap {
    animation: flash 0.3s ease-out;
}

@keyframes flash {
    0% { opacity: 1; filter: blur(0px); transform: scale(1); }
    50% { opacity: 0.5; filter: blur(5px); transform: scale(1.1); color: var(--light-violet); }
    100% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

#greeting {
    display: inline-block;
    min-width: 150px;
    transition: color 0.2s ease;
}

.violet-accent { color: var(--main-violet); }
.dark-blue { color: var(--dark-blue); }

.typewriter-container {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-top: 10px;
    min-height: 2.5rem;
}

.typewriter-container .cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.availability-badge {
    position: absolute;
    top: 40px;
    left: 5%;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--light-violet);
    border-radius: 100px;
    transition: var(--transition);
    cursor: pointer;
}

.availability-badge:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22C55E;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.badge-text {
    font-family: 'Sora', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================================
    SECTION CONTEXTE
================================================================ */
.contexte-section {
    padding: 100px 5%;
    position: relative;
}

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

.contexte-main-phrase {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-blue);
    margin-bottom: 50px;
}

.highlight-blue {
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.highlight-blue::after {
    content: "";
    position: absolute;
    left: -2%;
    bottom: -5px;
    width: 104%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='1000' height='20' viewBox='0 0 1000 20' preserveAspectRatio='none' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 12C150 5 450 3 990 10' stroke='%23AA72AF' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.7;
}

.highlight-violet {
    color: var(--main-violet);
    font-weight: 800;
}

.soft-skills-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    background: rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(157, 34, 132, 0.1);
    cursor: default;
    transition: var(--transition);
}

.skill-tag:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    color: var(--main-violet);
}

.skill-tag::before {
    content: attr(data-icon);
    color: var(--main-violet);
    font-size: 1.2rem;
}
/* ================================================================
    SECTION PROJETS - DESIGN ÉDITORIAL LARGE
================================================================ */
/* ================================================================
    SECTION PROJETS - STYLE ÉDITORIAL AVEC TITRE FANTÔME
================================================================ */

.asymmetric-section {
    position: relative;
    padding: 100px 5%; /* Réduction du padding pour remonter le contenu */
    background-color: var(--bg-color);
    overflow: hidden;
}

/* Le texte "PROJETS" en arrière-plan - AJUSTÉ */
.massive-bg-text {
    position: absolute;
    top: -50px; /* On le fixe près du haut de la section */
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Sora', sans-serif;
    font-size: 220px; /* Taille réduite pour être moins massif */
    font-weight: 900;
    color: var(--dark-blue);
    opacity: 0.07;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -2px; /* Un peu plus serré pour le style */
}

.container {
    position: relative;
    z-index: 2; /* Pour passer par-dessus le texte PROJETS */
    max-width: 1200px;
    margin: 0 auto;
}

/* Grille de projets plus compacte */
.projects-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px 40px;
    margin-top: 80px; /* Laisse de la place au texte PROJETS en haut */
}

/* Grille moderne et aérée */
.projects-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

/* Conteneur Image avec aspect ratio fixe */
.projet-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* Format cinéma/web large */
    background-color: #f0f0f0;
    border-radius: 4px; /* Coins très légèrement arrondis pour le style éditorial */
    overflow: hidden;
    margin-bottom: 25px;
}

.projet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Texte sous l'image */
.projet-content {
    padding: 0 10px;
}

.tag-badge {
    font-family: 'Sora', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--main-violet);
    display: inline-block;
    margin-bottom: 12px;
}

.projet-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 8px;
    line-height: 1.2;
}

.projet-desc {
    font-size: 1rem;
    color: var(--soft-violet);
    font-weight: 400;
    opacity: 0.8;
}

/* EFFETS AU SURVOL (Hover) */
.projet-card:hover .projet-img {
    transform: scale(1.03); /* Zoom très léger et élégant */
}

.projet-card:hover .projet-title {
    color: var(--main-violet);
    transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projet-title {
        font-size: 1.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ================================================================
    SECTION LOGICIELS - OVERLAY SIMPLE SANS FOND
================================================================ */
.logiciels-section {
    padding: 120px 5%;
    background: var(--dark-blue);
    position: relative;
    overflow: hidden;
}

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

.logiciels-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 5%;
}

.section-badge {
    display: inline-block;
    background: rgba(157, 34, 132, 0.2);
    color: var(--main-violet);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(157, 34, 132, 0.3);
}

.logiciels-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark-blue) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--dark-blue) 100%);
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: scroll-marquee 20s linear infinite;
    will-change: transform;
    padding: 0 20px;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* CONTAINER POUR CHAQUE LOGICIEL */
.logiciel-container {
    position: relative;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* ÉLÉMENT LOGICIEL (SANS FOND) */
.logiciel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    padding: 15px;
}

/* LOGO TRANSPARENT */
.logiciel-logo {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logiciel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.logiciel-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* NOM DU LOGICIEL */
.logiciel-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-violet);
    text-align: center;
    transition: color 0.3s ease;
}

.logiciel-item:hover .logiciel-name {
    color: var(--main-violet);
}

/* OVERLAY SIMPLE - BULLE D'INFORMATION */
.logiciel-overlay {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    text-align: center;
    border: 1px solid rgba(157, 34, 132, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

/* FLÈCHE DE LA BULLE */
.logiciel-overlay::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-right: 1px solid rgba(157, 34, 132, 0.2);
    border-bottom: 1px solid rgba(157, 34, 132, 0.2);
    transform: translateX(-50%) rotate(45deg);
}

.logiciel-container:hover .logiciel-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* CONTENU DE L'OVERLAY */
.logiciel-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logiciel-overlay-name {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

.logiciel-overlay-desc {
    font-size: 0.8rem;
    color: rgba(36, 29, 69, 0.8);
    line-height: 1.4;
    margin: 0;
}

/* ANIMATION SUBTILE AU SURVOL */
.logiciel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
                rgba(157, 34, 132, 0.1) 0%, 
                transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logiciel-container:hover .logiciel-item::before {
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .logiciel-container {
        min-width: 80px;
    }
    
    .logiciel-logo {
        width: 60px;
        height: 60px;
    }
    
    .logiciel-overlay {
        min-width: 180px;
        padding: 12px;
        top: -70px;
    }
    
    .logiciel-overlay-name {
        font-size: 0.9rem;
    }
    
    .logiciel-overlay-desc {
        font-size: 0.75rem;
    }
    
    .marquee-content {
        gap: 40px;
    }
    
    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .logiciel-container {
        min-width: 70px;
    }
    
    .logiciel-logo {
        width: 50px;
        height: 50px;
    }
    
    .logiciel-name {
        font-size: 0.8rem;
    }
    
    .logiciel-overlay {
        min-width: 160px;
        padding: 10px;
        top: -65px;
    }
    
    .logiciel-overlay-name {
        font-size: 0.85rem;
    }
    
    .logiciel-overlay-desc {
        font-size: 0.7rem;
    }
}
/* ================================================================
    SECTION SOFT SKILLS
================================================================ */
.soft-skills-section {
    padding: 120px 5%;
    background: white;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.soft-skills-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-top: 20px;
}

.skills-list {
    max-width: 900px;
    margin: 0 auto;
}

.skill-row {
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid rgba(36, 29, 69, 0.1);
    transition: all 0.4s ease;
    cursor: default;
}

.skill-row:last-child {
    border-bottom: none;
}

.skill-row:hover {
    padding-left: 20px;
}

.skill-number {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--main-violet);
    margin-right: 60px;
    padding-top: 5px;
    min-width: 60px;
}

.skill-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.skill-content p {
    font-size: 1.1rem;
    color: rgba(36, 29, 69, 0.8);
    line-height: 1.6;
    max-width: 700px;
}

.skill-row:hover h3 {
    color: var(--main-violet);
}
/* =================================
TEMOIGNAGAES
===================================== */


.testimonials-modern {
    padding: 120px 5%;
    background-color: var(--bg-color);
    overflow: hidden;
}

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

.testi-badge {
    color: var(--main-violet);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.testi-title {
    margin-top: 10px;
    margin-bottom: 60px;
    color: var(--dark-blue);
}

/* Slider Logic */
.testi-slider-wrapper {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.testi-slider {
    width: 100%;
    position: relative;
}

.testi-card {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card.active {
    opacity: 1;
    visibility: visible;
}

/* Style Épuré / Editorial */
.quote-mark {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 5rem;
    color: var(--main-violet);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -20px;
}

.testi-quote {
    font-family: 'Sora', sans-serif;
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--dark-blue);
    line-height: 1.5;
    margin-bottom: 30px;
}

.testi-name {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.testi-role {
    font-size: 0.9rem;
    color: var(--main-violet);
    font-weight: 500;
}

/* Navigation */
.testi-nav {
    position: absolute;
    width: 110%;
    left: -5%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    pointer-events: auto;
    background: white;
    border: 1px solid rgba(157, 34, 132, 0.2);
    color: var(--main-violet);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--main-violet);
    color: white;
    transform: scale(1.1);
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(36, 29, 69, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--main-violet);
    width: 25px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .testi-nav {
        display: none; /* Cache les flèches sur mobile pour privilégier les dots */
    }
    .testi-slider-wrapper {
        min-height: 400px;
    }
}
/* ================================================================
    SECTION CONTACT
================================================================ */
.contact-section {
    padding: 120px 5%;
    background: var(--bg-color);
}

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

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--dark-blue);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    border: 2px solid var(--light-violet);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--dark-blue);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 34, 132, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--main-violet);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2rem;
    color: var(--main-violet);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--soft-violet);
    font-weight: 500;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--main-violet);
    transition: transform 0.3s ease;
}

.contact-card:hover .card-arrow {
    transform: translateX(5px);
}

.final-cta {
    margin-top: 80px;
}

.cta-box {
    background: linear-gradient(135deg, var(--main-violet), var(--soft-violet));
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(157, 34, 132, 0.3);
}

.cta-box h3 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--main-violet);
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ================================================================
    FOOTER
================================================================ */
.main-footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 5% 30px;
}

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

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(189, 169, 201, 0.2);
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--main-violet);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--light-violet);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--main-violet);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--light-violet);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--light-violet);
}

.footer-color-dots {
    display: flex;
    gap: 8px;
}

.footer-color-dots span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
}

/* ================================================================
    RESPONSIVE - MOBILE
================================================================ */
@media (max-width: 768px) {
    .floating-nav {
        top: 20px;
        padding: 10px 20px;
    }
    
    .floating-nav ul {
        gap: 15px;
    }
    
    .hero {
        height: 90vh;
    }
    
    .availability-badge {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
    }
    
    .contexte-section,
    .soft-skills-section,
    .testimonials-section,
    .contact-section {
        padding: 80px 5%;
    }
    
    .skill-row {
        flex-direction: column;
        padding: 30px 0;
    }
    
    .skill-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .skill-content h3 {
        font-size: 1.3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 30px;
    }
    
    .cta-box h3 {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .typewriter-container {
        font-size: 1.1rem;
    }
    
    .contexte-main-phrase {
        font-size: 1.5rem;
    }
    
    .soft-skills-cluster {
        gap: 15px;
    }
    
    .skill-tag {
        padding: 10px 16px;
        font-size: 1rem;
    }
    
    .projet-info h3 {
        font-size: 1.5rem;
    }
    
    .p-category {
        display: block;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 5px;
        border-top: 1px solid var(--light-violet);
        padding-top: 5px;
    }
}

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

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--main-violet);
    color: white;
    padding: 8px;
    z-index: 9999;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--main-violet);
    outline-offset: 2px;
}

/* ================================================================
    UTILITAIRES
================================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* ================================================================
    PAGE À PROPOS - STYLE COMPACT & ÉDITORIAL
================================================================ */

/* On crée un espacement en haut pour ne pas que le menu cache le titre */
.about-page {
    padding-top: 100px;
}

/* --- SECTION HERO --- */
.about-hero-compact {
    text-align: center;
    padding: 80px 5% 40px;
}

.about-title-main {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem); /* S'adapte à la taille de l'écran */
    line-height: 1.1;
    margin-top: 25px;
    color: var(--dark-blue);
}

.availability-badge-about {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--light-violet);
    border-radius: 100px;
}

/* --- GRILLE PRINCIPALE (2 COLONNES) --- */
.about-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* La colonne de gauche est un peu plus large */
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 5% 100px;
    align-items: start;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--dark-blue);
}

/* --- BADGE OPQUAST --- */
.opquast-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border-left: 6px solid var(--main-violet); /* Ta couleur principale */
    box-shadow: 0 15px 35px rgba(36, 29, 69, 0.05); /* Ombre légère */
    margin-top: 40px;
}

.opquast-icon {
    background: var(--main-violet);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.opquast-info strong {
    display: block;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.opquast-info p {
    font-size: 0.95rem;
    color: var(--soft-violet);
    margin: 0;
}

/* --- MINI TIMELINE (DROITE) --- */
.mini-timeline {
    border-left: 2px solid var(--light-violet);
    padding-left: 30px;
    margin-top: 20px;
}

.timeline-entry {
    margin-bottom: 45px;
    position: relative;
}

/* Petit point sur la ligne de la timeline */
.timeline-entry::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--main-violet);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.entry-date {
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--main-violet);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-entry h4 {
    margin: 5px 0;
    font-size: 1.2rem;
    color: var(--dark-blue);
}

.timeline-entry p {
    font-size: 0.95rem;
    color: var(--soft-violet);
}

/* ================================================================
    SECTION CONTACT - STYLE AFFIRMÉ (SANS DÉGRADÉ)
================================================================ */

.about-cta-compact {
    padding: 80px 5% 120px;
}

.cta-box {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--main-violet); /* Couleur pleine unique */
    border-radius: 40px; /* Très arrondi pour le contraste */
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff; /* Texte blanc pour ressortir sur le violet */
    margin-bottom: 40px;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Bouton contrasté */
.cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: var(--main-violet);
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 20px 50px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #ffffff;
}

.cta-btn:hover {
    background-color: transparent;
    color: #ffffff;
    transform: scale(1.1) rotate(2deg); /* Petit effet de rotation créatif */
}

/* Optionnel : petit élément décoratif en fond */
.cta-box::after {
    content: "✦";
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}


/* --- RESPONSIVE : Pour les téléphones --- */
@media (max-width: 900px) {
    .about-grid-container {
        grid-template-columns: 1fr; /* On remet tout sur une seule colonne */
        gap: 50px;
        padding-bottom: 60px;
    }

    .about-title-main {
        font-size: 2.5rem;
    }
}