/* =============================================================
   HOME SECTIONS — bento · etapes · equipe · temoignages
                   agrements · documents · actualites
   ============================================================= */

/* ── Shared helpers ─────────────────────────────────────────── */

.section-title-element {
    font-size: calc(30px + (48 - 30) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-bg-dark, #1F1F1F);
    line-height: 1.15;
    margin-bottom: 20px;
}

/* ── 1. BENTO ────────────────────────────────────────────────── */
.bento {
    position: relative;
    padding: 80px 1.5rem;
    overflow: hidden;
    background: var(--color-bg-page, #FAFAFA);
}

.bento__deco {
    position: absolute;
    left: -4%;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    height: 130%;
    width: auto;
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
}

.bento__container {
    max-width: 1280px;
    margin: 0 auto;
}

.bento__header {
    text-align: center;
    margin-bottom: 56px;
}

.bento__subtitle {
    color: var(--color-text-muted, #737373);
    font-size: 1.0625rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.bento__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bento__card {
    background: #fff;
    border: 1px solid var(--color-border, #EBEBEB);
    border-radius: 20px;
    padding: 28px 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: section-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bento__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-highlight, #2470DB) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-highlight, #2470DB);
}

.bento__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-bg-dark, #1F1F1F);
    margin-bottom: 8px;
}

.bento__card-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted, #737373);
    line-height: 1.55;
}

/* ── 2. ÉTAPES ───────────────────────────────────────────────── */
.centres {
    padding: 80px 1.5rem;
    background: #fafafa;
}

.centres__container {
    max-width: 1280px;
    margin: 0 auto;
}

.centres__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.centres__eyebrow {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-highlight, #2470DB);
}

.centres__title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-bg-dark, #1F1F1F);
    margin-bottom: 12px;
}

.centres__subtitle {
    margin: 0 auto;
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted, #737373);
}

.centres__subtitle p {
    margin: 0;
}

.centres__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.centres__filter {
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--color-border, #EBEBEB);
    background: #fff;
    color: var(--color-secondary);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    padding: 10px 16px;
}

.centres__filter.is-active,
.centres__filter:hover {
    transform: translateY(-1px);
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.centres__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.centres__card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    opacity: 0;
    transform: translateY(20px);
    animation: section-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    width: calc(300px + (295 - 300) * ((100vw - 320px) / (1920 - 320)));
}

.centres__card[hidden] {
    display: none;
}

.centres__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.centres__media {
    position: relative;
    min-height: 192px;
    padding: 22px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(36, 112, 219, 0.12), rgba(15, 23, 42, 0.18)),
        linear-gradient(135deg, #59a3ff, #1f5fb7);
    background-size: cover;
    background-position: center;
}

.centres__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 40, 82, 0.02) 0%, rgba(8, 17, 31, 0.7) 100%);
}

.centres__availability {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-highlight, #2470DB);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.centres__media-content {
    position: relative;
    z-index: 1;
}

.centres__card-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

.centres__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #ffffffb3;
}

.centres__location svg {
    flex-shrink: 0;
}

.centres__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: #fff;
}

.centres__price-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.centres__price-from {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-muted, #737373);
    text-transform: uppercase;
}

