/* Responsive image swap for MyClimate project */
@media (max-width: 700px) {
    .myclimate-img {
        content: url('img/climatminia.png');
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100vw;
        max-height: 60vw;
        min-width: 120px;
        min-height: 120px;
        margin: 0 auto;
        padding: 0 !important;
        border-radius: 14px !important;
        background: #000;
        position: static;
    }
}
/* Justification à gauche des titres des projets */
.portfolio-item .portfolio-info h3 {
    text-align: left;
}
/* Justification à gauche des paragraphes explicatifs des projets */
.portfolio-item .portfolio-info p {
    text-align: justify;
    text-justify: inter-word;
}
@media (max-width: 700px) {
    .portfolio-item.full-image .portfolio-image img,
    .portfolio-item.echoes-item .portfolio-image img,
    .portfolio-item.artistick-item .portfolio-image img,
    .portfolio-item.artistick-item .portfolio-image video {
           object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100vw;
        max-height: 60vw;
        min-width: 120px;
        min-height: 120px;
        margin: 0 auto;
        padding: 0 !important;
        border-radius: 14px !important;
           background: transparent !important;
        position: static;
    }
    .portfolio-item.full-image .portfolio-image,
    .portfolio-item.echoes-item .portfolio-image,
    .portfolio-item.artistick-item .portfolio-image {
        aspect-ratio: 1/1;
        min-width: 120px;
        min-height: 120px;
        max-width: 98vw;
        max-height: 98vw;
        background: #000;
        padding: 0 !important;
        border-radius: 14px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* Carrousel photos de chiens */
/* Carrousel photos de chiens carré */
.dog-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 320px;
    max-height: 320px;
    min-width: 220px;
    min-height: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #222;
    border-radius: 12px;
}
.dog-slide {
    display: none;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.5s;
    position: absolute;
    left: 0;
    top: 0;
}
.dog-slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
}
.dog-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.dog-carousel-prev { left: 10px; }
.dog-carousel-next { right: 10px; }
.dog-carousel-btn:hover { background: rgba(0,0,0,0.8); }
@media (max-width: 600px) {
    .dog-carousel {
        max-width: 98vw;
        max-height: 98vw;
        min-width: 120px;
        min-height: 120px;
    }
    .dog-slide {
        min-width: 120px;
        min-height: 120px;
    }
}
/* Loader page style */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.7s;
}
/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1200px) {
    body {
        font-size: 15px;
    }
    .contact-section {
        max-width: 98vw;
        padding: 32px 2vw 40px 2vw;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }
    .contact-main-row,
    .contact-columns,
    .contact-info-grid {
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
    }
    .contact-info-block,
    .contact-info-vertical,
    .contact-form-modern,
    .contact-card {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        align-items: center !important;
    }
    .contact-section {
        padding: 24px 1vw 32px 1vw;
    }
    .contact-form {
        padding: 16px 2vw;
    }
    .form-row {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

@media (max-width: 700px) {
    html {
        font-size: 14px;
    }
    .loader-video {
        width: 220px;
        max-width: 95vw;
    }
    .loader-logo {
        width: 120px;
        margin-bottom: -60px;
    }
    .contact-title {
        font-size: 2rem;
    }
    .contact-header h2 {
        font-size: 1.5rem;
    }
    .contact-card {
        padding: 18px 8px 12px 8px;
    }
    .client-logo img {
        max-height: 32px;
        max-width: 60px;
    }

    /* Barre en haut uniquement, masquée en bas */
    .section-separator {
        border-top: 2px dashed var(--gray);
        border-bottom: none !important;
        width: 100%;
        margin: 0 auto 16px auto;
        display: block;
    }
 
}

@media (max-width: 500px) {
    html {
        font-size: 13px;
    }
    body {
        padding: 0;
    }
    .contact-section {
        padding: 8px 0 16px 0;
        border-radius: 0;
        box-shadow: none;
    }
    .contact-header h2 {
        font-size: 1.1rem;
    }
    .contact-title {
        font-size: 1.2rem;
    }
    .contact-form,
    .contact-form-modern {
        padding: 8px 2px;
        border-radius: 0;
        box-shadow: none;
    }
    .form-submit-btn,
    .form-submit-btn.btn-black {
        padding: 10px 0;
        font-size: 1rem;
        border-radius: 4px;
    }
    .loader-video {
        width: 120px;
        max-width: 98vw;
    }
    .loader-logo {
        width: 80px;
        margin-bottom: -30px;
    }
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-video {
    width: 400px;
    max-width: 80vw;
    margin-bottom: -30px;
    height: auto;
    margin-bottom: 12px;
    border-radius: 16px;
    box-shadow: 0 0 32px #000;
    background: transparent;
}

.loader-logo {
    width: 220px;
    margin-bottom: -126px;
}

.loader-subtitle {
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 2px;
    margin-bottom: 32px;
    text-align: center;
}

.progress-bar-container {
    width: 60%;
    max-width: 400px;
    margin-bottom: 8px;
}
.progress-bar {
    background: #222;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    background: #fff;
    height: 100%;
    width: 0%;
    transition: width 0.4s;
}
.progress-text {
    color: #fff;
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 1em;
    letter-spacing: 2px;
}
/* Loader hidden state */
.loader-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}
.contact-subtitle {
    text-align: center;
    color: #888;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}
.contact-main-row {
    display: flex;
    gap: 64px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 260px;
    max-width: 320px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.contact-info-icon {
    font-size: 1.6rem;
    color: #181818;
    margin-top: 2px;
}
.contact-info-label {
    font-weight: 600;
    font-size: 1.08rem;
    color: #181818;
}
.contact-info-value {
    color: #888;
    font-size: 1.05rem;
}
.contact-social-row {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}
.contact-social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    color: #181818;
    font-size: 1.3rem;
    text-align: center;
    line-height: 32px;
    transition: background 0.2s, color 0.2s;
}
.contact-social-icon:hover {
    background: #fff;
    color: #111;
}
.contact-form-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 320px;
    max-width: 480px;
}
.contact-form-modern label {
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #181818;
}
.contact-form-modern input,
.contact-form-modern textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1.5px solid #ededed;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: #181818;
    margin-bottom: 8px;
    transition: border 0.2s;
}
.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    border-color: #181818;
    outline: none;
}
.contact-form-modern textarea {
    min-height: 110px;
    resize: vertical;
}
.form-submit-btn.btn-black {
    background: #181818;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 0;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    margin-top: 8px;
}
.form-submit-btn.btn-black:hover {
    background: #444;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
@media (max-width: 900px) {
    .contact-main-row {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    .contact-info-block {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        align-items: center;
    }
    .contact-form-modern {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}
.contact-columns {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
}
.contact-info-vertical {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 220px;
    max-width: 260px;
}
@media (max-width: 900px) {
    .contact-columns {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .contact-info-vertical {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        align-items: center;
    }
}
.form-submit-btn.less-rounded {
    border-radius: 4px !important;
}
.contact-no-bg {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* ===== CONTACT SECTION inspirée de lakeprod.ch/contact/ ===== */
.contact-section {
    background: #fff;
    padding: 64px 0 80px 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}
.contact-header {
    text-align: center;
    margin-bottom: 32px;
}
.contact-header h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.contact-header p {
    color: #b0b0b0;
    font-size: 1.08rem;
    font-weight: 400;
}
.contact-info-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.contact-card {
    background: #fff;
    border: 1.5px solid #ededed;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 180px;
    padding: 28px 22px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 24px 0;
    transition: box-shadow 0.2s;
}
.contact-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
}
.contact-icon {
    font-size: 2.1rem;
    margin-bottom: 14px;
    color: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
    letter-spacing: 0.01em;
}
.contact-card p {
    color: #222;
    font-size: 0.98rem;
    margin-bottom: 0;
    font-weight: 400;
}
.contact-card a {
    color: #181818;
    text-decoration: underline;
    transition: color 0.2s;
}
.contact-card a:hover {
    color: #ff6b35;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 520px;
    margin: 0 auto;
    padding: 32px 24px;
    background: #fafafa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.form-row {
    display: flex;
    gap: 18px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1.5px solid #ededed;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: #181818;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff6b35;
    outline: none;
}
.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}
.form-submit-btn {
    background: linear-gradient(90deg, #ff6b35 0%, #ffb347 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,107,53,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.form-submit-btn:hover {
    background: linear-gradient(90deg, #ffb347 0%, #ff6b35 100%);
    box-shadow: 0 4px 16px rgba(255,107,53,0.13);
}
@media (max-width: 900px) {
    .contact-info-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .contact-section {
        padding: 40px 0 48px 0;
    }
    .contact-form {
        padding: 24px 10px;
    }
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.social-links {
    margin-top: 18px;
    display: flex;
    gap: 18px;
}
.social-links a {
    color: var(--accent);
    font-size: 2rem;
    transition: color 0.2s;
}
.social-links a:hover {
    color: var(--gray);
}
@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        border-radius: 24px;
    }
    .contact-info {
        border-radius: 0;
        padding: 32px 18px;
    }
}

/* ========== CLIENTS CAROUSEL ========== */
.clients-carousel-outer {
    width: 100%;
    overflow: hidden;
    background: var(--white);
    padding: 24px 0 32px 0;
    margin: 0 auto;
}
.clients-carousel {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: clients-scroll 22s linear infinite;
    width: max-content;
}
.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 60px;
    padding: 0 10px;
}
.client-logo img {
    max-height: 60px;
    max-width: 120px;
    filter: grayscale(1) contrast(1.1);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}
.client-logo img:hover {
    filter: none;
    opacity: 1;
}
@keyframes clients-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 700px) {
    .clients-carousel {
        gap: 32px;
        animation-duration: 3s;
    }
    .client-logo img {
        max-height: 40px;
        max-width: 80px;
    }
}
/* ========== VARIABLES & RÉINITIALISATION ========== */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --dark: #111111;
    --light-gray: #F5F5F5;
    --gray: #999999;
    --accent: #1A1A1A;
    
    --font-main: 'Space Grotesk', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
     overflow-x: hidden;
     max-width: 100vw;
}

body {
    font-family: var(--font-secondary);
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
     max-width: 100vw;
}

/* ========== INTERNSHIP POPUP ========== */
.internship-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.internship-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.internship-popup {
    position: relative;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px 20px 18px 18px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid #23272b;
    /* Camera body effect */
    box-shadow:
        0 0 0 10px #181b1e,
        0 20px 60px rgba(0,0,0,0.3);
    overflow: visible;
}

.internship-popup::before {
    /* Camera top bar (microphone) */
    content: '';
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 18px;
    background: linear-gradient(90deg, #23272b 60%, #444 100%);
    border-radius: 10px 10px 16px 16px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    border: 2px solid #23272b;
}

.internship-popup::after {
    /* Camera lens */
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: radial-gradient(circle at 60% 40%, #4a90e2 0%, #222 80%);
    border-radius: 50%;
    border: 6px solid #555;
    z-index: 3;
    box-shadow: 0 2px 12px 2px rgba(0,0,0,0.25), 0 0 0 8px #23272b;
}

.internship-popup .camera-rec-dot {
    position: absolute;
    top: -52px;
    right: 38px;
    width: 16px;
    height: 16px;
    background: #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 12px 3px rgba(231,76,60,0.5);
    z-index: 4;
    border: 2.5px solid #fff;
    display: block;
}

.internship-popup .camera-viewfinder {
    position: absolute;
    top: -30px;
    left: 18px;
    width: 22px;
    height: 14px;
    background: #23272b;
    border-radius: 4px 8px 8px 4px;
    border: 2px solid #181b1e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    z-index: 4;
}

.internship-popup .camera-handle {
    position: absolute;
    top: -18px;
    right: 18px;
    width: 32px;
    height: 10px;
    background: #23272b;
    border-radius: 6px 6px 10px 10px;
    border: 2px solid #181b1e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    z-index: 4;
}

.internship-popup .camera-reflection {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 10px;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 8px 8px 8px 8px;
    z-index: 5;
    opacity: 0.7;
}

.internship-popup-overlay.show .internship-popup {
    transform: scale(1);
}

.internship-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
    line-height: 1;
    padding: 5px 10px;
}

.internship-popup-close:hover {
    color: var(--black);
}

.internship-popup-content {
    text-align: center;
}

.camera-icon {
    margin: 0 auto 25px;
    width: 80px;
    height: 60px;
    position: relative;
}

.camera-body {
    width: 80px;
    height: 50px;
    background: var(--black);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.camera-lens {
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #333 0%, #111 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lens-inner {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #4a90e2 0%, #2c5aa0 100%);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.camera-flash {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    top: 8px;
    right: 12px;
    box-shadow: 0 0 6px rgba(231, 76, 60, 0.6);
}

.camera-grip {
    position: absolute;
    width: 25px;
    height: 12px;
    background: #222;
    border-radius: 4px 4px 0 0;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.internship-icon {
    font-size: 48px;
    color: var(--black);
    margin-bottom: 20px;
}

.internship-popup h3 {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.internship-popup p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 25px;
}

.internship-popup-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.popup-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    color: var(--dark);
}

.popup-detail i {
    font-size: 18px;
    color: var(--black);
}

.internship-popup .btn {
    margin-top: 10px;
}

.internship-popup-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .internship-popup {
        padding: 10px 2vw;
        border-radius: 10px;
        font-size: 13px;
        max-width: 98vw;
        width: 98vw;
    }
    .internship-popup h3 {
        font-size: 16px;
    }
    .internship-popup-content {
        padding: 0 1vw;
    }
    .internship-popup-details {
        gap: 6px;
    }
    .internship-popup-actions {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }
    .popup-detail span {
        font-size: 12px;
    }

    #services {
        margin-bottom: 10px !important;
        padding: 10px 2vw !important;
    }
    #portfolio {
        margin-top: 4px !important;
        padding: 10px 2vw !important;
    }
    .portfolio {
        padding: 10px 2vw !important;
    }
    .portfolio-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .portfolio-item {
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .portfolio-image {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        min-width: 0 !important;
        overflow: visible !important;
        border-radius: 18px !important;
    }
    .portfolio-image img {
        border-radius: 18px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .portfolio-info {
        padding: 10px !important;
    }
}

@media (max-width: 768px) {
    .internship-popup {
        max-width: 98vw;
        width: 98vw;
        padding: 18px 3vw;
        font-size: 14px;
    }
    .internship-popup h3 {
        font-size: 18px;
    }
    .internship-popup-content {
        padding: 0 2vw;
    }

    #services {
        margin-bottom: 16px !important;
        padding: 18px 3vw !important;
    }
    #portfolio {
        margin-top: 6px !important;
        padding: 18px 3vw !important;
    }
    .portfolio {
        padding: 18px 3vw !important;
    }
    .portfolio-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .portfolio-item {
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .portfolio-image {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        min-width: 0 !important;
        overflow: visible !important;
        border-radius: 18px !important;
    }
    .portfolio-image img {
        border-radius: 18px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .portfolio-info {
        padding: 14px !important;
    }
}

/* ========== LOADER SCREEN ========== */
/* ========== ABOUT SECTION ========== */
.about {
    background: #fff;
    padding: 60px 0;
    font-family: var(--font-secondary), Arial, sans-serif;
    color: var(--dark);
}
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}
.about-text {
    flex: 2;
    min-width: 280px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
}
.about-text h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
}
.about-text strong {
    color: var(--dark);
}
.about-text p {
    color: var(--gray);
    font-size: 1.08rem;
    margin-bottom: 18px;
    line-height: 1.7;
}
.skills-section {
    margin-top: 24px;
}
.skills-section h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}
.skill-tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--dark);
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 0.95rem;
    margin: 0 8px 8px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.internship-cta {
    margin-top: 32px;
    background: #f5f5f5;
    border-radius: 14px;
    padding: 24px 28px;
    border: 1px solid #e5e7eb;
}
.internship-cta p {
    font-size: 1.08rem;
    color: #181818;
    font-weight: 600;
    margin-bottom: 10px;
}
.internship-details {
    margin-bottom: 10px;
    color: #666;
    font-size: 1rem;
}
.internship-cta a.btn {
    margin-top: 16px;
    background: linear-gradient(135deg, #374596 0%, #4A5BB8 100%);
    color: #fff;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(55,69,150,0.10);
    transition: background 0.2s;
}
.internship-cta a.btn:hover {
    background: linear-gradient(135deg, #4A5BB8 0%, #374596 100%);
}
.about-visual {
    flex: 1;
    min-width: 220px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
}
.about-visual h3 {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 12px;
}
.timeline-intro {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.timeline-item {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    padding: 28px 22px 20px 22px;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent);
    transition: box-shadow 0.2s, transform 0.2s;
    animation: slideInFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-item h4 {
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 6px;
}
.timeline-date {
    font-size: 0.98rem;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 6px;
}
.timeline-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 6px;
}
.timeline-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
}
.timeline-tags {
    margin-bottom: 8px;
}
.timeline-tags .tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--dark);
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 0.85rem;
    margin: 0 6px 6px 0;
    font-weight: 500;
}
.timeline-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}
.timeline-btn:hover {
    background: var(--dark);
}
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.about, #about {
    background: #fff;
    padding: 60px 0;
    color: var(--dark);
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}
.about-text {
    flex: 2;
    min-width: 280px;
}
.about-visual {
    flex: 1;
    min-width: 220px;
}
.about h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    margin-bottom: 18px;
}
.about .skills-section {
    margin-top: 24px;
}
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.skill-tag {
    background: var(--accent);
    color: var(--white);
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 0.95rem;
}

/* ========== CLIENTS SECTION ========== */
.clients-trust {
    background: var(--white);
    padding: 50px 0;
    text-align: center;
}
.clients-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.client-logo img {
    max-height: 60px;
    max-width: 120px;
    filter: grayscale(1) contrast(1.1);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}
.client-logo img:hover {
    filter: none;
    opacity: 1;
}

/* ========== CTA SECTION ========== */
.cta-section {
    color: var(--black);
    padding: 60px 0 40px 0;
    text-align: center;
}
.cta-section h2 {
    font-family: var(--font-main);
    font-size: 2.1rem;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.cta-section .btn {
    background: var(--white);
    color: var(--accent);
    border-radius: 24px;
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.cta-section .btn:hover {
    background: var(--gray);
    color: var(--white);
}

/* ========== CONTACT SECTION ========== */

.contact, #contact {
    background: #fff;
    padding: 70px 0 60px 0;
    color: var(--dark);
}
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-radius: 32px;
    background: #fff;
    overflow: hidden;
}
.contact-info {
    flex: 1;
    min-width: 260px;
    background: var(--light-gray);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}
.contact-info h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--accent);
}
.contact-info p, .contact-info a {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 18px;
    text-decoration: none;
}
.contact-info i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 10px;
}
.social-links {
    margin-top: 18px;
}
.social-links a {
    color: var(--accent);
    font-size: 2rem;
    margin-right: 18px;
    transition: color 0.2s;
}
.social-links a:hover {
    color: var(--gray);
}
.contact-form {
    flex: 2;
    min-width: 320px;
    background: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}
