/* assets/css/projets.css */

/* =========================================
   BASE & RESET
   ========================================= */
#navbar {
    background-color: #000 !important;
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   HEADER CENTRÉ
   ========================================= */
header#navbar {
    position: relative;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

/* HERO SECTION */
.hero { 
    height: 60vh; 
    min-height: 500px; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    background: #000; 
}

.hero-video-bg { 
    position: absolute; 
    inset: 0; 
    opacity: 0.6; 
    background-size: cover; 
    background-position: center; 
}

.hero-dark {
    opacity: 0.10 !important;
    filter: grayscale(100%);
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 1200px; 
    padding: 0 20px; 
    padding-bottom: 50px; 
    padding-top: 100px; 
}

.hero-tags { display: flex; gap: 15px; justify-content: center; margin-bottom: 25px; }
.h-tag-black { border: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 16px; border-radius: 4px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; background: rgba(0,0,0,0.8); color: white; transition: 0.3s; }
.h-tag-white { border: 1px solid rgba(255, 255, 255, 0.8); padding: 8px 16px; border-radius: 4px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; background: white; color: var(--navy); transition: 0.3s; }
.hero h1 { font-family: 'Oswald', sans-serif; font-size: 5.5rem; line-height: 0.95; text-transform: uppercase; margin-bottom: 30px; text-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }

.txt-club {
    font-size: 0.6em;
    vertical-align: baseline; 
    font-weight: 700;
    margin-right: 0; 
    letter-spacing: -2px; 
}
.txt-aja-hero { color: var(--blue); -webkit-text-stroke: 1px white; }

/* PROJECT BLOCKS (ZIGZAG) */
.projects-container { background: white; padding-bottom: 0; }

.project-block { 
    display: flex; 
    min-height: 85vh; 
    background: white; 
    border-bottom: none; 
    margin-bottom: 0; 
}

.inverse-block {
    flex-direction: row-reverse;
}

.project-visual { 
    flex: 1.2; 
    position: relative; 
    overflow: hidden; 
    background: #000; 
}

.project-visual img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 1s ease, filter 0.4s ease, opacity 0.3s ease; 
    filter: blur(0px); 
}

.project-block:hover .project-visual img { transform: scale(1.05); }

.project-content { flex: 0.8; padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }

.p-title { font-family: 'Oswald', sans-serif; font-size: 3rem; line-height: 1; margin-bottom: 25px; color: var(--text); text-transform: uppercase; }
.p-title .club-style { font-size: 0.5em; color: #000000; vertical-align: middle; font-weight: 700; margin-right: 10px; }
.p-title .aja-style { color: #005CA9; font-size: 0.7em; vertical-align: middle; }

.p-desc { color: #555; line-height: 1.7; margin-bottom: 20px; font-size: 1rem; }
.p-location { display: flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 25px; font-family: 'Syne', sans-serif; }

.tags-group { margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.project-tag { display: inline-block; background: #f4f4f4; padding: 6px 14px; font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--navy); border-radius: 4px; margin-bottom: 0; width: fit-content; }

/* MINIATURES */
.mini-thumbs-container { width: 100%; }
.mini-thumbs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.1); }
.thumb-item { aspect-ratio: 16/9; cursor: pointer; border: none; border-radius: 4px; overflow: hidden; transition: 0.3s; opacity: 0.5; background: #000; }
.thumb-item.hidden-thumb { display: none; }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.3s; }
.thumb-item:hover { opacity: 0.8; transform: translateY(-2px); }
.thumb-item.active-thumb { opacity: 1; filter: brightness(1.1); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* BOUTON PLUS */
.view-more-btn { text-align: center; margin-top: 20px; cursor: pointer; display: flex; justify-content: center; align-items: center; }
.view-more-btn i { width: 40px; height: 40px; background: var(--blue); border: none; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 92, 169, 0.3); }
.view-more-btn:hover i { background: #333333; transform: scale(1.1); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

/* SECTIONS GÉNÉRIQUES & CTA */
.projects-cta-band { background: #111111; padding: 40px 0; text-align: center; margin-top: -1px; position: relative; z-index: 2; }
.projects-cta-band h3.text-white { margin: 0; padding: 0; line-height: 1; color: white; font-family: 'Syne', sans-serif; font-size: 1.5rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.btn-view-all { display: inline-block; padding: 15px 40px; background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; font-family: 'Syne', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; text-decoration: none; transition: 0.3s; letter-spacing: 1px; }
.btn-view-all:hover { background: white; color: var(--navy); border-color: white; }

/* SECTORS */
.sectors-img-section { padding: 100px 50px; background: white; }
.sectors-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1400px; margin: 0 auto; }
.img-card { position: relative; height: 450px; text-decoration: none; overflow: hidden; border-radius: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.img-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; z-index: 1; }
.img-card::after { content:''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%); z-index: 2; transition: background 0.5s ease; }
.img-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%); }
.ic-content { position: relative; z-index: 3; color: white; }
.ic-title { font-family: 'Oswald', sans-serif; font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.ic-link { font-family: 'Manrope', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; display: inline-flex; align-items: center; gap: 10px; }
.ic-link i { transition: 0.3s; color: var(--blue); }
.img-card:hover .ic-link i { transform: translateX(5px); color: white; }

/* INSTALLATIONS GALERIE */
.installations-section { background: white; padding: 0; overflow: hidden; }
.gallery-header { background: #111; text-align: center; margin-bottom: 0; padding: 25px 50px; }
.gallery-header h3 { color: white; font-family: 'Syne', sans-serif; font-size: 1.5rem; text-transform: uppercase; font-weight: 700; margin: 0; }
.gallery-track { display: flex; gap: 0; width: max-content; animation: scrollStep 20s infinite ease-in-out; }
.gallery-track { display: flex; gap: 0; width: max-content; will-change: transform; animation: scrollGallery 40s linear infinite alternate; }
@keyframes scrollGallery { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% + 100vw)); } }
.gallery-item { width: 400px; height: 350px; flex-shrink: 0; border-radius: 0; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,78,162,0.3); opacity: 0; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
@keyframes scrollStep { 0%, 20% { transform: translateX(0); } 100% { transform: translateX(-1200px); } }

/* =========================================
   BANDEAU VILLES (TECH STRIP) - STRICT COPY DE HOME.CSS
   ========================================= */
/* Tech Strip */
.tech-strip { background: var(--navy); color: rgba(255,255,255,0.8); padding: 25px 0; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0; }

/* BANDEAU DÉFILANT */
.tech-track { 
    display: flex; 
    gap: 60px; 
    width: max-content; 
    animation: scrollText 60s linear infinite alternate;
}

/* STYLE APPLIQUÉ SUR LA CLASSE (A ou SPAN) SANS TYPO AJOUTÉE */
.tech-item {
    text-decoration: none !important;
    color: rgba(255,255,255,0.8) !important;
    transition: 0.3s;
}

.tech-item:hover {
    color: #4aa3ff !important;
}

@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% + 100vw)); } }


