/* APC Outdoor — front page
   Editorial e-commerce layout, sober pro typography (Inter 700, sentence case). */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.apc-home {
    --apc-h-fg: #1a1a1a;
    --apc-h-fg-muted: #6a6a6a;
    --apc-h-bg: #ffffff;
    --apc-h-bg-soft: #f5f3ee;
    --apc-h-brand: #2D4A3A;
    --apc-h-line: #e6e6e6;
    --apc-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --apc-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-family: var(--apc-body);
    background: var(--apc-h-bg);
    color: var(--apc-h-fg);
    -webkit-font-smoothing: antialiased;
}

/* === Buttons (small, white, square) === */
.apc-btn {
    display: inline-block;
    padding: 11px 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.3;
    border: 1px solid transparent;
    transition: background-color .18s, color .18s;
}
.apc-btn--white {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}
.apc-btn--white:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* === HERO — full-width with centered overlay === */
.apc-hero {
    position: relative;
    height: clamp(520px, 84vh, 760px);
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apc-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.42) 100%);
}
.apc-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}
.apc-hero__title {
    font-family: var(--apc-display);
    font-size: clamp(36px, 4.8vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 32px;
    max-width: 780px;
}

/* === Section wrapper — generous breathing room === */
.apc-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 96px 32px 72px;
}
.apc-section__title {
    font-family: var(--apc-display);
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--apc-h-fg);
    margin: 0 0 48px;
    text-align: center;
}

/* === CATEGORIES — 3-col, no chrome, just image + text-arrow link === */
.apc-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.apc-cat {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--apc-h-fg);
}
.apc-cat__img {
    display: block;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    transition: opacity .25s ease;
}
.apc-cat:hover .apc-cat__img { opacity: .9; }
.apc-cat__label {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--apc-h-fg);
    letter-spacing: 0.01em;
    text-align: center;
    transition: color .15s;
}
.apc-cat:hover .apc-cat__label { color: var(--apc-h-brand); }

/* === PRODUCTS — 3-col featured, image + cat + name + "à partir de XX €" === */
.apc-products { padding-top: 24px; }
.apc-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.apc-prod {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--apc-h-fg);
    text-align: center;
}
.apc-prod__img {
    display: block;
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--apc-h-bg-soft);
    transition: background-color .2s;
}
.apc-prod:hover .apc-prod__img { background-color: #efece5; }
.apc-prod__cat {
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--apc-h-fg-muted);
}
.apc-prod__name {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--apc-h-fg);
}
.apc-prod__price {
    margin-top: 8px;
    font-size: 14px;
    color: var(--apc-h-fg-muted);
}

/* === EDITORIAL full-width sections (asymmetric, top-left text) === */
.apc-edi {
    position: relative;
    min-height: clamp(520px, 78vh, 720px);
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: flex-start;
}
.apc-edi::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 50%, rgba(0,0,0,0) 80%);
    z-index: 1;
}
.apc-edi--detail::before {
    background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 60%, rgba(0,0,0,0) 100%);
}
.apc-edi__inner {
    position: relative;
    z-index: 2;
    padding: 80px 56px;
    max-width: 560px;
    color: #fff;
}
.apc-edi__title {
    font-family: var(--apc-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 28px;
}
.apc-edi__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.apc-edi__shop-all {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-top: 4px;
    border-bottom: 1px solid rgba(255,255,255,.4);
    padding-bottom: 2px;
    transition: border-color .15s;
}
.apc-edi__shop-all:hover { border-color: #fff; }

.apc-edi__caption {
    position: absolute;
    bottom: 28px;
    right: 32px;
    z-index: 2;
    max-width: 320px;
    margin: 0;
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
    text-align: right;
}

/* === USAGES — full-width band with 5 portrait tiles === */
.apc-usages {
    background: var(--apc-h-bg-soft);
    max-width: none;
    padding: 88px 32px 96px;
}
.apc-usages__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 1440px;
    margin: 0 auto;
}
.apc-usage {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    text-decoration: none;
    background: #ddd;
}
.apc-usage__img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .55s ease;
}
.apc-usage:hover .apc-usage__img { transform: scale(1.05); }
.apc-usage::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.6) 100%);
    z-index: 2;
}
.apc-usage__label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px 18px 22px;
    z-index: 3;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* === Responsive === */
@media (max-width: 991px) {
    .apc-section { padding: 64px 24px 48px; }
    .apc-cats__grid,
    .apc-products__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .apc-products__grid > :last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
    .apc-usages__grid { grid-template-columns: repeat(3, 1fr); }
    .apc-edi__inner { padding: 56px 32px; max-width: 100%; }
    .apc-edi__caption { position: static; max-width: none; padding: 0 32px 28px; text-align: left; }
    .apc-edi::before { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.65) 100%); }
}
@media (max-width: 575px) {
    .apc-cats__grid,
    .apc-products__grid { grid-template-columns: 1fr; }
    .apc-products__grid > :last-child { grid-column: auto; max-width: 100%; }
    .apc-usages__grid { grid-template-columns: 1fr 1fr; }
    .apc-edi__inner { padding: 48px 24px; }
    .apc-edi__cta { flex-direction: column; align-items: flex-start; }
    .apc-edi__cta .apc-btn { width: 100%; text-align: center; }
}