.contact-form .form-group {
    margin-bottom: 22px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--light-gray);
    font-size: 1.08rem;
    margin-top: 6px;
    margin-bottom: 6px;
    background: #f8f8f8;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
}
.contact-form button {
    background: linear-gradient(90deg, #1A1A1A 60%, #4a90e2 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 14px 0;
    font-size: 1.15rem;
    font-family: var(--font-main);
    cursor: pointer;
     background: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: background 0.2s;
    width: 100%;
}
.contact-form button:hover {
    background: linear-gradient(90deg, #4a90e2 0%, #1A1A1A 100%);
}

@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        border-radius: 24px;
    }
    .contact-info, .contact-form {
        border-radius: 0;
        padding: 32px 18px;
    }
}

/* ========== FOOTER ========== */
/* Nouveau style footer moderne */
@media (max-width: 700px) {
    .footer {
        padding: 32px 8px 18px;
    }
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }
    .footer-section {
        min-width: 0;
        margin-bottom: 18px;
        width: 100%;
    }
    .footer-logo {
        max-width: 120px;
        margin-bottom: 12px;
    }
    .footer-social-row {
        justify-content: center !important;
        align-items: center !important;
        gap: 14px !important;
        margin-top: 14px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        display: flex !important;
    }
    .footer-social-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    .footer-section ul li a {
        font-size: 1rem;
    }
    .footer-bottom {
        text-align: center;
    }
}
.footer {
    background: var(--dark, #111);
    color: var(--white, #fff);
    padding: 60px 40px 30px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.footer-section {
    min-width: 180px;
}
.footer-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 18px auto;
}
.footer-section h3 {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: var(--white, #fff);
    text-decoration: none;
    font-size: 17px;
    transition: color 0.2s;
}
.footer-section ul li a:hover {
    color: #aaa;
}
.footer-section p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}
.footer-social-row {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 7px;
    color: #fff;
    font-size: 1.5rem;
    transition: background 0.2s, color 0.2s;
    border: none;
}
.footer-social-icon:hover {
    background: #fff;
    color: #222;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
    font-size: 1rem;
    color: #aaa;
    text-align: center;
}
}
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
}

