/* ========== CSS COMPLET MANOFCOM CONSULTING - DARK MODE ========== */

:root {
    --bg: #000908;
    --text: #fefffe;
    --gold: #cdab6b;
    --gold-light: rgba(205, 171, 107, 0.08);
    --gold-hover: #b8944f;
    --border: rgba(254, 255, 254, 0.08);
    --card-bg: #0d1111;
    --transition: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    scroll-behavior: auto;
    background: var(--bg);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Le curseur personnalisé est visible par défaut (desktop).
   Sur tactile (mobile/tablette), on le cache et on restaure le curseur natif. */
@media not (pointer: fine) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
}

@media (pointer: fine) {
    body {
        cursor: none;
    }
    input,
    textarea {
        cursor: text;
    }
}

/* Curseur personnalisé masqué au survol des champs de formulaire */
.custom-cursor.is-hidden,
.cursor-dot.is-hidden {
    opacity: 0;
}

/* ========== CURSEUR PERSONNALISÉ ========== */
.custom-cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s, opacity 0.15s;
    box-shadow: 0 0 0 1px rgba(0, 9, 8, 0.6), 0 0 12px rgba(0, 0, 0, 0.5);
    background: rgba(205, 171, 107, 0.08);
}

.cursor-dot {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px rgba(0, 9, 8, 0.5);
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.preloader-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    display: block;
    white-space: nowrap;
}

.preloader-line {
    width: 0;
    height: 3px;
    background: var(--gold);
    margin-top: 1rem;
    align-self: stretch;
    animation: preloaderLine 1.2s var(--ease-out-expo) forwards;
}

@keyframes preloaderLine {
    to { width: 100%; }
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: linear-gradient(rgba(0, 9, 8, 0.75), rgba(0, 9, 8, 0));
    transition: padding 0.4s, background 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(0, 9, 8, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 2001;
}

.logo-img {
    height: 34px;
    width: auto;
    display: block;
    transition: transform 0.4s var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.04);
}

/* Bascule fluide du logo sur la page FA Studio : le logo MANOFCOM CONSULTING
   (visible en haut de page) laisse place au logo FA Studio dès qu'on scrolle,
   qui reste affiché pour le reste du parcours. */
.fastudio-page .logo-swap {
    position: relative;
    height: 42px;
    width: 190px;
}

.fastudio-page .logo-swap .logo-img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: opacity 0.5s ease;
}

.fastudio-page .logo-manofcom {
    opacity: 1;
    height: 34px;
    filter: brightness(0);
}

.fastudio-page .logo-fastudio {
    opacity: 0;
    height: 46px;
}

.fastudio-page .navbar.scrolled .logo-manofcom {
    opacity: 0;
}

.fastudio-page .navbar.scrolled .logo-fastudio {
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Bouton menu — pill "Menu" + icône à deux barres animée */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(254, 255, 254, 0.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.55rem 0.6rem 0.55rem 1.1rem;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.4s var(--transition);
}

.menu-toggle:hover {
    border-color: var(--gold);
    background: rgba(205, 171, 107, 0.08);
}

.menu-toggle-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    text-transform: uppercase;
}

.menu-toggle-icon {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle-icon span {
    display: block;
    width: 14px;
    height: 2px;
    background: #000908;
    border-radius: 2px;
    transition: transform 0.4s var(--transition), opacity 0.3s, width 0.3s;
}

.menu-toggle-icon span:last-child {
    width: 9px;
    align-self: flex-end;
    margin-right: 6px;
}

.menu-toggle.active .menu-toggle-icon span:first-child {
    transform: translateY(3.5px) rotate(45deg);
    width: 14px;
}

.menu-toggle.active .menu-toggle-icon span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
    width: 14px;
    align-self: center;
    margin-right: 0;
}

/* Menu Overlay — panneau glissant façon Voodoo Group */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 9, 8, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(420px, 88vw);
    background: #0a0f0f;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 6rem 2.5rem 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-out-expo);
}

.menu-overlay.active .menu-panel {
    transform: translateX(0);
}

