.hs-navbar {
    z-index: 99999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hs-navbar-logo {
    filter: invert(1);
}

.hs-hero-bg {
    background-image: url('/static/images/home/background-hero.png');
    background-size: cover;
    background-position: left center;
    transform: scaleX(-1) scale(1.07);
}

.hs-hero-wash {
    background: linear-gradient(
        to right,
        rgba(246, 242, 234, 0.97) 0%,
        rgba(246, 242, 234, 0.95) 60%,
        rgba(246, 242, 234, 0.8) 80%,
        rgba(246, 242, 234, 0.5) 100%
    );
}

@media (min-width: 768px) {
    .hs-hero-wash {
        background: linear-gradient(
            to right,
            rgba(246, 242, 234, 0.95) 0%,
            rgba(246, 242, 234, 0.65) 45%,
            rgba(246, 242, 234, 0.1) 75%,
            transparent 100%
        );
    }
}

.hs-hero-vignette {
    background: linear-gradient(to top, rgba(20, 16, 12, 0.25) 0%, transparent 40%);
}

.hs-js-ready .hs-reveal {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    transition: opacity 680ms ease, transform 680ms ease;
}

.hs-js-ready .hs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hs-universe-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 16%, rgba(179, 139, 83, 0.16) 0%, transparent 38%),
        radial-gradient(circle at 86% 82%, rgba(179, 139, 83, 0.14) 0%, transparent 42%),
        linear-gradient(180deg, rgba(247, 243, 236, 0.96) 0%, rgba(242, 234, 221, 0.82) 100%);
    z-index: 0;
}

.hs-universe-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.15rem;
}

.hs-universe-card {
    position: relative;
    display: block;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid rgba(179, 139, 83, 0.32);
    background: rgba(247, 243, 236, 0.8);
    box-shadow: 0 20px 44px rgba(34, 24, 16, 0.22);
}

.hs-universe-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 760ms ease;
}

.hs-universe-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(247, 243, 236, 0.02) 10%, rgba(43, 31, 22, 0.46) 62%, rgba(29, 22, 17, 0.68) 100%),
        linear-gradient(115deg, rgba(179, 139, 83, 0.14) 0%, transparent 46%);
}

.hs-universe-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(1.2rem, 2.4vw, 2rem);
}

.hs-universe-kicker {
    font-family: "Cormorant Garamond", serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(179, 139, 83, 0.95);
}

.hs-universe-title {
    margin-top: 0.45rem;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
    line-height: 1.14;
    color: rgba(250, 248, 244, 0.98);
}

.hs-universe-text {
    margin-top: 0.72rem;
    max-width: 33ch;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.04rem;
    line-height: 1.46;
    color: rgba(250, 248, 244, 0.86);
}

.hs-universe-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.96);
}

.hs-universe-line {
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: rgba(179, 139, 83, 0.95);
    transition: width 340ms ease;
}

.hs-universe-card:hover .hs-universe-image,
.hs-universe-card:focus-visible .hs-universe-image {
    transform: scale(1.08);
}

.hs-universe-card:hover .hs-universe-line,
.hs-universe-card:focus-visible .hs-universe-line {
    width: 3.2rem;
}

.hs-universe-card:focus-visible {
    outline: 2px solid rgba(179, 139, 83, 0.75);
    outline-offset: 2px;
}

.hs-actualites-section {
    overflow: hidden;
    background-color: #ffffff !important;
    --hs-vine-side-offset: clamp(-120px, -7vw, -48px);
}

.hs-actualites-section::before,
.hs-actualites-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 0;
    bottom: 0;
    width: clamp(420px, 48vw, 860px);
    opacity: 0.58;
    background-repeat: no-repeat;
    background-size: auto 112%;
    filter: saturate(0.9) contrast(0.96);
}

.hs-actualites-section::before {
    left: var(--hs-vine-side-offset);
    background-position: left bottom;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.44) 68%, rgba(255, 255, 255, 1) 100%),
        url("/static/images/home/piedvigne.jpeg");
}

.hs-actualites-section::after {
    right: var(--hs-vine-side-offset);
    background-position: left bottom;
    transform: scaleX(-1);
    transform-origin: center;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.44) 68%, rgba(255, 255, 255, 1) 100%),
        url("/static/images/home/piedvigne.jpeg");
}

.hs-manifeste-quote::before {
    content: "\201C";
    position: absolute;
    left: -0.75rem;
    top: -1.4rem;
    font-family: "Playfair Display", serif;
    font-size: 5.4rem;
    line-height: 1;
    color: rgba(179, 139, 83, 0.18);
    pointer-events: none;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(179, 139, 83, 0.3);
    color: #231d17;
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    outline: none;
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.25s, background 0.25s;
}

#contact input[type="text"]::placeholder,
#contact input[type="email"]::placeholder,
#contact input[type="tel"]::placeholder,
#contact textarea::placeholder {
    color: rgba(35, 29, 23, 0.4);
}

#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact input[type="tel"]:focus,
#contact textarea:focus {
    border-color: #b38b53;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.hs-legal-banner {
    background: #f7f3ec;
}

.animate-banner-in {
    animation: hsBannerIn 420ms ease-out both;
}

.animate-banner-out {
    animation: hsBannerOut 320ms ease-in both;
}

@keyframes hsBannerIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hsBannerOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(14px);
    }
}

@media (min-width: 960px) {
    .hs-universe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hs-actualites-section::before,
    .hs-actualites-section::after {
        width: clamp(240px, 64vw, 420px);
        opacity: 0.48;
        background-size: auto 106%;
    }
}
