/* =====================================================================
   ACCUEIL — ÉDITORIAL COMMUNICATION & MARKETING
   Charcoal profond · Blanc cassé · Teal raffiné
   Feuille dédiée à index.php (n'affecte pas les autres pages)
   ===================================================================== */

.home-bandana {
    --hb-black: #08090c;
    --hb-ink: #0e1015;
    --hb-card: #13161d;
    --hb-white: #f5f6f8;
    --hb-muted: #98a0ae;
    --hb-line: rgba(255, 255, 255, 0.09);
    --hb-cyan: #2dd4bf;
    --hb-cyan-soft: rgba(45, 212, 191, 0.12);
    --hb-heading: 'Space Grotesk', 'Outfit', sans-serif;
    --hb-body: 'Outfit', 'Segoe UI', sans-serif;
    --hb-mono: 'JetBrains Mono', ui-monospace, monospace;
    --hb-ease: cubic-bezier(0.22, 1, 0.36, 1);

    background: var(--hb-black) !important;
    background-image: none !important;
    color: var(--hb-white);
    font-family: var(--hb-body);
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
    text-align: left;
}

.home-bandana ::selection {
    background: var(--hb-cyan);
    color: var(--hb-black);
}

/* =========================== ALIGNEMENT HEADER & FOOTER =========================== */
.home-bandana .modern-header .navbar {
    max-width: 1200px;
    padding: 0 28px;
    flex-wrap: nowrap;
}
.home-bandana .modern-header .nav-list {
    align-items: center;
}
.home-bandana .modern-header .nav-item {
    display: flex;
    align-items: center;
}

.home-bandana .custom-footer {
    text-align: left;
    background: var(--hb-ink);
    border-top: 1px solid var(--hb-line);
    padding: 64px 0 32px;
}
.home-bandana .custom-footer .footer-container {
    max-width: 1200px;
    padding: 0 28px;
}
.home-bandana .custom-footer h5,
.home-bandana .custom-footer .footer-logo-text {
    font-family: var(--hb-heading);
    text-align: left;
}
.home-bandana .custom-footer h5::after {
    background: var(--hb-cyan);
}
.home-bandana .custom-footer p,
.home-bandana .custom-footer .footer-links,
.home-bandana .custom-footer .footer-links li {
    text-align: left;
}

/* =========================== RESET SCOPÉ (.hb) =========================== */
.hb {
    text-align: left;
}
.hb h1, .hb h2, .hb h3, .hb h4, .hb h5, .hb h6 {
    font-family: var(--hb-heading);
    color: var(--hb-white);
    text-align: left;
    letter-spacing: -0.01em;
    margin-top: 0;
}
.hb h2 {
    display: block;
    padding-bottom: 0;
    margin: 0;
}
.hb h2::after {
    display: none !important;
}
.hb p {
    color: var(--hb-muted);
    font-weight: 300;
    text-align: left;
}
.hb a {
    text-decoration: none;
}
.hb svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.hb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Texture signature très discrète */
.hb-pattern {
    position: relative;
}
.hb-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/IMG/index/bandana-pattern.svg');
    background-size: 200px 200px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}
.hb-pattern > .hb-container {
    position: relative;
    z-index: 1;
}

/* Libellés éditoriaux */
.hb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hb-mono);
    font-size: 0.76rem;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hb-cyan);
}
.hb-eyebrow svg {
    width: 11px;
    height: 11px;
    fill: var(--hb-cyan);
    flex-shrink: 0;
}

.hb-section-head {
    margin-bottom: 52px;
    max-width: 740px;
}
.hb-section-head--split {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}
.hb-section-head--split > div {
    max-width: 680px;
}
.hb-section-head .hb-eyebrow {
    margin-bottom: 14px;
}
.hb-section-head h2 {
    font-size: clamp(1.95rem, 3.6vw, 2.85rem);
    line-height: 1.12;
    font-weight: 700;
}
.hb-section-head h2 em {
    font-style: normal;
    color: var(--hb-cyan);
}
.hb-section-head p {
    margin: 16px 0 0;
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.65;
}

