/* =============================================================
   ALTURO MERCH — FEUILLE DE STYLES (VERSION FINALE)
   -------------------------------------------------------------
   CIBLE : Landing Page (HTML fourni)
   COULEURS : Zelda (Vert), Valheim (Rouge), Exp. 33 (Or)
 ============================================================ */

/* 1. VARIABLES ET POLICES */
:root {
    --couleur-accent: #d4a373; /* Couleur Or (Expedition 33) */
    --couleur-zelda: #2d5a27;
    --couleur-valheim: #a62626;
    --couleur-sombre: #111111;
    --couleur-clair: #f4f4f4;
    --police-titre: "hiragino-mincho-pron", serif; /* La police du script Adobe */
    --police-corps: 'Segoe UI', Arial, sans-serif;
    --transition: all 0.3s ease-in-out;
}

/* 2. BASE */
body {
    font-family: var(--police-corps);
    color: var(--couleur-sombre);
    margin: 0;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

/* 3. STRUCTURE */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 5rem 0; }

.section-title--centered { text-align: center; }

.section-title {
    font-family: var(--police-titre);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* 4. HEADER */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-logo { height: 60px; }

.nav-link--cta {
    background: var(--couleur-sombre);
    color: white !important;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link--cta:hover { background: var(--couleur-accent); }

/* 5. HERO SECTION */
.section--hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    background-image: url('images/wallpapers-some-very-high-resolution-images-of-the-games-v0-6mn835327pxe1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Assombrit pour lire le texte */
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-title { font-size: 4rem; margin: 0; font-family: var(--police-titre); }

.hero-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    background: var(--couleur-accent);
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-cta:hover { transform: scale(1.05); background: white; color: var(--couleur-sombre); }

/* 6. COLLECTIONS GRID */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.collection-card {
    background: #fff;
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.collection-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.collection-card-image {
    height: 200px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.collection-card-image img { width: 100%; height: 100%; object-fit: cover; }

.collection-card-body { padding: 1.5rem; text-align: center; }

.collection-cta {
    display: block;
    margin-top: 1rem;
    color: var(--couleur-sombre);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--couleur-accent);
}

/* 7. BESTSELLERS (5 COLONNES) */
.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.product-card {
    position: relative;
    border: 1px solid #eee;
    padding-bottom: 1rem;
}

.product-card-rank {
    position: absolute;
    top: 0; left: 0;
    background: var(--couleur-sombre);
    color: white;
    padding: 0.5rem;
    font-weight: bold;
    z-index: 5;
}

.product-card-image { aspect-ratio: 1/1; overflow: hidden; }

.product-card-body { padding: 0.8rem; font-size: 0.9rem; }

.product-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    background: #eee;
    padding: 2px 5px;
}

/* Couleurs par univers sur les tags */
.product-universe-tag--zelda { color: var(--couleur-zelda); font-weight: bold; }
.product-universe-tag--valheim { color: var(--couleur-valheim); font-weight: bold; }
.product-universe-tag--expedition33 { color: var(--couleur-accent); font-weight: bold; }

.product-spec { font-weight: bold; font-size: 1.1rem; color: var(--couleur-accent); }

/* 8. MISSION SECTION */
.section--mission { background: var(--couleur-clair); }

.section--mission .section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-placeholder {
    height: 400px;
    background-image: url('images/mission.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* 9. FOOTER */
.site-footer {
    background: var(--couleur-sombre);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo { height: 50px; filter: brightness(0) invert(1); }

.footer-nav-list { list-style: none; padding: 0; }

.footer-nav-link { color: var(--couleur-accent); text-decoration: none; }

.footer-legal {
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #777;
}

/* 10. RESPONSIVE */
@media (max-width: 1024px) {
    .bestsellers-grid { grid-template-columns: repeat(3, 1fr); }
    .collections-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .bestsellers-grid { grid-template-columns: 1fr 1fr; }
    .collections-grid { grid-template-columns: 1fr; }
    .section--mission .section-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }