/* Page produit « façade » (structure : bannière, description, galerie, variantes) */

.pf-page {
    background: #ffffff;
}

.pf-shell {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* 1. Bannière */
.pf-banner {
    position: relative;
    min-height: 430px;
    padding: 150px 1.5rem 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.pf-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 16, 30, 0.82) 0%, rgba(8, 34, 78, 0.78) 100%);
}

.pf-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.pf-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 94, 20, 0.16);
    border: 1px solid rgba(255, 94, 20, 0.4);
    color: #ff8a4c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.pf-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}

.pf-banner .prod-breadcrumb {
    margin-bottom: 0;
}

/* 2. Description */
.pf-intro {
    padding: 5.5rem 0;
}

.pf-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: center;
}

.pf-intro__img {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(11, 26, 47, 0.16);
}

.pf-intro__img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-intro__img:hover img {
    transform: scale(1.04);
}

.pf-intro__zoom {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    background: rgba(7, 16, 30, 0.75);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.pf-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 94, 20, 0.08);
    border: 1px solid rgba(255, 94, 20, 0.25);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pf-intro__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0 0.75rem;
}

.pf-accent-bar {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--accent);
    margin-bottom: 1.5rem;
}

.pf-intro__text {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem;
}

.pf-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    background: var(--slate-50);
    border: 1px solid var(--border-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.pf-chip i {
    color: var(--accent);
}

.pf-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pf-btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff7a3d 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(255, 94, 20, 0.3);
}

.pf-btn--primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 94, 20, 0.4);
}

.pf-btn--outline {
    border: 1px solid var(--slate-300);
    color: var(--primary);
    background: #ffffff;
}

.pf-btn--outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

/* Titres de section */
.pf-heading {
    margin-bottom: 2.5rem;
}

.pf-heading--center {
    text-align: center;
}

.pf-kicker {
    display: block;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.pf-heading__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.pf-heading--line {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pf-heading--line .pf-heading__title {
    text-transform: uppercase;
    white-space: nowrap;
}

.pf-heading__line {
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* 3. Galerie */
.pf-gallery {
    padding: 5rem 0 4rem;
    background: var(--slate-50);
}

.pf-carousel {
    position: relative;
    padding: 0 1.5rem;
}

.pf-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
    column-gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.pf-carousel__track::-webkit-scrollbar {
    display: none;
}

.pf-carousel__slide {
    display: block;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(11, 26, 47, 0.1);
}

.pf-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-carousel__slide:hover img {
    transform: scale(1.06);
}

.pf-carousel__slide--video {
    background: #000;
}

.pf-carousel__slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-carousel__track:has(> .pf-carousel__slide:only-child) {
    justify-content: center;
}

.pf-carousel--contain .pf-carousel__track {
    justify-content: safe center;
}

.pf-carousel--contain .pf-carousel__slide {
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.pf-carousel--contain .pf-carousel__slide img {
    object-fit: contain;
    padding: 1.5rem;
}

.pf-carousel__arrow {
    position: absolute;
    top: calc(50% - 1.25rem);
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(11, 26, 47, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.pf-carousel__arrow:hover {
    background: var(--accent);
    color: #ffffff;
}

.pf-carousel__arrow--prev { left: 2.25rem; }
.pf-carousel__arrow--next { right: 2.25rem; }

.pf-carousel__dots {
    display: none;
    flex-wrap: wrap;
    padding: 0 1rem;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.5rem;
}

.pf-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: var(--slate-300);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.pf-carousel__dot.is-active {
    width: 26px;
    background: var(--accent);
}

/* 4. Gamme & variantes */
.pf-variants {
    padding: 5rem 0 6rem;
}

.pf-variants__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.pf-variant {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pf-variant:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 94, 20, 0.35);
    box-shadow: 0 20px 40px rgba(11, 26, 47, 0.1);
}

.pf-variant__img {
    display: block;
    aspect-ratio: 1 / 1;
    padding: 1.5rem;
    background: #ffffff;
}

.pf-variant__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.pf-variant:hover .pf-variant__img img {
    transform: scale(1.05);
}

.pf-variant__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.1rem 1.25rem 1.4rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.pf-variant__name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pf-variant__code {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 94, 20, 0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1100px) {
    .pf-carousel__track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); }
}

@media (max-width: 991px) {
    .pf-intro { padding: 4rem 0; }
    .pf-intro__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .pf-intro__img img { aspect-ratio: 4 / 3; }
    .pf-carousel__track { grid-auto-columns: calc((100% - 1.25rem) / 2); }
    .pf-variants__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .pf-banner { min-height: 340px; padding-top: 120px; }
    .pf-carousel { padding: 0 1rem; }
    .pf-carousel__track { grid-auto-columns: 85%; }
    .pf-carousel__arrow { display: none; }
    .pf-variants__grid { grid-template-columns: 1fr; }
    .pf-heading--line .pf-heading__title { white-space: normal; }
    .pf-cta .pf-btn { width: 100%; justify-content: center; }
}

.pf-carousel:has(.pf-carousel__slide:only-child) .pf-carousel__arrow {
    display: none;
}