.logo-animation {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 350px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: logoFloat 3s ease-in-out infinite;
    filter: none;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.loader-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-right-color: rgba(255, 255, 255, 0.5);
    display: none;
}

.ring-1 {
    width: 210px;
    height: 210px;
    animation: spin 2s linear infinite;
}

.ring-2 {
    width: 255px;
    height: 255px;
    animation: spin 3s linear infinite reverse;
    border-top-color: rgba(108, 123, 255, 0.8);
    border-right-color: rgba(108, 123, 255, 0.5);
}

.ring-3 {
    width: 300px;
    height: 300px;
    animation: spin 4s linear infinite;
    border-top-color: rgba(255, 255, 255, 0.6);
    border-right-color: rgba(255, 255, 255, 0.3);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.loader-text {
    margin-bottom: 40px;
}

.loader-title {
    font-family: var(--font-main);
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 6px;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(108, 123, 255, 0.5); }
}

.loader-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.progress-bar-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #FFFFFF;
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes progressShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.progress-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== REC FRAME ========== */
.rec-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.rec-frame.hidden {
    opacity: 0;
}

.rec-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: none;
}

.rec-top-left {
    top: 20px;
    left: 20px;
}

.rec-top-right {
    top: 20px;
    right: 20px;
}

.rec-bottom-left {
    bottom: 20px;
    left: 20px;
}

