.hcs-container {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
}

.hcs-button-outline {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid #A38C6D;
    color: #1F1F1F;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.hcs-button-outline:hover {
    background: #A38C6D;
    color: #ffffff;
}

.hcs-section-label {
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6E6A64;
}

@media (max-width: 1024px) {
    .hcs-container {
        width: min(100%, calc(100% - 48px));
    }
}

@media (max-width: 767px) {
    .hcs-container {
        width: min(100%, calc(100% - 32px));
    }

    .hcs-button-outline {
        padding: 12px 24px;
    }
}


/* =========================
   TIMELINE
========================= */

.hcs-timeline {
    padding: 120px 0;
    position: relative;
}

.hcs-timeline__inner {
    position: relative;
}

/* Ligne centrale */
.hcs-timeline__line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: #D9D1C7;
    transform: translateX(-50%);
}

/* Item */
.hcs-timeline__item {
    position: relative;
    width: 50%;
    padding: 40px 60px;
}

/* Alternance */
.hcs-timeline__item.is-left {
    left: 0;
    text-align: right;
}

.hcs-timeline__item.is-right {
    left: 50%;
    text-align: left;
}

/* Contenu */
.hcs-timeline__content {
    max-width: 420px;
}

/* Year */
.hcs-timeline__year {
    display: block;
    font-size: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A38C6D;
    margin-bottom: 12px;
}

/* Title */
.hcs-timeline__content h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    color: #1F1F1F;
}

/* Text */
.hcs-timeline__content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4F4F4F;
}

/* Point central */
.hcs-timeline__item::before {
    content: '';
    position: absolute;
    top: 50px;
    width: 12px;
    height: 12px;
    background: #1F1F1F;
    border-radius: 50%;
    z-index: 2;
}

.hcs-timeline__item.is-left::before {
    right: -6px;
}

.hcs-timeline__item.is-right::before {
    left: -6px;
}

.hcs-timeline__image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;   /* format identique pour toutes les images */
    overflow: hidden;
    border-radius: 6px;      /* optionnel, à adapter à ton design */
    margin: 12px 0;
}

.hcs-timeline__image {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* recadre sans déformer */
    object-position: center;
    display: block;
}


/* =========================
   ANIMATION
========================= */

.hcs-timeline__item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.hcs-timeline__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .hcs-timeline__line {
        left: 20px;
    }

    .hcs-timeline__item {
        width: 100%;
        padding: 20px 20px 20px 60px;
        text-align: left !important;
        left: 0 !important;
    }

    .hcs-timeline__item::before {
        left: 14px !important;
    }

}



/* =========================
   SECTION ACCES SUR LA PAGE CONTACT
========================= */

.hcs-access {
    padding: 110px 0;
    background: #F7F4EF;
    overflow: hidden;
}

.hcs-access__header {
    max-width: 760px;
    margin: 0 0 56px;
}

.hcs-access__label {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6E6A64;
}

.hcs-access__title {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(38px, 3vw, 44px);
    line-height: 1.02;
    font-weight: 500;
    color: #1F1F1F;
}

.hcs-access__intro {
    margin: 0;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.8;
    color: #4F4F4F;
}

.hcs-access__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(31, 31, 31, 0.08);
}

.hcs-access-card {
    position: relative;
    background: #FFFFFF;
    min-height: 320px;
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.hcs-access-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hcs-access-card__inner {
    position: relative;
    height: 100%;
    padding: 42px 34px 36px;
    background: #FFFFFF;
    transition:
        background 0.35s ease,
        transform 0.35s ease;
}

.hcs-access-card::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(31, 31, 31, 0.06);
    pointer-events: none;
    transition:
        border-color 0.35s ease,
        inset 0.35s ease;
}

.hcs-access-card:hover .hcs-access-card__inner {
    background: #ffffff;
    transform: translateY(-2px);
}

.hcs-access-card:hover::after {
    border-color: rgba(163, 140, 109, 0.35);
    inset: 12px;
}

.hcs-access-card__kicker {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A38C6D;
}

.hcs-access-card__title {
    margin: 0 0 22px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.08;
    font-weight: 500;
    color: #1F1F1F;
    max-width: 260px;
}

.hcs-access-card__content {
    font-size: 16px;
    line-height: 1.75;
    color: #4F4F4F;
}

.hcs-access-card__content p {
    margin: 0 0 18px;
}

.hcs-access-card__content p:last-child {
    margin-bottom: 0;
}

.hcs-access-card__content strong {
    color: #1F1F1F;
    font-weight: 500;
}

/* =========================
   REVEAL
========================= */

[data-hcs-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

[data-hcs-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .hcs-access__grid {
        grid-template-columns: 1fr;
    }

    .hcs-access-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .hcs-access {
        padding: 80px 0;
    }

    .hcs-access__header {
        margin-bottom: 36px;
    }

    .hcs-access__intro {
        font-size: 16px;
    }

    .hcs-access-card__inner {
        padding: 30px 22px 28px;
    }

    .hcs-access-card__title {
        max-width: 100%;
    }

    .hcs-access-card::after {
        inset: 10px;
    }
}