.menu-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2.5rem;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-link {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    position: relative;
    transition: color 0.3s, padding-left 0.3s;
    opacity: 0;
    transform: translateX(30px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.menu-overlay.active .menu-link {
    animation: menuLinkIn 0.5s var(--ease-out-expo) forwards;
}

.menu-overlay.active .menu-link:nth-child(1) { animation-delay: 0.15s; }
.menu-overlay.active .menu-link:nth-child(2) { animation-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(3) { animation-delay: 0.25s; }
.menu-overlay.active .menu-link:nth-child(4) { animation-delay: 0.3s; }
.menu-overlay.active .menu-link:nth-child(5) { animation-delay: 0.35s; }
.menu-overlay.active .menu-link:nth-child(6) { animation-delay: 0.4s; }
.menu-overlay.active .menu-link:nth-child(7) { animation-delay: 0.45s; }

@keyframes menuLinkIn {
    to { opacity: 1; transform: translateX(0); }
}

.menu-link-text {
    position: relative;
}

.menu-link:hover {
    color: var(--gold);
    padding-left: 0.6rem;
}

.menu-link-underline {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.4s ease-out;
}

.menu-link:hover .menu-link-underline {
    width: 100%;
}

.menu-link.clicked .menu-link-underline {
    transition: none;
    width: 100%;
}

.menu-location-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    background: var(--gold);
    color: #000908;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1.1rem;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s var(--transition);
}

.menu-overlay.active .menu-location-btn {
    animation: menuLinkIn 0.5s var(--ease-out-expo) forwards;
    animation-delay: 0.5s;
}

.menu-location-btn:hover {
    transform: translateY(-3px);
}

.menu-footer {
    text-align: left;
    color: #8a8a8a;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(20px);
}

.menu-overlay.active .menu-footer {
    animation: menuLinkIn 0.5s var(--ease-out-expo) forwards;
    animation-delay: 0.55s;
}

/* ========== HERO ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content-simple {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    padding-bottom: 4rem;
}

.hero-title-simple {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    color: var(--text);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s 0.2s var(--ease-out-expo) forwards;
}

.hero-subtitle-simple {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg-image img,
.hero-bg-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gold);
    color: #000908;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #fefffe;
    color: #000908;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(205, 171, 107, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid rgba(254, 255, 254, 0.3);
    color: var(--text);
    transition: all 0.4s var(--transition);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6a6a6a;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: #3a3a3a;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 0.3; }
    50% { transform: scaleY(0.3); opacity: 1; }
}

/* Indicateur de scroll sur le hero d'accueil : masqué par défaut,
   affiché uniquement sur mobile pour inviter à descendre la page. */
.hero-scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    /* Le hero en plein écran (100vh) laissait un grand vide sous l'image
       (affichée en entier, sans recadrage). On réduit sa hauteur sur mobile
       pour que l'image soit suivie de près par le reste du contenu. */
    .hero-section {
        min-height: auto;
        flex-direction: column;
        padding: 2.5rem 5%;
    }

    .hero-bg-image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .hero-scroll-hint {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        position: relative;
        margin-top: 0.75rem;
    }

    .hero-scroll-chevron {
        width: 22px;
        height: 22px;
        border-right: 3px solid var(--gold);
        border-bottom: 3px solid var(--gold);
        transform: rotate(45deg);
        opacity: 0.25;
        animation: heroScrollChevron 1.6s ease-in-out infinite;
    }

    .hero-scroll-chevron:nth-child(1) {
        animation-delay: 0s;
        margin-bottom: -8px;
    }

    .hero-scroll-chevron:nth-child(2) {
        animation-delay: 0.25s;
    }

    @keyframes heroScrollChevron {
        0% { opacity: 0.25; transform: rotate(45deg) translate(0, 0); }
        50% { opacity: 1; transform: rotate(45deg) translate(6px, 6px); }
        100% { opacity: 0.25; transform: rotate(45deg) translate(0, 0); }
    }
}

/* ========== SECTIONS ========== */
section {
    padding: 6rem 5%;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.gold {
    color: var(--gold);
}

/* ========== EXPERTISE ========== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expertise-card {
    display: block;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
    background: #0a0f0f;
    text-decoration: none;
    color: inherit;
}

.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-light);
    opacity: 0;
    transition: opacity 0.5s;
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.expertise-card p {
    color: #b0b0b0;
    position: relative;
}

/* ========== SERVICES MARQUEE (façon Havas Africa) ========== */
.services-marquee {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
    padding: 0.5rem 0;
}

.marquee-row {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-row span {
    font-size: clamp(1.1rem, 2.4vw, 1.9rem);
    font-weight: 500;
    padding: 0 1rem;
    color: rgba(254, 255, 254, 0.55);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.marquee-row span::after {
    content: '—';
    color: var(--gold);
}

.marquee-row.row-strong span {
    font-weight: 800;
    color: var(--text);
    font-size: clamp(1.3rem, 2.8vw, 2.2rem);
}

/* ========== PAGE HERO ========== */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    font-size: clamp(6rem, 15vw, 14rem);
    font-weight: 900;
    color: rgba(254, 255, 254, 0.02);
    white-space: nowrap;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.page-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #d0d0d0;
}

.about-text p {
    color: #b0b0b0;
}

.about-specialties {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.specialty {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.specialty i {
    color: var(--gold);
    font-size: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
}

/* ========== SERVICES GRID ========== */
.services-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card-large {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.5s var(--transition);
    background: #0a0f0f;
}

.service-card-large:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.service-icon-large {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.service-card-large h3 {
    font-size: 1.4rem;
}

.service-card-large ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card-large li {
    padding: 0.4rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.2rem;
}

.service-card-large li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ========== PORTFOLIO ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

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

.portfolio-placeholder-bg {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8944f 100%);
    transition: transform 0.6s var(--transition);
}

.portfolio-item:hover .portfolio-placeholder-bg {
    transform: scale(1.05);
}

/* Points de suspension animés (vague), en remplacement des titres de projets
   tant que le portfolio n'est pas prêt. Boucle infinie, visible en permanence
   (pas seulement au survol). */
.portfolio-status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.wave-dots {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    height: 1.8rem;
}

.wave-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fefffe;
    box-shadow: 0 2px 10px rgba(0, 9, 8, 0.35);
    animation: waveDots 1.3s ease-in-out infinite;
}

.wave-dots span:nth-child(1) { animation-delay: 0s; }
.wave-dots span:nth-child(2) { animation-delay: 0.15s; }
.wave-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes waveDots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-14px); opacity: 1; }
}

/* ---------- Filtres du portfolio ---------- */
.portfolio-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0 5% 2rem;
}

