/* ============================================================================
   STYLES SPÉCIFIQUES - PAGE D'ACCUEIL
   
   Tous les styles propres à index.html :
   - Hero Section (titre + stats diagonales)
   - Marquee Banner (défilement infini)
   - Section Méthode / Vision
   - Section Portfolio (grille projets)
   - Footer
   - Responsive design
   ============================================================================ */

/* ========================================
   HERO SECTION
======================================== */
.hero {
    padding-top: 150px;
}

.hero__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero__title {
    font-size: clamp(80px, 15vw, 200px);
    color: var(--color-text);
    margin-bottom: -20px;
}

/* Stats Group */
.stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 340px;
    position: relative;
    overflow: visible;
}

.stats__item {
    background: transparent;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    transform: skewY(-2deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 98% 100%, 0% 100%);
    background: linear-gradient(120deg, transparent, rgba(0, 153, 255, 0.03), transparent);
}

.stats__item:hover {
    transform: skewY(-2deg) translateX(10px);
    background: linear-gradient(120deg, transparent, rgba(0, 153, 255, 0.1), transparent);
}

.stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(120deg, transparent, var(--color-gold), transparent);
    transform: rotate(-2deg);
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.stats__number {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 1;
    color: var(--color-accent);
    min-width: 110px;
    text-shadow: 0 0 25px rgba(0, 153, 255, 0.6);
    transform: skewY(2deg);
}

.stats__label {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
    transform: skewY(2deg);
}

/* ========================================
   MARQUEE BANNER
======================================== */
.marquee {
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg) scale(1.05);
    margin: -50px 0;
    position: relative;
}

.marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 20px var(--color-accent);
}

.marquee__track {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    animation: marquee-scroll 20s linear infinite;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee__item {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 100px);
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.marquee__item:hover {
    color: var(--color-accent);
}

.marquee__item--outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.marquee__item--outline:hover {
    -webkit-text-stroke: 1px var(--color-accent);
}

/* ========================================
   METHOD SECTION
======================================== */
.method__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    margin-top: var(--spacing-lg);
    align-items: center;
}

.method__title {
    font-size: 110px;
    margin-bottom: 0;
    line-height: 0.95;
}

.vision {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.vision__item {
    padding-left: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.vision__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 36px;
    width: 3px;
    background: var(--color-accent);
    transition: background 0.3s ease;
}

.vision__item:hover::before {
    background: var(--color-gold);
}

.vision__item:hover {
    transform: translateX(10px);
}

.vision__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.vision__description {
    font-size: 21px;
    line-height: 1.8;
    color: var(--overlay-medium);
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.portfolio {
    padding: var(--spacing-xl) 5% 200px;
}

.portfolio__header {
    margin-bottom: 120px;
    padding-left: 5%;
    border-left: 4px solid var(--color-accent);
}

.portfolio__title {
    font-size: 80px;
    line-height: 0.9;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.project {
    position: relative;
    height: 600px;
    transition: transform 0.3s ease;
}

.project__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project:nth-child(even) {
    transform: translateY(120px);
}

.project:hover {
    transform: translateY(-10px);
}

.project:nth-child(even):hover {
    transform: translateY(110px);
}

.project__image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
    background: #000;
}

.project__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.project:hover .project__image {
    transform: scale(1.1);
    opacity: 0.9;
}

.project__overlay {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--color-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--overlay-light);
    z-index: 2;
}

.project__category {
    color: var(--color-gold);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
}

.project__name {
    font-size: 36px;
    margin: 0;
    line-height: 1;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero__content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats {
        width: 100%;
    }
    
    .method__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
    
    .project:nth-child(even) {
        transform: translateY(0);
    }
    
    .site-nav {
        display: none;
    }
    
    .marquee {
        transform: rotate(-1deg) scale(1.02);
    }
}

@media (max-width: 768px) {
    .marquee__track {
        gap: var(--spacing-md);
    }
    
    .portfolio__title {
        font-size: 60px;
    }
    
    .stats__item {
        transform: skewY(0deg);
        clip-path: none;
    }
    
    .stats__number,
    .stats__label {
        transform: skewY(0deg);
    }
}