/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-main {
    width: 1124px;
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* Contenu principal */
.main-content {
    width: 100%;
    text-align: center;
}

/* Sous-produits */
.subsidiaries {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.subsidiary-left,
.subsidiary-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.subsidiary-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    min-height: 250px;
    position: relative;
}

.subsidiary-link:hover {
    transform: translateY(-5px);
}

.subsidiary-link:hover .logo-subsidiary {
    opacity: 1;
}

.logo-square {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background-color: #ffffff;
}

.logo-subsidiary {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.subsidiary-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    margin-top: auto;
    margin-bottom: 0;
    text-align: center;
}

.construction-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 120px 120px 0;
    border-color: transparent #FF6B35 transparent transparent;
    z-index: 10;
}

.construction-badge::after {
    content: 'En construction';
    position: absolute;
    top: 27px;
    right: -135px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transform: rotate(45deg);
    display: block;
    width: 115px;
    text-align: center;
    line-height: 1.2;
}

/* Contenu texte */
.text-content {
    display: none;
}

/* Styles SEO et accessibilité */
.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;
}

.projects-intro {
    display: none;
}

.project-card {
    background: transparent;
    border-radius: 0;
    transition: transform 0.3s ease;
    width: 100%;
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer p {
    color: #666;
    font-size: 0.7rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer nav {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo-main {
        max-width: 100%;
    }
    
    .subsidiaries {
        flex-direction: column;
        gap: 2rem;
    }
    
    .subsidiary-left,
    .subsidiary-right {
        width: 100%;
    }
    
    .logo-square {
        width: 150px;
        height: 150px;
    }
    
    .logo-subsidiary {
        max-width: 130px;
        max-height: 130px;
    }
    
    .subsidiary-title {
        font-size: 1rem;
    }
    
    .subsidiary-link {
        min-height: 200px;
    }
    
    .construction-badge {
        border-width: 0 110px 110px 0;
    }
    
    .construction-badge::after {
        top: 28px;
        right: -70px;
        font-size: 0.8rem;
        width: 50px;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .logo-main {
        max-width: 100%;
    }
    
    .logo-square {
        width: 120px;
        height: 120px;
    }
    
    .logo-subsidiary {
        max-width: 100px;
        max-height: 100px;
    }
    
    .subsidiary-title {
        font-size: 0.9rem;
    }
    
    .subsidiary-link {
        min-height: 180px;
    }
    
    .construction-badge {
        border-width: 0 95px 95px 0;
    }
    
    .construction-badge::after {
        top: 20px;
        right: -103px;
        font-size: 0.7rem;
        width: 90px;
        letter-spacing: 0.5px;
    }
}