.filtre-btn {
    background: transparent;
    border: 1px solid rgba(205, 171, 107, 0.35);
    color: var(--text);
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.filtre-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filtre-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #14100a;
    font-weight: 600;
}

.portfolio-item.portfolio-item-cachee {
    display: none;
}

/* ---------- Icône lecture sur les vidéos YouTube ---------- */
.portfolio-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 9, 8, 0.55);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 2;
}

.portfolio-lightbox-trigger {
    cursor: pointer;
}

/* ---------- Lightbox ---------- */
.portfolio-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 9, 8, 0.94);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4vh 4vw;
}

.portfolio-lightbox.active {
    display: flex;
}

.portfolio-lightbox-content {
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
}

.portfolio-lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.portfolio-lightbox-content .portfolio-lightbox-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.portfolio-lightbox-content .portfolio-lightbox-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.portfolio-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 9999;
}

.portfolio-lightbox-close:hover {
    color: var(--gold);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fefffe;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s;
}

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

/* ========== CLIENTS & PARTENAIRES (page Portfolio) ========== */
.partners-section {
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid var(--border);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 4rem 3rem;
    max-width: 1300px;
    margin: 3rem auto 0;
    align-items: center;
    justify-items: center;
}

@media (max-width: 700px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}

.partner-logo img {
    max-width: 155px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #d0d0d0;
}