.rec-bottom-right {
    bottom: 20px;
    right: 20px;
}

.rec-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 4px;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rec-indicator:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
}

.rec-dot {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: recBlink 1.5s infinite;
}

@keyframes recBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.rec-text {
    color: #ff0000;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
}

/* ========== REC POPUP OVERLAY ========== */
.rec-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rec-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.rec-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Masquer le bouton REC sur responsive */
@media (max-width: 900px) {
    .rec-indicator {
        display: none !important;
    }
}

.rec-popup-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.rec-popup-item.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.rec-popup-item img,
.rec-popup-item video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(255, 0, 0, 0.3);
}

.rec-popup-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

.rec-popup-info h3 {
    font-family: var(--font-main);
    font-size: 24px;
    margin-bottom: 8px;
    color: #ff0000;
}

.rec-popup-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.rec-popup-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.rec-popup-link-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.rec-popup-link-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.rec-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff0000;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.rec-popup-close:hover {
    background: white;
    color: #ff0000;
    transform: rotate(90deg);
}

.rec-popup-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ff0000;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
}

.rec-popup-prev,
.rec-popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s;
}

.rec-popup-prev:hover,
.rec-popup-next:hover {
    background: #f0f0f0;
}

.rec-popup-prev {
    left: 16px;
}

.rec-popup-next {
    right: 16px;
}

/* ========== BARRE DE NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #000 0px,
        #000 15px,
        #fff 15px,
        #fff 30px
    );
    z-index: 1;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link.active:after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 80px;
    padding: 100px 40px;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Overlay de mise au point caméra */
.camera-focus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeOutOverlay 0.4s ease-out 0.2s forwards;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    animation: zoomInFocus 0.2s ease-out;
}

.hero-text h1 {
    font-family: var(--font-main);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
    color: var(--white);
    opacity: 0;
}

.hero-text .highlight {
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: slideFromTop 0.5s ease-out 1s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideFromTop 0.5s ease-out 1.3s forwards;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--black);
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* Bouton plus petit pour les appels à l'action dans les cartes de service */
.service-cta .btn {
    padding: 8px 14px;
    font-size: 13px;
    text-transform: none;
    border-radius: 4px;
}

.btn-light {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-light:hover {
    background: var(--black);
    color: var(--white);
}

/* Boutons inversés pour la section héros (fond noir) */
.hero .btn-primary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
}

.hero .btn-primary:hover {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--white);
}

.hero .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    animation: fadeIn 1.2s ease-out 0.4s both;
}

.hero-image-container {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

/* Style pour la vidéo dans la section héros */
.hero-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.15s ease-out, filter 0.3s ease;
    filter: brightness(1);
    cursor: pointer;
}

.hero-video:hover {
    filter: brightness(1.1) saturate(1.2);
}

