/* =========================================================================
   Love House — Page d'accueil
   Palette maison : encre #151D33 · or #d5b252 · Stylish California / Nunito
   ========================================================================= */

/* ---------- Boutons ---------- */

.wrapper-home .btn.outline.outline-light {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .18em;
    border-color: rgba(213, 178, 82, .35);
    transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}

.wrapper-home .btn.outline.outline-light:hover {
    border-color: var(--lh-gold);
    color: var(--lh-gold-light);
}

/* =========================================================================
   Hero
   ========================================================================= */

.section-home-header {
    background: var(--lh-ink) !important;
}

/* Halos du hero. Ils sont portés par un pseudo-élément masqué en fondu haut
   et bas : sans cela le halo or démarre à pleine intensité contre le menu et
   le bas assombri s'arrête net sur la section suivante, ce qui dessine une
   ligne horizontale aux deux jonctions. */
.section-home-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 70% at 50% 30%, rgba(213, 178, 82, .10) 0%, transparent 60%),
        radial-gradient(90% 60% at 50% 85%, rgba(16, 23, 41, .9) 0%, transparent 65%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
}

/* Voile qui fond le hero dans la section suivante (courbe adoucie) */
.section-home-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28vh;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(21, 29, 51, 0) 0%,
        rgba(21, 29, 51, .35) 35%,
        rgba(21, 29, 51, .75) 65%,
        var(--lh-ink) 100%
    );
}

/* Le header est en display:flex : sans cela le .container se dimensionne sur
   son contenu et le bloc de titre se retrouve calé à droite au lieu d'être
   centré. */
.section-home-header > .container {
    position: relative;
    z-index: 3;
    flex: 1 1 100%;
    width: 100%;
}

.section-home-header .scroll-btn-wrap,
.section-home-header .side-text-wrap {
    z-index: 4;
}

/* Indicateur de défilement ancré au bas du hero. */
.section-home-header .scroll-btn-wrap {
    top: auto;
    bottom: 2.5em;
}

/* Cercle : dégradé or + halo */

.home-circle svg circle {
    stroke: url(#lhGoldRing);
}

.home-circle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78%;
    height: 78%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 178, 82, .13) 0%, transparent 68%);
    pointer-events: none;
}

/* Bouton lecture */

.home-circle .playbutton {
    background-color: var(--lh-ink);
    box-shadow: 0 0 0 1px rgba(213, 178, 82, .3), 0 18px 45px rgba(0, 0, 0, .45);
    transition: box-shadow .35s ease, transform .35s ease;
}

.home-circle .playbutton:hover {
    box-shadow: 0 0 0 1px var(--lh-gold), 0 22px 55px rgba(0, 0, 0, .55);
    transform: translate(-50%, -50%) scale(1.06);
}

.home-circle .playbutton .bi-play-fill {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(213, 178, 82, .35));
}

.video-sous-label {
    font-family: 'Roboto', sans-serif;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--lh-gold);
}

/* Vidéo verticale : cadre or */

.section-home-header .home-video-wrapper {
    box-shadow: 0 0 0 1px rgba(213, 178, 82, .28), 0 40px 90px rgba(0, 0, 0, .5);
}

.section-home-header .home-video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(21, 29, 51, .5), rgba(21, 29, 51, .3) 38%, rgba(21, 29, 51, .68));
}

/* Titre */

.default-header h1.home-h1 {
    margin-bottom: 0;
}

.tricks .tricksword {
    font-size: clamp(3rem, 8.5vw, 6.5rem);
    line-height: .95;
    letter-spacing: .01em;
}

.hero-eyebrow {
    text-shadow: 0 2px 14px rgba(16, 23, 41, .9);
    display: block;
    margin-bottom: 1.8rem;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(.6rem, .75vw, .72rem);
    font-weight: 600;
    letter-spacing: .5em;
    text-indent: .5em;
    text-transform: uppercase;
    color: rgba(213, 178, 82, .9);
}

