@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..800;1,9..40,400..800&family=Syne:wght@400..800&display=swap');

:root {
    --bg-color: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-primary: #2563eb;
    --accent-primary-light: #3b82f6;
    --accent-cyan: #0ea5e9;
    --accent-pink: #f43f5e;
    --card-bg: #ffffff;
    --border-color: #f1f5f9;
    --font-syne: 'Syne', sans-serif;
    --font-dm: 'DM Sans', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-dm);
    scroll-behavior: smooth;
}

/* Grain Effect */
body::after {
    content: '';
    position: fixed;
    inset: -200%;
    width: 400%;
    height: 400%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .04;
    pointer-events: none;
    z-index: 9000;
    animation: grain .3s steps(1) infinite;
}

@keyframes grain {
    0% {
        transform: translate(0, 0)
    }

    25% {
        transform: translate(-2%, -1%)
    }

    50% {
        transform: translate(1%, 2%)
    }

    75% {
        transform: translate(-1%, 1%)
    }

    100% {
        transform: translate(2%, -1%)
    }
}

@media(max-width:768px) {
    body::after {
        display: none;
    }
}

/* Fix z-index for sections */
section,
footer,
header,
nav {
    position: relative;
    z-index: 1;
}

/* Resizing for inputs and buttons to ensure mobile friendliness */
input,
textarea,
select {
    font-size: 16px !important;
}

a,
button {
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scroll Progress & Cursor */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
    z-index: 9999;
}

/* Cursor removed at user request for standard mouse */
#cursor,
#cursor-ring {
    display: none !important;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-syne);
    font-weight: 800;
}

.accent {
    color: var(--accent-primary);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--accent-primary);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    background: var(--accent-primary-light);
}

.btn-ghost {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--accent-purple-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, border-color 0.3s;
}

.btn-ghost:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.5);
    color: white;
}

/* Nav */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: max(1.25rem, env(safe-area-inset-top)) 2rem 1.25rem;
    transition: background 0.3s, backdrop-filter 0.3s;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(251, 251, 254, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-logo {
    font-family: var(--font-syne);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-main);
}

.nav-logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    animation: navPhonePulse 2s ease-in-out infinite;
    padding: 0.4rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-phone:hover {
    animation: none;
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@keyframes navPhonePulse {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, .4);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(168, 85, 247, .3);
    }
}

.nav-online-dot {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    margin-right: -0.1rem;
}

.nav-online-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid #25D366;
    animation: onlineRing 1.5s ease-in-out infinite;
}

@keyframes onlineRing {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.nav-phone svg {
    color: var(--accent-purple-light);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 14px;
    z-index: 9999;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
    #navbar {
        padding: max(1.25rem, env(safe-area-inset-top)) 1rem 1.25rem;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    .nav-phone {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(251, 251, 254, .98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease;
        padding: 2rem;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-family: var(--font-dm);
        font-size: 1.25rem;
        font-weight: 500;
    }
}

/* Hero */
#hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    z-index: 10;
}

.hero-label {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    background: #ffffff;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 8rem);
    line-height: 1.0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-line {
    opacity: 0;
    animation: fadeUp .9s ease forwards;
}

.hero-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.45s;
}

.hero-line-accent {
    color: var(--text-main);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.hero-sub {
    font-size: clamp(.9rem, 3vw, 1.1rem);
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@media (max-width: 600px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-btns a {
        width: 100%;
    }
}

/* Stats */
#stats {
    padding: 4rem 0;
}

.stats-bar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-syne);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-main);
}

.stat-unit {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-left: 0.2rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 2rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 auto;
    }
}