.hb-section {
    position: relative;
    padding: 108px 0;
}

/* Séparateur sobre */
.hb-band {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hb-band::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--hb-line);
}
.hb-band-chip {
    position: relative;
    z-index: 1;
    background: var(--hb-black);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hb-band-chip svg {
    width: 12px;
    height: 12px;
    fill: var(--hb-cyan);
    color: var(--hb-cyan);
}

/* =========================== BOUTONS =========================== */
.hb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--hb-heading);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: all 0.3s var(--hb-ease);
    position: relative;
    cursor: pointer;
}
.hb-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.3s var(--hb-ease);
}
.hb-btn:hover svg {
    transform: translateX(4px);
}

.hb-btn-primary {
    background: var(--hb-cyan);
    border-color: var(--hb-cyan);
    color: var(--hb-black) !important;
}
.hb-btn-primary:hover {
    background: #5eead4;
    border-color: #5eead4;
    color: var(--hb-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(45, 212, 191, 0.18);
}

.hb-btn-ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--hb-white) !important;
}
.hb-btn-ghost:hover {
    background: var(--hb-white);
    border-color: var(--hb-white);
    color: var(--hb-black) !important;
    transform: translateY(-2px);
}

/* =========================== HERO =========================== */
.hb-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 72px 0 108px;
    overflow: hidden;
    border-bottom: 1px solid var(--hb-line);
}
.hb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 52% 55% at 78% 45%, rgba(45, 212, 191, 0.08), transparent 72%),
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 120px 100%;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, #000 65%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
}

.hb-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
    align-items: center;
}

.hb-hero-title {
    font-family: var(--hb-heading);
    font-weight: 700;
    font-size: clamp(3.2rem, 7.5vw, 6.2rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    margin: 20px 0 22px;
    color: var(--hb-white);
    text-align: left !important;
}
.hb-hero-title .hb-dash {
    color: var(--hb-cyan);
}

.hb-hero-role {
    font-family: var(--hb-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.38rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--hb-white);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hb-hero-role::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--hb-cyan);
    border-radius: 2px;
    flex-shrink: 0;
}

.hb-hero-lead {
    font-size: 1.06rem;
    line-height: 1.72;
    max-width: 540px;
    margin: 0 0 34px;
}
.hb-hero-lead strong {
    color: var(--hb-white);
    font-weight: 500;
}

.hb-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

/* Grille 2x2 propre pour éviter tout retour à la ligne désaligné */
.hb-hero-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    border-top: 1px solid var(--hb-line);
    padding-top: 22px;
    max-width: 540px;
    font-family: var(--hb-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hb-muted);
}
.hb-hero-services span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}
.hb-hero-services i {
    color: var(--hb-cyan);
    font-style: normal;
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* Composition visuelle du hero : vidéo showreel au premier plan, logo en badge discret */
.hb-hero-art {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    padding: 0 14px 22px 0;
}

/* Filet d'encadrement décalé derrière la grande vidéo */
.hb-hero-art::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 14px;
    right: 0;
    bottom: 8px;
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: 16px;
    pointer-events: none;
    z-index: 0;
}

/* Grande vidéo Showreel mise en avant */
.hb-reel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--hb-black);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}
.hb-reel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hb-reel-label {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--hb-mono);
    font-size: 0.66rem;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(6px);
    color: var(--hb-white);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 3;
}
.hb-reel-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hb-cyan);
    flex-shrink: 0;
    animation: hbBlink 2s infinite;
}
@keyframes hbBlink { 50% { opacity: 0.3; } }

