/* ── HERO CAROUSEL ── */
.fiche-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.fiche-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.fiche-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fiche-slide.active { opacity: 1; }

.fiche-slide img,
.fiche-hero-single {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Boutons carousel */
.fiche-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 42px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
    line-height: 1;
    font-family: 'Montserrat Alternates', sans-serif;
}

.fiche-carousel-btn:hover { background: rgba(255,255,255,0.3); }
.fiche-carousel-btn.prev { left: 16px; }
.fiche-carousel-btn.next { right: 16px; }

/* Dots */
.fiche-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.fiche-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.fiche-dot.active { background: white; }

/* Overlay + texte hero */
.fiche-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 2;
}

.fiche-hero-content {
    position: absolute;
    bottom: 36px;
    left: 48px;
    right: 48px;
    z-index: 3;
}

.fiche-back {
    display: inline-block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}
.fiche-back:hover { color: #fff; }

.fiche-hero-content h1 {
    color: white;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.15;
}

.fiche-lieu {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin: 0;
}

/* ── LAYOUT ── */
.fiche-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

/* ── TOP : PRIX + BADGES ── */
.fiche-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 2px solid #111;
}

.fiche-prix {
    font-size: 36px;
    font-weight: 700;
    color: #22333B;
    letter-spacing: -0.02em;
}

.fiche-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.fiche-badge {
    background: #5b6f5b;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 3px;
}

/* ── SECTIONS ── */
.fiche-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e8e4dc;
}

.fiche-section:last-child { border-bottom: none; margin-bottom: 0; }

.fiche-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c9a98d;
    margin: 0 0 18px;
}

.fiche-desc { font-size: 15px; line-height: 1.8; color: #333; }

/* ── CARACTÉRISTIQUES ── */
.fiche-carac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e0ddd6;
    border-radius: 8px;
    overflow: hidden;
}

.fiche-carac {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 18px;
    border-bottom: 1px solid #e0ddd6;
    border-right: 1px solid #e0ddd6;
    background: #fff;
}

.fiche-carac:nth-child(even)       { border-right: none; }
.fiche-carac:nth-last-child(-n+2)  { border-bottom: none; }

.fiche-carac-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
    font-weight: 500;
}

.fiche-carac-val { font-size: 14px; font-weight: 500; color: #22333B; }

/* Tags positionnement */
.carac-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.carac-ok   { background: #e8f0ec; color: #3d5c4e; }
.carac-high { background: #f5ede4; color: #8a5c2a; }

/* ── MARCHÉ ── */
.fiche-marche {
    background: #f7f3ef;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #e0ddd6;
}

.fiche-marche .fiche-carac-grid { border: none; border-radius: 0; }
.fiche-marche .fiche-carac {
    border: none;
    border-bottom: 1px solid #e0ddd6;
    background: transparent;
    padding: 12px 0;
}
.fiche-marche .fiche-carac:last-child { border-bottom: none; }

/* ── ASIDE ── */
.fiche-aside { position: relative; }

.fiche-contact-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1.5px solid #e0ddd6;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fiche-contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #22333B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.fiche-contact-name { font-size: 15px; font-weight: 700; color: #22333B; margin: 0; }
.fiche-contact-sub  { font-size: 12px; color: #888; margin: 0 0 4px; }

.fiche-contact-btn {
    width: 100%;
    padding: 12px;
    background: #22333B;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat Alternates', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}
.fiche-contact-btn:hover { background: #5f7f6f; }

.fiche-estim-btn {
    width: 100%;
    padding: 11px;
    background: transparent;
    color: #22333B;
    border: 1.5px solid #22333B;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat Alternates', sans-serif;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: background 0.2s, color 0.2s;
}
.fiche-estim-btn:hover { background: #22333B; color: white; }

.fiche-rgpd { font-size: 10px; color: #ccc; margin: 4px 0 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .fiche-container { grid-template-columns: 1fr; padding: 28px 20px 60px; }
    .fiche-aside { order: -1; }
    .fiche-contact-card {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        gap: 12px;
    }
    .fiche-contact-avatar { flex-shrink: 0; }
    .fiche-contact-btn, .fiche-estim-btn { flex: 1; min-width: 130px; }
}

@media (max-width: 600px) {
    .fiche-hero { height: 300px; }
    .fiche-hero-content { left: 20px; right: 20px; bottom: 24px; }
    .fiche-hero-content h1 { font-size: 24px; }
    .fiche-carac-grid { grid-template-columns: 1fr; }
    .fiche-carac { border-right: none; }
    .fiche-carac:nth-last-child(-n+2) { border-bottom: 1px solid #e0ddd6; }
    .fiche-carac:last-child { border-bottom: none; }
    .fiche-prix { font-size: 28px; }
    .fiche-carousel-btn { font-size: 30px; width: 40px; height: 40px; }
}
