body.theme-gaming {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.theme-gaming main { flex: 1; }

.accent, .txt-red { color: #ff3333 !important; }

.gaming-footer {
    padding: 3rem 1rem;
    text-align: center;
    background: #000;
    border-top: 1px solid #1a1a1a;
    margin-top: auto;
}

.gaming-footer a { color: #888; text-decoration: none; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.gaming-footer a:hover { color: #fff; }
.gaming-footer__sep { color: #333; margin: 0 0.35rem; }
.gaming-footer__copy { font-size: 0.65rem; color: #666; margin: 1rem 0 0.5rem; text-transform: uppercase; }
.gaming-footer__legal { font-size: 0.7rem; }

.hp-field { display: none !important; }

.contact-alert { padding: 2rem; border-radius: 15px; text-align: center; }
.contact-alert--success { background: #fffafa; border: 2px solid #ff3333; color: #ff3333; font-weight: bold; }
.contact-alert--error { background: #1a1a1a; border: 2px solid #444; color: #ff6666; }

.contact-section .contact-info h2 {
    font-size: 1.65rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-info__lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 34rem;
}

.contact-pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-pillar {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-pillar__emoji {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
}

.contact-pillar__title {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0.25rem;
}

.contact-pillar__text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e0e0e0;
    opacity: 0.7;
    margin: 0;
}

.feature-card h3 {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", var(--font-main, 'Inter', sans-serif);
}

@media (max-width: 850px) {
    .contact-info__lead { max-width: none; }
}

/* Page Services — prestations & tarifs */
.services-page .services-intro {
    text-align: center;
    max-width: 900px;
    margin: -1rem auto 4rem;
}

.services-page .services-intro__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.services-page .services-intro__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.services-page .services-cta {
    text-align: center;
    margin-top: 4rem;
}

.services-page .services-cta__hint {
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.7;
}

/* Page Réalisations — comparateur avant/après */
.realisations-page {
    padding: 7rem 1.25rem 4rem;
    background: #000;
}

.realisations-page .container {
    max-width: 1100px;
    margin: 0 auto;
}

.realisations-page .container--wide {
    max-width: 1280px;
}

.realisations-index .intro-card p {
    font-size: 1rem;
    color: #d1d5db;
}

.real-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.real-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.real-filter {
    border: 1px solid #262626;
    background: #070707;
    color: #9ca3af;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    transition: 0.2s ease;
    cursor: pointer;
}

.real-filter:hover,
.real-filter.is-active {
    color: #fff;
    border-color: #ff3333;
    background: rgba(255, 51, 51, 0.12);
}

.real-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.real-sort select {
    background: #070707;
    border: 1px solid #222;
    color: #f3f4f6;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
}

.real-block {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #1a1a1a;
}

.real-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.real-block__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

.real-block__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #ff3333;
    margin-top: 0.5rem;
}

.real-controls--global {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1a1a1a;
}

.real-controls--sort-only {
    justify-content: flex-end;
}

.real-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.real-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #6b7280;
    border: 1px dashed #262626;
    border-radius: 12px;
    padding: 1.5rem;
}

.real-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
    border-radius: 12px;
    background: linear-gradient(to bottom, #0b0b0b 20%, #060606 100%);
    text-align: left;
    transition: 0.2s ease;
    cursor: pointer;
    padding: 0;
    color: inherit;
    text-decoration: none;
    display: block;
}

.real-card:hover {
    border-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.real-card__badges {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: calc(100% - 1.4rem);
}

.real-card__badge {
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(7, 7, 7, 0.85);
    border: 1px solid #1f2937;
    color: #fff;
    padding: 0.3rem 0.55rem;
}

.real-card__badge--full-clean { color: #ff3333; border-color: #ff3333; }
.real-card__badge--swap-boitier { color: #9ca3af; }
.real-card__badge--upgrade { color: #60a5fa; border-color: #3b82f6; }
.real-card__badge--watercooling { color: #2dd4bf; border-color: #14b8a6; }
.real-card__badge--sur-mesure { color: #c084fc; border-color: #a855f7; }
.real-card__badge--config-gthinks { color: #fb923c; border-color: #f97316; }

.real-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #050505;
    border-bottom: 1px solid #1f2937;
}

.real-card__thumb img.real-card__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: auto;
    opacity: 0;
    transition: opacity 3s ease;
    z-index: 0;
}

.real-card__thumb img.real-card__slide.is-visible {
    opacity: 1;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .real-card__thumb img.real-card__slide {
        transition: none;
    }
}

.real-card__body {
    padding: 0.85rem;
}

.real-card h2 {
    margin: 0.35rem 0 0.45rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
}

.real-card__summary {
    margin: 0;
    color: #9ca3af;
    font-size: 0.78rem;
    line-height: 1.45;
    min-height: 2rem;
}

.real-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.real-card__date {
    font-size: 0.72rem;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: 0.04em;
}

.real-card__arrow {
    color: #ff3333;
    font-weight: 900;
    flex-shrink: 0;
}

.realisations-page .project-title__date {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.06em;
    text-transform: none;
}

.realisation-back {
    margin: 0 0 1.5rem;
}

.realisation-back a {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.realisation-back a:hover {
    color: #ff3333;
}

@media (max-width: 820px) {
    .real-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .real-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}

.realisations-page .section-title {
    line-height: 1.2;
    margin-bottom: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: #fff;
}

.realisations-page .intro-card {
    margin-bottom: 3rem;
    border-left: 4px solid #ff3333;
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 0 12px 12px 0;
}

.realisations-page .intro-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin: 0;
}

.realisations-page .project-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 800;
}

.realisations-page .project-title span {
    border-bottom: 3px solid #ff3333;
    padding-bottom: 4px;
}

.realisations-page .realisation-project {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1a1a1a;
}

.realisations-page .realisation-project:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.compare {
    position: relative;
    width: 100%;
    max-width: 1620px;
    aspect-ratio: 3 / 2;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #222;
    background: #050505;
    user-select: none;
}

.compare__after {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.compare__after-ui {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.compare__before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 3px solid #fff;
    z-index: 2;
}

.compare__before-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--compare-w, 100%);
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.compare__label {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 11px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.compare__label--after {
    right: 20px;
    background: #ff3333;
    color: #fff;
}

.compare__label--before {
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.compare__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    opacity: 0;
    cursor: ew-resize;
    z-index: 40;
}

.compare__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1000px;
    width: 40px;
    opacity: 0;
    cursor: ew-resize;
}

.compare__handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #ff3333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    color: #ff3333;
    font-weight: 900;
    font-size: 16px;
}

.real-gallery {
    max-width: 1620px;
    margin: 0 auto 2rem;
}

.real-gallery__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #222;
    background: #050505;
}

.real-gallery__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.real-gallery__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.real-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.real-gallery__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 48px;
    padding: 0;
    border: 2px solid #333;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.real-gallery__thumb.is-active,
.real-gallery__thumb:hover {
    opacity: 1;
    border-color: #ff3333;
}

.real-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .real-gallery__slide {
        transition: none;
    }
}

.realisations-page .tech-specs {
    margin: 3rem auto 4rem;
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

.realisations-page .tech-specs__interventions {
    margin: 0;
}

.realisations-page .tech-specs__interventions strong {
    color: #d1d5db;
}

.realisations-page .tech-specs__price {
    margin: 1rem 0 0;
}
