/* ── Château de Fontenay — Custom Styles ─────────────── */

/* Custom font */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ── Variables ────────────────────────────────────────── */
:root {
    --cf-color-primary: #1E1E1E;
    --cf-color-accent: #707070;
    --cf-color-red: #c0392b;
    --cf-color-cream: #f5f3ee;
    --cf-color-light: #f8f5f0;
    --cf-color-dark: #1a1917;
    --cf-font-display: 'Amatic SC', cursive;
    --cf-font-body: 'Lato', Georgia, serif;
}

/* ── Base ─────────────────────────────────────────────── */
body, p, a, label, input, button {
    font-family: var(--cf-font-body);
    color: var(--cf-color-dark);
}

body {
    background-color: var(--cf-color-cream);
    background-image:
        linear-gradient(rgba(245, 243, 238, 0.75), rgba(245, 243, 238, 0.75)),
        url('../backgrounds/texture_bg.png');
    background-repeat: repeat;
    background-position: top left;
}

body #cf-main img {
    width: 100%!important;
    max-height: 60dvh!important;
}



.cf-title-display, h1, h2, h3, h4, h5, h6 {
    font-family: var(--cf-font-display);
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.1;
}

.cf-surtitre {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cf-color-accent);
    margin-bottom: .5rem;
}

/* ── Header — base ────────────────────────────────────── */
.cf-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background .3s ease, box-shadow .3s ease;
}

.cf-header .navbar {
    padding: 0.5rem 0;
    align-items: flex-end;
}

.cf-header-spacer {
    height: 160px; /* logo 128 + padding */
}

/* ── Header — transparent (pages avec hero) ──────────── */
.cf-header--transparent {
    background: transparent;
    color: var(--cf-color-dark);
}

.cf-header--transparent .nav-link {
    color: var(--cf-color-dark);
}

.cf-header--transparent .cf-site-name {
    color: #fff;
}

.cf-header--transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Header — scrolled / pages sans hero ─────────────── */
.cf-header--scrolled {
    background: var(--cf-color-cream);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    color: var(--cf-color-dark);
}

.cf-header--scrolled .nav-link {
    color: var(--cf-color-dark);
}

.cf-header--scrolled .cf-site-name {
    color: var(--cf-color-primary);
}

.cf-header--scrolled .custom-logo {
    width: 92px;
    height: auto;
    transition: width .3s ease;
}

.cf-header--scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1917' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Transparent + scrolled : scrolled gagne */
.cf-header--transparent.cf-header--scrolled .nav-link {
    color: var(--cf-color-dark);
}
.cf-header--transparent.cf-header--scrolled .cf-site-name {
    color: var(--cf-color-primary);
}
.cf-header--transparent.cf-header--scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1917' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Logo ─────────────────────────────────────────────── */
.cf-logo, .custom-logo-link {
    align-self: flex-start;
    max-width: 128px ;
    max-height: 128px;
    width: auto;
    height: auto;
}

.custom-logo-link img {
    width: 100%;
    height: auto;
}

.custom-logo {
    transition: width .3s ease;
}