/* Processus */
#processus {
    padding: 6rem 0;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-step {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.step-num {
    font-family: var(--font-syne);
    font-weight: 900;
    font-size: 3rem;
    color: rgba(124, 58, 237, .06);
    position: absolute;
    top: 1rem;
    left: 1rem;
    line-height: 1;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.step-title {
    font-family: var(--font-syne);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.process-connector {
    flex: 0.3;
    height: 1px;
    border-top: 2px dashed rgba(168, 85, 247, 0.3);
}

@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .process-connector {
        height: 40px;
        width: 1px;
        border-top: none;
        border-left: 2px dashed rgba(168, 85, 247, 0.3);
        flex: none;
    }

    .process-step {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Expertise */
#expertise {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item {
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    gap: 1rem;
    align-items: flex-start;
    padding: 2.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: -1;
}

.service-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent-color, var(--accent-primary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.service-item:hover::before,
.service-item.active::before {
    transform: translateX(0);
    background: linear-gradient(90deg, rgba(37, 99, 235, .04), transparent);
}

.service-item:hover::after,
.service-item.active::after {
    transform: scaleY(1);
}

.service-num {
    font-family: var(--font-syne);
    font-weight: 800;
    font-size: 1.25rem;
    color: #e2e8f0;
    transition: color 0.3s;
    margin-top: 0.25rem;
}

.service-item:hover .service-num,
.service-item.active .service-num {
    color: var(--accent-color, var(--accent-primary));
}

.service-name {
    display: block;
    font-family: var(--font-syne);
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-main);
    opacity: 0.8;
    transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
}

.service-item:hover .service-name,
.service-item.active .service-name {
    color: var(--accent-color, var(--accent-primary));
    transform: translateX(8px);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 0;
    padding-left: 8px;
}

.service-item:hover .service-details,
.service-item.active .service-details {
    max-height: 200px;
    padding-top: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    color: var(--accent-color, var(--accent-primary));
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.service-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 0.25rem;
}

.service-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: transform 0.4s ease, background 0.3s;
}

.service-item:hover .service-icon-wrap,
.service-item.active .service-icon-wrap {
    transform: rotate(-8deg) scale(1.1);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.service-arrow {
    font-family: var(--font-syne);
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.3;
    transition: color 0.3s, transform 0.3s;
}

.service-item:hover .service-arrow,
.service-item.active .service-arrow {
    color: var(--accent-primary);
    transform: translate(4px, -4px);
}

.expertise-footer {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: rgba(251, 251, 254, .6);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.expertise-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.expertise-stat strong {
    font-family: var(--font-syne);
    font-size: 1.5rem;
    color: var(--text-main);
}

.expertise-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-sub {
        text-align: left !important;
    }

    .service-item {
        grid-template-columns: 2rem 1fr;
        padding: 1.5rem 0;
        gap: 0.75rem;
    }

    .service-name {
        font-size: 1.4rem;
    }

    .service-right {
        position: absolute;
        right: 0;
        top: 1.5rem;
        gap: 0.5rem;
    }

    .service-icon-wrap {
        width: 36px;
        height: 36px;
    }

    .service-icon-wrap svg {
        width: 18px;
        height: 18px;
    }

    .service-arrow {
        display: none;
    }
}


/* Testimonials */
#temoignages {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.testimonials-wrapper {
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem;
    margin: 0 -1rem;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
}

.testimonials-track:active {
    cursor: grabbing;
}

.testimonial-card {
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.testimonial-card-inner {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card-inner:hover {
    border-color: rgba(124, 58, 237, .3);
}

.testi-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testi-text {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-syne);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.testi-author>div:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testi-author strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.testi-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 10, 26, 0.08);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.testi-dot.active {
    background: var(--accent-purple);
    transform: scale(1.3);
}

/* FAQ */
#faq {
    padding: 6rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}

.faq-item:hover {
    border-color: rgba(124, 58, 237, .4);
}

.faq-item.open {
    border-color: #7c3aed;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: .95rem;
    gap: 1rem;
    user-select: none;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(124, 58, 237, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #8b8aa0;
    flex-shrink: 0;
    transition: transform .4s, background .3s, color .3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: #7c3aed;
    color: #fff;
    border-color: #7c3aed;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1), padding .3s;
    padding: 0 1.5rem;
    color: #8b8aa0;
    font-size: .875rem;
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

/* Pricing & Parrainage (Synthesized) */
#pricing {
    padding: 8rem 0;
    background: #f1f5f9;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.pricing-card.popular {
    border-color: var(--accent-purple-light);
    box-shadow: 0 10px 40px rgba(124, 58, 237, .1);
}

.pricing-card.popular .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-purple);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-name {
    font-family: var(--font-syne);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-family: var(--font-syne);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, .4);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 3rem auto 0;
    }
}

