/* ============================================
   ASAP STUDIO - RÉALISATIONS - FUTURISTIC
   ============================================ */

/* ===========================================
   PAGE HEADER
   =========================================== */
.page-header {
    padding: calc(var(--header-height) + var(--space-xxl)) 0 var(--space-xl);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Grille néon verte */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

/* Glow radial vert */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.page-header-content {
    max-width: 700px;
}

.page-header-tag {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.tag-bracket {
    color: var(--color-text-muted);
}

.page-header-title {
    font-size: var(--fs-xxl);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-md);
}

.page-header-title-accent {
    color: var(--color-accent);
}

.page-header-desc {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===========================================
   VISUALLY HIDDEN
   =========================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================================
   PORTFOLIO SECTION
   =========================================== */
.section--portfolio {
    padding-top: 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Grille néon verte */
.section--portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

/* Glow radial vert */
.section--portfolio::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 40%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===========================================
   PROJECT CARD
   =========================================== */
.project {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.project.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .project {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xxl);
        align-items: start;
    }
    
    .project--reverse .project-media {
        order: 2;
    }
    
    .project--reverse .project-content {
        order: 1;
    }
}

/* Project Media */
.project-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.6) 0%, rgba(13, 13, 13, 0.8) 100%);
    border: 1px solid rgba(0, 255, 136, 0.15);
    transition: all var(--transition-slow);
}

.project-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 255, 136, 0.02) 2px,
        rgba(0, 255, 136, 0.02) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.project-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.4), transparent);
    z-index: 2;
}

.project:hover .project-media {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}

.project-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    transition: transform var(--transition-slow);
}

.project:hover .project-placeholder {
    transform: scale(1.02);
}

/* Project Content */
.project-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.project-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Badge tarif */
.project-price {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: auto;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--color-accent);
}

.project-price-label {
    color: var(--color-text-muted);
}

.project-price-value {
    font-weight: 600;
}

.project-number {
    font-family: var(--font-mono);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: rgba(0, 255, 136, 0.2);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.project-type {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.project-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.1;
}

.project-location {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.project-desc {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
}

.project-desc p {
    margin: 0;
}

/* Project Features */
.project-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.project-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
}

.feature-icon {
    color: var(--color-accent);
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

/* Project Quote */
.project-quote {
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 255, 136, 0.02) 100%);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
    overflow: hidden;
    box-shadow: -3px 0 15px rgba(0, 255, 136, 0.15);
}

.project-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 4px,
        rgba(0, 255, 136, 0.02) 4px,
        rgba(0, 255, 136, 0.02) 5px
    );
    pointer-events: none;
}

.project-quote p {
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 var(--space-sm);
}

.project-quote cite {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-style: normal;
    color: var(--color-accent);
}

/* ===========================================
   PROJECT DIVIDER - FUTURISTIC
   =========================================== */
.project-divider {
    display: flex;
    justify-content: center;
    padding: var(--space-lg) 0;
    color: rgba(0, 255, 136, 0.3);
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.project-divider svg {
    width: 200px;
    height: 50px;
}

/* ===========================================
   CTA ALT - FUTURISTIC
   =========================================== */
.section--cta-alt {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
}

.section--cta-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-alt {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-alt-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.cta-alt-title-accent {
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

.cta-alt-desc {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}