/* ========= ANIMATIONS ========= */
@keyframes focusAdjust {
    0% {
        transform: scale(1.5);
        opacity: 0.3;
        filter: blur(10px);
    }
    50% {
        transform: scale(0.8);
        opacity: 0.8;
        filter: blur(5px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes ringPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes fadeOutOverlay {
    0% {
        opacity: 1;
        visibility: visible;
    }
    99% {
        opacity: 0;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes zoomInFocus {
    0% {
        transform: scale(1.1);
        filter: blur(15px) brightness(0.7);
        opacity: 0.3;
    }
    30% {
        transform: scale(1.08);
        filter: blur(12px) brightness(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.04);
        filter: blur(6px) brightness(0.9);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.02);
        filter: blur(3px) brightness(0.95);
        opacity: 0.85;
    }
    85% {
        transform: scale(1.01);
        filter: blur(1px) brightness(0.98);
        opacity: 0.95;
    }
    100% {
        transform: scale(1);
        filter: blur(0) brightness(1);
        opacity: 1;
    }
}

@keyframes slideFromTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cameraFlash {
    0% {
        opacity: 0;
        filter: brightness(3) contrast(1.5);
        transform: scale(1.05);
    }
    15% {
        opacity: 1;
        filter: brightness(5) contrast(2);
        transform: scale(1.02);
    }
    30% {
        filter: brightness(1) contrast(1);
        transform: scale(1);
    }
    100% {
        opacity: 1;
        filter: brightness(1) contrast(1);
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========= SCROLL REVEAL UTILITIES ========= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========= PORTFOLIO INTERACTIVE DEPTH ========= */
.portfolio-item {
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.portfolio-item .portfolio-image img {
    transition: transform 0.3s ease;
}
.portfolio-item.active-tilt {
    will-change: transform;
}
.portfolio-item .portfolio-overlay {
    transition: opacity 0.25s ease;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Click ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    box-shadow: 0 0 20px rgba(255,255,255,0.6);
    animation: ripple-anim 600ms ease-out forwards;
}
@keyframes ripple-anim {
    0% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

/* Focus outline for keyboard nav */
.portfolio-item:focus {
    outline: 2px dashed rgba(0, 255, 204, 0.7);
    outline-offset: 6px;
}

/* ========== VIDEO PLAY BUTTON OVERLAY ========== */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.portfolio-item:hover .video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.video-play-icon {
    color: #000;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.video-play-overlay:hover .video-play-icon {
    color: #fff;
}

.portfolio-item[data-category="video"] .portfolio-image {
    position: relative;
}

/* Glow on hover to suggest grading lights */
.portfolio-item:hover .portfolio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 120% at 0% 0%, rgba(0, 255, 204, 0.12), transparent 60%),
                radial-gradient(120% 120% at 100% 100%, rgba(255, 0, 128, 0.12), transparent 60%);
}

/* ========= FILTER BAR MICRO-ANIMATIONS ========= */
.filter-btn {
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.filter-btn:hover {
    transform: translateY(-2px);
}
.filter-btn.active {
    transform: translateY(-2px) scale(1.02);
}

/* ========= HERO GLITCH/SCANLINE (subtle) ========= */
.hero-image-container {
    position: relative;
    overflow: hidden;
}
.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.03) 0.5px, transparent 0.5px);
    background-size: 100% 3px;
    opacity: 0.2;
}

/* ========= Magnetic Buttons ========= */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.magnetic-active {
    transform: translate(var(--mx, 0), var(--my, 0));
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 120px 40px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ========== PORTFOLIO SPECIALTIES ANIMATIONS ========== */
.portfolio-specialties {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.specialty-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.specialty-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-label {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
}

/* Clap Board Animation */
.clap-board {
    width: 100px;
    height: 80px;
    position: relative;
    cursor: pointer;
}

.clap-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background: #000;
    border-radius: 4px 4px 0 0;
    transform-origin: bottom left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.clap-board:hover .clap-top {
    animation: clapAnimation 0.8s ease-in-out forwards;
}

@keyframes clapAnimation {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-25deg); }
}

.clap-stripes {
    display: flex;
    gap: 4px;
    padding: 5px;
    height: 100%;
}

.clap-stripes span {
    flex: 1;
    background: repeating-linear-gradient(
        180deg,
        #fff 0px,
        #fff 6px,
        #000 6px,
        #000 12px
    );
    border-radius: 2px;
}

.clap-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: #1a1a1a;
    border-radius: 0 0 4px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.clap-text {
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Marketing Chart Animation */
.marketing-icon {
    width: 100px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.chart-bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.bar {
    width: 10px;
    background: linear-gradient(180deg, #333 0%, #000 100%);
    border-radius: 2px 2px 0 0;
    animation: growBar 2s ease-in-out infinite;
}

.bar-1 {
    height: 20px;
    animation-delay: 0s;
}

.bar-2 {
    height: 35px;
    animation-delay: 0.2s;
}

.bar-3 {
    height: 45px;
    animation-delay: 0.4s;
}

.bar-4 {
    height: 28px;
    animation-delay: 0.6s;
}

@keyframes growBar {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(1.4); opacity: 0.8; }
}

.chart-animation:hover .bar {
    animation-duration: 1s;
}

.specialty-item:hover .specialty-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .portfolio-specialties {
        gap: 40px;
    }
    
    .specialty-icon {
        width: 100px;
        height: 100px;
    }
    
    .clap-board {
        width: 80px;
        height: 65px;
    }
    
    .marketing-icon {
        width: 80px;
        height: 65px;
    }
}

/* ========== SWIMMING OTTER ANIMATION ========== */
.swimming-otter {
    position: relative;
    width: 150%;
    height: 60px;
    overflow: hidden;
    margin: 0;
    background: transparent;
}

.swimming-otter video {
    position: absolute;
    height: 80px;
    width: auto;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    animation: swimAcross 8s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

@keyframes swimAcross {
    0% {
        left: -200px;
    }
    100% {
        left: calc(100% + 50px);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .swimming-otter {
        height: 60px;
    }
    
    .swimming-otter video {
        height: 80px;
        animation: swimAcrossTablet 8s linear infinite;
    }
    
    @keyframes swimAcrossTablet {
        0% {
            left: -150px;
        }
        100% {
            left: calc(100% + 50px);
        }
    }
}

/* Mobile */
@media (max-width: 480px) {
    .swimming-otter {
        height: 50px;
    }
    
    .swimming-otter video {
        height: 70px;
        animation: swimAcrossMobile 8s linear infinite;
    }
    
    @keyframes swimAcrossMobile {
        0% {
            left: -120px;
        }
        100% {
            left: calc(100% + 40px);
        }
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 40px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--black);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
}

.service-features i {
    color: var(--black);
    margin-right: 10px;
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    margin-top: 0 !important;
    padding-top: 30px !important;
    padding: 120px 40px;
    background: #ffffff;
}

.portfolio .section-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.portfolio .section-header h2 {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
}

.portfolio .section-header p {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

/* Mettre les vidéos en premier (première ligne) */
.portfolio-item[data-category="video"] {
    order: -1;
}

.portfolio-item {
    position: relative;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px !important;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 18px;
}

.portfolio-info {
    background: white;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}

.portfolio-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags .tag {
    background: white;
    color: black;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e0e0e0;
}

.portfolio-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: black;
    border: 2px solid black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.portfolio-link-btn:hover {
    background: black;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.portfolio-link-btn i {
    font-size: 16px;
}

/* Pour voir toute l'image sans recadrage */
.portfolio-item.full-image .portfolio-image {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.portfolio-item.full-image .portfolio-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 18px !important;
    background: #000 !important;
}

/* Ajustement spécifique pour la miniature The Break (minibreak) pour qu'elle rentre bien dans le carré */
.portfolio-item[data-category="video"] .portfolio-image img[src*="minibreak"] {
    object-fit: contain;
    background: #111;
        border-radius: 18px !important;
}

/* Echoes spécifique - afficher l'image complète */
.portfolio-item.echoes-item .portfolio-image {
    background: #000;
    padding: 20px;
}

/* Arti-Stick spécifique - vidéo en object-fit contain */
.portfolio-item.artistick-item .portfolio-image {
    background: #000000;
    padding: 20px;
    position: relative;
}

.portfolio-item.artistick-item .portfolio-image img,
.portfolio-item.artistick-item .portfolio-image video {
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    border-radius: 18px !important;
}

.portfolio-item.artistick-item .artistick-poster {
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.portfolio-item.artistick-item .artistick-video {
    opacity: 0;
    z-index: 1;
}

.portfolio-item.artistick-item:hover .artistick-poster {
    opacity: 0;
}

.portfolio-item.artistick-item:hover .artistick-video {
    opacity: 1;
}

/* ========== FEATURED AUDIO PLAYER ========== */
.featured-audio-player {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.audio-player-wrapper {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.audio-player-wrapper audio {
    display: none;
}

.audio-player-wrapper .audio-player-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.audio-player-wrapper .audio-icon {
    font-size: 28px;
}

.audio-player-wrapper .audio-player-header h3 {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.audio-player-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.audio-player-wrapper .audio-thumbnail {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.audio-player-wrapper .audio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-info h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.audio-info .audio-subtitle {
    font-size: 16px;
    color: #aaaaaa;
    margin: 0 0 16px 0;
}

.audio-info .audio-description {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.audio-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.audio-player-controls button {
    background: transparent;
    border: none;
    color: #aaaaaa;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.audio-player-controls button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.audio-btn-play {
    background: #000000 !important;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    font-size: 22px !important;
}

.audio-btn-play:hover {
    background: #333333 !important;
    transform: scale(1.05);
}

.audio-progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.audio-time-current,
.audio-time-total {
    font-size: 13px;
    color: #aaaaaa;
    font-weight: 500;
    min-width: 40px;
}

.audio-progress-container .audio-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.audio-progress-container .audio-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 3px;
}

.audio-volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.audio-volume-control i {
    color: #aaaaaa;
    font-size: 18px;
}

.audio-volume-control .volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.audio-volume-control .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audio-volume-control .volume-slider::-webkit-slider-thumb:hover {
    background: #cccccc;
    transform: scale(1.2);
}

.audio-volume-control .volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.audio-volume-control .volume-slider::-moz-range-thumb:hover {
    background: #cccccc;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .featured-audio-player {
        padding: 0 10px;
        margin: 30px auto;
    }

    .audio-player-wrapper {
        padding: 24px 16px;
    }
    
    .audio-player-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .audio-player-wrapper .audio-thumbnail {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .audio-player-wrapper .audio-player-header h3 {
        font-size: 20px;
    }

    .audio-player-wrapper .audio-icon {
        font-size: 24px;
    }

    .audio-info h4 {
        font-size: 20px;
    }

    .audio-info .audio-subtitle {
        font-size: 14px;
    }

    .audio-info .audio-description {
        font-size: 13px;
    }

    .audio-btn-play {
        width: 55px;
        height: 55px;
        font-size: 20px !important;
    }

    .audio-player-controls button {
        padding: 10px;
        font-size: 16px;
    }

    .audio-volume-control {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .featured-audio-player {
        padding: 0 5px;
        margin: 20px auto;
    }

    .audio-player-wrapper {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .audio-player-wrapper .audio-player-header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }

    .audio-player-wrapper .audio-icon {
        font-size: 32px;
    }

    .audio-player-wrapper .audio-player-header h3 {
        font-size: 18px;
    }
    
    .audio-player-content {
        gap: 15px;
    }
    
    .audio-player-wrapper .audio-thumbnail {
        width: 150px;
        height: 150px;
    }

    .audio-info h4 {
        font-size: 18px;
    }

    .audio-info .audio-subtitle {
        font-size: 13px;
    }

    .audio-info .audio-description {
        font-size: 12px;
        line-height: 1.5;
    }

    .audio-btn-play {
        width: 50px;
        height: 50px;
        font-size: 18px !important;
    }

    .audio-player-controls {
        gap: 15px;
        margin-bottom: 15px;
    }

    .audio-player-controls button {
        padding: 8px;
        font-size: 14px;
    }

    .audio-progress-container {
        gap: 10px;
        margin-bottom: 15px;
    }

    .audio-time-current,
    .audio-time-total {
        font-size: 11px;
        min-width: 35px;
    }

    .audio-progress-container .audio-progress-bar {
        height: 5px;
    }

    .audio-volume-control {
        max-width: 200px;
    }

    .audio-volume-control i {
        font-size: 16px;
    }

    .audio-volume-control .volume-slider {
        height: 5px;
    }
}

/* ========== AUDIO PLAYER CARD (OLD - HIDDEN) ========== */
.audio-player-card {
    background: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-player-container {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

.audio-player-header {
    text-align: center;
    margin-bottom: 16px;
}

.audio-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.audio-player-header h3 {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.audio-player-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex: 1;
    overflow: hidden;
}

.audio-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}

.audio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-details {
    flex: 1;
    overflow: hidden;
}

.audio-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-subtitle {
    font-size: 13px;
    color: #999;
    margin: 0 0 8px 0;
}

.audio-description {
    font-size: 11px;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.audio-controls button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.audio-play-btn {
    background: #000000 !important;
    width: 56px;
    height: 56px;
}

.audio-play-btn:hover {
    background: #000000 !important;
    transform: scale(1.05);
}

.audio-progress-container {
    margin-bottom: 12px;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.audio-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.audio-progress-fill {
    height: 100%;
    background: #000000;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-volume svg {
    color: #999;
    flex-shrink: 0;
}

.volume-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #6c7bff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.portfolio-item.echoes-item .portfolio-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.85) 100%);
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    transform: translateY(40%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay {
    display: none;
    transform: translateY(0%);
    opacity: 0;
}

.portfolio-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-main);
    letter-spacing: -0.5px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.portfolio-cta {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== FILTRE (inspiré lakeprod) ========== */
.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.25s ease, border-bottom-color 0.25s ease;
    border-bottom: 2px solid transparent;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn.active {
    color: var(--dark);
    border-bottom-color: var(--black);
}

.filter-btn:hover {
    color: var(--dark);
}

/* Grille plus large et aérée, tuiles plus grandes comme lakeprod */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

@media (min-width: 1400px) {
    .portfolio-grid { 
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
    }
}

@media (max-width: 900px), (max-width: 700px), (max-width: 480px) {
  #portfolio, .portfolio {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 200px !important;
  }
  .portfolio-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
}

@media (max-width: 900px) {
  .nav-container {
    padding: 0 16px;
    height: 60px;
  }
  .logo-img {
    height: 32px;
  }
  .nav-menu {
    gap: 24px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 8px;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .navbar {
    position: static;
    box-shadow: none;
  }
  .nav-menu {
    display: none;
  }
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: var(--white);
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        border-radius: 8px;
        padding: 20px 30px;
        z-index: 1002;
        gap: 20px;
        align-items: flex-end;
    }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 40px 8px;
    margin-top: 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 15px;
  }
  .portfolio {
    padding: 30px 8px !important;
  }
  .portfolio-grid {
    gap: 10px !important;
  }
  .portfolio-info {
    padding: 8px !important;
  }
  .footer-content {
    flex-direction: column;
    gap: 24px;
    padding: 16px 8px;
  }
  .footer-section h3 {
    font-size: 18px;
  }
  .footer-logo {
    height: 32px;
  }
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 13px;
  }
  .btn, .btn-primary, .btn-secondary {
    padding: 10px 18px;
    font-size: 12px;
  }
  .portfolio-info h3 {
    font-size: 15px;
  }
  .portfolio-info p {
    font-size: 12px;
  }
  .portfolio-tags .tag {
    font-size: 10px;
    padding: 4px 10px;
  }
  .footer-section h3 {
    font-size: 15px;
  }
}
/* ========== CAMERA FLASH EFFECT ========== */
.camera-flash-submit {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.1s ease;
    z-index: 10000;
    pointer-events: none;
}

.camera-flash-submit.active {
    opacity: 1;
}

.form-success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    color: #000;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    text-align: center;
    max-width: 400px;
    width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.form-success-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.form-success-message.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.form-success-message i {
    font-size: 48px;
    color: #000000;
    margin-bottom: 20px;
    display: block;
}

.form-success-message h3 {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.form-success-message p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========== CLIENTS TRUST SECTION ========== */
.clients-trust {
    padding: 0px 40px 100px;
    margin-top: -50px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.clients-trust .container {
    max-width: 1400px;
    margin: 0 auto;
}

.clients-trust .section-header h2 {
    color: var(--black);
}

.clients-trust .section-header p {
    color: #666;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto 0;
    flex-wrap: wrap;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.client-logo.visible {
    opacity: 0.5;
    transform: translateY(0);
}

.client-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.client-logo-large img {
    max-height: 100px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 100px 40px;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.testimonials .section-header h2 {
    color: var(--black);
}

.testimonials .section-header p {
    color: #666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 80px auto 0;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    font-size: 40px;
    color: var(--black);
    margin-bottom: 30px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--dark);
    margin-bottom: 35px;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-author strong {
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-author span {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== PIED DE PAGE ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer logo sizing */
/* Footer Styles */
.footer {
    background: #131313;
    color: #fff;
    padding: 60px 40px 30px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.footer-section h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-logo {
    max-width: 180px;
    height: auto;
    display: block;
}
.footer-section p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-section ul li a:hover {
    color: #fff;
}
.footer-social-row {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    justify-content: flex-start;
    flex-direction: row;
}
    /* Ensure social icons are below the heading and aligned left */
    text-align: left;
.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    border-radius: 6px;
    font-size: 1.5rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    text-decoration: none;
}
.footer-social-icon:hover {
    background: #fff1;
    color: #fff;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #aaa;
    font-size: 13px;
}
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 8px;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .navbar {
    position: static;
    box-shadow: none;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 40px 8px;
    margin-top: 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 15px;
  }
  .portfolio {
    padding: 30px 8px !important;
  }
  .portfolio-grid {
    gap: 10px !important;
  }
  .portfolio-info {
    padding: 8px !important;
  }
  .footer-content {
    flex-direction: column;
    gap: 24px;
    padding: 16px 8px;
  }
  .footer-section h3 {
    font-size: 18px;
  }
  .footer-logo {
    height: 32px;
  }
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 13px;
  }
  .btn, .btn-primary, .btn-secondary {
    padding: 10px 18px;
    font-size: 12px;
  }
  .portfolio-info h3 {
    font-size: 15px;
  }
  .portfolio-info p {
    font-size: 12px;
  }
  .portfolio-tags .tag {
    font-size: 10px;
    padding: 4px 10px;
  }
  .footer-section h3 {
    font-size: 15px;
  }
}