#parrainage {
    padding: 6rem 2rem 7rem;
    position: relative;
    z-index: 1;
    background: #f8fafc;
}

.parrainage-block {
    position: relative;
    border-radius: 32px;
    padding: 5rem 3.5rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

/* Particules */
.p-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.p-dot {
    position: absolute;
    border-radius: 50%;
    background: #f59e0b;
    opacity: 0;
    animation: pdotAnim var(--dur, 6s) var(--del, 0s) ease-in-out infinite;
}

@keyframes pdotAnim {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    20% {
        opacity: .45;
        transform: translateY(-20px) scale(1);
    }

    80% {
        opacity: .15;
        transform: translateY(-90px) scale(.7);
    }

    100% {
        opacity: 0;
        transform: translateY(-130px) scale(0);
    }
}

/* Inner */
.parrainage-inner {
    position: relative;
    z-index: 1;
}

/* Header */
.parrainage-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.parrainage-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245, 158, 11, .1);
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 100px;
    padding: .4rem 1rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fcd34d;
    margin-bottom: 1.5rem;
    font-family: 'DM Sans', sans-serif;
}

.pbadge-dot {
    width: 7px;
    height: 7px;
    background: #f59e0b;
    border-radius: 50%;
    position: relative;
    animation: pbdot 1.5s ease-in-out infinite;
}

.pbadge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid #f59e0b;
    animation: pbring 1.5s ease-in-out infinite;
}

@keyframes pbdot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(1.5)
    }
}

@keyframes pbring {
    0% {
        transform: scale(1);
        opacity: .8
    }

    100% {
        transform: scale(2.5);
        opacity: 0
    }
}

.parrainage-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.parrainage-gold {
    color: var(--accent-color, var(--accent-primary));
}

.parrainage-sub {
    font-size: clamp(.875rem, 2vw, 1rem);
    color: #8b8aa0;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'DM Sans', sans-serif;
}

.parrainage-sub strong {
    color: var(--accent-primary);
}

/* Montants */
.parrainage-amounts {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.p-amount-card {
    background: rgba(245, 158, 11, .05);
    border: 1px solid rgba(245, 158, 11, .18);
    border-radius: 18px;
    padding: 1.75rem 2.25rem;
    text-align: center;
    min-width: 190px;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.p-amount-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, .08), transparent 70%);
    pointer-events: none;
}

.p-amount-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, .45);
    box-shadow: 0 20px 60px rgba(245, 158, 11, .1);
}

.p-amount-featured {
    background: rgba(245, 158, 11, .09);
    border-color: rgba(245, 158, 11, .3);
}

.p-amount-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: rgba(245, 158, 11, .65);
    margin-bottom: .5rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}

.p-amount-value {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fcd34d;
    line-height: 1;
    text-shadow: 0 0 30px rgba(245, 158, 11, .3);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .05rem;
}

.p-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(252, 211, 77, .7);
    letter-spacing: 0;
}

