/* =========================================
   1. POLICES PERSONNALISÉES (NEO SANS)
========================================= */

/* Light (300) - Pour les textes discrets */
@font-face {
    font-family: 'Neo Sans';
    src: url('neo-sans-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular (400) - Pour ton texte principal */
@font-face {
    font-family: 'Neo Sans';
    src: url('neo-sans-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Italic (400) - Version italique du texte principal */
@font-face {
    font-family: 'Neo Sans';
    src: url('neo-sans-italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold (700) - Pour tes titres et éléments importants */
@font-face {
    font-family: 'Neo Sans';
    src: url('neo-sans-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   2. RÉGLAGES GLOBAUX
========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-red: #F32745;
    --accent-light-brown: #EBD3B4;
    --accent-dark-brown: #4D261B;
    --white: #FFFFFF;
    --text-dark: var(--accent-dark-brown);
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

body {
    /* Utilise Neo Sans en priorité, texte de base en Regular (400) */
    font-family: 'Neo Sans', 'Poppins', sans-serif;
    font-weight: 400; 
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* Application des poids de police spécifiques */
h1, h2 {
    font-weight: 700; /* Bold pour les titres */
}

/* Police spécifique pour le logo */

/* =========================================
   3. EN-TÊTE (HEADER)
========================================= */
header {
    background-color: var(--primary-red);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .logo-container { display: flex; align-items: center; gap: 5px; line-height: 1; }
header nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
header nav a { 
    text-decoration: none; 
    color: var(--white); 
    font-weight: 700; /* Bold */
    transition: opacity 0.3s; 
}
header nav a:hover { opacity: 0.8; }

/* =========================================
   4. SECTION HERO
========================================= */
.hero {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 8rem 5% 5rem 5%;
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(243, 39, 69, 0.95), rgba(243, 39, 69, 0.95));
    background-size: cover;
    background-position: center;
    width: 100%;
}
.hero-content { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 2rem; 
    line-height: 1.2; 
    text-transform: uppercase;
}

.hero-manipulation-placeholder {
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
    border: 4px dashed var(--accent-light-brown);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}
.hero-manipulation-placeholder img {
    width: 100%; height: auto; display: block; filter: grayscale(1); opacity: 0.3;
}
.placeholder-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: var(--accent-dark-brown); color: var(--accent-light-brown);
    padding: 1rem; border-radius: 5px; font-weight: 700; text-transform: uppercase;
}

.hero p { margin: 0 auto 3rem auto; font-size: 1.2rem; line-height: 1.6; max-width: 700px; opacity: 0.95; }

.hero-hashtags { 
    font-size: 0.9rem; 
    font-weight: 300; /* Light */
    margin-bottom: 2rem; 
    color: var(--accent-light-brown); 
    letter-spacing: 1px; 
}

.hero .btn { 
    background-color: var(--accent-light-brown); 
    color: var(--accent-dark-brown); 
    padding: 1.2rem 2.5rem; 
    text-decoration: none; 
    font-weight: 700; /* Bold */
    border-radius: 5px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.9rem; 
    transition: transform 0.2s; 
}
.hero .btn:hover { transform: translateY(-2px); }
.hero-services { position: absolute; bottom: 2rem; right: 5%; font-size: 0.9rem; font-weight: 700; text-align: right; opacity: 0.8;}

/* =========================================
   5. PORTFOLIO
========================================= */
.portfolio { background-color: var(--accent-light-brown); padding: 5rem 5% 7rem 5%; overflow: hidden; width: 100%;}
.portfolio h2 { text-align: center; color: var(--primary-red); font-size: 2.5rem; margin-bottom: 4rem; text-transform: uppercase; }

.project-carousel-wrapper { position: relative; width: 100%; overflow: hidden; }

.project-carousel { 
    display: flex; 
    gap: 40px; 
    width: max-content; 
    animation: marquee 35s linear infinite; 
    padding-right: 40px; 
}

.project-carousel:hover { animation-play-state: paused; }

.project-carousel > * { flex: 0 0 350px; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1750px - 200px)); } 
}

.video-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: box-shadow 0.3s; }
.video-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-title { 
    padding: 1.2rem; 
    text-align: center; 
    color: var(--accent-dark-brown); 
    font-weight: 700; /* Bold */
    font-size: 1rem; 
}

/* =========================================
   6. ÉQUIPE
========================================= */
.team { padding: 7rem 5%; background-color: var(--white); width: 100%; }
.team h2 { text-align: center; color: var(--primary-red); font-size: 2.5rem; margin-bottom: 4rem; text-transform: uppercase; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; max-width: 900px; margin: 0 auto; }

.team-member { text-align: center; }

.member-photo-wrapper { width: 150px; height: 150px; margin: 0 auto 1.5rem auto; border-radius: 12px; overflow: hidden; position: relative; }
.member-photo-placeholder { width: 100%; height: 100%; border-radius: 12px; background-color: #eee; filter: grayscale(1); opacity: 0.5;}
.member-photo-wrapper img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }

.member-info { margin-top: 1rem; }
.member-name { 
    font-weight: 700; /* Bold */
    font-size: 1.3rem; 
    color: var(--accent-dark-brown); 
    margin-bottom: 0.3rem; 
}
.member-role { font-size: 0.95rem; color: var(--primary-red); font-weight: 400; /* Regular */ }

/* =========================================
   7. FOOTER & CONTACT
========================================= */
footer { background-color: var(--accent-dark-brown); color: var(--white); text-align: center; padding: 4rem 5% 5rem 5%; font-size: 0.9rem; position: relative; width: 100%; }

footer p { 
    margin: 0.8rem 0; 
    opacity: 0.85; 
    font-weight: 300; /* Light */
}
footer p a { color: var(--accent-light-brown); text-decoration: none; transition: color 0.3s;}
footer p a:hover { color: var(--white); }

footer .contact-info { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.8rem; 
    margin: 2rem 0; 
}
footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 12px; 
    margin: 0;
    font-size: 1rem;
    font-weight: 400; /* Regular */
}
footer .contact-info i {
    color: var(--primary-red); 
    font-size: 1.3rem;
    width: 20px; 
}
/* Taille du logo en haut */
.header-logo {
    height: 45px; /* Tu peux augmenter ou réduire cette valeur selon l'équilibre visuel souhaité */
    width: auto;
    display: block;
}

/* Taille du logo en bas */
.footer-logo {
    width: 160px; /* Tu peux ajuster ce chiffre (ex: 180px ou 200px) pour le faire plus ou moins grand */
    height: auto; /* Permet de garder les bonnes proportions sans déformer le logo */
    margin: 0 auto 2rem auto;
    display: block;
}


footer::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 15px; background: repeating-linear-gradient(-45deg, var(--accent-light-brown), var(--accent-light-brown) 12px, var(--accent-dark-brown) 12px, var(--accent-dark-brown) 24px ); }

/* =========================================
   8. RESPONSIVE (MOBILE)
========================================= */
@media (max-width: 768px) {
    header nav ul { display: none; }
    header .neo-logo-text { font-size: 1.8rem;}
    
    .hero { padding: 5rem 5% 3rem 5%; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-manipulation-placeholder { margin: 2rem auto; }
    .hero-hashtags { font-size: 0.8rem; margin-bottom: 1.5rem; }
    .hero-services { display: none;}

    .portfolio h2, .team h2 { font-size: 2rem; margin-bottom: 2.5rem; }
    
    .project-carousel-wrapper {
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        scroll-snap-type: x mandatory; 
        padding-bottom: 20px; 
    }
    
    .project-carousel-wrapper::-webkit-scrollbar { display: none; }
    .project-carousel-wrapper { -ms-overflow-style: none; scrollbar-width: none; }

    .project-carousel { 
        animation: none; 
        gap: 20px; 
        padding-right: 5vw; 
    }
    
    .project-carousel > * { 
        flex: 0 0 85vw; 
        max-width: 320px;
        scroll-snap-align: center; 
    }
    
    .team-grid { grid-template-columns: 1fr; }
    
    footer { padding: 3rem 5% 4rem 5%; }
    footer .n-logomark { width: 50px; height: 50px; font-size: 1.5rem; }
}