/* Logo signature en petit badge qui se transforme en carré d'agrandissement au survol */
.hb-bandana-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 108px;
    height: 82px;
    background: #0b0d12;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 7px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--hb-white);
    transition: width 0.35s var(--hb-ease), height 0.35s var(--hb-ease), background 0.35s var(--hb-ease), border-color 0.35s var(--hb-ease), transform 0.35s var(--hb-ease), box-shadow 0.35s var(--hb-ease);
}
.hb-bandana-card .hb-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.92;
    transition: transform 0.35s var(--hb-ease), opacity 0.25s var(--hb-ease);
    display: block;
}
.hb-bandana-card .hb-expand-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hb-black);
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 0.25s var(--hb-ease), transform 0.35s var(--hb-ease);
    pointer-events: none;
}
.hb-bandana-card .hb-expand-icon svg {
    width: 28px;
    height: 28px;
}
.hb-hero-art:hover .hb-bandana-card,
.hb-bandana-card:hover,
.hb-bandana-card:focus-visible {
    width: 72px;
    height: 72px;
    background: var(--hb-cyan);
    border-color: var(--hb-cyan);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(45, 212, 191, 0.32);
    outline: none;
}
.hb-hero-art:hover .hb-bandana-card .hb-logo-img,
.hb-bandana-card:hover .hb-logo-img,
.hb-bandana-card:focus-visible .hb-logo-img {
    opacity: 0;
    transform: scale(0.7);
}
.hb-hero-art:hover .hb-bandana-card .hb-expand-icon,
.hb-bandana-card:hover .hb-expand-icon,
.hb-bandana-card:focus-visible .hb-expand-icon {
    opacity: 1;
    transform: scale(1);
}

.hb-scroll {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--hb-mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    text-transform: uppercase;
    color: var(--hb-muted);
    z-index: 2;
}
.hb-scroll::after {
    content: '';
    width: 1px;
    height: 28px;
    background: linear-gradient(var(--hb-cyan), transparent);
    animation: hbDrop 2.2s var(--hb-ease) infinite;
    transform-origin: top;
}
@keyframes hbDrop {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(1); opacity: 0; }
}

/* =========================== TICKER ÉDITORIAL =========================== */
.hb-ticker {
    position: relative;
    overflow: hidden;
    background: var(--hb-ink);
    border-bottom: 1px solid var(--hb-line);
    padding: 18px 0;
    white-space: nowrap;
}
.hb-marquee-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: hbMarquee 42s linear infinite;
}
.hb-marquee-track span {
    font-family: var(--hb-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hb-muted);
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    flex-shrink: 0;
}
.hb-marquee-track svg {
    width: 11px;
    height: 11px;
    fill: var(--hb-cyan);
    flex-shrink: 0;
}
@keyframes hbMarquee { to { transform: translateX(-50%); } }

/* =========================== ŒUVRES À LA UNE =========================== */
.hb-works-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.hb-work-card {
    display: flex;
    flex-direction: column;
    background: var(--hb-card);
    border: 1px solid var(--hb-line);
    border-radius: 14px;
    overflow: hidden;
    color: var(--hb-white) !important;
    transition: transform 0.4s var(--hb-ease), border-color 0.4s var(--hb-ease), box-shadow 0.4s var(--hb-ease);
}
.hb-work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.hb-work-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0b0d12;
    overflow: hidden;
    border-bottom: 1px solid var(--hb-line);
}
.hb-work-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--hb-ease);
}
.hb-work-card:hover .hb-work-media img {
    transform: scale(1.05);
}

.hb-work-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: var(--hb-mono);
    font-size: 0.68rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hb-cyan);
    background: rgba(8, 9, 12, 0.86);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 6px 12px;
    border-radius: 999px;
}

.hb-work-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.hb-work-body h3 {
    font-family: var(--hb-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--hb-white);
    transition: color 0.3s;
}
.hb-work-card:hover .hb-work-body h3 {
    color: var(--hb-cyan);
}
.hb-work-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 20px;
    flex-grow: 1;
}

.hb-work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.hb-work-tags span {
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    line-height: 1.2;
    color: #c4cad4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 10px;
    border-radius: 6px;
}

