/* Variables CSS pour la palette brutaliste */
:root {
    --primary-color: #8b6b47;      /* Brun principal */
    --primary-dark: #6b4f35;       /* Brun foncé */
    --primary-light: #a68660;      /* Brun clair */
    --secondary-color: #2c2c2c;    /* Gris anthracite */
    --accent-color: #f4f1eb;       /* Beige très clair */
    --text-dark: #1a1a1a;          /* Noir profond */
    --text-light: #ffffff;         /* Blanc pur */
    --border-color: #3a3a3a;       /* Gris pour bordures */
    --shadow-brutal: 8px 8px 0px;  /* Ombre brutaliste */
    --shadow-hover: 12px 12px 0px; /* Ombre hover */
}

/* Reset et base */
* {
    box-sizing: border-box;
}



html, body {
    overflow-x: hidden;
}


body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    background-color: var(--accent-color);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Titres en uppercase */
h1, h2, h3, h4, h5, h6,
.nav-link,
.filter-btn,
.etsy-link,
.tag-badge {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
/* Contenu principal */
.main-content {
    margin-left: 25%;
    padding: 30px;
    background-color: var(--accent-color);
    width: 75%; /* Remplace max-width par width */
    box-sizing: border-box;
}

/* Conteneur général pour tout wrapper */
.page-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
}


/* Header de la page À propos */
.about-header {
    background: var(--accent-color);
    padding: 3rem 2rem;
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--text-dark);
    margin-bottom: 2rem;
}

.about-header h1 {
    color: var(--text-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-header .lead {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Section image produit */
.product-image img {
    border: 4px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--primary-color);
    transition: all 0.3s ease;
}

.product-image img:hover {
    box-shadow: var(--shadow-hover) var(--primary-color);
    transform: translate(-4px, -4px);
}

/* Spécifications techniques */
.product-summary {
    background: var(--text-light);
    padding: 2rem;
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--secondary-color);
}

.product-summary h2 {
    color: var(--text-dark);
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--accent-color);
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Cartes des modes de capture */
.mode-card {
    background: var(--text-light);
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mode-card:hover {
    box-shadow: var(--shadow-hover) var(--primary-color);
    transform: translate(-4px, -4px);
    background: var(--accent-color);
}

.mode-icon {
    color: var(--primary-color);
}

.mode-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
}

.mode-card p {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Section sujets de prédilection */
.subject-card {
    background: var(--text-light);
    padding: 1.5rem;
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--secondary-color);
    transition: all 0.3s ease;
}

.subject-card:hover {
    box-shadow: var(--shadow-hover) var(--secondary-color);
    transform: translate(-4px, -4px);
}

.subject-card img {
    border: 3px solid var(--text-dark);
    box-shadow: 6px 6px 0px var(--primary-light);
}

.subject-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.subject-card p {
    color: var(--secondary-color);
    font-weight: 500;
    line-height: 1.6;
}

/* Section philosophie */
.philosophy-section {
    background: var(--primary-color);
    color: var(--text-light);
    border: 4px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--text-dark);
    position: relative;
}

.philosophy-section::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: -2rem;
    left: 2rem;
    color: var(--accent-color);
    font-weight: 900;
    line-height: 1;
}

.philosophy-section h2 {
    color: var(--text-light);
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 3px solid var(--text-light);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.philosophy-section .blockquote {
    border-left: none;
    margin: 2rem 0;
}

.philosophy-section .lead {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.philosophy-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Section historique */
.history-section {
    background: var(--accent-color);
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--primary-color);
}

.history-section h3 {
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.timeline-item {
    padding-left: 2rem;
    position: relative;
    border-left: 3px solid var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 2px solid var(--text-dark);
    border-radius: 0;
}

.timeline-item strong {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
}

/* Section particularités */
.features-section {
    background: var(--secondary-color);
    color: var(--text-light);
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--primary-light);
}

.features-section h3 {
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.features-section li {
    padding: 0.5rem 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.features-section .fa-check-circle {
    color: var(--primary-light) !important;
}

/* Section CTA finale */
.cta-section {
    background: var(--text-dark);
    color: var(--text-light);
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-brutal) var(--primary-color);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
}

/* Boutons CTA */
.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 3px solid var(--text-dark);
    box-shadow: 6px 6px 0px var(--secondary-color);
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--text-dark);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--text-dark);
    box-shadow: 10px 10px 0px var(--secondary-color);
    transform: translate(-4px, -4px);
}

.btn-outline-primary {
    background: var(--text-light);
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    border-color: var(--text-dark);
    color: var(--text-dark);
    box-shadow: 10px 10px 0px var(--secondary-color);
    transform: translate(-4px, -4px);
}

/* Images avec style brutaliste */
.img-fluid {
    transition: all 0.3s ease;
}

.main-content img.img-fluid:not(.subject-card img) {
    border: 3px solid var(--text-dark);
    box-shadow: var(--shadow-brutal) var(--primary-color);
}

.main-content img.img-fluid:hover:not(.subject-card img) {
    box-shadow: var(--shadow-hover) var(--primary-color);
    transform: translate(-4px, -4px);
}

@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
        box-shadow: none;
        border: none;
        border-bottom: 4px solid var(--secondary-color);
    }
    
    .sidebar::before {
        height: 4px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%; /* Largeur complète sur mobile */
        padding: 20px;
    }
    
    .masonry-container {
        column-count: 2;
        column-gap: 20px;
    }
    
    .filter-buttons {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .mobile-footer {
        display: block !important;
    }
    
    .photo-item {
        margin-bottom: 20px;
    }
}


/* Animations supplémentaires */
@keyframes brutalistPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.mode-card:hover,
.subject-card:hover {
    animation: brutalistPulse 0.6s ease-in-out;
}

/* Effets de focus pour l'accessibilité */
.mode-card:focus,
.subject-card:focus,
.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Typographie renforcée */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.text-muted {
    color: var(--secondary-color) !important;
}

/* Scrollbar personnalisée (webkit) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--accent-color);
    border: 2px solid var(--text-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border: 2px solid var(--text-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.mobile-footer {
    display: none;
    background-color: var(--text-light);
    padding: 25px;
    border-top: 6px solid var(--secondary-color);
    margin-top: 40px;
    box-shadow: 0 -8px 0px var(--primary-color);
}

.mobile-footer h6 {
    color: var(--primary-color);
    font-weight: 800;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 8px;
}

.mobile-footer p {
    background-color: var(--accent-color);
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 16px;
}

/* Responsive brutaliste */
@media (max-width: 767px) {
    .sidebar {
        position: static;
        height: auto;
        box-shadow: none;
        border: none;
        border-bottom: 4px solid var(--secondary-color);
    }
    
    .sidebar::before {
        height: 4px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .masonry-container {
        column-count: 2;
        column-gap: 20px;
    }
    
    .filter-buttons {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .mobile-footer {
        display: block !important;
    }
    
    .photo-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .masonry-container {
        column-count: 1;
        column-gap: 0;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        margin: 4px;
        font-size: 0.85em;
    }
    
    .photo-item {
        box-shadow: 6px 6px 0px var(--secondary-color);
    }
    
    .photo-item:hover {
        transform: translate(-3px, -3px);
        box-shadow: 9px 9px 0px var(--secondary-color);
    }
}

/* Animations supplémentaires */
@keyframes brutalistPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.logo:hover {
    animation: brutalistPulse 0.6s ease-in-out;
}

/* États focus pour l'accessibilité */
button:focus,
.nav-link:focus,
.filter-btn:focus {
    outline: 4px solid var(--primary-color);
    outline-offset: 2px;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--accent-color);
    border: 2px solid var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}