/* 
   LITENA WIREFRAMES - GLOBAL STYLES 
   Version: 1.0
   Type: Low-Fidelity Strict (B&W)
*/

/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Courier New', Courier, monospace; /* Police neutre style "technique" */
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    font-size: 16px;
    padding-bottom: 100px; /* Espace pour le footer */
}

a {
    color: #000000;
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    display: block;
    background-color: #f5f5f5;
    border: 2px solid #000;
    min-height: 100px; /* Pour visibilité placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

/* --- UTILITIES --- */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }

.section {
    padding: 60px 0;
    border-bottom: 2px solid #000;
}

/* --- LOW-FI COMPONENTS --- */

/* Placeholders */
.placeholder-img {
    background-color: #f5f5f5;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: #555;
    min-height: 200px;
}

.placeholder-icon {
    display: inline-block;
    border: 2px solid #000;
    padding: 5px 10px;
    background: #fff;
    font-size: 12px;
    margin-right: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: #000;
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Forms */
input, textarea, select {
    width: 100%;
    border: 2px solid #000;
    padding: 10px;
    margin-bottom: 15px;
    font-family: inherit;
    background: #fff;
    border-radius: 0; /* Pas de radius */
}

/* Grid System Simple */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* Cards */
.card {
    border: 2px solid #000;
    padding: 20px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-img {
    height: 200px;
    background: #f5f5f5;
    border-bottom: 2px solid #000;
    margin: -20px -20px 20px -20px; /* Full width top */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.card-content {
    flex-grow: 1;
}

.card-footer {
    margin-top: 20px;
    text-align: right;
}

/* Header Global */
header {
    border-bottom: 4px solid #000;
    padding: 20px 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-desktop {
    display: flex;
    gap: 20px;
}

.nav-item {
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid transparent;
}

.nav-item:hover {
    border: 1px solid #000;
}

.nav-mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    border: 2px solid #000;
    padding: 5px 10px;
}

/* Mega Menu (Low Fi representation) */
.mega-menu {
    display: none; /* JS/Hover required in real dev, here static or indicated */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #000;
    padding: 20px;
    z-index: 90;
}

/* Footer Global */
footer {
    background: #f5f5f5;
    border-top: 4px solid #000;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 2px solid #000;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

/* Navigation Wireframes Floating Button */
.nav-wireframes {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #fff;
    border: 4px solid #000;
    z-index: 9999;
    padding: 10px;
    width: 250px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 10px 10px 0px #000;
    transition: transform 0.3s ease;
}

.nav-wireframes.collapsed {
    width: 40px;
    height: 40px;
    overflow: hidden;
    padding: 0;
}

.nav-wireframes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}

.nav-wireframes-list {
    font-size: 12px;
}

.nav-wireframes-list a {
    display: block;
    padding: 2px 0;
    text-decoration: none;
}
.nav-wireframes-list a:hover {
    text-decoration: underline;
    background: #eee;
}

/* Floating CTAs */
.floating-ctas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 4px 4px 0 #000;
    text-decoration: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet (768px - 1439px) */
@media (max-width: 1439px) {
    .container { max-width: 100%; }
    
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    body { font-size: 14px; }
    
    .nav-desktop { display: none; }
    .nav-mobile-toggle { display: block; }
    
    .grid-6, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .header-inner {
        padding: 0 10px;
    }
    
    .btn-block-mobile {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Mobile Menu Overlay (Simulated) */
    .mobile-menu {
        display: none; /* To be toggled */
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        z-index: 99;
        padding: 20px;
        overflow-y: auto;
        border-top: 2px solid #000;
    }
    
    .mobile-menu.active { display: block; }
}
