/* BRUTAL.AI - Style Brutaliste */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.4;
    font-weight: 400;
}

/* Typographie */
.mono {
    font-family: 'Courier New', Courier, monospace;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Liens */
a {
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

a:hover {
    color: #e60000;
}

a:focus {
    outline: 2px solid #e60000;
    outline-offset: 2px;
}

/* Layout principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Header */
.header {
    border-bottom: 4px solid #000000;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
    border-color: #e60000;
    color: #e60000;
}

/* Sections */
.section {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 4px solid #000000;
}

.section-title {
    border-bottom: 2px solid #000000;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border: 4px solid #000000;
    cursor: pointer;
    transition: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn:hover,
.btn:focus {
    background-color: #ffffff;
    color: #000000;
    outline: 2px solid #e60000;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #e60000;
    border-color: #e60000;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #ffffff;
    color: #e60000;
    border-color: #e60000;
}

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

/* Cartes produits */
.product-card {
    border: 4px solid #000000;
    padding: 1.5rem;
    background-color: #ffffff;
}

.product-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.product-price {
    background-color: #e60000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.product-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #000000;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.product-details.hidden {
    display: none;
}

/* Formulaires */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 4px solid #000000;
    background-color: #ffffff;
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: 2px solid #e60000;
    outline-offset: 2px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Messages de succès */
.success-message {
    background-color: #ffffff;
    border: 4px solid #000000;
    color: #e60000;
    padding: 2rem;
    margin: 2rem 0;
    font-weight: bold;
    text-transform: uppercase;
}

/* Footer */
.footer {
    border-top: 4px solid #000000;
    padding: 2rem 0;
    margin-top: 4rem;
    font-family: 'Courier New', Courier, monospace;
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.text-mono {
    font-family: 'Courier New', Courier, monospace;
}

.text-red {
    color: #e60000;
}

.border-box {
    border: 4px solid #000000;
    padding: 1.5rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .section {
        padding: 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* États de focus pour l'accessibilité */
*:focus {
    outline: 2px solid #e60000;
    outline-offset: 2px;
}

/* Masquer les éléments visuellement mais les garder accessibles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

