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

:root {
    --turquoise: #52d4a0;
    --emerald: #4ade80;
    --violet: #a78bfa;
    --primary: #52d4a0;
    --accent: #4ade80;
    --secondary: #0f2847;
    --dark: #0f2847;
    --light: #f0fdfa;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #52d4a0 0%, #4ade80 50%, #a78bfa 100%);
    --gradient-alt: linear-gradient(135deg, #0f2847 0%, #52d4a0 100%);
    --aurora-bg: linear-gradient(180deg, #0a1628 0%, #0f2847 40%, #1a365d 70%, #2d1b4e 100%);
}

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

/* ===================== HEADER ===================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(82, 212, 160, 0.1);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineReveal 2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes lineReveal {
    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(0.5);
    }

    100% {
        transform: scaleX(1);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    opacity: 0;
    animation: fadeFromLeft 0.6s ease-out 0.2s both;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.logo:hover .logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tagline centrale */
.nav-tagline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-tagline-text {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #6e6e6e;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    padding: 0 1.5rem;
}

.nav-tagline-text::before,
.nav-tagline-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
}

.nav-tagline-text::before {
    right: 100%;
    background: linear-gradient(90deg, transparent, #ddd);
}

.nav-tagline-text::after {
    left: 100%;
    background: linear-gradient(90deg, #ddd, transparent);
}

@keyframes fadeFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(82, 212, 160, 0.2));
}

.logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(82, 212, 160, 0.4));
}

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

.nav-links li {
    opacity: 0;
}

.nav-links li:nth-child(1) {
    animation: fadeFromLeft 0.5s ease-out 0.9s both;
}

.nav-links li:nth-child(2) {
    animation: fadeFromLeft 0.5s ease-out 1.05s both;
}

.nav-links li:nth-child(3) {
    animation: fadeFromLeft 0.5s ease-out 1.2s both;
}

.nav-links li:nth-child(4) {
    animation: fadeFromLeft 0.5s ease-out 1.35s both;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--turquoise);
}

.nav-links a:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 20;
}

/* ===================== HERO ===================== */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    background: var(--aurora-bg);
    position: relative;
    overflow: hidden;
}

/* Lueur sunset en fond */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(167, 139, 250, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(82, 212, 160, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(74, 222, 128, 0.18) 0%, transparent 55%);
    animation: sunsetPulse 8s ease-in-out infinite alternate;
}

@keyframes sunsetPulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Particules flottantes */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

.hero-particles span:nth-child(1) {
    left: 3%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 0s;
    background: var(--turquoise);
}

.hero-particles span:nth-child(2) {
    left: 9%;
    width: 5px;
    height: 5px;
    animation-duration: 14s;
    animation-delay: 1.2s;
    background: var(--violet);
}

.hero-particles span:nth-child(3) {
    left: 15%;
    width: 3px;
    height: 3px;
    animation-duration: 8s;
    animation-delay: 3.5s;
    background: var(--emerald);
}

.hero-particles span:nth-child(4) {
    left: 21%;
    width: 1px;
    height: 1px;
    animation-duration: 5s;
    animation-delay: 0.8s;
    background: #fff;
}

.hero-particles span:nth-child(5) {
    left: 28%;
    width: 6px;
    height: 6px;
    animation-duration: 18s;
    animation-delay: 2s;
    background: var(--violet);
}

.hero-particles span:nth-child(6) {
    left: 34%;
    width: 2px;
    height: 2px;
    animation-duration: 7s;
    animation-delay: 5s;
    background: var(--emerald);
}

.hero-particles span:nth-child(7) {
    left: 41%;
    width: 4px;
    height: 4px;
    animation-duration: 11s;
    animation-delay: 1s;
    background: var(--turquoise);
}

.hero-particles span:nth-child(8) {
    left: 47%;
    width: 1px;
    height: 1px;
    animation-duration: 4s;
    animation-delay: 0.3s;
    background: #fff;
}

.hero-particles span:nth-child(9) {
    left: 53%;
    width: 3px;
    height: 3px;
    animation-duration: 9s;
    animation-delay: 6s;
    background: var(--violet);
}

.hero-particles span:nth-child(10) {
    left: 59%;
    width: 5px;
    height: 5px;
    animation-duration: 16s;
    animation-delay: 2.8s;
    background: var(--emerald);
}

.hero-particles span:nth-child(11) {
    left: 65%;
    width: 2px;
    height: 2px;
    animation-duration: 6s;
    animation-delay: 4s;
    background: #fff;
}