.cf-site-name {
    font-family: var(--cf-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .3s ease;
}

/* ── Nav links ────────────────────────────────────────── */
.cf-header .navbar-collapse {
    align-self: flex-end;
}

.cf-header .navbar-nav {
    align-items: flex-end;
}

.cf-header .navbar-nav .nav-link {
    font-family: var(--cf-font-body);
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    padding-bottom: 0.5rem;
    transition: opacity .2s ease;
    text-decoration: none;
}

.cf-header .navbar-nav .nav-link:hover {
    opacity: 0.6;
}

.cf-header .navbar-nav .nav-link.active {
    opacity: 0.6;
}

/* ── Chevron dropdown ────────────────────────────────── */
.cf-header .dropdown-toggle::after {
    display: none;
}

.cf-header .dropdown-toggle::before {
    content: '\25BE';
    font-size: 10px;
    opacity: 0.5;
    margin-left: 3px;
    float: right;
    line-height: inherit;
    order: 1;
}

/* Hack : le chevron se place après le texte via flexbox */
.cf-header .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ── Dropdown menu ───────────────────────────────────── */
.cf-header .dropdown-menu {
    background: var(--cf-color-cream);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease;
    display: block;
    pointer-events: none;
}

.cf-header .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cf-header .dropdown-menu .dropdown-item {
    font-family: var(--cf-font-body);
    font-size: 13px;
    padding: 10px 20px;
    color: var(--cf-color-dark);
    transition: background .15s ease, color .15s ease;
}

.cf-header .dropdown-menu .dropdown-item:hover,
.cf-header .dropdown-menu .dropdown-item:focus {
    background: rgba(192,57,43,0.06);
    color: var(--cf-color-red);
}

.cf-header .dropdown-menu .dropdown-item.active {
    background: rgba(192,57,43,0.06);
    color: var(--cf-color-red);
}

/* ── Burger mobile ───────────────────────────────────── */
.cf-header .navbar-toggler {
    border: none;
    padding: 4px;
    box-shadow: none;
}

.cf-header .navbar-toggler:focus {
    box-shadow: none;
}

.cf-header .navbar-toggler-icon {
    width: 22px;
    height: 22px;
}

/* ── Responsive mobile < 992px ───────────────────────── */
@media (max-width: 991.98px) {
    .cf-header .navbar-collapse {
        background: var(--cf-color-cream);
        padding: 1rem;
        margin-top: 8px;
    }

    .cf-header .navbar-nav .nav-link {
        color: var(--cf-color-dark);
        padding: 12px 16px;
    }

    .cf-header .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    .cf-header .dropdown-menu.show {
        display: block;
    }

    .cf-header--transparent .navbar-collapse .nav-link {
        color: var(--cf-color-dark);
    }
}

/* ── Hero RevSlider placeholder ───────────────────────── */
.cf-hero-slider-placeholder {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-color: var(--cf-color-primary);
    display: flex;
    align-items: flex-end;
}

.cf-hero-slider-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 50%);
    pointer-events: none;
}

.cf-hero-slider-inner {
    position: relative;
    z-index: 1;
    max-height: 80vh;
    margin-bottom: 2rem;
}

.cf-hero-slider-title {
    font-family: var(--cf-font-display);
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.cf-hero-slider-subtitle {
    font-family: var(--cf-font-body);
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    margin-top: .5rem;
}

@media (max-width: 768px) {
    .cf-hero-slider-title {
        font-size: 2.5rem;
    }
}

.cf-btn-decouvrir, .cf-btn-vin {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cf-color-accent);
    border: 1px solid var(--cf-color-accent);
    padding: 1rem 1.2rem;
    border-radius: 0;
    width: 100%;
}

.cf-btn-decouvrir:hover,
.cf-btn-vin:hover {
    background: var(--cf-color-accent);
    color: #fff;
}

/* ── Vins vedette ─────────────────────────────────────── */

/* ── Vins vedette ─────────────────────────────────────── */
.cf-vins-vedette {
    background-color: var(--cf-color-cream);
    background-image: url('../backgrounds/vins-background.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.cf-vins-vedette__intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.cf-vins-vedette__title,
.cf-vins-vedette__text {
    margin: 0;
}

.cf-vins-vedette__title {
    font-family: var(--cf-font-display);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
}

.cf-vins-vedette__text {
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.7;
}

.cf-vins-vedette__bottles {
    display: grid;
    grid-template-columns: repeat(var(--cf-vins-columns, 4), minmax(0, 1fr));
    gap: 1.5rem;
    align-items: end;
    max-width: 927px;
    margin: 0 auto;
}

.cf-vins-vedette__bottles--1 { --cf-vins-columns: 1; }
.cf-vins-vedette__bottles--2 { --cf-vins-columns: 2; }
.cf-vins-vedette__bottles--3 { --cf-vins-columns: 3; }
.cf-vins-vedette__bottles--4 { --cf-vins-columns: 4; }
.cf-vins-vedette__bottles--5 { --cf-vins-columns: 5; }
.cf-vins-vedette__bottles--6 { --cf-vins-columns: 6; }

.cf-vins-vedette__bottle {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 220px;
}

.cf-vins-vedette__image {
    width: 100%;
    max-width: 140px;
    max-height: 280px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .cf-vins-vedette__intro {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575.98px) {

}

/* ── Catalogue vins — cartes ─────────────────────────── */
.cf-vins-section {
    background: var(--cf-color-cream);
}

.cf-vins-type-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    border-bottom: 2px solid var(--cf-color-dark);
    padding-bottom: 0.5rem;
}

.cf-vin-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.cf-vin-card-link:hover {
    color: inherit;
}

.cf-vin-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cf-vin-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.cf-vin-card__img-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 2rem 1rem 1rem;
    min-height: 260px;
    background: var(--cf-color-light);
}

.cf-vin-card__img {
    width: auto !important;
    max-width: 120px;
    max-height: 240px !important;
    object-fit: contain;
}

.cf-vin-card__body {
    padding: 1.2rem 1.5rem 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cf-vin-card__appellation {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cf-color-accent);
    margin-bottom: 0.3rem;
}

.cf-vin-card__name {
    font-family: var(--cf-font-display);
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.cf-vin-card__cepage {
    font-size: 13px;
    color: var(--cf-color-accent);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.cf-vin-card__meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 14px;
    color: var(--cf-color-dark);
    margin-bottom: 0.5rem;
}

.cf-vin-card__millesime {
    font-weight: 600;
}

.cf-vin-card__prix {
    font-weight: 700;
    color: var(--cf-color-red);
}

/* ═══════════════════════════════════════════════════════
   SINGLE VIN
   ═══════════════════════════════════════════════════════ */

.cf-single-vin img {
    width: auto;
    max-width: 100%;
}

/* ── 1. Intro ────────────────────────────────────────── */
.cf-vin-intro {
    padding: 60px 0 40px;
    background: var(--cf-color-cream);
}

.cf-vin-intro-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.cf-vin-intro-left {
    flex: 0 0 38%;
}

.cf-vin-intro-right {
    flex: 1;
}

.cf-vin-intro-right p:last-child {
    margin-bottom: 0;
}

.cf-vin-intro-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cf-color-accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cf-vin-intro-appellation {
    font-size: 15px;
    color: var(--cf-color-accent);
    margin-top: 8px;
    margin-bottom: 0.35rem;
}

.cf-vin-intro-prix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cf-color-red);
    margin-bottom: 0;
}