.p-amount-offer {
    font-size: .78rem;
    color: #8b8aa0;
    margin-top: .45rem;
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

.p-amount-offer strong {
    color: var(--text-main);
}

/* Étapes */
.parrainage-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.pstep {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
    flex: 1;
    max-width: 210px;
}

.pstep-bubble-wrap {
    position: relative;
    display: inline-flex;
}

.pstep-bubble {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .08);
    border: 1.5px solid rgba(245, 158, 11, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: pstepFloat 3s ease-in-out infinite;
    transition: background .3s, box-shadow .3s;
}

.pstep:nth-child(3) .pstep-bubble {
    animation-delay: -1s;
}

.pstep:nth-child(5) .pstep-bubble {
    animation-delay: -2s;
}

@keyframes pstepFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

.pstep-bubble:hover {
    background: rgba(245, 158, 11, .18);
    box-shadow: 0 0 30px rgba(245, 158, 11, .2);
}

.pstep-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 21px;
    height: 21px;
    background: #f59e0b;
    color: #000;
    border-radius: 50%;
    font-size: .62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
}

.pstep-title {
    font-family: 'Syne', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    color: var(--text-main);
}

.pstep-desc {
    font-size: .78rem;
    color: #8b8aa0;
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

.pstep-connector {
    flex: 1;
    height: 1.5px;
    max-width: 80px;
    background: linear-gradient(90deg, rgba(245, 158, 11, .4), rgba(245, 158, 11, .1));
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
}

.pstep-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60px;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .9), transparent);
    animation: pconnShine 2.5s ease-in-out infinite;
}

@keyframes pconnShine {
    0% {
        left: -60px
    }

    100% {
        left: 120%
    }
}

/* CTA */
.parrainage-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.parrainage-cta {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 1.1rem 2.5rem;
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .02em;
    transition: transform .25s, box-shadow .3s;
    box-shadow: 0 8px 40px rgba(37, 211, 102, .25);
    animation: pctaBounce 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.parrainage-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent);
    opacity: 0;
    transition: opacity .2s;
}

.parrainage-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 60px rgba(37, 211, 102, .35);
    animation: none;
}

.parrainage-cta:hover::before {
    opacity: 1;
}

@keyframes pctaBounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

.parrainage-wa-icon {
    animation: waWiggle 3s ease-in-out infinite;
    flex-shrink: 0;
    display: flex;
}

@keyframes waWiggle {

    0%,
    85%,
    100% {
        transform: rotate(0)
    }

    88% {
        transform: rotate(-12deg)
    }

    92% {
        transform: rotate(12deg)
    }

    96% {
        transform: rotate(-6deg)
    }
}

.parrainage-note {
    font-size: .75rem;
    color: rgba(139, 138, 160, .55);
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: 'DM Sans', sans-serif;
}

.parrainage-note::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
}

.parrainage-exclusion {
    text-align: center;
    margin-top: 1.75rem;
    font-size: .7rem;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: .03em;
    font-family: 'DM Sans', sans-serif;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
    #parrainage {
        padding: 0 1.25rem 4rem;
    }

    .parrainage-block {
        padding: 2.5rem 1.5rem;
    }

    .parrainage-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .pstep-connector {
        display: none;
    }

    .pstep {
        max-width: 100%;
    }

    .parrainage-amounts {
        gap: .85rem;
    }

    .p-amount-card {
        min-width: 130px;
        padding: 1.25rem;
    }

    .parrainage-cta {
        font-size: .9rem;
        padding: .9rem 1.75rem;
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .parrainage-title {
        font-size: 1.85rem;
    }

    .parrainage-amounts {
        flex-direction: column;
        align-items: center;
    }

    .p-amount-card {
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }

    .parrainage-steps {
        grid-template-columns: 1fr !important;
    }

    .pstep {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        max-width: 100%;
    }

    .pstep-bubble {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .pstep-bubble-wrap {
        flex-shrink: 0;
    }
}

/* Footer */
#footer {
    background: #f1f3f9;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-syne);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

.footer-logo span {
    color: var(--accent-purple);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 250px;
    line-height: 1.6;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: color 0.3s;
    margin-top: 0.5rem;
    width: fit-content;
}

.footer-contact-link:hover {
    color: var(--accent-purple-light);
}

.footer-contact-link svg {
    color: var(--accent-purple);
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-title {
    font-family: var(--font-syne);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--text-main);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom)) !important;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, .35);
    animation: waBounce 2s ease-in-out infinite;
    transition: transform .2s, box-shadow .2s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, .5);
    animation: none;
}