.hero-particles span:nth-child(12) {
    left: 71%;
    width: 1px;
    height: 1px;
    animation-duration: 5s;
    animation-delay: 1.7s;
    background: var(--turquoise);
}

.hero-particles span:nth-child(13) {
    left: 76%;
    width: 4px;
    height: 4px;
    animation-duration: 12s;
    animation-delay: 0.5s;
    background: var(--violet);
}

.hero-particles span:nth-child(14) {
    left: 82%;
    width: 2px;
    height: 2px;
    animation-duration: 7s;
    animation-delay: 3s;
    background: var(--emerald);
}

.hero-particles span:nth-child(15) {
    left: 87%;
    width: 6px;
    height: 6px;
    animation-duration: 20s;
    animation-delay: 7s;
    background: var(--turquoise);
}

.hero-particles span:nth-child(16) {
    left: 92%;
    width: 3px;
    height: 3px;
    animation-duration: 8s;
    animation-delay: 2.2s;
    background: var(--violet);
}

.hero-particles span:nth-child(17) {
    left: 97%;
    width: 1px;
    height: 1px;
    animation-duration: 5s;
    animation-delay: 4.5s;
    background: #fff;
}

.hero-particles span:nth-child(18) {
    left: 25%;
    width: 2px;
    height: 2px;
    animation-duration: 10s;
    animation-delay: 8s;
    background: var(--emerald);
}

.hero-particles span:nth-child(19) {
    left: 44%;
    width: 3px;
    height: 3px;
    animation-duration: 7s;
    animation-delay: 6.5s;
    background: var(--violet);
}

.hero-particles span:nth-child(20) {
    left: 68%;
    width: 2px;
    height: 2px;
    animation-duration: 13s;
    animation-delay: 9s;
    background: var(--turquoise);
}

@keyframes particleFloat {
    0% {
        bottom: -5px;
        opacity: 0;
        transform: translateX(0) scale(1);
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateX(25px) scale(1.2);
    }

    90% {
        opacity: 0.6;
        transform: translateX(-10px) scale(0.8);
    }

    100% {
        bottom: 105%;
        opacity: 0;
        transform: translateX(15px) scale(0.5);
    }
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s backwards, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(82, 212, 160, 0.6)) drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.9)) drop-shadow(0 0 50px rgba(167, 139, 250, 0.5));
    }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(82, 212, 160, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-3px);
}

/* ===================== SECTIONS ===================== */
section {
    width: 100%;
    padding: 6rem 5%;
}

.section-header,
.services-grid,
.about-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--turquoise);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================== SERVICES ===================== */
#services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Fond des cartes - Options: #fff8ed (beige doré) | #e0f7f4 (rose-violet) | #ffe6f0 (rose tendre) */
.service-card {
    background: #e0f7f4;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--turquoise);
    box-shadow: 0 20px 50px rgba(82, 212, 160, 0.25);
}

.service-card:hover::before {
    opacity: 0.06;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.04);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: #777;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-list li {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    padding-left: 1.4rem;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

/* ===================== PORTFOLIO ===================== */
#portfolio {
    background: var(--aurora-bg);
    color: var(--white);
    padding: 6rem 0 4rem 0;
    position: relative;
}

#portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(82, 212, 160, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

#portfolio .section-header {
    padding: 0 5%;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

#portfolio .section-tag {
    color: var(--violet);
}

#portfolio .section-title,
#portfolio .section-subtitle {
    color: var(--white);
}

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

.slider-overflow {
    overflow: hidden;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.slide {
    display: none;
    width: 100%;
    min-height: 500px;
    height: auto;
    grid-template-columns: 45% 55%;
    align-items: stretch;
}

.slide.active {
    display: grid;
    animation: slideFadeIn 0.5s ease;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem;
    min-height: 680px;
    background: linear-gradient(135deg, rgba(82, 212, 160, 0.15) 0%, rgba(74, 222, 128, 0.1) 50%, rgba(167, 139, 250, 0.15) 100%);
}

.project-screenshot {
    max-width: 45%;
    max-height: 85%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.slide.active .project-screenshot:hover {
    transform: scale(1.02);
}

/* Screenshot unique (projet 3) */
.project-screenshot:only-child {
    max-width: 75%;
}

/* Contraste pour fond-ecran-site.png */
.project-screenshot--framed {
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.slide-emoji {
    display: none;
}

.slide.active .slide-emoji {
    animation: emojiPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes emojiPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zone images */
.slide-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.5rem 1rem;
    overflow: hidden;
}

/* SCREENSHOTS - RÈGLES SIMPLIFIÉES */
img.slide-screenshot-side {
    width: 48% !important;
    height: 520px !important;
    max-width: 520px !important;
    max-height: 520px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3)) !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
}

img.slide-screenshot-side:hover {
    transform: scale(1.02) !important;
    filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.4)) !important;
}