/* ── 2. Hero : featured + bouteille ──────────────────── */
.cf-vin-hero {
    width: 100%;
    overflow: hidden;
}

.cf-vin-hero-inner {
    display: flex;
    height: 520px;
}

.cf-vin-hero-main {
    flex: 0 0 66.666%;
    overflow: hidden;
}

.cf-vin-hero-bottle {
    flex: 0 0 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cf-color-light);
    padding: 2rem;
}

.cf-vin-hero-img--cover {
    width: 100% !important;
    max-width: none;
    max-height: none !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.cf-vin-hero-img--bottle {
    max-width: 200px;
    max-height: 420px !important;
    object-fit: contain;
}

/* ── 3. Fiche technique + description ────────────────── */
.cf-vin-details {
    padding: 60px 0;
    background: var(--cf-color-cream);
}

.cf-vin-details-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.cf-vin-fiche {
    flex: 0 0 30%;
}

.cf-vin-fiche-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.cf-vin-description {
    flex: 1;
}

.cf-vin-description p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--cf-color-dark);
    margin-bottom: 1.2em;
}

/* ── 5. Autres vins ──────────────────────────────────── */
.cf-vin-autres {
    padding: 60px 0;
    background: var(--cf-color-cream);
}

.cf-vin-autres-title {
    margin-bottom: 2rem;
}

.cf-vin-autres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cf-vin-autre-card {
    text-align: center;
}

.cf-vin-autre-img-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 200px;
    padding: 1.5rem 1rem;
    background: var(--cf-color-light);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.cf-vin-autre-img {
    width: auto !important;
    max-width: 100px;
    max-height: 180px !important;
    object-fit: contain;
}

.cf-vin-autre-appellation {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cf-color-accent);
    margin-bottom: 0.25rem;
}

