/* Home: parallax showcase + contact feature block */

/* --- Parallax showcase (layered bg + content; only the bg uses scroll parallax) --- */
.brice-parallax-showcase {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1rem 5.5rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 50% 100%, 0 calc(100% - 36px));
}

.brice-parallax-showcase__bg {
    z-index: 0;
    opacity: 1;
    filter: saturate(1.08) contrast(1.02);
}

.brice-parallax-showcase__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        125deg,
        rgba(15, 42, 34, 0.88) 0%,
        rgba(31, 78, 61, 0.72) 38%,
        rgba(31, 78, 61, 0.45) 70%,
        rgba(22, 61, 48, 0.55) 100%
    );
    pointer-events: none;
}

.brice-parallax-showcase__pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.07;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.brice-parallax-showcase__inner {
    z-index: 3;
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.brice-parallax-showcase__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brice-yellow);
}

.brice-parallax-showcase__title {
    margin: 0 0 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3.8vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.brice-parallax-showcase__rule {
    width: 64px;
    height: 4px;
    margin: 0 auto 1.25rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brice-yellow), rgba(230, 194, 41, 0.35));
}

.brice-parallax-showcase__sub {
    margin: 0 auto 1.75rem;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.brice-parallax-showcase__cta.thm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .brice-parallax-showcase {
        min-height: 360px;
        padding: 3.5rem 1rem 4.5rem;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
    }

    .brice-parallax-showcase__sub {
        font-size: 0.98rem;
    }
}

/* --- Coffee gallery section --- */
.brice-coffee-gallery {
    padding: 4rem 0 5rem;
    background: #f6f8f7;
}

.brice-coffee-gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 2.5rem;
}

/* Items are <button> elements — reset button styles */
.brice-cg-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    background: #000;
}

.brice-coffee-gallery__main {
    grid-row: span 3;
}

.brice-cg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease, opacity 0.3s ease;
}

.brice-cg-item:hover img {
    transform: scale(1.06);
    opacity: 0.75;
}

/* Overlay label */
.brice-cg-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.25rem 1rem;
    background: linear-gradient(0deg, rgba(10, 30, 18, 0.78) 0%, rgba(10, 30, 18, 0.15) 55%, transparent 100%);
    text-align: center;
    transition: background 0.3s ease;
}

.brice-cg-item:hover .brice-cg-overlay {
    background: linear-gradient(0deg, rgba(10, 30, 18, 0.88) 0%, rgba(10, 30, 18, 0.35) 60%, transparent 100%);
}

.brice-cg-overlay__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--brice-yellow);
    color: var(--brice-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transform: translateY(6px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brice-cg-item:hover .brice-cg-overlay__icon {
    transform: translateY(0);
    opacity: 1;
}

.brice-cg-overlay__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.brice-cg-overlay__hint {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
    transform: translateY(4px);
    opacity: 0;
    transition: transform 0.3s ease 0.05s, opacity 0.3s ease 0.05s;
}

.brice-cg-item:hover .brice-cg-overlay__hint {
    transform: translateY(0);
    opacity: 1;
}

.brice-coffee-gallery__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brice-coffee-gallery__side-item {
    flex: 1;
}

/* --- Coffee modal --- */
.brice-cg-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.brice-cg-modal[hidden] {
    display: none;
}

.brice-cg-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 16, 0.82);
    backdrop-filter: blur(4px);
    animation: brice-modal-fade-in 0.22s ease;
}

.brice-cg-modal__box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    max-width: 780px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0,0,0,0.45);
    animation: brice-modal-slide-up 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes brice-modal-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes brice-modal-slide-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.brice-cg-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: var(--brice-green);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: background 0.2s ease, color 0.2s ease;
}

.brice-cg-modal__close:hover {
    background: var(--brice-green);
    color: #fff;
}

.brice-cg-modal__img-wrap {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    background: #111;
}

.brice-cg-modal__img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.brice-cg-modal__body {
    padding: 1.75rem 2rem 2rem;
}

.brice-cg-modal__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--brice-green);
    margin: 0 0 0.75rem;
}

.brice-cg-modal__desc {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 1.5rem;
}

.brice-cg-modal__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.35rem;
    background: var(--brice-green);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.brice-cg-modal__cta:hover {
    background: var(--brice-green-dark);
    color: #fff;
}