.hb-work-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hb-heading);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    color: var(--hb-white);
    margin-top: auto;
    transition: color 0.3s;
}
.hb-work-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--hb-ease);
}
.hb-work-card:hover .hb-work-link {
    color: var(--hb-cyan);
}
.hb-work-card:hover .hb-work-link svg {
    transform: translateX(5px);
}

/* =========================== À PROPOS =========================== */
.hb-about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: start;
}

.hb-about-aside {
    width: 100%;
    max-width: 380px;
}

.hb-portrait {
    position: relative;
    margin: 0 12px 12px 0;
    isolation: isolate;
}
.hb-portrait-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--hb-line);
    background: var(--hb-card);
}
.hb-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    filter: grayscale(0.3) contrast(1.04);
    transition: filter 0.7s var(--hb-ease), transform 0.7s var(--hb-ease);
}
.hb-portrait:hover .hb-portrait-frame img {
    filter: grayscale(0) contrast(1.02);
    transform: scale(1.03);
}
.hb-portrait::before {
    content: '';
    position: absolute;
    inset: 12px -12px -12px 12px;
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: 12px;
    z-index: -1;
    pointer-events: none;
}
.hb-portrait-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(8, 9, 12, 0.9);
    backdrop-filter: blur(8px);
    color: var(--hb-white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    font-family: var(--hb-heading);
    font-weight: 600;
    padding: 10px 16px;
    font-size: 0.95rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
}
.hb-portrait-tag small {
    display: block;
    font-family: var(--hb-mono);
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hb-cyan);
    margin-bottom: 3px;
}

.hb-cv {
    margin-top: 20px;
    width: calc(100% - 12px);
    justify-content: space-between;
}

/* Accordéon */
.hb-acc {
    border-top: 1px solid var(--hb-line);
}
.hb-acc-item {
    border-bottom: 1px solid var(--hb-line);
}
.hb-acc-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 52px 1fr 32px;
    align-items: center;
    gap: 14px;
    background: none;
    border: 0;
    color: var(--hb-white);
    padding: 22px 0;
    text-align: left;
    cursor: pointer;
}
.hb-acc-num {
    font-family: var(--hb-mono);
    font-size: 0.8rem;
    color: var(--hb-muted);
    transition: color 0.3s;
}
.hb-acc-title {
    font-family: var(--hb-heading);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s;
}
.hb-acc-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--hb-line);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s var(--hb-ease);
}
.hb-acc-icon::before,
.hb-acc-icon::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--hb-ease);
}
.hb-acc-icon::after {
    transform: rotate(90deg);
}
.hb-acc-trigger:hover .hb-acc-title,
.hb-acc-item.active .hb-acc-title {
    color: var(--hb-cyan);
}
.hb-acc-item.active .hb-acc-num {
    color: var(--hb-cyan);
}
.hb-acc-item.active .hb-acc-icon {
    background: var(--hb-cyan);
    border-color: var(--hb-cyan);
    color: var(--hb-black);
}
.hb-acc-item.active .hb-acc-icon::after {
    transform: rotate(0deg);
}

.hb-acc-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--hb-ease);
}
.hb-acc-item.active .hb-acc-content {
    grid-template-rows: 1fr;
}
.hb-acc-inner {
    overflow: hidden;
    min-height: 0;
}
.hb-acc-body {
    padding: 4px 0 26px 66px;
}
.hb-acc-body p {
    font-size: 0.98rem;
    line-height: 1.72;
    margin: 0 0 14px;
}
.hb-acc-body p:last-child {
    margin-bottom: 0;
}
.hb-acc-body a {
    color: var(--hb-cyan);
    border-bottom: 1px solid currentColor;
}