.hero-tagline {
    /* la ligne passe devant la vidéo : on garde du contraste */
    text-shadow: 0 2px 14px rgba(16, 23, 41, .9);
    margin-top: 2.2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: clamp(.9rem, 1.1vw, 1.05rem);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.hero-rule {
    width: 1px;
    height: 3.5rem;
    margin: 2rem auto 0;
    background: linear-gradient(to bottom, var(--lh-gold), transparent);
}

/* Mention latérale & scroll */

.side-text-wrap {
    letter-spacing: .12em;
    color: rgba(213, 178, 82, .55);
}

.scroll-btn {
    color: rgba(255, 255, 255, .45);
    transition: color .3s ease, transform .3s ease;
}

.scroll-btn:hover {
    color: var(--lh-gold);
}

.scroll-btn::after {
    content: "";
    display: block;
    width: 1px;
    height: 2.2rem;
    margin: .8rem auto 0;
    background: linear-gradient(to bottom, var(--lh-gold), transparent);
    animation: lh-scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes lh-scroll-pulse {
    0%, 100% { opacity: .25; transform: scaleY(.6); transform-origin: top; }
    50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* =========================================================================
   Sections de contenu
   ========================================================================= */

.lh-section {
    position: relative;
    padding: clamp(4rem, 9vw, 8rem) 0;
    text-align: center;
}

.lh-section--intro {
    padding-top: clamp(2rem, 4vw, 4rem);
}

/* Dernière section : le pied de page apporte déjà sa propre respiration. */
.lh-section--flush {
    padding-bottom: 0;
}

/* --- Galerie --- */

.lh-gallery {
    --gap: clamp(1rem, 2.5vw, 2.25rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
}

@media (max-width: 767.98px) {
    .lh-gallery { grid-template-columns: 1fr; }
}

.lh-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background: var(--lh-ink-soft);
}

.lh-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.lh-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), filter .6s ease;
    filter: saturate(.9) brightness(.88);
}

.lh-card:hover .lh-card__media img {
    transform: scale(1.09);
    filter: saturate(1) brightness(1);
}

/* Cadre or intérieur */
.lh-card__frame {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(213, 178, 82, .35);
    pointer-events: none;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .5s ease, transform .5s ease;
}

.lh-card:hover .lh-card__frame {
    opacity: 1;
    transform: scale(1);
}

.lh-card__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(16, 23, 41, .88) 0%, rgba(16, 23, 41, .15) 45%, transparent 75%);
}

.lh-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    text-align: left;
}

.lh-card__index {
    font-family: 'Roboto', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .34em;
    color: var(--lh-gold);
}

.lh-card__title {
    margin: .45rem 0 0;
    font-family: 'Stylish California', sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
}

.lh-card__text {
    margin: .55rem 0 0;
    max-width: 30em;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: .92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .62);
}

/* --- Citation --- */

.lh-quote {
    position: relative;
    max-width: 34rem;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
    font-family: 'Stylish California', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, .92);
}

.lh-quote::before,
.lh-quote::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(213, 178, 82, .5);
}

.lh-quote::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.lh-quote::after {
    right: 0;
    bottom: 0;
    border-left: 0;
    border-top: 0;
}

.lh-quote__sign {
    display: block;
    margin-top: 1.6rem;
    font-family: 'Roboto', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--lh-gold);
}

/* =========================================================================
   Apparition au défilement
   ========================================================================= */

/* L'état masqué n'est appliqué que si le JS a pris la main (classe posée sur
   <html>) : sans JS, la page reste entièrement lisible. */
.lh-js .lh-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1);
}

.lh-js .lh-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .lh-js .lh-reveal { opacity: 1; transform: none; transition: none; }
    .scroll-btn::after { animation: none; }
    .lh-card__media img { transition: none; }
}

/* =========================================================================
   Ajustements petits écrans
   ========================================================================= */

@media (max-width: 991.98px) {
    /* Mention latérale décorative : elle croise le titre en dessous du desktop. */
    .side-text-wrap {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tricks .tricksword {
        font-size: clamp(2.3rem, 11vw, 3rem);
    }

    .section-home-header > .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-eyebrow {
        letter-spacing: .32em;
        text-indent: .32em;
    }

    .hero-tagline {
        letter-spacing: .1em;
        line-height: 2;
    }

    .lh-cta__actions .btn {
        width: 100%;
    }
}