img.slide-screenshot-single {
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 650px !important;
    object-fit: contain !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

img.slide-screenshot-single:hover {
    transform: scale(1.01) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5) !important;
}


.slide-content {
    padding: 3rem 4% 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    max-height: 680px;
}

/* Wrapper titre + logo */
.project-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

/* Titre avec logo */
.slide-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.slide-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    align-self: flex-start;
}

.slide-title-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
}


.project-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.project-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 0.3rem;
}

.project-btn {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.slide-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.slide-content .section-tag {
    margin-bottom: 0;
    color: var(--violet);
}

.slide-content h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin: 0;
}

.slide-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.slide-btn {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 1rem;
    background: rgba(167, 139, 250, 0.15);
    color: var(--violet);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow--left {
    left: 1.5rem;
}

.slider-arrow--right {
    right: 1.5rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 2.5rem 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--violet);
    transform: scale(1.3);
}

/* ===================== ABOUT ===================== */
#about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #e0f7f4;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateX(10px);
}

.skill-icon {
    font-size: 1.5rem;
}

.about-visual {
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(82, 212, 160, 0.3);
}

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

/* ===================== CONTACT ===================== */
#contact {
    background: #e0f7f4;
}

.contact-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(82, 212, 160, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #ead5f5;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(82, 212, 160, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--turquoise);
    box-shadow: 0 10px 30px rgba(82, 212, 160, 0.15);
}

.contact-item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-item p {
    color: #888;
}

.contact-item a {
    color: var(--turquoise);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--emerald);
}

/* ===================== FOOTER ===================== */
footer {
    width: 100%;
    background: var(--aurora-bg);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
}

footer p {
    opacity: 0.7;
}

/* ===================== SCROLL REVEAL ===================== */
.js-loaded .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */

.nav-links a {
    font-size: 0.88rem;
}

/* Réduire légèrement le texte central */
/* ===================== RESPONSIVE MEDIUM ===================== */
@media (max-width: 1330px) and (min-width: 769px) {

    /* Cacher le texte central quand l'écran devient trop petit */
    .nav-tagline {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        gap: 0;
    }

    .nav-tagline {
        display: none;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(82, 212, 160, 0.15);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links.active li {
        animation: none !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.5rem;
        display: grid;
        grid-template-columns: 90px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 1rem;
        align-items: start;
    }

    .service-img {
        width: 90px !important;
        max-height: 90px !important;
        margin-bottom: 0 !important;
        grid-row: 1 / 4;
        grid-column: 1;
        align-self: center;
    }

    .service-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.3rem;
        grid-column: 2;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        grid-column: 2;
    }

    .service-list {
        grid-column: 2;
        margin-top: 0.5rem !important;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: 300px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .slide-images {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    /* 2 images côte à côte */


    /* Image unique avec contour */




    .slide-logo {
        width: 60px;
        height: 60px;
    }



    .slide-title-text {
        min-height: 70px;
    }

    .slide-content {
        padding: 2rem 5%;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slider-arrow--left {
        left: 0.5rem;
    }

    .slider-arrow--right {
        right: 0.5rem;
    }


    .slide-images {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }






    .slide-title-text {
        min-height: 60px;
    }



    .slide-images {
        display: none !important;
    }

    .slide {
        height: auto !important;
        min-height: unset !important;
        grid-template-columns: 1fr !important;
    }

}

/* ===================== FOOTER LEGAL ===================== */
.footer-legal {
    margin-top: 0.8rem;
}

.footer-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--violet);
}

/* ===================== MODAL MENTIONS LÉGALES ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 18, 64, 0.85);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--white);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--gradient);
    color: var(--white);
}

.modal-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--light);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    font-family: 'Space Mono', monospace;
}

.legal-section p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.legal-section ul {
    list-style: none;
    margin: 0.5rem 0 0.8rem 0;
}

.legal-section ul li {
    color: #555;
    font-size: 0.95rem;
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
}

.legal-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

.legal-section a {
    color: var(--turquoise);
}

.legal-section a:hover {
    text-decoration: underline;
    color: var(--emerald);
}

.legal-note {
    background: var(--light);
    border-left: 3px solid var(--turquoise);
    padding: 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem !important;
    color: #666 !important;
}

@media (max-width: 768px) {
    .modal-box {
        padding: 2rem 1.5rem;
    }
}