.hb-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.hb-mini-grid.three {
    grid-template-columns: 1fr;
}
.hb-mini {
    border: 1px solid var(--hb-line);
    border-radius: 10px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, transform 0.3s var(--hb-ease);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.hb-mini:hover {
    border-color: rgba(45, 212, 191, 0.45);
    transform: translateY(-2px);
}
.hb-mini h4 {
    font-family: var(--hb-heading);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hb-mini h4 i {
    color: var(--hb-cyan);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}
.hb-mini p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.58;
}

.hb-about-cta {
    margin: 30px 0 0;
    font-size: 1rem;
}
.hb-about-cta a {
    color: var(--hb-white);
    border-bottom: 1.5px solid var(--hb-cyan);
    padding-bottom: 2px;
    transition: color 0.3s;
}
.hb-about-cta a:hover {
    color: var(--hb-cyan);
}

/* =========================== EXPERTISES =========================== */
.hb-expertise {
    background: var(--hb-ink);
    border-top: 1px solid var(--hb-line);
    border-bottom: 1px solid var(--hb-line);
}
.hb-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.hb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 30px 32px;
    background: var(--hb-card);
    border: 1px solid var(--hb-line);
    border-radius: 12px;
    color: var(--hb-white) !important;
    overflow: hidden;
    transition: transform 0.4s var(--hb-ease), border-color 0.4s var(--hb-ease), background 0.4s var(--hb-ease);
    isolation: isolate;
}
.hb-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--hb-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--hb-ease);
}
.hb-card:hover {
    background: #161a23;
    border-color: rgba(45, 212, 191, 0.35);
    transform: translateY(-4px);
}
.hb-card:hover::after {
    transform: scaleX(1);
}

.hb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
}
.hb-card-num {
    font-family: var(--hb-mono);
    font-size: 0.78rem;
    color: var(--hb-muted);
    letter-spacing: 0.1em;
}
.hb-card-icon {
    width: 54px;
    height: 54px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--hb-line);
    color: var(--hb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.35s, border-color 0.35s, background 0.35s, transform 0.4s var(--hb-ease);
}
.hb-card:hover .hb-card-icon {
    color: var(--hb-cyan);
    border-color: rgba(45, 212, 191, 0.35);
    background: rgba(45, 212, 191, 0.08);
    transform: scale(1.05);
}
.hb-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hb-card h3 {
    font-family: var(--hb-heading);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
}
.hb-card-tag {
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hb-cyan);
    margin-bottom: 16px;
    display: block;
}
.hb-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 24px;
    flex-grow: 1;
}
.hb-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hb-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.88rem;
    margin-top: auto;
}
.hb-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--hb-ease);
}
.hb-card:hover .hb-card-link {
    color: var(--hb-cyan);
}
.hb-card:hover .hb-card-link svg {
    transform: translateX(5px);
}

/* =========================== RÉALISATIONS =========================== */
.hb-projects {
    border-top: 1px solid var(--hb-line);
}
.hb-project {
    display: grid;
    grid-template-columns: 64px 120px 1fr 48px;
    gap: 28px;
    align-items: center;
    padding: 26px 18px;
    border-bottom: 1px solid var(--hb-line);
    color: var(--hb-white) !important;
    position: relative;
    overflow: hidden;
    transition: padding 0.35s var(--hb-ease), background 0.35s var(--hb-ease);
    isolation: isolate;
}
.hb-project:hover {
    padding-left: 26px;
    background: rgba(255, 255, 255, 0.03);
}

.hb-project-num {
    font-family: var(--hb-mono);
    font-size: 0.82rem;
    color: var(--hb-muted);
}
.hb-project-logo {
    width: 120px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--hb-line);
    overflow: hidden;
    flex-shrink: 0;
}
.hb-project-logo--dark {
    background: var(--hb-card);
    border-color: rgba(255, 255, 255, 0.14);
}
.hb-project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hb-project-body {
    min-width: 0;
}
.hb-project h3 {
    font-family: var(--hb-heading);
    font-size: 1.38rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 6px;
    color: inherit;
    transition: color 0.3s;
}
.hb-project:hover h3 {
    color: var(--hb-cyan);
}
.hb-project p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    transition: color 0.3s;
}
.hb-project-go {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s var(--hb-ease);
}
.hb-project-go svg {
    width: 18px;
    height: 18px;
    transform: rotate(-45deg);
    transition: transform 0.35s var(--hb-ease);
}
.hb-project:hover .hb-project-go {
    background: var(--hb-cyan);
    border-color: var(--hb-cyan);
    color: var(--hb-black);
}
.hb-project:hover .hb-project-go svg {
    transform: rotate(0deg);
}

