:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #34c4e7; /* Cyan issu du logo Pix and Love */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease;
    background: rgba(5, 5, 5, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #888;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    padding: 5px 8px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: var(--accent-color);
    background: rgba(52, 196, 231, 0.1);
}

.lang-sep {
    color: #444;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-text {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
}

.accent-and {
    color: var(--accent-color);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 300; /* Typographie plus fine (Light) */
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #999;
    letter-spacing: 1px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cta-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* About Section */
.about {
    padding: 120px 20px;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 900px;
    text-align: center;
}

.about h2, .portfolio h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #aaa;
    font-weight: 300;
}

.about-text strong {
    color: #fff;
    font-weight: 600;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 50px;
    background: #080808;
}

.brand-section {
    margin-bottom: 80px;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.4s;
}

.portfolio-item:hover video {
    opacity: 1;
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .item-info {
    transform: translateY(0);
    opacity: 1;
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.item-meta {
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-weight: 600;
    color: #ccc;
}

/* Footer */
footer {
    padding: 100px 20px 40px;
    text-align: center;
    background: #020202;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer-content p {
    color: #888;
    margin-bottom: 40px;
}

.contact-email {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.contact-email::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.contact-email:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-bottom {
    margin-top: 80px;
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .portfolio {
        padding: 50px 20px;
    }
    .navbar {
        padding: 20px;
    }
    .nav-links {
        display: none; /* Mobile menu could be added later */
    }
}

/* Modal Video */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-content video {
    width: 100%;
    max-height: 80vh;
    display: block;
}

.modal-info {
    padding: 20px;
    background: #111;
}

.modal-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.modal-info p {
    color: #aaa;
    font-size: 0.9rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.close-modal:hover {
    color: var(--accent-color);
}


/* App Development Section */
.appdev {
    padding: 80px 20px;
    background-color: var(--secondary-bg);
    text-align: center;
}

.appdev-container {
    max-width: 1200px;
    margin: 0 auto;
}

.appdev h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.appdev-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.coming-soon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