.contact-detail i {
    color: var(--gold);
    font-size: 1.3rem;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-social a {
    font-size: 1.5rem;
    color: var(--text);
    transition: color 0.3s;
}

.contact-social a:hover {
    color: var(--gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    background: #0a0f0f;
    color: var(--text);
    transition: all 0.3s;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5a5a5a;
}

.form-feedback {
    font-size: 0.9rem;
    color: var(--gold);
    min-height: 1.2em;
}

.form-feedback.error {
    color: #e07a5f;
}

/* ========== FOOTER ========== */
.footer {
    background: #000000;
    color: #fefffe;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-brand p {
    color: #8a8a8a;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: var(--gold);
}

.footer-col a {
    display: block;
    color: #8a8a8a;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fefffe;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.8rem;
}

.social-links a {
    font-size: 1.3rem;
    color: #8a8a8a;
}

.social-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(254, 255, 254, 0.05);
    color: #5a5a5a;
    font-size: 0.9rem;
}

/* ========== BOUTON LIEN ========== */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: gap 0.3s;
}

.btn-link:hover {
    gap: 1rem;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Révélation d'image façon Havas Africa : léger zoom-out progressif + fondu */
.img-reveal {
    overflow: hidden;
}

.img-reveal img,
.img-reveal .portfolio-placeholder-bg {
    transform: scale(1.18);
    opacity: 0;
    transition: transform 1.4s var(--ease-out-expo), opacity 1s ease;
}

.img-reveal.revealed img,
.img-reveal.revealed .portfolio-placeholder-bg {
    transform: scale(1);
    opacity: 1;
}

/* Page transition */
.page-transition {
    animation: pageIn 0.8s var(--ease-out-expo);
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BANDEAU CTA (répété sur toutes les pages) ========== */
.cta-banner {
    padding: 5rem 5%;
    text-align: center;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.cta-banner p {
    color: #b0b0b0;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ========== SHOWCASE STUDIO (accueil) ========== */
.studio-showcase {
    padding: 6rem 5%;
}

.studio-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 1.2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.studio-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s var(--transition);
}

.studio-item {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.studio-item:hover img {
    transform: scale(1.06);
}

.studio-item.tall {
    grid-row: span 2;
}

/* ========== VALEURS (à propos) ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #0a0f0f;
    transition: all 0.4s var(--transition);
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
}

.value-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    display: block;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.value-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* ========== FONDATEUR (à propos) ========== */
.founder-section {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: center;
}

.founder-image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.founder-text .founder-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.founder-text p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.founder-name {
    display: block;
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.founder-role {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== MÉTHODE (à propos) ========== */
.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    counter-reset: method;
}

.method-step {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.method-step .method-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(205, 171, 107, 0.15);
    display: block;
    margin-bottom: 0.8rem;
}

.method-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.method-step p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* ========== CATÉGORIES DE SERVICES ========== */
.service-category {
    margin-bottom: 4.5rem;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-category-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(205, 171, 107, 0.08), transparent);
}

.teaser-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.teaser-content i {
    font-size: 2.2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.teaser-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.teaser-content p {
    color: #b0b0b0;
    font-size: 0.95rem;
    max-width: 420px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}

.category-header i {
    font-size: 1.8rem;
    color: var(--gold);
}

.category-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
}

.category-header span {
    color: #8a8a8a;
    font-size: 0.95rem;
}

.service-card-large p.service-desc {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
}

/* ========== GLOSSAIRE ========== */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.glossary-item {
    padding: 1.8rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0a0f0f;
}

.glossary-item dt {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.glossary-item dd {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
}

/* ========== FA STUDIO — HERO MOSAÏQUE ========== */
.fastudio-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fastudio-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--bg);
}

.fastudio-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    opacity: 0;
    animation: fastudioHeroBgIn 1.2s var(--ease-out-expo) forwards;
}

@keyframes fastudioHeroBgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fastudio-hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
}

.fastudio-hero-content {
    position: absolute;
    z-index: 2;
    bottom: 2.5rem;
    right: 2.5rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fastudio-logo-img {
    width: 130px;
    height: auto;
    filter: brightness(0);
    opacity: 0;
    animation: fadeUp 1s 0.3s var(--ease-out-expo) forwards;
}

.fastudio-hero-title {
    font-size: clamp(3.5rem, 11vw, 8rem);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--gold);
    text-shadow: 0 4px 24px rgba(0, 9, 8, 0.45);
    opacity: 0;
    animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}

.fastudio-hero-subtitle {
    margin-top: 1rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeUp 1s 0.7s var(--ease-out-expo) forwards;
}

.fastudio-intro {
    padding: 5rem 5% 2rem;
    text-align: center;
}

.fastudio-intro-text {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #d0d0d0;
}

.fastudio-intro-text strong {
    color: var(--gold);
}

/* ========== FA STUDIO — RESPONSABLE ========== */
.fastudio-manager {
    padding: 3rem 5% 5rem;
}

/* ========== FA STUDIO — FOND LIQUIDE + CARTES EN VERRE (section Services uniquement) ========== */
.fastudio-services-wrapper {
    position: relative;
    overflow: hidden;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.blob-1 {
    width: 460px;
    height: 460px;
    background: var(--gold);
    top: -160px;
    left: -140px;
    animation: liquidFloat1 20s ease-in-out infinite;
}

.blob-2 {
    width: 520px;
    height: 520px;
    background: #7a5c2e;
    top: 30%;
    right: -180px;
    animation: liquidFloat2 24s ease-in-out infinite;
}

.blob-3 {
    width: 380px;
    height: 380px;
    background: var(--gold);
    bottom: -160px;
    left: 25%;
    animation: liquidFloat3 17s ease-in-out infinite;
}

@keyframes liquidFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 55px) scale(1.2); }
    66% { transform: translate(-45px, 90px) scale(0.85); }
}

