/* Reset et base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
}

/* System page styles */
.system-section {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    font-family: serif;
    line-height: 1.6;
}

.system-section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.system-section ol li {
    margin-bottom: 1.5rem;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Pages internes */
.page-content {
    min-height: 100vh;
    padding: 100px 0 50px;
    position: relative;
}

.page-content body {
    overflow-y: auto;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
}

.page-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sections */
section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

section h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* About page styles */
.about-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.expertise-item {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.expertise-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.specialty {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.specialty:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    margin-top: 30px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #ffffff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ffffff;
    color: #000000;
}

/* Services page styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.service-item {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.service-number {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    opacity: 0.8;
}

.service-features li:before {
    content: "→";
    margin-right: 10px;
    opacity: 0.5;
}

.process-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.process-step:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.process-step h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.process-step p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Contact page styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    opacity: 0.9;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

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

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    padding: 15px 50px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-method {
    text-align: center;
    padding: 20px;
}

.contact-method h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-method p {
    opacity: 0.8;
    font-size: 14px;
}

.response-info {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.step-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.step-item h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.step-item p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Curseur personnalisé - Correction du z-index et de l'affichage */
body * {
    cursor: none !important;
}

.main-cursor {
    position: fixed;
    display: none;
    pointer-events: none;
    user-select: none;
    will-change: transform;
    z-index: 999999 !important;
    /* Augmentation du z-index */
    mix-blend-mode: difference;
    top: 0;
    left: 0;
}

.main-cursor.cursor--initialized {
    display: block !important;
}

.cursor-border {
    position: absolute;
    box-sizing: border-box;
    align-items: center;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    height: 11px;
    width: 11px;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    transition: all 360ms cubic-bezier(.23, 1, .32, 1);
    background-color: #ffffff;
    z-index: inherit;
}

.main-cursor.cursor--off-screen {
    opacity: 0;
}

.main-cursor.cursor--focused .cursor-border,
.main-cursor.cursor--focused-view .cursor-border {
    width: 18px !important;
    height: 18px !important;
    filter: blur(3px) !important;
}

.main-cursor.cursor--clicking .cursor-border {
    width: 16px;
    height: 16px;
    filter: blur(2px);
}

.main-cursor .player-cursor {
    opacity: 0;
    transition: opacity 200ms cubic-bezier(.23, 1, .32, 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: inherit;
}

.main-cursor.cursor--player .player-cursor {
    opacity: 1;
}

.main-cursor .icon-play,
.main-cursor .icon-pause {
    color: #ffffff;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.main-cursor .icon-pause {
    display: none;
}

.main-cursor.cursor--player.playing .icon-play {
    display: none;
}

.main-cursor.cursor--player.playing .icon-pause {
    display: flex;
}

.main-cursor .loader {
    display: none;
    border: 1px solid #f3f3f3;
    border-top: 1px solid #ffffff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    animation: spin 1s linear infinite;
    margin: 1px auto;
    position: absolute;
    top: -6px;
    left: -5px;
    z-index: inherit;
}

.main-cursor.cursor--loading .loader {
    display: block;
}

.main-cursor.cursor--loading .cursor-border {
    opacity: 0.3;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Assurer que le curseur reste visible même sur les éléments avec position: fixed */
.navbar,
.nav-menu,
.swiper-pagination-info {
    z-index: 1000;
    /* S'assurer que ces éléments ont un z-index inférieur au curseur */
}

/* Pour la navbar spécifiquement */
.navbar {
    z-index: 1000 !important;
}

.nav-menu {
    z-index: 999 !important;
}

/* Correction pour les éléments vidéo et masonry */
.masonry-item,
.project-video,
.swiper-slide {
    position: relative;
    z-index: 1;
}

/* S'assurer que le curseur fonctionne sur tous les éléments interactifs */
a,
button,
input,
textarea,
select,
.masonry-item,
.nav-link,
.menu-button,
.project-pagination-link,
.swiper-slide {
    cursor: none !important;
}

/* Debug - Ajoutez temporairement cette classe pour tester */
.debug-cursor {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: 20px !important;
    height: 20px !important;
    background: red !important;
    z-index: 999999 !important;
    display: block !important;
    pointer-events: none !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    mix-blend-mode: difference;
    transform: translateY(-10px);
    transition: all 0.8s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.navbar.revealed {
    transform: translateY(0);
}

.navbar.difference {
    mix-blend-mode: difference;
}

.grid-navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav.left {
    justify-content: flex-start;
}

.nav.center {
    justify-content: center;
}

.nav.right {
    justify-content: flex-end;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-brand {
    font-weight: 600;
    letter-spacing: 1px;
}

.brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Effet strikethrough */
.nav-text-strikethrough {
    display: inline-block;
    position: relative;
}

.nav-text-strikethrough:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1.5px;
    margin-top: -0.75em;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.2s cubic-bezier(1, 0.38, 0.7, 0.87);
    transform-origin: center left;
}

.nav-text-strikethrough:hover:after {
    transform: scaleX(1);
}

/* Menu mobile */
.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
}

.menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.menu-button.w--open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-button.w--open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-button.w--open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.nav-menu.show {
    display: flex;
}

.nav-menu-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 20px;
}

.nav-link-mobile {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-link-mobile:hover {
    opacity: 0.8;
}

.nav-link-mobile:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    margin-top: -0.75em;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(1, 0.38, 0.7, 0.87);
    transform-origin: center left;
}

.nav-link-mobile:hover:after {
    transform: scaleX(1);
}

.nav-link-mobile.nav-brand {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 28px;
    margin-bottom: 20px;
}

.nav-link-mobile.nav-brand:after {
    display: none;
}

/* Swiper container */
.swiper-container-wrapper {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

.swiper-container {
    width: 100vw;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.player-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

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

.project-overlay {
    position: absolute;
    bottom: 80px;
    left: 80px;
    z-index: 10;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.swiper-slide:hover .project-overlay {
    opacity: 1;
}

.project-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.project-description {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.8;
    max-width: 400px;
    line-height: 1.4;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.project-link:hover {
    opacity: 0.7;
}

/* Pagination personnalisée */
.swiper-pagination-info {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    z-index: 10;
    mix-blend-mode: difference;
}

.swiper-pagination-info.hover-revealed .project-item>a {
    opacity: 0.5;
}

.swiper-pagination-info.hover-revealed .project-item.active>a {
    opacity: 1;
}

.project-item {
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.project-item.active .project-pagination-link {
    opacity: 1;
}

.project-pagination-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.project-pagination-link:hover {
    opacity: 1;
}

/* Loading overlay */
.project-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

/* Animations */
.opacity-reveal {
    opacity: 0;
    transition: opacity 1s cubic-bezier(.445, .05, .55, .95);
}

.opacity-reveal.revealed {
    opacity: 1;
}

.button-pulse-anim {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

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

/* Footer */
.footer {
    background: #fff;
    color: #333;
    padding: 60px 0;
    position: relative;
    z-index: 5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
}

.footer-nav-left,
.footer-nav-right {
    display: flex;
    gap: 40px;
}

.footer-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-brand {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.footer-description p {
    margin-bottom: 20px;
}

.footer-description strong {
    font-weight: 600;
}

.footer-services {
    margin-top: 40px;
}

.footer-services h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.footer-services li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.footer-services li:before {
    content: "• ";
    color: #999;
    margin-right: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-number {
    font-weight: 600;
    color: #999;
}

.contact-item div div {
    margin-bottom: 4px;
}

.footer-illustration {
    align-self: flex-end;
    opacity: 0.6;
}

.footer-illustration svg {
    width: 100px;
    height: 150px;
    color: #999;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 30px;
}

.footer-bottom-nav {
    display: flex;
    gap: 60px;
}

.footer-bottom-link {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.footer-bottom-link:hover {
    opacity: 0.6;
}

/* Menu déroulant pour les clients */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
}

.dropdown-trigger:after {
    content: '▲';
    margin-left: 8px;
    font-size: 8px;
    transition: transform 0.3s ease;
}

.dropdown-container:hover .dropdown-trigger:after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .navbar {
        padding: 20px 30px;
        background-color: transparent;
    }

    .nav.left,
    .nav.right {
        display: none;
    }

    .menu-button {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
    }

    .grid-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav.center {
        display: none;
    }

    /* Afficher le logo VELAR sur mobile */
    .nav.left {
        display: flex !important;
    }

    .nav.left .nav-link:not(.nav-brand) {
        display: none;
    }

    .nav.left .nav-brand {
        display: block;
        color: #ffffff;
        font-size: 18px;
        font-weight: 600;
    }

    .project-overlay {
        bottom: 40px;
        left: 40px;
    }

    .project-title {
        font-size: 24px;
    }

    .swiper-pagination-info {
        right: 30px;
    }

    .content-wrapper {
        padding: 0 30px;
    }

    .page-title {
        font-size: 36px;
    }

    .expertise-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-nav-left,
    .footer-nav-right {
        gap: 20px;
    }

    .footer-bottom-nav {
        gap: 30px;
    }
}

@media screen and (max-width: 767px) {
    .navbar {
        padding: 15px 20px;
        background-color: transparent;
    }

    .logo {
        font-size: 16px;
    }

    .menu-button {
        display: block !important;
        z-index: 1001;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .grid-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav.left {
        display: flex !important;
    }

    .nav.left .nav-link:not(.nav-brand) {
        display: none;
    }

    .nav.left .nav-brand {
        display: block;
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
    }

    .nav.right {
        display: flex !important;
        justify-content: flex-end;
    }

    .nav.right .nav-link:not(.menu-button) {
        display: none;
    }

    .nav.center {
        display: none;
    }

    .nav-menu-content {
        gap: 35px;
        padding: 30px 20px;
    }

    .nav-link-mobile {
        font-size: 22px;
    }

    .nav-link-mobile.nav-brand {
        font-size: 26px;
    }

    .project-overlay {
        bottom: 30px;
        left: 30px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-description {
        font-size: 14px;
    }

    .swiper-pagination-info {
        right: 20px;
    }

    .project-pagination-link {
        font-size: 10px;
        writing-mode: horizontal-tb;
        text-orientation: initial;
    }

    .project-item {
        margin-bottom: 15px;
    }

    .content-wrapper {
        padding: 0 20px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-content {
        padding: 80px 0 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .footer-nav-left,
    .footer-nav-right {
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer-content {
        padding: 0 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom-nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    .dropdown-menu {
        position: fixed;
        bottom: 60px;
        left: 20px;
        right: 20px;
        min-width: auto;
        width: auto;
    }
}

@media screen and (max-width: 479px) {
    .navbar {
        padding: 10px 15px;
        background-color: transparent;
    }

    .menu-button {
        display: block !important;
        z-index: 1001;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .grid-navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav.left {
        display: flex !important;
    }

    .nav.left .nav-link:not(.nav-brand) {
        display: none;
    }

    .nav.left .nav-brand {
        display: block;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
    }

    .nav.right {
        display: flex !important;
        justify-content: flex-end;
    }

    .nav.right .nav-link:not(.menu-button) {
        display: none;
    }

    .nav.center {
        display: none;
    }

    .nav-menu-content {
        gap: 30px;
        padding: 25px 15px;
    }

    .nav-link-mobile {
        font-size: 20px;
    }

    .nav-link-mobile.nav-brand {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .project-overlay {
        bottom: 20px;
        left: 20px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-description {
        font-size: 12px;
    }

    .swiper-pagination-info {
        right: 15px;
    }

    .content-wrapper {
        padding: 0 15px;
    }

    .page-title {
        font-size: 24px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-content {
        padding: 0 15px;
    }

    .footer-nav {
        margin-bottom: 30px;
    }

    .footer-main {
        gap: 30px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-illustration svg {
        width: 80px;
        height: 120px;
    }
}

/* Styles pour les pages de projets */
.project-video-section {
    margin-bottom: 60px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.project-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.project-description-expanded h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 40px;
    color: #ffffff;
}

.project-description-expanded h2:first-child {
    margin-top: 0;
}

.project-description-expanded p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
    color: #ffffff;
}

.project-description-expanded ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.project-description-expanded li {
    padding: 8px 0;
    opacity: 0.8;
    color: #ffffff;
}

.project-description-expanded li:before {
    content: "→";
    margin-right: 12px;
    opacity: 0.6;
    color: #ffffff;
}

.project-specs {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.project-specs h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
}

.spec-grid {
    display: grid;
    gap: 20px;
}

.spec-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    opacity: 0.8;
}

.magazine-features {
    margin-bottom: 60px;
}

.magazine-features h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive pour les pages de projets */
@media screen and (max-width: 991px) {
    .project-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-specs {
        padding: 30px;
    }
}

@media screen and (max-width: 767px) {
    .video-container {
        margin: 0 -20px;
        border-radius: 0;
    }

    .project-specs {
        padding: 20px;
        margin: 0 -20px;
        border-radius: 0;
    }

    .project-description-expanded {
        padding: 0 20px;
    }
}

/* Swiper pagination par défaut (cachée) */
.swiper-pagination {
    display: none;
}

/* Prevent scrolling et overscroll */
html,
body,
:root {
    overscroll-behavior: none;
    overscroll-behavior-block: none;
    overscroll-behavior-inline: none;
}