/* ============================================================
   ARKEDIA 3D — Styles de la page d'accueil
   (anciennement intégrés dans index.html, chargés après style.css)
   ============================================================ */
        /* ============================================
           PORTFOLIO — V5
           ============================================ */
        .portfolio-subtitle {
            text-align: center;
            color: var(--text-secondary);
            margin: -20px auto 36px;
            max-width: 600px;
            font-size: 1rem;
            padding: 0 20px;
            font-weight: 300;
        }
        .portfolio-tabs-wrap {
            display: flex;
            justify-content: center;
            margin-bottom: 24px;
            padding: 0 10px;
        }
        .portfolio-tabs {
            display: inline-flex;
            gap: 4px;
            padding: 6px;
            background: var(--bg-light);
            border-radius: 50px;
            border: 1px solid rgba(255,255,255,0.06);
            max-width: 100%;
            overflow-x: auto;
            scrollbar-width: none;
        }
        .portfolio-tabs::-webkit-scrollbar { display: none; }
        .tab-btn {
            padding: 10px 22px;
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-family: var(--font-heading);
            font-size: 0.85rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
            white-space: nowrap;
        }
        .tab-btn:hover { color: var(--text-primary); }
        .tab-btn.active {
            background: var(--accent-color);
            color: var(--bg-color);
            box-shadow: 0 0 20px rgba(0, 245, 255, 0.35);
        }
        .portfolio-viewer {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            aspect-ratio: 16 / 8;
            background: #000;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 25px 70px rgba(0,0,0,0.6);
            cursor: pointer;
        }
        .portfolio-viewer iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
        .viewer-overlay {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 40%;
            width: 52%;
            padding: 40px 0 30px 40px;
            background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, transparent 100%);
            z-index: 4;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            opacity: 1;
            transition: opacity 0.35s ease;
            pointer-events: none;
        }
        .viewer-overlay.hidden { opacity: 0; }

        /* Contenus par projet — pattern onglets : seul l'actif est affiché */
        .viewer-overlay-content { display: none; }
        .viewer-overlay-content.active {
            display: flex;
            flex-direction: column;
            animation: overlayContentIn 0.45s ease both;
        }
        @keyframes overlayContentIn {
            from { opacity: 0; transform: translateY(14px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .viewer-overlay-cat {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--accent-color);
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 10px;
        }
        .viewer-overlay-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.9rem;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.15;
            margin-bottom: 0;
            text-shadow: 0 2px 12px rgba(0,0,0,0.6);
            letter-spacing: -0.02em;
        }
        .viewer-overlay-line {
            width: 30px;
            height: 2.5px;
            background: var(--accent-color);
            margin: 12px 0 16px;
            border-radius: 2px;
        }
        .viewer-overlay-desc {
            font-family: 'Roboto', sans-serif;
            font-size: 0.9rem;
            font-weight: 300;
            color: rgba(255,255,255,0.82);
            line-height: 1.75;
            max-width: 420px;
            text-shadow: 0 1px 6px rgba(0,0,0,0.5);
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 22px;
        }
        .viewer-overlay-cta {
            pointer-events: auto;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 26px;
            border: 1.5px solid rgba(255,255,255,0.9);
            border-radius: 30px;
            color: #ffffff;
            background: transparent;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s ease;
            width: fit-content;
            text-decoration: none;
        }
        .viewer-overlay-cta:hover { background: rgba(255,255,255,0.15); }
        .viewer-overlay-cta {
            animation: ctaPulse 2.6s ease-in-out infinite;
        }
        @keyframes ctaPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.28); }
            50%      { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
        }
        .viewer-overlay-cta i { transition: transform 0.2s ease; }
        .viewer-overlay-cta:hover i { transform: translateX(4px); }

        /* ============================================
           TÉMOIGNAGES — NOUVEAU STYLE AVEC ÉTOILES
           ============================================ */
        .testimonial-card {
            display: inline-block;
            width: 380px;
            background-color: var(--bg-color);
            padding: 28px;
            margin-right: 24px;
            border-radius: 12px;
            vertical-align: top;
            white-space: normal;
            text-align: left;
            position: relative;
            border: 1px solid rgba(255,255,255,0.06);
        }
        .testi-stars {
            display: flex;
            gap: 3px;
            margin-bottom: 16px;
        }
        .testi-stars i {
            color: #F59E0B;
            font-size: 0.85rem;
        }
        .testi-text {
            font-size: 0.92rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        .testi-author {
            display: flex;
            align-items: center;
            gap: 12px;
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 16px;
        }
        .testi-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 0.85rem;
            color: var(--bg-color);
            flex-shrink: 0;
        }
        .av-imm { background: linear-gradient(135deg, #00F5FF, #0080FF); }
        .av-hot { background: linear-gradient(135deg, #7C3AED, #A855F7); }
        .av-con { background: linear-gradient(135deg, #FF6B35, #FF9060); }
        .av-res { background: linear-gradient(135deg, #F59E0B, #F97316); }
        .testi-name {
            font-family: var(--font-heading);
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--white);
        }
        .testi-role {
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-top: 2px;
        }

        /* ============================================
           RESPONSIVE PORTFOLIO
           ============================================ */
        @media (max-width: 900px) {
            .portfolio-viewer { aspect-ratio: 3 / 4; }
            /* Overlay en bas sur mobile — ergonomie pouce */
            .viewer-overlay {
                top: auto;
                bottom: 0;
                width: 100%;
                padding: 50px 20px 22px;
                background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 55%, transparent 100%);
            }
            .viewer-overlay-title { font-size: 1.3rem; }
            .viewer-overlay-desc { font-size: 0.82rem; -webkit-line-clamp: 2; max-width: 100%; }
        }
        @media (max-width: 600px) {
            .tab-btn { padding: 8px 13px; font-size: 0.73rem; }
            .viewer-overlay { padding: 40px 16px 16px; }
            .viewer-overlay-title { font-size: 1.05rem; }
            .viewer-overlay-desc { font-size: 0.78rem; -webkit-line-clamp: 2; }
            .viewer-overlay-cat { font-size: 0.62rem; letter-spacing: 2px; }
            .viewer-overlay-cta { padding: 8px 18px; font-size: 0.75rem; }
        }

        /* ============================================
           HERO — BADGE PULSANT + STATS
           ============================================ */
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 20px;
            border-radius: 100px;
            border: 1px solid rgba(0, 245, 255, 0.3);
            background: rgba(0, 245, 255, 0.08);
            color: var(--accent-color);
            font-family: var(--font-heading);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            backdrop-filter: blur(4px);
            margin-bottom: 28px;
        }
        .hero-badge-dot {
            position: relative;
            width: 8px;
            height: 8px;
            flex-shrink: 0;
        }
        .hero-badge-dot::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: var(--accent-color);
            animation: hero-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
        }
        .hero-badge-dot::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: var(--accent-color);
        }
        @keyframes hero-ping {
            75%, 100% { transform: scale(2.5); opacity: 0; }
        }

        /* Stats */
        .hero-stats {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .hero-stat { text-align: center; }
        .hero-stat-n {
            font-family: var(--font-heading);
            font-size: 1.7rem;
            font-weight: 800;
            color: var(--accent-color);
            letter-spacing: -0.02em;
            line-height: 1;
        }
        .hero-stat-l {
            font-family: var(--font-body);
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin-top: 6px;
            letter-spacing: 0.03em;
        }
        .hero-stat-sep {
            width: 1px;
            height: 36px;
            background: rgba(255, 255, 255, 0.12);
        }
        @media (max-width: 600px) {
            .hero-stats { gap: 20px; }
            .hero-stat-n { font-size: 1.3rem; }
            .hero-badge { font-size: 0.7rem; padding: 6px 14px; }
        }

        /* Hero sous-titre (était h2, maintenant p) */
        #hero .hero-sub {
            font-family: var(--font-body);
            font-weight: 300;
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        /* FAQ */
        .faq-list { display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--bg-light);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 8px;
            overflow: hidden;
            transition: border-color 0.2s;
        }
        .faq-item[open] { border-color: rgba(0,245,255,0.3); }
        .faq-q {
            padding: 20px 24px;
            font-family: var(--font-heading);
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--white);
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }
        .faq-q::-webkit-details-marker { display: none; }
        .faq-q::after {
            content: '+';
            font-size: 1.4rem;
            font-weight: 300;
            color: var(--accent-color);
            flex-shrink: 0;
            transition: transform 0.2s;
        }
        .faq-item[open] .faq-q::after { transform: rotate(45deg); }
        .faq-a {
            padding: 0 24px 20px;
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.75;
        }

        /* LOGOS CLIENTS */
        .client-logo-box {
            width: 50px; height: 50px; border-radius: 8px;
            display: flex; justify-content: center; align-items: center;
            font-weight: 800; font-size: 1.2rem; margin-right: 15px; flex-shrink: 0;
        }
        .logo-luxe { background: linear-gradient(135deg,#222,#444); color:#D4AF37; border:1px solid #D4AF37; }
        .logo-archi { background:#003366; color:white; border:1px solid #0056b3; }
        .logo-food  { background:#800020; color:white; border:1px solid #a31538; }
        .logo-trans { background:#008B91; color:white; border:1px solid #00F5FF; }
        /* ============================================
           SOLUTIONS : 6 cartes = grille 3+3 sur desktop
           ============================================ */
        .cards-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

        /* ============================================
           ARKEDIA KULTURE — bande blanche (identité Kulture)
           ============================================ */
        #kulture {
            max-width: 100%;
            background: #FFFFFF;
            color: #0A192F;
            padding: 90px 20px;
            text-align: center;
        }
        .kulture-inner { max-width: 1000px; margin: 0 auto; }
        .kulture-eyebrow {
            font-size: 0.75rem;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: #5a6b7d;
            font-weight: 600;
            margin-bottom: 14px;
        }
        #kulture .section-title { color: #0A192F; }
        .kulture-intro {
            max-width: 760px;
            margin: 0 auto 55px;
            color: #3d4d5e;
            font-size: 1.02rem;
            line-height: 1.75;
            font-weight: 300;
        }
        .kulture-intro strong { color: #0A192F; font-weight: 600; }
        .kulture-pillars {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 55px;
        }
        .kulture-num {
            font-size: 0.8rem;
            letter-spacing: 3px;
            color: #8a99a8;
            margin-bottom: 12px;
        }
        .kulture-pillar h3 {
            font-size: 1.05rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: #0A192F;
            margin-bottom: 12px;
        }
        .kulture-pillar p {
            font-size: 0.9rem;
            color: #4a5a6a;
            line-height: 1.7;
            font-weight: 300;
        }
        .kulture-proof {
            font-size: 0.92rem;
            color: #3d4d5e;
            margin-bottom: 30px;
        }
        .kulture-proof strong { color: #0A192F; }
        .kulture-ctas {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
            align-items: center;
        }
        .kulture-btn-main {
            background: #0A192F;
            color: #fff;
            padding: 14px 30px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .kulture-btn-main:hover {
            background: #13294a;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(10,25,47,0.25);
        }
        .kulture-btn-ghost {
            color: #0A192F;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            border-bottom: 1px solid rgba(10,25,47,0.3);
            padding-bottom: 2px;
            transition: border-color 0.3s ease;
        }
        .kulture-btn-ghost:hover { border-color: #0A192F; }
        @media (max-width: 768px) {
            #kulture { padding: 70px 20px; }
            .kulture-pillars { grid-template-columns: 1fr; gap: 32px; }
        }
        /* ============================================
           BOUTON RETOUR EN HAUT (gauche)
           ============================================ */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 1000;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--bg-light);
            border: 1px solid rgba(0,245,255,0.4);
            color: var(--accent-color);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1rem;
            text-decoration: none;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s, color 0.3s;
        }
        .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
        .back-to-top:hover { background: var(--accent-color); color: var(--bg-color); }
        @media (max-width: 768px) {
            .back-to-top { bottom: 20px; left: 20px; width: 42px; height: 42px; }
        }
        /* ============================================
           MENU MOBILE : refonte plein écran
           (passe au-dessus du header et des boutons flottants)
           ============================================ */
        .mobile-nav {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            right: 0;
            background: linear-gradient(160deg, #0A192F 0%, #0E2148 100%);
            z-index: 3000;
            padding: 90px 34px 110px;
            box-shadow: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.35s ease;
        }
        .mobile-nav.active { right: 0; transform: translateX(0); }
        .mobile-nav ul { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
        .mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
        .mobile-nav ul li:last-child { border-bottom: none; margin-top: 26px; }
        .mobile-nav ul li a {
            display: block;
            padding: 17px 4px;
            font-size: 1.12rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            color: #e6f1ff;
            text-decoration: none;
        }
        .mobile-nav ul li a:hover { color: var(--accent-color); }
        .mobile-nav ul li:last-child a {
            background: var(--accent-color);
            color: var(--bg-color);
            text-align: center;
            border-radius: 6px;
            padding: 15px;
        }
        .mobile-close {
            position: absolute;
            top: 22px;
            right: 22px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--accent-color);
            border: 1px solid rgba(0,245,255,0.35);
            border-radius: 50%;
            cursor: pointer;
        }
        .mobile-brand {
            position: absolute;
            bottom: 34px;
            left: 0;
            right: 0;
            text-align: center;
            color: #5a6b8a;
            font-size: 0.72rem;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        /* ============================================
           BOUTON VOIR EN VR (mobile uniquement)
           Ouvre la visite en plein écran dans un nouvel onglet
           ============================================ */
        .vr-full-btn { display: none; }
        @media (max-width: 900px) {
            .vr-full-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                margin: 14px auto 0;
                max-width: 1200px;
                padding: 14px;
                border: 1px solid rgba(0,245,255,0.45);
                border-radius: 8px;
                color: var(--accent-color);
                text-decoration: none;
                font-weight: 600;
                font-size: 0.92rem;
                letter-spacing: 0.5px;
            }
            .vr-full-btn:active { background: rgba(0,245,255,0.1); }
        }
        /* ============================================
           BANDEAU COOKIES
           ============================================ */
        .bandeau-cookies {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            z-index: 4000;
            background: rgba(10,25,47,0.97);
            border-top: 1px solid rgba(0,245,255,0.3);
            backdrop-filter: blur(8px);
            padding: 18px 22px;
            display: none;
            gap: 18px;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
        }
        .bandeau-cookies.visible { display: flex; }
        .bandeau-cookies p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            max-width: 620px;
            line-height: 1.6;
            margin: 0;
        }
        .bandeau-cookies a { color: var(--accent-color); text-decoration: none; }
        .cookies-boutons { display: flex; gap: 10px; flex-shrink: 0; }
        .cookies-boutons button {
            font-family: var(--font-heading);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 11px 22px;
            border-radius: 4px;
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.25);
            background: transparent;
            color: var(--text-primary);
            transition: all 0.25s ease;
        }
        .cookies-boutons button:hover { border-color: var(--accent-color); color: var(--accent-color); }
        .cookies-boutons button.principal {
            background: var(--accent-color);
            border-color: var(--accent-color);
            color: var(--bg-color);
        }
        .cookies-boutons button.principal:hover { background: #7dfdfd; color: var(--bg-color); }
        @media (max-width: 768px) {
            .bandeau-cookies { padding: 16px; gap: 14px; }
            .bandeau-cookies p { font-size: 0.8rem; }
            .cookies-boutons { width: 100%; }
            .cookies-boutons button { flex: 1; }
        }
    

/* ============================================
   CARTES SOLUTIONS RELIÉES AUX ARTICLES DU BLOG
   ============================================ */
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link .card { height: 100%; cursor: pointer; }
.card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.card-more i { transition: transform 0.2s ease; }
.card-link:hover .card-more i { transform: translateX(4px); }