/* =========================== CONTACT =========================== */
.hb-contact {
    overflow: hidden;
}
.hb-contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 68px;
    align-items: start;
}
.hb-contact-aside h2 {
    font-family: var(--hb-heading);
    font-size: clamp(2.05rem, 3.8vw, 3.1rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 14px 0 18px;
}
.hb-contact-aside h2 em {
    font-style: normal;
    color: var(--hb-cyan);
}
.hb-contact-aside > p {
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}
.hb-contact-links {
    margin-top: 34px;
    border-top: 1px solid var(--hb-line);
}
.hb-contact-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--hb-line);
    color: var(--hb-white);
    font-size: 1rem;
    transition: color 0.3s, padding 0.3s var(--hb-ease);
}
.hb-contact-links a span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.hb-contact-links a i {
    color: var(--hb-cyan);
    font-size: 1.1rem;
    line-height: 1;
    width: 20px;
    text-align: center;
}
.hb-contact-links a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s var(--hb-ease);
}
.hb-contact-links a:hover {
    color: var(--hb-cyan);
    padding-left: 8px;
}
.hb-contact-links a:hover svg {
    transform: translateX(4px);
}

.hb-form-wrap {
    position: relative;
    background: var(--hb-card);
    border: 1px solid var(--hb-line);
    border-radius: 14px;
    padding: 40px 38px;
}
.hb-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 38px;
    width: 72px;
    height: 3px;
    background: var(--hb-cyan);
    border-radius: 0 0 3px 3px;
}

.hb-form .hb-field label,
.hb-form .hb-label {
    display: block;
    font-family: var(--hb-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hb-muted);
    margin-bottom: 8px;
}
.hb-form input[type="text"],
.hb-form input[type="email"],
.hb-form input[type="number"],
.hb-form textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    color: var(--hb-white);
    padding: 10px 0 12px;
    font-family: var(--hb-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.hb-form textarea {
    resize: vertical;
    min-height: 120px;
}
.hb-form input::placeholder,
.hb-form textarea::placeholder {
    color: #5f6673;
}
.hb-form input:focus,
.hb-form textarea:focus {
    border-bottom-color: var(--hb-cyan);
    box-shadow: 0 1px 0 0 var(--hb-cyan);
}
.hb-form input[type="number"]::-webkit-inner-spin-button,
.hb-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hb-chip {
    position: relative;
}
.hb-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.hb-chip label {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: var(--hb-white);
    font-size: 0.9rem;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s;
    margin: 0;
}
.hb-chip label:hover {
    border-color: rgba(255, 255, 255, 0.5);
}
.hb-chip input:checked + label {
    background: var(--hb-cyan);
    border-color: var(--hb-cyan);
    color: var(--hb-black);
    font-weight: 500;
}
.hb-chip input:focus-visible + label {
    outline: 2px solid var(--hb-cyan);
    outline-offset: 3px;
}

.hb-captcha {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--hb-line);
    border-radius: 10px;
    padding: 8px 16px;
}
.hb-captcha-q {
    font-family: var(--hb-heading);
    font-size: 1.2rem;
    line-height: 1;
    color: var(--hb-white);
    white-space: nowrap;
    padding: 0;
}
.hb-captcha-q b {
    color: var(--hb-cyan);
    font-weight: 700;
}
.hb-form .hb-captcha input[type="number"] {
    width: 84px;
    max-width: 84px;
    text-align: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(8, 9, 12, 0.6);
    font-family: var(--hb-heading);
    font-size: 1.05rem;
    line-height: 1.2;
}
.hb-form .hb-captcha input[type="number"]:focus {
    border-color: var(--hb-cyan);
    box-shadow: 0 0 0 2px var(--hb-cyan-soft);
}