.centres__price {
    margin: 0;
    font-size: calc(18px + (24 - 18) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--color-bg-dark, #1F1F1F);
}

.centres__price-note {
    font-size: 0.9375rem;
    color: var(--color-text-muted, #737373);
}

.centres__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border, #EBEBEB);
    background: #fff;
    color: #7c8798;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.centres__card:hover .centres__arrow {
    transform: translateX(2px);
    color: var(--color-highlight, #2470DB);
    border-color: color-mix(in srgb, var(--color-highlight, #2470DB) 30%, #EBEBEB);
}

/* ── 2. ÉTAPES ───────────────────────────────────────────────── */
.etapes {
    padding: 80px 1.5rem;
    background: var(--color-bg-light, #F5F5F5);
}

.etapes__container {
    max-width: 1280px;
    margin: 0 auto;
}

.etapes__header {
    text-align: center;
    margin-bottom: 64px;
}

.etapes__title {
    font-size: calc(30px + (48 - 30) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-bg-dark, #1F1F1F);
    margin-bottom: 12px;
}

.etapes__subtitle {
    color: var(--color-text-muted, #737373);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.etapes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.etapes__line {
    position: absolute;
    top: 28px;
    left: calc(16.666% + 16px);
    right: calc(16.666% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-highlight, #2470DB), #60a5fa);
    opacity: 0.25;
    pointer-events: none;
}

.etapes__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    animation: section-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.etapes__step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}

.etapes__card {
    background: #fff;
    border: 1px solid var(--color-border, #EBEBEB);
    border-radius: 32px;
    overflow: hidden;
    width: 100%;
}

.etapes__card-img {
    overflow: hidden;
    background: var(--color-bg-light, #F5F5F5);
    height: 175px;
}

.etapes__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.etapes__card:hover .etapes__card-img img {
    transform: scale(1.04);
}

.etapes__card-body {
    padding: 20px;
}

.etapes__card-duration {
    display: inline-flex;
    align-items: center;
    column-gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-highlight, #2470DB);
    text-transform: uppercase;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.etapes__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-bg-dark, #1F1F1F);
    margin-bottom: 6px;
}

.etapes__card-desc p {
    font-size: 14px;
    color: var(--color-text-muted, #737373);
    line-height: 1.55;
}

.etapes__bottom {
    text-align: center;
    margin-top: 48px;
    font-size: 16px;
    color: var(--color-text-muted, #737373);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── 3. ÉQUIPE ───────────────────────────────────────────────── */
.equipe {
    padding: 80px 1.5rem;
    background: var(--color-bg-page, #FAFAFA);
}

.equipe__container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.equipe__img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.equipe__img {
    width: 100%;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    max-height: 370px;
}

.equipe__badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: #fff;
    color: #000;
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--color-highlight, #2470DB) 35%, transparent);
}

.equipe__badge svg {
    color: var(--color-highlight, #2470DB);
}

.equipe__text {
    color: var(--color-text-muted, #737373);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.equipe__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.equipe__point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-bg-dark, #1F1F1F);
}

.equipe__point-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    color: var(--color-highlight, #2470DB);
    border: 1px solid #ebebeb;
    border-radius: 50%;
    margin-top: 1px;
}

/* ── 4. TÉMOIGNAGES ─────────────────────────────────────────── */
.temoignages {
    padding: 80px 0;
    background: var(--color-bg-light, #F5F5F5);
    overflow: hidden;
}

.temoignages__header-wrap {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 1280px;
    margin: 0 auto 40px;
}

.temoignages__subtitle {
    color: var(--color-text-muted, #737373);
    font-size: 1rem;
}

/* Horizontal scrollable track */
.temoignages__track {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding: 4px 1.5rem 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.temoignages__track::-webkit-scrollbar {
    display: none;
}

.temoignages__card {
    flex: 0 0 calc(300px + (380 - 300) * ((100vw - 320px) / (1920 - 320)));
    background: #fff;
    border: 1px solid var(--color-border, #EBEBEB);
    border-radius: 20px;
    padding: 24px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.temoignages__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.temoignages__source-icon {
    width: 20px;
    height: 20px;
}

.temoignages__card-date {
    font-size: 0.75rem;
    color: var(--color-text-muted, #737373);
}

.temoignages__stars {
    display: flex;
    gap: 2px;
}

.temoignages__star {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #D1D5DB;
    stroke-width: 1.5;
}

.temoignages__star.is-filled {
    fill: #F59E0B;
    stroke: #F59E0B;
}

.temoignages__text {
    font-size: 0.875rem;
    color: var(--color-bg-dark, #1F1F1F);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.temoignages__text p {
    margin: 0;
}

.temoignages__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--color-border, #EBEBEB);
    padding-top: 14px;
}

.temoignages__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.temoignages__author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-bg-dark, #1F1F1F);
    margin: 0;
}

.temoignages__author-city {
    font-size: 0.75rem;
    color: var(--color-text-muted, #737373);
    margin: 2px 0 0;
}

.temoignages__empty {
    text-align: center;
    color: var(--color-text-muted, #737373);
    padding: 40px 1.5rem;
}

.temoignages__footer {
    text-align: center;
    margin-top: 32px;
    padding: 0 1.5rem;
}

.temoignages__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.temoignages__link:hover {
    gap: 10px;
}

/* ── 5. AGRÉMENTS ───────────────────────────────────────────── */
.agrements {
    padding: 80px 1.5rem;
    background: var(--color-bg-page, #FAFAFA);
}

.agrements__container {
    max-width: 1280px;
    margin: 0 auto;
}

.agrements__header {
    text-align: center;
    margin-bottom: 48px;
}

.agrements__subtitle {
    color: var(--color-text-muted, #737373);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid préfectures */

.prefectures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(16px + (26 - 16) * ((100vw - 320px) / (1920 - 320)));
}

.prefecture-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 28px;
    padding: 16px 24px;
    text-align: center;
    min-height: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(165px + (206 - 165) * ((100vw - 320px) / (1920 - 320)));
    margin: 0 auto;
}

.prefecture-logo {
    max-width: 135px;
    height: auto;
    margin-bottom: 14px;
}

.prefecture-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #5c5c5c;
}

@media (min-width: 520px) and (max-width: 900px) {
    .prefectures-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 520px) {
    .prefectures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Marquee partenaires */
.agrements__marquee {
    overflow: hidden;
    position: relative;
    padding: 28px 0;
}

.agrements__marquee::before,
.agrements__marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.agrements__marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-page, #FAFAFA) 20%, transparent);
}

.agrements__marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-page, #FAFAFA) 20%, transparent);
}

.agrements__marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.agrements__marquee:hover .agrements__marquee-track {
    animation-play-state: paused;
}

.agrements__marquee-set {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 0 32px;
}

.agrements__marquee-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.agrements__partner-logo {
    height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.35s ease;
    user-select: none;
}

.agrements__marquee-item:hover .agrements__partner-logo {
    filter: grayscale(0) opacity(1);
}

@media (prefers-reduced-motion: reduce) {
    .agrements__marquee-track {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
    }
    .agrements__marquee-set[aria-hidden="true"] {
        display: none;
    }
    .agrements__marquee-set {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        gap: 40px 64px;
    }
}

/* ── 6. DOCUMENTS ───────────────────────────────────────────── */
.documents {
    position: relative;
    padding: 80px 1.5rem;
    background: var(--color-highlight, #2470DB);
    color: #fff;
    overflow: hidden;
}

.documents__deco {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    height: 150%;
    width: auto;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    filter: brightness(0) invert(1);
}

.documents__container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.documents__header {
    text-align: center;
    margin-bottom: 40px;
}

.documents__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
}

.documents__subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    font-weight: 300;
}

.documents__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.documents__card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: section-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.documents__icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.documents__icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.documents__icon-info {
    display: flex;
    flex-direction: column;
    row-gap: 3px;
}

.documents__label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.documents__detail {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.45;
}

/* ── 7. ACTUALITÉS ──────────────────────────────────────────── */
.actualites {
    padding: 80px 1.5rem;
    background: var(--color-bg-page, #FAFAFA);
}

.actualites__container {
    max-width: 1280px;
    margin: 0 auto;
}

.actualites__header {
    margin-bottom: 40px;
}

.actualites__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-bg-dark, #1F1F1F);
}

.actualites__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.actualites__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border, #EBEBEB);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(24px);
    animation: section-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: box-shadow 0.3s ease;
}

.actualites__card:hover {
    box-shadow: 0 12px 40px -10px color-mix(in srgb, var(--color-highlight, #2470DB) 15%, transparent);
}

.actualites__card-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--color-bg-light, #F5F5F5);
}

.actualites__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.actualites__card:hover .actualites__card-img img {
    transform: scale(1.05);
}

.actualites__card-img--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-light, #F5F5F5), #e5e7eb);
}

.actualites__card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 20px 20px 40px;
}

.actualites__card-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-highlight, #2470DB);
}

.actualites__card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-bg-dark, #1F1F1F);
    line-height: 1.4;
    margin: 0;
    flex: 1;
    transition: color 0.2s ease;
}

.actualites__card:hover .actualites__card-title {
    color: var(--color-highlight, #2470DB);
}

.actualites__card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #737373);
    margin-top: 8px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.actualites__card:hover .actualites__card-link {
    color: var(--color-highlight, #2470DB);
    gap: 8px;
}

/* ── Shared animation ───────────────────────────────────────── */
@keyframes section-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ─────────────────────────────────────────────── */

/* Tablette ≤ 1023px */
@media (max-width: 1023px) {
    .bento__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .etapes__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .etapes__line {
        display: none;
    }

    .equipe__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .equipe__img-wrap {
        width: 100%;
        margin: 0 auto;
    }

    .equipe__img-wrap .equipe__img {
        max-height: 200px;
        width: 100%;
    }

    .agrements__grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

/* Mobile ≤ 767px */
@media (max-width: 767px) {
    .bento,
    .centres,
    .etapes,
    .equipe,
    .temoignages,
    .agrements,
    .documents,
    .actualites {
        padding: 56px 1rem;
    }

    .bento,
    .actualites {
        padding-left: 0;
        padding-right: 0;
    }

    .bento__header,
    .actualites__header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .bento__grid,
    .actualites__grid {
        overflow: hidden;
    }

    .bento__track,
    .actualites__track {
        display: flex;
        gap: 12px;
        padding: 4px 0 4px 1rem;
        will-change: transform;
        user-select: none;
    }

    .bento__card,
    .actualites__card {
        flex: 0 0 80vw;
        min-width: 0;
    }

    .centres__grid {
        grid-template-columns: 1fr;
    }

    .centres__card {
        width: 100%;
    }

    .centres__media {
        min-height: 220px;
        padding: 18px;
    }

    .centres__availability {
        top: 12px;
        left: 12px;
        padding: 9px 12px;
        font-size: 0.75rem;
    }

    .centres__card-title {
        font-size: 1.75rem;
    }

    .centres__footer {
        padding: 18px;
    }

    .centres__price {
        font-size: 1.75rem;
    }

    .etapes__grid {
        grid-template-columns: 1fr;
    }

    .etapes__step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .etapes__step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

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

    .documents__grid {
        grid-template-columns: 1fr;
    }

    .temoignages__card {
        flex: 0 0 280px;
    }
}