.cf-vin-autre-name {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

/* ── Responsive vin ──────────────────────────────────── */
@media (max-width: 991px) {
    .cf-vin-hero-inner {
        height: 380px;
    }

    .cf-vin-autres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .cf-vin-intro-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cf-vin-intro-left,
    .cf-vin-intro-right,
    .cf-vin-fiche,
    .cf-vin-description {
        flex: none;
        width: 100%;
    }

    .cf-vin-hero-inner {
        flex-direction: column;
        height: auto;
    }

    .cf-vin-hero-main {
        flex: none;
        width: 100%;
        height: 260px;
    }

    .cf-vin-hero-bottle {
        flex: none;
        width: 100%;
        height: 300px;
    }

    .cf-vin-details-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .cf-vin-autres-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 575px) {
    .cf-vin-autres-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Hébergement cards ────────────────────────────────── */
.cf-heberg-card {
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.cf-heberg-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.cf-heberg-body {
    padding: 1.2rem;
}

.cf-heberg-title {
    font-family: var(--cf-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .8rem;
}

/* ── Single hébergement ───────────────────────────────── */
.cf-hero-double .cf-hero-img {
    height: 450px;
    object-fit: cover;
}

.cf-equip-item {
    padding: .4rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cf-galerie-img {
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* ── Map ──────────────────────────────────────────────── */
.cf-map-wrapper {
    width: 100%;
    line-height: 0;
}

/* ── Footer ───────────────────────────────────────────── */
.cf-footer {
    background: var(--cf-color-primary);
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.cf-footer a {
    color: rgba(255,255,255,.7);
}

.cf-footer a:hover {
    color: #fff;
}

.cf-footer * {
    color: var(--cf-color-light);
}

.cf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-widget-title {
    font-family: var(--cf-font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .cf-footer {
        text-align: center;
    }

    .cf-footer .row > div + div {
        margin-top: 2rem;
    }
}

/* ── Archive hébergements ────────────────────────────── */
.cf-heberg-archive-intro,
.cf-heberg-archive-section {
    padding: 60px 0;
}

.cf-heberg-archive-title {
    margin-bottom: 2rem;
}

.cf-heberg-archive-content {
    max-width: 760px;
}

.cf-heberg-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 991.98px) {
    .cf-heberg-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cf-heberg-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   SINGLE HEBERGEMENT
   ═══════════════════════════════════════════════════════ */

.cf-single-heberg {
    margin-top: 7rem;
}

.cf-single-heberg img {
    width: auto;
    max-width: 100%;
}

/* ── 1. Intro ────────────────────────────────────────── */
.cf-heberg-intro {
    padding: 60px 0 40px;
    background: var(--cf-color-cream);
}

.cf-heberg-intro-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.cf-heberg-intro-left {
    flex: 0 0 38%;
}

.cf-heberg-intro-right {
    flex: 1;
}

.cf-heberg-intro-right p:last-child {
    margin-bottom: 0;
}

.cf-heberg-tarif {
    font-size: 15px;
    color: #888780;
    margin-top: 8px;
    margin-bottom: 0.35rem;
}

.cf-heberg-superficie {
    font-size: 13px;
    color: #888780;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ── 2. Hero double photo ────────────────────────────── */
.cf-heberg-hero {
    width: 100%;
    overflow: hidden;
}

.cf-heberg-hero-inner {
    height: 520px;
}

.cf-heberg-hero-main {
    flex: 0 0 66.666%;
}

.cf-heberg-hero-secondary {
    flex: 0 0 33.333%;
}

.cf-heberg-hero-img {
    width: 100% !important;
    max-width: none;
    max-height: none !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ── 3. Equipements + description ────────────────────── */
.cf-heberg-details {
    padding: 60px 0;
    background: var(--cf-color-cream);
}

.cf-heberg-details-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.cf-heberg-equip {
    flex: 0 0 30%;
}

.cf-heberg-description {
    flex: 1;
}

.cf-equip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cf-equip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--cf-color-dark);
    padding: 0;
}

.cf-equip-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: var(--cf-color-dark);
    opacity: 0.7;
}

.cf-equip-label {
    font-size: 14px;
    line-height: 1.3;
}

.cf-heberg-description p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--cf-color-dark);
    margin-bottom: 1.2em;
}

/* ── 4. Galerie ──────────────────────────────────────── */
.cf-heberg-galerie {
    width: 100%;
}

.cf-heberg-galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.cf-heberg-galerie-item {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.cf-heberg-galerie-img {
    width: 100% !important;
    max-width: none;
    max-height: none !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cf-heberg-galerie-img:hover {
    transform: scale(1.04);
}

/* ── 5. Autres hebergements ──────────────────────────── */
.cf-heberg-autres {
    padding: 60px 0;
    background: var(--cf-color-cream);
}

.cf-heberg-autres-title {
    margin-bottom: 2rem;
}

.cf-heberg-autres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cf-heberg-autre-card {
    text-align: center;
}

.cf-heberg-autre-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
}

.cf-heberg-autre-img {
    width: 100% !important;
    max-width: none;
    max-height: none !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cf-heberg-autre-img:hover {
    transform: scale(1.04);
}

.cf-heberg-autre-name {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 991px) {
    .cf-heberg-hero-inner {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .cf-heberg-intro-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cf-heberg-intro-left,
    .cf-heberg-intro-right,
    .cf-heberg-equip,
    .cf-heberg-description {
        flex: none;
        width: 100%;
    }

    .cf-heberg-hero-inner {
        flex-direction: column;
        height: auto;
    }

    .cf-heberg-hero-main,
    .cf-heberg-hero-secondary {
        flex: none;
        width: 100%;
        height: 260px;
    }

    .cf-heberg-hero-secondary {
        display: none;
    }

    .cf-heberg-details-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .cf-heberg-galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-heberg-autres-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