@keyframes liquidFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-95px, -65px) scale(1.15); }
}

@keyframes liquidFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(65px, -50px) scale(1.1); }
    70% { transform: translate(-50px, -25px) scale(0.88); }
}

.fastudio-services-wrapper .service-category,
.fastudio-services-wrapper .section-header {
    position: relative;
    z-index: 1;
}

.fastudio-card {
    position: relative;
    background: linear-gradient(135deg, rgba(205, 171, 107, 0.12), rgba(205, 171, 107, 0.03) 60%) !important;
    background-size: 220% 220% !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(205, 171, 107, 0.22) !important;
    animation: fastudioBlobMorph 10s ease-in-out infinite, fastudioSheen 8s ease-in-out infinite;
}

.fastudio-card:hover {
    background: linear-gradient(135deg, rgba(205, 171, 107, 0.2), rgba(205, 171, 107, 0.06) 60%) !important;
    border-color: rgba(205, 171, 107, 0.45) !important;
}

@keyframes fastudioSheen {
    0%, 100% {
        background-position: 0% 0%;
        box-shadow: 0 0 12px rgba(205, 171, 107, 0.08);
    }
    50% {
        background-position: 100% 100%;
        box-shadow: 0 0 28px rgba(205, 171, 107, 0.2);
    }
}

@keyframes fastudioBlobMorph {
    0%, 100% { border-radius: 24px 24px 24px 24px; }
    25% { border-radius: 46px 18px 50px 16px; }
    50% { border-radius: 18px 50px 16px 46px; }
    75% { border-radius: 36px 22px 32px 24px; }
}

@media (max-width: 768px) {
    .liquid-blob {
        opacity: 0.3;
    }
}

/* ========== FAQ (accordéon) ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    text-align: left;
    padding: 1.6rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question i {
    color: var(--gold);
    transition: transform 0.3s var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer p {
    color: #b0b0b0;
    padding-bottom: 1.6rem;
    max-width: 700px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 1.5rem auto 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-bg-text {
        font-size: 5rem;
    }

    .page-hero-bg {
        font-size: 4rem;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .about-specialties {
        flex-direction: column;
        gap: 1rem;
    }

    .founder-section {
        grid-template-columns: 1fr;
    }

    .studio-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }

    .studio-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .studio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
}