@charset "UTF-8";

/* ============================================================
   ACCUEIL - Hero plein écran + vignettes
   (charger après reset.css et commun.css)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500&display=swap');

/* ---------- HERO plein écran ---------- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    will-change: transform;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, rgba(44, 51, 31, 0.55) 0%, rgba(44, 51, 31, 0.35) 55%, rgba(44, 51, 31, 0) 100%),
        linear-gradient(to bottom, rgba(44, 51, 31, 0.55) 0%, rgba(44, 51, 31, 0.4) 45%, rgba(44, 51, 31, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--creme);
    max-width: 860px;
    padding: 0 1.5rem;
    animation: heroFade 1.2s ease both;
}

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

.hero-suptitre {
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.8rem;
    color: var(--or-clair);
    margin-bottom: 1.5rem;
}

#hero h1 {
    font-family: var(--serif);
    color: var(--creme);
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-texte {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 253, 248, 0.92);
    max-width: 620px;
    margin: 0 auto 2.4rem;
}

.bouton-hero {
    background-color: var(--or);
    border-color: var(--or);
    color: var(--blanc);
    padding: 1.1rem 3rem;
    font-size: 0.85rem;
}

.bouton-hero:hover {
    background-color: var(--creme);
    border-color: var(--creme);
    color: var(--olive);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--creme);
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

.hero-scroll:hover {
    color: var(--or-clair);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Contenu sous le hero ---------- */
#content {
    position: relative;
    z-index: 3;
    background-color: var(--sable);
}

#presentation {
    padding-top: 6rem;
}

/* ---------- Bandeau "achat à très bon prix" (mise en avant) ---------- */
.bandeau-achat {
    background-color: var(--olive-fonce);
    color: var(--sable);
    padding: 4.5rem 2rem;
}

.bandeau-achat-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.bandeau-achat-img {
    flex: 0 0 42%;
    position: relative;
}

.bandeau-achat-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 2px;
}

.bandeau-achat-img::after {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1px solid var(--or);
    z-index: 0;
    border-radius: 2px;
}

.bandeau-achat-contenu {
    flex: 1;
}

.bandeau-achat .suptitre {
    color: var(--or-clair);
}

.bandeau-achat-phare {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 600;
    color: var(--or-clair);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.bandeau-achat-fourrures {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--sable);
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(212, 189, 130, 0.3);
}

.bandeau-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 2.5rem;
}

.categorie h3 {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--or-clair);
    margin-bottom: 0.4rem;
}

.categorie p {
    font-size: 0.98rem;
    color: rgba(247, 244, 236, 0.85);
    line-height: 1.6;
}

.bandeau-achat-note {
    margin-top: 1.6rem;
    font-style: italic;
    color: rgba(247, 244, 236, 0.7);
}

.bandeau-achat-cta {
    margin-top: 1.8rem;
    background-color: var(--or);
    border-color: var(--or);
    color: var(--blanc);
}

.bandeau-achat-cta:hover {
    background-color: var(--creme);
    border-color: var(--creme);
    color: var(--olive-fonce);
}

@media screen and (max-width: 900px) {
    .bandeau-achat {
        padding: 3rem 1.3rem;
    }
    .bandeau-achat-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .bandeau-achat-img {
        flex: 0 0 auto;
        width: 100%;
    }
    .bandeau-achat-img img {
        height: 280px;
    }
    .bandeau-achat-img::after {
        inset: 10px -10px -10px 10px;
    }
    .bandeau-categories {
        text-align: left;
    }
    .bandeau-achat-cta {
        display: inline-block;
    }
}

@media screen and (max-width: 520px) {
    .bandeau-categories {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ---------- Section rachats / vignettes ---------- */
.bloc-rachats {
    text-align: center;
    background-color: var(--creme);
    max-width: 100%;
    padding: 5rem 2rem;
}

.bloc-rachats .section-titre {
    text-align: center;
}

.vignettes {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.6rem;
}

.vignette {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 51, 31, 0.12);
    background-color: var(--olive);
    aspect-ratio: 4 / 3;
}

.vignette-img {
    position: absolute;
    inset: 0;
}

.vignette-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.5s ease;
}

.vignette-texte {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1.3rem;
    text-align: left;
    color: var(--creme);
    background: linear-gradient(to top, rgba(44, 51, 31, 0.92) 0%, rgba(44, 51, 31, 0.6) 55%, rgba(44, 51, 31, 0) 100%);
    z-index: 1;
}

.vignette-texte h3 {
    font-family: var(--serif);
    color: var(--creme);
    font-size: 1.45rem;
    margin-bottom: 0.3rem;
}

.vignette-texte p {
    font-size: 0.9rem;
    color: rgba(255, 253, 248, 0.88);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

/* Effet survol bureau */
@media (hover: hover) and (pointer: fine) {
    .vignette:hover .vignette-img img {
        transform: scale(1.08);
    }
    .vignette:hover .vignette-texte p {
        max-height: 120px;
        opacity: 1;
        margin-top: 0.5rem;
    }
}

/* Tactile : on affiche directement le texte */
@media (hover: none) {
    .vignette-texte p {
        max-height: 120px;
        opacity: 1;
        margin-top: 0.4rem;
    }
}

@media screen and (max-width: 600px) {
    .vignettes {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    .vignette-texte {
        padding: 1rem 0.9rem;
    }
    .vignette-texte h3 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 360px) {
    .vignettes {
        grid-template-columns: 1fr;
    }
}