body.brice-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .brice-coffee-gallery__grid {
        grid-template-columns: 1fr;
    }

    .brice-coffee-gallery__main {
        grid-row: span 1;
        height: 260px;
    }

    .brice-coffee-gallery__side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .brice-coffee-gallery__side-item {
        flex: 1 1 calc(50% - 6px);
        height: 160px;
    }

    .brice-cg-modal__box {
        flex-direction: column;
    }

    .brice-cg-modal__body {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .brice-cg-modal__img-wrap {
        max-height: 240px;
    }
}

/* --- Contact / feature section --- */
.brice-contact-feature {
    position: relative;
    padding: 3rem 0 5rem;
    margin-top: -28px;
    background: #fff;
    overflow: hidden;
}

@media (max-width: 768px) {
    .brice-contact-feature {
        margin-top: -18px;
    }
}

.brice-contact-feature__col-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Opaque backdrop so nothing paints through the text block */
.brice-contact-feature__copy {
    position: relative;
    z-index: 2;
    width: 100%;
    background: #fff;
    padding-bottom: 0.25rem;
}

.brice-contact-feature__tag {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brice-green);
    margin-bottom: 0.65rem;
}

.brice-contact-feature__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 700;
    color: var(--brice-green);
    line-height: 1.2;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.brice-contact-feature__intro {
    color: #5c6670;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.brice-contact-feature__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brice-contact-feature__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.5;
}

.brice-contact-feature__check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--brice-yellow);
    color: var(--brice-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 0.15rem;
}

.brice-contact-feature__check .fa-check {
    line-height: 1;
}

/*
 * Collage: fixed-height stage + overflow hidden clips all layers.
 * Photos are absolutely positioned only inside .collage-stage (never the column), so they cannot cover copy.
 */
.brice-contact-feature__collage {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    max-width: 440px;
    margin-top: 2.25rem;
    margin-left: 0;
}

.brice-contact-feature__collage-stage {
    position: relative;
    width: 100%;
    height: 300px;
    max-width: 440px;
    overflow: hidden;
    border-radius: 4px;
}

.brice-contact-feature__blob-green {
    position: absolute;
    width: 104px;
    height: 104px;
    background: var(--brice-green);
    border-radius: 16px;
    left: 34%;
    bottom: 12%;
    z-index: 0;
    opacity: 0.95;
}

.brice-contact-feature__blob-yellow {
    position: absolute;
    width: 68px;
    height: 68px;
    background: var(--brice-yellow);
    border-radius: 11px;
    left: 50%;
    bottom: 30%;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brice-contact-feature__img {
    display: block;
    position: absolute;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(31, 78, 61, 0.2);
}

/* Portrait — constrained so it never exceeds stage height */
.brice-contact-feature__img--sm {
    left: 0;
    top: 0;
    width: 168px;
    max-width: 42%;
    height: auto;
    max-height: 255px;
    aspect-ratio: 3 / 4;
    z-index: 2;
}

/* Landscape — overlaps portrait corner, clipped by stage */
.brice-contact-feature__img--lg {
    left: 28%;
    bottom: 0;
    width: min(72%, 300px);
    max-width: 300px;
    height: auto;
    max-height: 210px;
    aspect-ratio: 4 / 3;
    z-index: 3;
}

@media (max-width: 991px) {
    .brice-contact-feature__collage {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    .brice-contact-feature__collage-stage {
        height: 280px;
    }

    .brice-contact-feature__blob-green {
        width: 86px;
        height: 86px;
        left: 32%;
        bottom: 10%;
    }

    .brice-contact-feature__blob-yellow {
        width: 54px;
        height: 54px;
        left: 48%;
        bottom: 26%;
    }

    .brice-contact-feature__img--sm {
        width: 148px;
        max-width: 46%;
        max-height: 220px;
    }

    .brice-contact-feature__img--lg {
        left: 24%;
        max-width: 260px;
        max-height: 195px;
    }
}

/* Form card */
.brice-contact-feature__form-wrap {
    background: #f7f5ef;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 12px 40px rgba(31, 78, 61, 0.08);
}

.brice-contact-feature__form-wrap .form-control {
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 1px 0 rgba(31, 78, 61, 0.06);
}

.brice-contact-feature__form-wrap .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 194, 41, 0.35);
}

.brice-contact-feature__form-wrap textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.brice-contact-feature__submit {
    display: inline-block;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 0.95rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--brice-yellow);
    color: var(--brice-green-dark);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.brice-contact-feature__submit:hover {
    background: #f0d030;
    color: #0f2a22;
}

.brice-contact-feature__submit:active {
    transform: scale(0.99);
}

.brice-contact-feature__form-foot {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
    color: #6b7280;
}

.brice-contact-feature__form-foot a {
    color: var(--brice-green);
    font-weight: 600;
}