@keyframes waBounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@media(max-width:768px) {
    .whatsapp-btn {
        bottom: calc(2rem + env(safe-area-inset-bottom));
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 420px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    z-index: 9990;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s ease, opacity .4s ease;
}

.cookie-banner.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.cookie-content p {
    font-size: .82rem;
    color: #8b8aa0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cookie-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: .75rem;
}

.cookie-accept {
    background: var(--accent-primary);
    color: #fff;
    border: none;
    padding: .6rem 1.25rem;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    min-height: 44px;
}

.cookie-accept:hover {
    background: var(--accent-primary-light);
    transform: translateY(-1px);
}

.cookie-decline {
    background: transparent;
    color: #8b8aa0;
    border: 1px solid rgba(139, 138, 160, .3);
    padding: .6rem 1.25rem;
    border-radius: 8px;
    font-size: .82rem;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    min-height: 44px;
}

.cookie-decline:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

@media(max-width:480px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
        bottom: 1rem;
    }
}

/* --- AMÉLIORATION DE LA LISIBILITÉ (UI/UX) --- */

/* Corps de texte — taille et interligne */
body {
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Paragraphes et descriptions — plus lisibles */
p,
.section-sub,
.step-desc,
.pstep-desc,
.testi-text,
.faq-answer {
    color: var(--text-muted);
    line-height: 1.75;
}

/* Titres de section — plus contrastés */
.section-title {
    color: var(--text-main);
}

/* Features des tarifs - Plus lisibles */
.pricing-discount {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: -0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-discount span {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.pricing-savings {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.pricing-urgency {
    text-align: center;
    color: var(--accent-pink);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.pricing-features li {
    color: var(--text-muted);
}

/* Cartes — fond légèrement plus clair pour contraste */
.pricing-card,
.faq-item,
.process-step,
.testimonial-card,
.stats-bar {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* --- PORTFOLIO CAROUSEL 3D --- */
#portfolio {
    padding: 6rem 0;
    overflow: hidden; /* Important : empêcher le défilement horizontal dû au dépassement 3D */
}

.carousel-container {
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin-top: 3rem;
    position: relative;
    cursor: grab;
    z-index: 10;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.carousel-card {
    position: absolute;
    width: var(--face-width, 300px);
    height: 420px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s;
    border: 1px solid var(--border-color);
    /* Le script va appliquer filter: blur par défaut et l'enlever pour la carte active */
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-overlay {
    position: absolute;
    inset: 0.5rem;
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.carousel-card:hover .carousel-overlay {
    opacity: 1;
}

.carousel-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.carousel-title {
    font-family: var(--font-syne);
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.2;
}

.carousel-instructions {
    text-align: center;
    margin-top: 1.5rem;
}

.carousel-instructions span {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--card-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

/* Modale plein écran image */
.portfolio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.portfolio-modal.active {
    opacity: 1;
    pointer-events: all;
}

.portfolio-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.25, 1);
}

.portfolio-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 100000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s, transform 0.3s;
}

.portfolio-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.portfolio-modal.active img {
    transform: scale(1);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 380px;
    }
    .carousel-card {
        height: 290px;
    }
    .carousel-overlay {
        opacity: 1; /* Toujours visible sur mobile */
        padding: 1rem;
    }
    .carousel-title {
        font-size: 1.15rem; /* Réduire pour éviter les dépassements */
    }
    .carousel-category {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }
    .portfolio-modal-close {
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
        font-size: 1.8rem;
    }
}