.hb-form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.hb-form-foot small {
    color: #6e7684;
    font-size: 0.82rem;
}

.hb-alert {
    padding: 14px 18px;
    margin-bottom: 26px;
    border-left: 3px solid;
    border-radius: 6px;
    font-size: 0.94rem;
    display: flex;
    gap: 12px;
    align-items: center;
}
.hb-alert-danger {
    border-color: #ff4d5e;
    background: rgba(255, 77, 94, 0.08);
    color: #ff9aa4;
}
.hb-alert-warning {
    border-color: #ffc94d;
    background: rgba(255, 201, 77, 0.08);
    color: #ffdf9a;
}

/* =========================== REVEAL =========================== */
.hb-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--hb-ease), transform 0.8s var(--hb-ease);
}
.hb-reveal.is-in {
    opacity: 1;
    transform: none;
}
.hb-reveal[data-delay="1"] { transition-delay: 0.08s; }
.hb-reveal[data-delay="2"] { transition-delay: 0.16s; }
.hb-reveal[data-delay="3"] { transition-delay: 0.24s; }

.hb-hero .hb-anim {
    opacity: 0;
    transform: translateY(20px);
    animation: hbIn 0.85s var(--hb-ease) forwards;
}
.hb-hero .hb-anim:nth-child(2) { animation-delay: 0.07s; }
.hb-hero .hb-anim:nth-child(3) { animation-delay: 0.14s; }
.hb-hero .hb-anim:nth-child(4) { animation-delay: 0.21s; }
.hb-hero .hb-anim:nth-child(5) { animation-delay: 0.28s; }
.hb-hero .hb-anim:nth-child(6) { animation-delay: 0.35s; }
.hb-hero-art.hb-anim { animation-delay: 0.25s !important; }
@keyframes hbIn { to { opacity: 1; transform: none; } }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1100px) {
    .hb-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hb-hero-art {
        max-width: 560px;
        margin: 0 auto;
    }
    .hb-works-grid {
        grid-template-columns: 1fr;
    }
    .hb-about-grid,
    .hb-contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .hb-about-aside {
        max-width: 380px;
        margin: 0 auto;
    }
    .hb-cards {
        grid-template-columns: 1fr;
    }
    .hb-card-top {
        margin-bottom: 24px;
    }
}

@media (max-width: 720px) {
    .hb-container,
    .home-bandana .modern-header .navbar,
    .home-bandana .custom-footer .footer-container {
        padding: 0 20px;
    }
    .hb-section {
        padding: 76px 0;
    }
    .hb-hero {
        padding: 52px 0 92px;
    }
    .hb-hero-services {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hb-mini-grid {
        grid-template-columns: 1fr;
    }
    .hb-acc-trigger {
        grid-template-columns: 38px 1fr 30px;
    }
    .hb-acc-body {
        padding-left: 0;
    }
    .hb-project {
        grid-template-columns: 92px 1fr 40px;
        gap: 16px;
        padding: 20px 8px;
    }
    .hb-project-num {
        display: none;
    }
    .hb-project-logo {
        width: 92px;
        height: 56px;
        padding: 8px 10px;
    }
    .hb-project-go {
        width: 40px;
        height: 40px;
    }
    .hb-project:hover {
        padding-left: 12px;
    }
    .hb-form-wrap {
        padding: 28px 20px;
    }
    .hb-form-wrap::before {
        left: 20px;
    }
    .hb-marquee-track span {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-bandana *,
    .home-bandana *::before,
    .home-bandana *::after {
        animation: none !important;
        transition: none !important;
    }
    .hb-reveal,
    .hb-hero .hb-anim {
        opacity: 1 !important;
        transform: none !important;
    }
}