/* =========================================
   CALL TO ACTION (CTA) - CORRIGÉ
   ========================================= */
.f-top { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 80px 40px; 
    margin: 0; 
    background: var(--navy); 
    border-top: 1px solid rgba(255,255,255,0.1); 
}

.f-cta h2 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 4rem; 
    line-height: 0.85; 
    text-transform: uppercase; 
    margin-bottom: 30px; 
    color: white; 
}

/* MODIFICATION : On impose le style "Blanc & Oswald" pour matcher le H2 */
.text-highlight-big {
    font-family: 'Oswald', sans-serif !important; /* Uniformisation */
    color: white !important; /* Tout blanc */
    font-weight: 400; /* Poids standard du titre */
    display: block;
    margin-top: 10px;
}

.f-btn-big { padding: 20px 50px; background: white; color: var(--navy); border-radius: 100px; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; text-decoration: none; transition: 0.3s; display: inline-block; }
.f-btn-big:hover { background: var(--blue); color: white; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .nav-center { position: static; transform: none; display: none; }
    .project-block, .project-block.inverse-block { flex-direction: column; }
    .project-visual { height: 400px; width: 100%; flex: none; }
    .sectors-img-grid { grid-template-columns: 1fr; }
    .f-cta h2 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .mini-thumbs-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
}

/* =========================================
   CORRECTIF FOOTER (PROJETS) - FINAL
   ========================================= */

/* Alignement des titres H3 et H4 du footer pour qu'ils ne soient pas collés */
footer .f-col h3,
footer .f-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 25px !important; /* Marge forcée */
    font-weight: 700;
    letter-spacing: 1px;
}

/* Bas de page (Noir pur, sans bordure haute, centré) */
.footer-bottom-centered {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 20px !important;
    text-align: center !important;
    border-top: none !important; /* LIGNE SUPPRIMÉE */
    background: #050505 !important;
    width: 100%;
}

.footer-bottom-centered .social-bar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px;
    margin-bottom: 20px !important;
    width: 100%;
}

.footer-bottom-centered .social-bar a,
.footer-bottom-centered .social-bar span {
    color: white !important;
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer-bottom-centered .social-bar a:hover {
    color: var(--blue) !important;
    transform: translateY(-3px);
}

.footer-bottom-centered img.main-logo-footer {
    display: block !important;
    max-width: 150px;
    height: auto;
    margin: 0 auto 15px auto !important;
}

.footer-bottom-centered .copyright {
    color: #888;
    font-size: 0.8rem;
    font-family: 'Manrope', sans-serif;
    text-align: center;
}