:root {
    --blue: #006bb6;
    --blue-dark: #005189;
    --yellow: #f3ba12;
    --green: #78aa6b;
    --brown: #bd652a;
    --cream: #fbf8f1;
    --ink: #292927;
    --muted: #66635d;
    --border: #e6dfd3
}


/* En-tête commun des pages intérieures */

.site-page-header,
.agenda-header.site-page-header,
.gallery-page-heading.site-page-header {
    max-width: none;
    margin: 0 0 28px;
    text-align: left;
}

.site-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #b66b1b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .9px;
}

.site-page-header h1,
.page-content .site-page-header h1,
.agenda-header.site-page-header h1,
.gallery-page-heading.site-page-header h1 {
    margin: 0 0 10px;
    color: #145f91;
    font-family: "Oswald", sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.site-page-header .agenda-intro,
.site-page-header .gallery-page-intro {
    max-width: 690px;
    margin: 0;
    color: #68757c;
    font-size: 17px;
    line-height: 1.6;
}

.gallery-page-heading.site-page-header::after {
    display: none;
}

.page-content.page-content,
.agenda-page.agenda-page,
.gallery-page.gallery-page {
    background: linear-gradient(180deg, #fffaf1 0, #ffffff 360px);
}

@media (max-width: 767.98px) {
    .site-page-header,
    .agenda-header.site-page-header,
    .gallery-page-heading.site-page-header {
        margin-bottom: 24px;
    }
    .site-page-header h1,
    .page-content .site-page-header h1,
    .agenda-header.site-page-header h1,
    .gallery-page-heading.site-page-header h1 {
        font-size: clamp(34px, 11vw, 46px);
    }
}


/* Galeries photos */

.gallery-page {
    padding: 58px 0 80px;
    background: var(--cream);
}

.gallery-page-heading h1 {
    margin: 0 0 14px;
    font-family: "Oswald", sans-serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-page-intro {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.55;
}

.gallery-page-intro p:last-child {
    margin-bottom: 0;
}

.gallery-page-heading:after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 17px;
    background: var(--yellow);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 36px;
}

.gallery-filter {
    min-width: 98px;
    padding: 8px 18px;
    border: 1px solid var(--blue);
    border-radius: 22px;
    color: var(--blue);
    font-weight: 700;
    text-align: center;
    transition: .2s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--blue);
    color: #fff;
}

.gallery-albums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 270px;
    gap: 22px;
}

.gallery-album {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #16202a;
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(38, 31, 22, .1);
}

.gallery-album-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-album img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-album:hover img {
    transform: scale(1.04);
}

.gallery-album-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(4, 15, 24, .92) 100%);
}

.gallery-featured-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 18px;
    border-radius: 0 0 8px 0;
    background: var(--yellow);
    color: #2f2a1f;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
}

.gallery-featured-label i {
    margin-right: 7px;
}

.gallery-album-content {
    position: absolute;
    right: 68px;
    bottom: 17px;
    left: 18px;
}

.gallery-album-content strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 25px;
    line-height: 1.1;
}

.gallery-album-featured .gallery-album-content strong {
    font-size: 42px;
}

.gallery-album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    font-size: 13px;
}

.gallery-album-meta i {
    margin-right: 5px;
}

.gallery-open {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 19px;
}

.gallery-empty {
    padding: 70px 20px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.gallery-empty>i {
    color: var(--blue);
    font-size: 50px;
}

.gallery-empty h2 {
    margin: 12px 0 5px;
    font-family: "Oswald", sans-serif;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 38px;
}

.gallery-pagination a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #fff;
}

.gallery-pagination a:hover,
.gallery-pagination a.active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    z-index: 1080;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 85px 45px;
    background: rgba(3, 10, 17, .94);
    color: #fff;
}

.gallery-lightbox-content {
    display: flex;
    max-width: min(1180px, 100%);
    max-height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-lightbox-content img {
    min-height: 0;
    max-width: 100%;
    max-height: calc(100vh - 190px);
    border-radius: 6px;
    object-fit: contain;
}

.gallery-lightbox-content h2 {
    margin: 15px 0 2px;
    font-family: "Oswald", sans-serif;
}

.gallery-lightbox-content p {
    display: inline;
    margin-right: 15px;
}

.gallery-lightbox-content span {
    color: #b9c3cb;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    color: #fff;
}

.gallery-lightbox-close {
    top: 22px;
    right: 25px;
    width: 44px;
    height: 44px;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
}

.gallery-lightbox-prev {
    left: 22px;
}

.gallery-lightbox-next {
    right: 22px;
}

.gallery-lightbox-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .gallery-albums {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-album-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    .gallery-album-featured .gallery-album-content strong {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .gallery-page {
        padding: 38px 0 55px;
    }
    .gallery-filters {
        gap: 9px;
        margin: 25px 0;
    }
    .gallery-filter {
        flex: 1 1 calc(50% - 9px);
        min-width: 0;
        padding: 7px 10px;
    }
    .gallery-albums {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 15px;
    }
    .gallery-album-featured {
        grid-column: auto;
    }
    .gallery-album-featured .gallery-album-content strong,
    .gallery-album-content strong {
        font-size: 27px;
    }
    .gallery-lightbox {
        padding: 70px 15px 35px;
    }
    .gallery-lightbox-prev {
        left: 8px;
    }
    .gallery-lightbox-next {
        right: 8px;
    }
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f9f6ef;
    color: var(--ink);
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    max-width: 1160px
}

.topbar {
    height: 38px;
    background: linear-gradient(90deg, #0879c5, #005aa1);
    color: #fff;
    font-size: 12px
}

.topbar .container {
    height: 100%
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 40px
}

.topbar i {
    margin-right: 7px
}

.topbar .bi-star-fill {
    color: var(--yellow)
}

.topbar a {
    color: #fff
}

.member-link {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 27px;
    background: var(--yellow);
    font-weight: 700;
    text-transform: uppercase
}

.site-header {
    background: #fff
}

.navbar {
    min-height: 128px;
    padding: 0
}

.navbar-brand img {
    width: 145px;
    height: 122px;
    object-fit: contain
}

.navbar-nav {
    gap: 17px
}

.nav-link {
    padding: 51px 0 42px !important;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #202020 !important;
    position: relative;
    white-space: nowrap
}

.nav-link.active:after,
.nav-link:hover:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    height: 2px;
    background: var(--blue)
}

.dropdown-menu {
    border: 0;
    border-radius: 3px;
    box-shadow: 0 10px 25px #0002
}

.hero {
    position: relative;
    height: 570px;
    overflow: hidden;
    background: #0b2638
}

.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    width: min(1160px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 0 55px;
    pointer-events: none
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-family: "Rye", serif;
    font-size: clamp(46px, 4.6vw, 68px);
    line-height: 1.06;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .35)
}

.hero h1 span {
    color: var(--blue)
}

.western-separator {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 85px;
    margin: 14px 0 6px;
    color: var(--yellow)
}

.western-separator span {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, .75)
}

.hero-tagline {
    margin: 5px 0 20px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(22px, 2vw, 29px);
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5)
}

.hero-text {
    margin: 0;
    color: rgba(255, 255, 255, .94);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5)
}

.hero-actions {
    display: flex;
    gap: 18px;
    margin-top: 27px;
    pointer-events: auto
}

.hero-actions .btn {
    padding: 14px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18)
}

.hero-actions .btn-outline-warning {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(4, 40, 63, .24);
    color: #fff;
    backdrop-filter: blur(5px)
}

.hero-actions .btn-outline-warning:hover {
    border-color: var(--yellow);
    background: var(--yellow);
    color: #2c2a24
}

.btn {
    border-radius: 3px;
    padding: 13px 20px;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue)
}

.btn-outline-warning {
    color: #ae7422;
    border-color: #d7a92e
}

.hero-slider {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: #17202a
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100%
}

.hero-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 6s ease
}

.hero-slider .carousel-item.active .hero-slide-image {
    transform: scale(1.07)
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 27, 44, .94) 0%, rgba(3, 31, 51, .8) 32%, rgba(3, 27, 44, .28) 64%, rgba(3, 24, 39, .08) 100%), linear-gradient(0deg, rgba(2, 22, 36, .45), transparent 48%)
}

.hero-slider-indicators {
    right: 0;
    bottom: 25px;
    left: 0;
    justify-content: center;
    margin: 0;
    gap: 8px
}

.hero-slider-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    opacity: .85;
    transition: width .2s ease, border-radius .2s ease, background .2s ease
}

.hero-slider-indicators .active {
    width: 28px;
    border-radius: 8px;
    background: var(--yellow);
    opacity: 1
}

.hero-slider-control {
    top: 50%;
    bottom: auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(0, 45, 77, .56);
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s ease, background .2s ease
}

.hero-slider-control.carousel-control-prev {
    left: 22px
}

.hero-slider-control.carousel-control-next {
    right: 22px
}

.hero-slider:hover .hero-slider-control,
.hero-slider-control:focus-visible {
    opacity: 1
}

.hero-slider-control:hover {
    background: rgba(0, 107, 182, .92)
}

.hero-slider-control .carousel-control-prev-icon,
.hero-slider-control .carousel-control-next-icon {
    width: 18px;
    height: 18px
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide-image {
        transition: none;
        transform: none !important
    }
}

.quick-wrap {
    padding: 34px 0 16px
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    box-shadow: 0 4px 14px #493b2417
}

.quick-links>a {
    display: flex;
    gap: 18px;
    padding: 28px 23px;
    border-right: 1px solid var(--border)
}

.quick-links>a:last-child {
    border: 0
}

.home-quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-quick-links > a:nth-child(2) {
    border-right: 1px solid var(--border);
}

.schedule-section .course-head,
.schedule-section .course-row {
    grid-template-columns: 90px minmax(0, 1fr);
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .home-quick-links.home-quick-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .home-quick-links > a {
        flex-direction: column;
    }
}

.quick-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 25px
}

.quick-icon.blue {
    background: var(--blue)
}

.quick-icon.green {
    background: var(--green)
}

.quick-icon.brown {
    background: var(--brown)
}

.quick-icon.yellow {
    background: var(--yellow)
}

.quick-links strong {
    display: block;
    color: var(--blue-dark);
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    text-transform: uppercase
}

.quick-links small {
    display: block;
    margin: 8px 0 13px;
    line-height: 1.35
}

.quick-links b {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--blue)
}

.home-section {
    padding: 26px 0
}

.schedule-section {
    padding-top: 14px
}

.title-row,
.center-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px
}

.title-row h2,
.center-title h2,
.association-panel h2 {
    margin: 0;
    color: var(--blue-dark);
    font-family: "Oswald", sans-serif;
    font-size: 23px;
    font-weight: 600;
    text-transform: uppercase
}

.title-row>i,
.center-title>i,
.association-copy>i {
    color: var(--yellow);
    font-size: 10px
}

.title-row>span,
.center-title>span {
    height: 1px;
    width: 43px;
    background: #7cb49a
}

.title-row>a,
.center-title>a {
    margin-left: auto;
    color: #9c5b25;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.course-head,
.course-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1.6fr) minmax(95px, 1fr);
    align-items: center
}

.course-head {
    padding: 0 10px 11px;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.course-row {
    min-height: 67px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 13px
}

.green-text {
    color: #5b9c66
}

.orange-text {
    color: #c06a2f
}

.blue-text {
    color: #1672b2
}

.level {
    display: inline-block;
    border-radius: 2px;
    padding: 4px 8px;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase
}

.level.green {
    background: #72aa6a
}

.level.orange {
    background: #b96d35
}

.level.blue {
    background: #2376ad
}

.level.yellow {
    background: #e2a91c
}

.event-column {
    border-left: 1px solid var(--border);
    padding-left: 35px
}

.event-item {
    display: grid;
    grid-template-columns: 61px 1fr 112px;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px
}

.date-box {
    height: 57px;
    border: 1px solid #cda478;
    border-radius: 4px;
    display: grid;
    place-content: center;
    text-align: center;
    color: #333
}

.date-box strong {
    font-family: "Oswald", sans-serif;
    font-size: 23px;
    line-height: 1
}

.date-box span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.blue-date {
    border-color: #61a4cc;
    color: #0871b5
}

.event-item h3 {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 17px;
    text-transform: uppercase
}

.event-item p {
    margin: 2px 0 0;
    font-size: 12px
}

.event-item p i {
    margin-right: 4px;
    color: #1873a6
}

.event-item .event-period {
    color: #40535d;
    font-weight: 600
}

.event-item .event-location {
    color: #68777e
}

.event-item img {
    width: 112px;
    height: 58px;
    object-fit: cover;
    border-radius: 5px
}

.center-title {
    justify-content: center;
    position: relative
}

.center-title>a {
    position: absolute;
    right: 0
}

.dance-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px
}

.dance-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 9px #00000012
}

.dance-card>img {
    width: 100%;
    height: 92px;
    object-fit: cover
}

.dance-card>div {
    padding: 8px 10px
}

.dance-card h3 {
    margin: 0 0 5px;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    text-transform: uppercase
}

.dance-card p {
    display: flex;
    gap: 13px;
    margin: 10px 0 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase
}

.dance-card p i {
    margin-right: 3px
}

.gallery-section {
    padding-top: 36px
}

.gallery-grid img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 5px #0002
}

.association-section {
    padding: 34px 0 42px;
    background: #ffffff;
}

.association-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(420px, 1.5fr) minmax(180px, 1fr);
    align-items: end;
    min-height: 235px;
    overflow: hidden;
    border: 1px solid #eadbc1;
    border-radius: 16px;
    background: linear-gradient( 90deg, rgba(255, 248, 232, 0.96) 0%, rgba(255, 252, 243, 0.98) 50%, rgba(255, 248, 232, 0.96) 100%);
    box-shadow: 0 10px 28px rgba(72, 52, 30, 0.08);
}

.association-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image: radial-gradient( circle at 20% 30%, rgba(152, 117, 72, 0.08) 0, rgba(152, 117, 72, 0.08) 1px, transparent 1.5px);
    background-size: 16px 16px;
}

.association-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 30px 20px 28px;
    text-align: center;
}

.association-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2px;
}

.association-title span {
    width: 42px;
    height: 1px;
    background: #b28c4e;
}

.association-title h2 {
    margin: 0;
    color: #165d8d;
    font-family: "Rye", serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.association-star {
    display: block;
    margin: 7px 0 12px;
    color: #e9a51e;
    font-size: 11px;
}

.association-copy p {
    margin: 0 0 7px;
    color: #353535;
    font-size: 14px;
    line-height: 1.55;
}

.association-button {
    margin-top: 10px;
    padding: 7px 22px;
    border-width: 2px;
    border-radius: 4px;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.association-decoration {
    position: relative;
    z-index: 1;
    align-self: end;
    height: 100%;
    pointer-events: none;
}

.association-decoration img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.association-decoration-left {
    padding: 8px 0 0 5px;
}

.association-decoration-left img {
    max-height: 220px;
    object-position: left bottom;
}

.association-decoration-right {
    padding: 10px 5px 0 0;
}

.association-decoration-right img {
    max-height: 220px;
    object-position: right bottom;
}

@media (max-width: 991.98px) {
    .association-panel {
        grid-template-columns: 180px minmax(0, 1fr) 150px;
        min-height: 225px;
    }
    .association-copy {
        padding-right: 5px;
        padding-left: 5px;
    }
    .association-title h2 {
        font-size: 25px;
    }
    .association-copy p {
        font-size: 13px;
    }
    .association-copy p br {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .association-panel {
        display: block;
        min-height: 0;
        padding: 28px 20px 32px;
    }
    .association-copy {
        padding: 0;
    }
    .association-decoration {
        display: none;
    }
    .association-title h2 {
        font-size: 24px;
    }
    .association-title span {
        width: 28px;
    }
    .association-copy p {
        font-size: 14px;
    }
    .association-button {
        margin-top: 14px;
    }
}

.site-footer {
    background: linear-gradient(180deg, #075d98, #034f84);
    color: #fff;
    padding-top: 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.35fr 1fr 1fr;
    gap: 40px;
    padding: 10px 0 28px
}

.footer-logo {
    width: 170px
}

.site-footer h3 {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    text-transform: uppercase
}

.site-footer p,
.site-footer a,
.site-footer span {
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 1.7
}

.copyright {
    padding: 13px;
    border-top: 1px solid #ffffff24;
    text-align: center;
    font-size: 11px
}

.copyright i {
    color: var(--yellow)
}

@media(max-width:1199px) {
    .navbar {
        min-height: 90px
    }
    .navbar-brand img {
        width: 105px;
        height: 82px
    }
    .nav-link {
        padding: 10px !important
    }
    .hero-copy {
        width: min(calc(100% - 48px), 960px)
    }
    .hero h1 {
        font-size: 44px
    }
    .quick-links {
        grid-template-columns: repeat(2, 1fr)
    }
    .quick-links>a:nth-child(2) {
        border-right: 0
    }
    .dance-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:767px) {
    .topbar {
        height: auto
    }
    .topbar .container,
    .topbar-left {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 4px;
        padding: 5px 12px
    }
    .member-link {
        height: 32px;
        padding: 0 10px
    }
    .hero {
        height: 590px
    }
    .hero-copy {
        width: calc(100% - 40px);
        justify-content: flex-end;
        padding: 45px 0 76px
    }
    .hero-slider {
        height: 100%
    }
    .hero-slide-overlay {
        background: linear-gradient(0deg, rgba(2, 24, 39, .98) 0%, rgba(2, 27, 44, .82) 52%, rgba(2, 25, 41, .2) 100%)
    }
    .hero-slider-indicators {
        bottom: 23px
    }
    .hero-slider-control {
        display: none
    }
    .hero h1 {
        font-size: clamp(39px, 12vw, 54px)
    }
    .hero-tagline {
        margin-bottom: 13px;
        font-size: 21px
    }
    .hero-text {
        font-size: 15px
    }
    .hero-actions {
        width: 100%;
        gap: 10px;
        margin-top: 20px
    }
    .hero-actions .btn {
        flex: 1;
        padding: 12px 10px
    }
    .quick-links {
        grid-template-columns: 1fr
    }
    .quick-links>a {
        border-right: 0;
        border-bottom: 1px solid var(--border)
    }
    .course-head {
        display: none
    }
    .course-row {
        grid-template-columns: 80px 1fr;
        gap: 8px
    }
    .event-column {
        border: 0;
        padding-left: 12px
    }
    .dance-grid,
    .gallery-grid {
        grid-template-columns: 1fr
    }
    .center-title>a {
        display: none
    }
    .association-panel {
        grid-template-columns: 1fr
    }
    .cactus {
        display: none
    }
    .association-copy {
        border: 0;
        border-bottom: 1px solid var(--border)
    }
    .radio-copy {
        padding: 25px
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
    .hero h1 {
        font-size: 40px
    }
}

@media(max-width:480px) {
    .footer-grid {
        grid-template-columns: 1fr
    }
    .event-item {
        grid-template-columns: 55px 1fr
    }
    .event-item img {
        display: none
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start
    }
}

.error-404 {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #d9943e;
    display: flex;
    align-items: stretch;
}

.error-404-background {
    position: absolute;
    inset: 0;
    background-image: url('../medias/404-western.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
}

.error-404-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(255, 248, 234, 0.08) 0%, rgba(255, 229, 182, 0.06) 45%, rgba(66, 28, 5, 0.14) 100%);
    z-index: 2;
}

.error-404-container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 35px;
    padding-bottom: 70px;
}

.error-404-content {
    width: 100%;
    max-width: 760px;
    text-align: center;
    color: #342013;
    padding: 15px 30px;
}

.error-404-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 4px;
}

.error-404-number strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(110px, 13vw, 190px);
    font-weight: 900;
    line-height: 0.85;
    color: #3b2012;
    letter-spacing: 4px;
    text-shadow: 0 3px 0 rgba(255, 236, 196, 0.35), 0 8px 18px rgba(69, 28, 5, 0.25);
}

.error-404-star {
    font-size: 28px;
    color: #6b3b17;
    transform: translateY(8px);
}

.error-404-content h1 {
    margin: 8px 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    color: #402414;
    text-shadow: 0 2px 0 rgba(255, 244, 218, 0.4);
}

.error-404-content h1 span {
    display: block;
    margin-top: 3px;
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 1.15em;
    font-weight: 500;
    text-transform: none;
    color: #a54c0c;
}

.error-404-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 12px auto 14px;
    color: #8d4e1c;
}

.error-404-separator span {
    width: 72px;
    height: 1px;
    background: #8d4e1c;
}

.error-404-separator i {
    font-size: 12px;
}

.error-404-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
    color: #3b281c;
    text-shadow: 0 1px 0 rgba(255, 248, 228, 0.55);
}

.error-404-text p {
    margin: 0 0 7px;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 345px;
    margin-top: 330px;
    padding: 17px 28px;
    border: 3px solid #713908;
    border-radius: 6px;
    background: #efad25;
    box-shadow: inset 0 0 0 2px rgba(255, 224, 103, 0.75), 0 5px 0 #6f3508, 0 10px 22px rgba(55, 24, 3, 0.28);
    color: #4b270c;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.error-404-button:hover {
    background: #ffc03d;
    color: #3e1d07;
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 2px rgba(255, 232, 128, 0.9), 0 7px 0 #6f3508, 0 13px 25px rgba(55, 24, 3, 0.3);
}

.error-404-button:active {
    transform: translateY(3px);
    box-shadow: inset 0 0 0 2px rgba(255, 232, 128, 0.9), 0 2px 0 #6f3508, 0 6px 12px rgba(55, 24, 3, 0.22);
}

.error-404-button i {
    font-size: 24px;
}

@media (max-width: 991.98px) {
    .error-404 {
        min-height: 700px;
    }
    .error-404-background {
        background-position: center bottom;
    }
    .error-404-container {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    .error-404-content {
        max-width: 680px;
    }
    .error-404-text {
        font-size: 17px;
    }
    .error-404-button {
        margin-top: 285px;
    }
}

@media (max-width: 767.98px) {
    .error-404 {
        min-height: 670px;
    }
    .error-404-background {
        background-position: 50% bottom;
    }
    .error-404-shade {
        background: linear-gradient( to bottom, rgba(255, 244, 220, 0.25) 0%, rgba(255, 235, 199, 0.16) 42%, rgba(58, 24, 5, 0.2) 100%);
    }
    .error-404-container {
        padding-top: 18px;
        padding-bottom: 38px;
    }
    .error-404-content {
        padding: 10px 15px;
    }
    .error-404-number {
        gap: 15px;
    }
    .error-404-star {
        font-size: 20px;
    }
    .error-404-content h1 {
        font-size: 34px;
    }
    .error-404-text {
        font-size: 15px;
        line-height: 1.45;
    }
    .error-404-text br {
        display: none;
    }
    .error-404-button {
        min-width: 0;
        width: auto;
        max-width: 100%;
        margin-top: 280px;
        padding: 14px 20px;
        font-size: 16px;
    }
    .error-404-button i {
        font-size: 20px;
    }
}

@media (max-width: 479.98px) {
    .error-404 {
        min-height: 620px;
    }
    .error-404-background {
        background-position: 52% bottom;
    }
    .error-404-number strong {
        font-size: 90px;
    }
    .error-404-star {
        display: none;
    }
    .error-404-content h1 {
        font-size: 28px;
    }
    .error-404-text {
        font-size: 14px;
    }
    .error-404-button {
        margin-top: 255px;
        font-size: 14px;
        letter-spacing: 0;
    }
}

.page-content {
    padding: 60px 0 80px;
    min-height: 450px;
    background: #faf8f5;
}

.page-content h1 {
    margin-bottom: 30px;
    font-size: 48px;
    color: #154f80;
}

.page-description {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    min-height: 250px;
}

.empty-page-message {
    text-align: center;
    padding: 80px 20px;
    color: #777;
}

.empty-page-message i {
    font-size: 64px;
    color: #f1b51c;
    display: block;
    margin-bottom: 20px;
}

.empty-page-message h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #154f80;
}

.protected-page {
    padding: 80px 0;
    background: linear-gradient( 135deg, #fffaf2 0%, #f7ead6 100%);
}

.protected-page-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 42px;
    background: #fff;
    border: 1px solid #ead8bc;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(68, 39, 16, 0.12);
    text-align: center;
}

.protected-page-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1a91d;
    color: #fff;
    font-size: 30px;
}

.protected-page-card h1 {
    margin-bottom: 12px;
    color: #154f80;
    font-size: 34px;
    font-weight: 700;
}

.protected-page-intro {
    margin-bottom: 5px;
    color: #a85820;
    font-size: 18px;
    font-weight: 700;
}

.protected-page-card form {
    margin-top: 28px;
    text-align: left;
}

.protected-page-card .btn {
    width: 100%;
    margin-top: 10px;
}


/* DANSES*/

.members-dances {
    min-height: 650px;
    padding: 60px 0 90px;
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 300px);
}

.members-dances-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.members-dances-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #b46c20;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.members-dances-header h1 {
    margin: 0 0 10px;
    color: #125f95;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
}

.members-dances-header p {
    max-width: 650px;
    margin: 0;
    color: #66727a;
    font-size: 18px;
}

.members-dances-counter {
    flex: 0 0 auto;
    min-width: 170px;
    padding: 18px 22px;
    border: 1px solid #e6d5b9;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(65, 42, 20, 0.08);
    text-align: center;
}

.members-dances-counter strong {
    display: block;
    color: #d58a19;
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    line-height: 1;
}

.members-dances-counter span {
    display: block;
    margin-top: 5px;
    color: #69747b;
    font-size: 13px;
    font-weight: 600;
}

.members-dances-description {
    margin-bottom: 30px;
    padding: 24px;
    border-left: 4px solid #df9b25;
    border-radius: 0 10px 10px 0;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(65, 42, 20, 0.06);
}

.dances-filters {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 12px;
    margin-bottom: 35px;
    padding: 18px;
    border: 1px solid #eadfce;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(50, 38, 24, 0.08);
}

.dances-search {
    position: relative;
}

.dances-search i {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #8c969d;
    transform: translateY(-50%);
}

.dances-search input,
.dances-filters select {
    width: 100%;
    height: 46px;
    border: 1px solid #d8dee2;
    border-radius: 9px;
    background: #ffffff;
    color: #27323a;
    font-size: 15px;
}

.dances-search input {
    padding: 0 15px 0 43px;
}

.dances-filters select {
    padding: 0 38px 0 13px;
}

.dances-search input:focus,
.dances-filters select:focus {
    border-color: #1773ad;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(23, 115, 173, 0.13);
}

.dances-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #d8dee2;
    border-radius: 9px;
    background: #f8f9fa;
    color: #53606a;
    font-weight: 600;
    white-space: nowrap;
}

.dances-reset:hover {
    border-color: #bd741d;
    background: #fff8ed;
    color: #a35d14;
}

.dances-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 220px;
    color: #65717a;
}

.members-dances-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.member-dance-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e5e8;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(34, 50, 61, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-dance-card:hover {
    border-color: #cdd7de;
    box-shadow: 0 16px 35px rgba(34, 50, 61, 0.14);
    transform: translateY(-4px);
}

.member-dance-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 15px;
    border-bottom: 1px solid #edf0f2;
    background: #fbfcfd;
}

.dance-level,
.dance-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dance-level {
    padding: 5px 8px;
    border-radius: 20px;
    background: #eaf4e7;
    color: #4c8a40;
}

.dance-level-novice {
    background: #fff2d8;
    color: #b87712;
}

.dance-level-intermediaire,
.dance-level-avancé {
    background: #f8e7e2;
    color: #a9543c;
}

.dance-level-partner {
    background: #e6f0fb;
    color: #286fa6;
}

.dance-type {
    color: #77838b;
}

.member-dance-card-body {
    flex: 1;
    padding: 20px 18px;
}

.dance-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #e7f2fa;
    color: #12689f;
    font-size: 19px;
}

.member-dance-card h2 {
    margin: 0 0 10px;
    color: #25323a;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.dance-choreographer {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-height: 40px;
    margin: 0 0 14px;
    color: #737e85;
    font-size: 14px;
}

.dance-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    color: #707b82;
    font-size: 13px;
}

.dance-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.member-dance-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 15px;
    border-top: 1px solid #edf0f2;
    background: #fbfcfd;
}

.dance-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.dance-action-pdf {
    background: #fbe9e7;
    color: #b94738;
}

.dance-action-video {
    background: #e8f2fb;
    color: #216eaa;
}

.dance-action-music {
    background: #f6edfb;
    color: #8551a1;
}

.dance-action:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}

.dance-no-resource {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #929ba1;
    font-size: 12px;
    font-style: italic;
}

.dances-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dances-empty i {
    margin-bottom: 12px;
    color: #d59736;
    font-size: 42px;
}

.dances-empty strong {
    color: #2d3b44;
    font-size: 20px;
}

.dances-empty span {
    margin-top: 5px;
}

.dances-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 42px;
}

.dances-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 11px;
    border: 1px solid #d8dfe3;
    border-radius: 8px;
    background: #ffffff;
    color: #4b5962;
    font-weight: 700;
}

.dances-pagination button:hover:not(:disabled),
.dances-pagination button.active {
    border-color: #126da6;
    background: #126da6;
    color: #ffffff;
}

.dances-pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.dances-pagination span {
    padding: 0 4px;
    color: #8b959b;
}

@media (max-width: 1199.98px) {
    .dances-filters {
        grid-template-columns: repeat(3, 1fr);
    }
    .dances-search {
        grid-column: span 2;
    }
    .members-dances-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .members-dances-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dances-filters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .members-dances {
        padding: 40px 0 65px;
    }
    .members-dances-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .members-dances-counter {
        width: 100%;
    }
    .dances-filters {
        grid-template-columns: 1fr;
    }
    .dances-search {
        grid-column: auto;
    }
    .members-dances-grid {
        grid-template-columns: 1fr;
    }
}


/* DANSES*/

.contact-page {
    padding: 15px 0 35px;
}

.contact-intro {
    max-width: 760px;
    margin-bottom: 35px;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #c78322;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.contact-intro h2 {
    margin: 0 0 12px;
    color: #145f93;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    text-transform: uppercase;
}

.contact-intro p {
    margin: 0;
    color: #65727a;
    font-size: 17px;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.contact-map {
    min-height: 580px;
    overflow: hidden;
    border: 1px solid #e2d7c6;
    border-radius: 18px;
    background: #f3eee7;
    box-shadow: 0 14px 38px rgba(45, 50, 54, 0.11);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 580px;
    border: 0;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #e4e7e9;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(45, 50, 54, 0.1);
}

.contact-panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf0f2;
}

.contact-panel-icon {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f4ad28;
    color: #ffffff;
    font-size: 23px;
}

.contact-panel-header h3 {
    margin: 0 0 4px;
    color: #194f78;
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-panel-header p {
    margin: 0;
    color: #76828a;
    font-size: 14px;
    line-height: 1.4;
}

.contact-details {
    padding: 24px 0;
    border-bottom: 1px solid #edf0f2;
}

.contact-detail {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: flex-start;
}

.contact-detail+.contact-detail {
    margin-top: 21px;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #edf6fb;
    color: #176a9e;
    font-size: 17px;
}

.contact-detail span {
    display: block;
    margin-bottom: 3px;
    color: #8b959b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.contact-detail strong {
    display: block;
    color: #303b42;
    font-size: 16px;
}

.contact-detail p {
    margin: 3px 0 0;
    color: #68747b;
    font-size: 14px;
    line-height: 1.5;
}

.contact-detail a {
    color: #176a9e;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    color: #c3791d;
    text-decoration: underline;
}

.contact-team {
    padding: 24px 0;
}

.contact-team h3 {
    margin: 0 0 15px;
    color: #194f78;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-person {
    padding: 10px 0;
}

.contact-person+.contact-person {
    border-top: 1px dashed #e2e6e8;
}

.contact-person-role {
    display: block;
    margin-bottom: 2px;
    color: #b06a1d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-person strong {
    color: #39444a;
    font-size: 15px;
}

.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.contact-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-map,
    .contact-map iframe {
        min-height: 430px;
    }
}

@media (max-width: 575.98px) {
    .contact-page {
        padding-top: 5px;
    }
    .contact-intro {
        margin-bottom: 24px;
    }
    .contact-intro p {
        font-size: 15px;
    }
    .contact-map,
    .contact-map iframe {
        min-height: 340px;
    }
    .contact-map,
    .contact-panel {
        border-radius: 13px;
    }
    .contact-panel {
        padding: 22px 18px;
    }
    .contact-panel-header {
        align-items: flex-start;
    }
    .contact-panel-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 19px;
    }
}


/* mes choreographies */

.choreographies-page {
    min-height: 600px;
    padding: 60px 0 90px;
    background: linear-gradient(180deg, #fffaf2 0, #fff 320px);
}

.choreographies-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.choreographies-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #b66e1d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.choreographies-header h1 {
    margin: 0 0 10px;
    color: #155f92;
    font-family: "Oswald", sans-serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
}

.choreographies-header p {
    max-width: 680px;
    margin: 0;
    color: #66737b;
    font-size: 17px;
}

.choreographies-count {
    flex: 0 0 auto;
    min-width: 160px;
    padding: 18px 22px;
    border: 1px solid #e5d6be;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(55, 40, 24, .08);
    text-align: center;
}

.choreographies-count strong {
    display: block;
    color: #d58b1b;
    font-family: "Oswald", sans-serif;
    font-size: 38px;
    line-height: 1;
}

.choreographies-count span {
    color: #758087;
    font-size: 13px;
    font-weight: 600;
}

.choreographies-description {
    margin-bottom: 28px;
    padding: 22px;
    border-left: 4px solid #d89a2c;
    border-radius: 0 12px 12px 0;
    background: #fff;
}

.choreographies-filters {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) 1fr 1fr auto auto;
    gap: 12px;
    margin-bottom: 32px;
    padding: 17px;
    border: 1px solid #e4ddd2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(39, 47, 52, .08);
}

.choreographies-search {
    position: relative;
}

.choreographies-search i {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #89949b;
    transform: translateY(-50%);
}

.choreographies-search input,
.choreographies-filters select {
    width: 100%;
    height: 46px;
    border: 1px solid #d8dee2;
    border-radius: 9px;
    background: #fff;
}

.choreographies-search input {
    padding: 0 15px 0 42px;
}

.choreographies-filters select {
    padding: 0 38px 0 13px;
}

.choreographies-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.choreography-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e5e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 50, 61, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.choreography-card:hover {
    box-shadow: 0 16px 35px rgba(34, 50, 61, .14);
    transform: translateY(-4px);
}

.choreography-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 15px;
    border-bottom: 1px solid #edf0f2;
    background: #fbfcfd;
}

.choreography-level {
    padding: 5px 9px;
    border-radius: 20px;
    background: #eaf4e7;
    color: #4d8844;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.choreography-level-novice {
    background: #fff0d5;
    color: #b77817;
}

.choreography-level-intermediaire,
.choreography-level-avance {
    background: #f8e7e2;
    color: #a95640;
}

.choreography-type {
    color: #77838b;
    font-size: 12px;
    font-weight: 600;
}

.choreography-card-body {
    flex: 1;
    padding: 20px 18px;
}

.choreography-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #e8f2f9;
    color: #156a9f;
    font-size: 19px;
}

.choreography-card h2 {
    margin: 0 0 10px;
    color: #27343c;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.choreography-author {
    display: flex;
    gap: 6px;
    margin: 0 0 14px;
    color: #737e85;
    font-size: 14px;
}

.choreography-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #727d84;
    font-size: 13px;
}

.choreography-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.choreography-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 15px;
    border-top: 1px solid #edf0f2;
    background: #fbfcfd;
}

.choreography-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.choreography-action-pdf {
    background: #fbe9e7;
    color: #b94738;
}

.choreography-action-video {
    background: #e8f2fb;
    color: #216eaa;
}

.choreography-action-music {
    background: #f5ebfa;
    color: #82519c;
}

.choreography-no-resource {
    color: #929ba1;
    font-size: 12px;
    font-style: italic;
}

.choreographies-empty {
    padding: 75px 20px;
    border-radius: 15px;
    background: #fff;
    text-align: center;
}

.choreographies-empty i {
    display: block;
    margin-bottom: 15px;
    color: #d69634;
    font-size: 45px;
}

@media (max-width: 991.98px) {
    .choreographies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .choreographies-filters {
        grid-template-columns: repeat(2, 1fr);
    }
    .choreographies-search {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .choreographies-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .choreographies-count {
        width: 100%;
    }
    .choreographies-filters {
        grid-template-columns: 1fr;
    }
    .choreographies-search {
        grid-column: auto;
    }
    .choreographies-grid {
        grid-template-columns: 1fr;
    }
}

.event-item-content {
    min-width: 0;
}

.event-item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 4px;
}

.event-type-badge,
.event-external-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.event-type-badge {
    background: #e8f3fa;
    color: #176e9f;
}

.event-external-badge {
    background: #fff0da;
    color: #a86418;
}

.event-time {
    color: #1672a8;
    font-weight: 700;
    white-space: nowrap;
}

.event-empty {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 95px;
    padding: 18px;
    border: 1px dashed #d9cfbf;
    border-radius: 8px;
    background: #fffaf3;
    color: #6d7377;
}

.event-empty>i {
    color: #d09a3d;
    font-size: 31px;
}

.event-empty h3 {
    margin: 0 0 3px;
    color: #225f86;
    font-family: "Oswald", sans-serif;
    font-size: 17px;
    text-transform: uppercase;
}

.event-empty p {
    margin: 0;
    font-size: 13px;
}

.event-image-button {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 112px;
    height: 62px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: zoom-in;
}

.event-image-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.event-image-button:hover img,
.event-image-button:focus-visible img {
    filter: brightness(0.75);
    transform: scale(1.08);
}

.event-image-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 71, 105, 0.25);
    color: #ffffff;
    font-size: 23px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.event-image-button:hover .event-image-zoom,
.event-image-button:focus-visible .event-image-zoom {
    opacity: 1;
}

.event-image-button:focus-visible {
    outline: 3px solid rgba(21, 111, 167, 0.35);
    outline-offset: 3px;
}

.event-image-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.event-image-modal .modal-header {
    border-bottom: 1px solid #e8edf0;
}

.event-image-modal .modal-body {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #f5f1e9;
}

.event-image-modal .modal-body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    border-radius: 8px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .event-image-button {
        width: 88px;
        height: 56px;
    }
    .event-image-modal .modal-dialog {
        margin: 10px;
    }
    .event-image-modal .modal-body {
        padding: 8px;
    }
}

.dance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.dance-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e3e5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(31, 45, 54, 0.09);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dance-card:hover {
    box-shadow: 0 15px 34px rgba(31, 45, 54, 0.15);
    transform: translateY(-4px);
}

.dance-card-visual {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e7e9ea;
}

.dance-card-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.dance-card:hover .dance-card-visual img {
    filter: brightness(0.82);
    transform: scale(1.04);
}

.dance-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #c8312f;
    font-size: 29px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.dance-card:hover .dance-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.dance-card-content {
    flex: 1;
    padding: 16px 16px 14px;
}

.dance-card-content h3 {
    margin: 0 0 8px;
    color: #26343c;
    font-family: "Oswald", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.dance-card-author {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 12px;
    color: #79848a;
    font-size: 13px;
}

.dance-card-author i {
    color: #1770a5;
}

.dance-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dance-card-badges .level {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dance-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    min-height: 47px;
    padding: 12px 16px;
    border-top: 1px solid #edf0f2;
    background: #fafbfc;
}

.dance-card-actions a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #52616a;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.dance-card-actions a:hover {
    color: #126da3;
}

.dance-card-actions .bi-file-earmark-pdf {
    color: #c74439;
}

.dance-card-actions .bi-youtube {
    color: #d83832;
}

.dance-card-actions .bi-music-note-beamed {
    color: #8b55a2;
}

.dance-card-no-resource {
    color: #929a9f;
    font-size: 12px;
    font-style: italic;
}

@media (max-width: 1199.98px) {
    .dance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dance-grid {
        grid-template-columns: 1fr;
    }
    .dance-card-content h3 {
        font-size: 18px;
    }
}

.association-page {
    padding-bottom: 25px;
}

.association-introduction {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #eadbc5;
    border-radius: 18px;
    background: linear-gradient(120deg, #fff 0%, #fffaf1 58%, #f4e3c7 100%);
    box-shadow: 0 16px 42px rgba(64, 45, 25, .1);
}

.association-introduction-content {
    align-self: center;
    padding: 55px 60px;
}

.association-eyebrow,
.association-section-kicker {
    display: inline-block;
    color: #b76d1c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.association-introduction h2 {
    max-width: 700px;
    margin: 10px 0 18px;
    color: #155c8b;
    font-family: "Oswald", sans-serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.association-introduction-content>p {
    max-width: 680px;
    color: #59666e;
    font-size: 16px;
    line-height: 1.7;
}

.association-introduction-content .association-lead {
    color: #344149;
    font-size: 19px;
    font-weight: 600;
}

.association-introduction-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.association-introduction-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.association-introduction-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    overflow: hidden;
}

.association-introduction-visual::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .58);
}

.association-introduction-visual img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    object-position: center bottom;
}

.association-year {
    position: absolute;
    top: 35px;
    right: 35px;
    z-index: 3;
    padding: 13px 17px;
    border: 1px solid rgba(154, 100, 39, .23);
    border-radius: 10px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 8px 22px rgba(77, 50, 24, .1);
    text-align: center;
}

.association-year strong {
    display: block;
    color: #d18a1c;
    font-family: "Oswald", sans-serif;
    font-size: 27px;
    line-height: 1;
}

.association-year span {
    display: block;
    margin-top: 4px;
    color: #6b5c4b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.association-values,
.association-activities,
.association-team {
    padding: 75px 0 15px;
}

.association-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 35px;
    text-align: center;
}

.association-section-heading>div {
    max-width: 650px;
}

.association-section-heading h2 {
    margin: 4px 0 0;
    color: #155c8b;
    font-family: "Oswald", sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
}

.association-section-line {
    width: 65px;
    height: 1px;
    background: #c7a878;
}

.association-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.association-value-card {
    padding: 28px 23px;
    border: 1px solid #e6e5e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(40, 50, 56, .07);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.association-value-card:hover {
    box-shadow: 0 15px 35px rgba(40, 50, 56, .12);
    transform: translateY(-4px);
}

.association-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #ecf5fa;
    color: #166b9e;
    font-size: 23px;
}

.association-value-card:nth-child(2) .association-value-icon {
    background: #fff1d9;
    color: #c27b18;
}

.association-value-card:nth-child(3) .association-value-icon {
    background: #ebf5e8;
    color: #518d45;
}

.association-value-card:nth-child(4) .association-value-icon {
    background: #f7eae5;
    color: #ad5c42;
}

.association-value-card h3 {
    margin: 0 0 10px;
    color: #28383f;
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.association-value-card p {
    margin: 0;
    color: #717c82;
    font-size: 14px;
    line-height: 1.6;
}

.association-history {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 60px;
    align-items: center;
    margin-top: 75px;
    padding: 55px;
    overflow: hidden;
    border-radius: 18px;
    background: #fbf4e8;
}

.association-history-visual {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.association-history-visual img {
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    object-position: center bottom;
}

.association-history-content>h2 {
    margin: 7px 0 30px;
    color: #155c8b;
    font-family: "Oswald", sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 700;
    text-transform: uppercase;
}

.association-timeline {
    position: relative;
    padding-left: 20px;
}

.association-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 69px;
    width: 1px;
    background: #dfc49a;
}

.association-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 26px;
}

.association-timeline-item:last-child {
    padding-bottom: 0;
}

.association-timeline-year {
    position: relative;
    z-index: 2;
    align-self: start;
    padding: 6px 8px;
    border: 1px solid #d7a75d;
    border-radius: 20px;
    background: #fffaf1;
    color: #a86418;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.association-timeline-item h3 {
    margin: 0 0 5px;
    color: #334148;
    font-size: 17px;
    font-weight: 700;
}

.association-timeline-item p {
    margin: 0;
    color: #707a80;
    font-size: 14px;
    line-height: 1.55;
}

.association-activities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.association-activity-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 30px 24px;
    overflow: hidden;
    border: 1px solid #e1e5e7;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    box-shadow: 0 8px 24px rgba(39, 50, 56, .07);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.association-activity-card:hover {
    box-shadow: 0 16px 34px rgba(39, 50, 56, .13);
    transform: translateY(-4px);
}

.association-activity-number {
    position: absolute;
    top: 10px;
    right: 15px;
    color: rgba(22, 104, 153, .08);
    font-family: "Oswald", sans-serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 1;
}

.association-activity-card>i {
    margin-bottom: 22px;
    color: #d68c1b;
    font-size: 34px;
}

.association-activity-card h3 {
    margin: 0 0 10px;
    color: #165d8d;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.association-activity-card p {
    flex: 1;
    margin: 0 0 20px;
    color: #717c82;
    font-size: 14px;
    line-height: 1.6;
}

.association-activity-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ad671a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.association-location {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 25px;
    align-items: center;
    margin-top: 75px;
    padding: 35px 40px;
    border-radius: 16px;
    background: #165f90;
    color: #fff;
    box-shadow: 0 14px 35px rgba(17, 79, 119, .2);
}

.association-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #ffc04b;
    font-size: 30px;
}

.association-location .association-section-kicker {
    color: #ffd27c;
}

.association-location h2 {
    margin: 4px 0 8px;
    font-family: "Oswald", sans-serif;
    font-size: 29px;
    text-transform: uppercase;
}

.association-location-content>p {
    margin: 0 0 13px;
    color: rgba(255, 255, 255, .8);
}

.association-location-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
    font-size: 14px;
}

.association-location .btn {
    border-color: rgba(255, 255, 255, .75);
    color: #fff;
}

.association-location .btn:hover {
    background: #fff;
    color: #165f90;
}

.association-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.association-person {
    padding: 25px 18px;
    border: 1px solid #e3e6e8;
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.association-person-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #e8f3f9;
    color: #176b9d;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.association-person span {
    color: #b36b1d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.association-person h3 {
    margin: 4px 0 0;
    color: #344148;
    font-size: 16px;
}

.association-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 75px;
    padding: 42px 48px;
    border-radius: 16px;
    background: linear-gradient(110deg, #fff2d9 0%, #fae0af 100%);
}

.association-cta h2 {
    margin: 5px 0 8px;
    color: #175d8b;
    font-family: "Oswald", sans-serif;
    font-size: 31px;
    text-transform: uppercase;
}

.association-cta p {
    margin: 0;
    color: #665b4d;
}

.association-cta .btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991.98px) {
    .association-introduction {
        grid-template-columns: 1fr;
    }
    .association-introduction-visual {
        min-height: 300px;
    }
    .association-introduction-visual img {
        max-height: 290px;
    }
    .association-values-grid,
    .association-activities-grid,
    .association-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .association-history {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 35px;
        padding: 40px;
    }
    .association-location {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .association-location>.btn {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .association-introduction-content {
        padding: 38px 25px;
    }
    .association-introduction h2 {
        font-size: 37px;
    }
    .association-year {
        top: 20px;
        right: 20px;
    }
    .association-values,
    .association-activities,
    .association-team {
        padding-top: 55px;
    }
    .association-section-line {
        display: none;
    }
    .association-history {
        display: block;
        margin-top: 55px;
        padding: 30px 22px;
    }
    .association-history-visual {
        display: none;
    }
    .association-timeline {
        padding-left: 0;
    }
    .association-timeline::before {
        left: 50px;
    }
    .association-timeline-item {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 16px;
    }
    .association-location {
        display: block;
        margin-top: 55px;
        padding: 30px 24px;
        text-align: center;
    }
    .association-location-icon {
        margin: 0 auto 18px;
    }
    .association-location-address {
        justify-content: center;
        margin-bottom: 22px;
    }
    .association-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 55px;
        padding: 32px 25px;
    }
}

@media (max-width: 575.98px) {
    .association-values-grid,
    .association-activities-grid,
    .association-team-grid {
        grid-template-columns: 1fr;
    }
    .association-introduction-actions {
        flex-direction: column;
    }
    .association-introduction-actions .btn {
        justify-content: center;
        width: 100%;
    }
    .association-cta .btn {
        justify-content: center;
        width: 100%;
    }
}

.course-history-page {
    min-height: 650px;
    padding: 55px 0 90px;
    background: linear-gradient( 180deg, #fffaf1 0, #ffffff 360px);
}

.course-history-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 28px;
}

.course-history-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #b66b1b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .9px;
}

.course-history-hero h1 {
    margin: 0 0 10px;
    color: #145f91;
    font-family: "Oswald", sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.course-history-hero p {
    max-width: 690px;
    margin: 0;
    color: #68757c;
    font-size: 17px;
    line-height: 1.6;
}

.course-history-stat {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 20px 25px;
    border: 1px solid #e5d7c1;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(55, 40, 25, .08);
    text-align: center;
}

.course-history-stat strong {
    display: block;
    color: #d58a1a;
    font-family: "Oswald", sans-serif;
    font-size: 40px;
    line-height: 1;
}

.course-history-stat span {
    display: block;
    margin-top: 6px;
    color: #747f85;
    font-size: 12px;
    font-weight: 600;
}

.course-history-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 35px;
    padding: 12px;
    border: 1px solid #e3e6e8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 48, 54, .06);
}

.course-history-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #52616a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.course-history-navigation a:hover {
    background: #f3f7f9;
    color: #126b9e;
}

.course-history-navigation a.active {
    border-color: #176da1;
    background: #176da1;
    color: #ffffff;
}

.course-history-navigation-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d18a20;
}

.course-history-seasons {
    display: grid;
    gap: 18px;
}

.course-season {
    overflow: hidden;
    border: 1px solid #e0e4e6;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(36, 48, 55, .07);
}

.course-season.is-current {
    border-color: #dca24d;
    box-shadow: 0 12px 32px rgba(150, 98, 30, .12);
}

.course-season-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    width: 100%;
    padding: 20px 23px;
    border: 0;
    background: #ffffff;
    color: inherit;
    text-align: left;
}

.course-season.is-current .course-season-toggle {
    background: linear-gradient( 90deg, #fff8e9 0, #ffffff 70%);
}

.course-season-toggle:hover {
    background: #f8fafb;
}

.course-season-title small {
    display: block;
    margin-bottom: 2px;
    color: #b46c1e;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.course-season-title strong {
    color: #185f8c;
    font-family: "Oswald", sans-serif;
    font-size: 24px;
}

.course-season-meta {
    padding: 5px 10px;
    border-radius: 20px;
    background: #edf4f8;
    color: #386b89;
    font-size: 11px;
    font-weight: 700;
}

.course-season-toggle>i {
    color: #78848a;
    transition: transform .2s ease;
}

.course-season-toggle[aria-expanded="true"]>i {
    transform: rotate(180deg);
}

.course-season-content {
    padding: 10px 23px 27px;
    border-top: 1px solid #edf0f2;
}

.course-calendars {
    display: grid;
    gap: 24px;
    margin-top: 15px;
}

.course-calendar-month {
    overflow-x: auto;
    padding-bottom: 5px;
}

.course-calendar-month h2,
.course-undated h2 {
    margin: 0 0 12px;
    color: #2f3e45;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.course-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(115px, 1fr));
    min-width: 805px;
}

.course-calendar-weekdays span {
    padding: 7px 9px;
    background: #185f8c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.course-calendar-day {
    min-height: 105px;
    padding: 7px;
    border-right: 1px solid #e4e9ec;
    border-bottom: 1px solid #e4e9ec;
    background: #fbfcfd;
}

.course-calendar-day:nth-child(7n + 1) {
    border-left: 1px solid #e4e9ec;
}

.course-calendar-day.is-empty {
    background: #f3f5f6;
}

.course-calendar-day.has-course {
    background: #fff9ee;
}

.course-calendar-day>time {
    display: block;
    margin-bottom: 6px;
    color: #68767e;
    font-size: 11px;
    font-weight: 800;
}

.course-calendar-entry {
    margin-top: 5px;
    padding: 7px;
    border-left: 3px solid #d18a20;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(37, 49, 55, .08);
}

.course-calendar-entry strong,
.course-calendar-entry>span {
    display: block;
}

.course-calendar-entry strong {
    color: #24536e;
    font-size: 11px;
    line-height: 1.25;
}

.course-calendar-entry>span {
    margin-top: 2px;
    color: #7a858b;
    font-size: 9px;
}

.course-calendar-entry nav {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.course-calendar-entry nav a {
    color: #67767f;
    font-size: 13px;
}

.course-calendar-entry nav a:hover {
    color: #176d9f;
}

.course-calendar-empty {
    margin: 15px 0 0;
    color: #7a858b;
}

/* Calendrier compact : un mois visible et un cours regroupé par date */
.course-calendar {
    margin-top: 12px;
}

.course-calendar-toolbar {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: center;
    max-width: 410px;
    margin: 0 auto 12px;
}

.course-calendar-toolbar h2 {
    margin: 0;
    color: #2f3e45;
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.course-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d9e1e5;
    border-radius: 50%;
    background: #fff;
    color: #185f8c;
}

.course-calendar-nav:hover:not(:disabled) {
    border-color: #185f8c;
    background: #edf6fb;
}

.course-calendar-nav:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.course-calendar-month {
    overflow: visible;
    padding: 0;
}

.course-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
}

.course-calendar-day {
    min-height: 76px;
    padding: 5px;
}

.course-calendar-day>time {
    margin-bottom: 3px;
    font-size: 10px;
}

.course-calendar-day>time small {
    display: none;
}

.course-calendar-event {
    display: block;
    width: 100%;
    padding: 6px 7px;
    border: 0;
    border-left: 3px solid #d18a20;
    border-radius: 5px;
    background: #fff;
    color: #24536e;
    text-align: left;
    box-shadow: 0 2px 7px rgba(37, 49, 55, .08);
}

.course-calendar-event:hover {
    background: #fff5df;
}

.course-calendar-event strong,
.course-calendar-event span {
    display: block;
}

.course-calendar-event strong {
    font-size: 10px;
    text-transform: uppercase;
}

.course-calendar-event span {
    color: #78848a;
    font-size: 9px;
}

.course-details-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
}

.course-details-modal .modal-header {
    background: #fff8e9;
}

.course-details-modal .modal-header small {
    display: block;
    color: #b46c1e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.course-details-modal .modal-title {
    color: #185f8c;
    font-family: "Oswald", sans-serif;
    font-size: 23px;
    text-transform: capitalize;
}

.course-details-table {
    min-width: 690px;
    margin: 0;
}

.course-details-table th {
    color: #65727a;
    font-size: 10px;
    text-transform: uppercase;
}

.course-details-table td {
    font-size: 12px;
}

.course-details-table td:first-child {
    color: #24536e;
    font-weight: 700;
}

.course-details-resources {
    white-space: nowrap;
}

.course-details-resources a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 4px;
    border-radius: 50%;
    background: #edf4f8;
    color: #185f8c;
    text-decoration: none;
}

.course-undated {
    margin-top: 25px;
    padding: 16px 18px;
    border: 1px dashed #d6b57e;
    border-radius: 9px;
    background: #fffaf1;
}

.course-undated p {
    margin: -6px 0 10px;
    color: #7a858b;
    font-size: 12px;
}

.course-undated ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-undated li {
    padding: 5px 8px;
    border-radius: 5px;
    background: #fff;
    color: #4f606a;
    font-size: 11px;
}

.course-group+.course-group {
    margin-top: 35px;
}

.course-group-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0 17px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ecee;
}

.course-group-header span {
    display: block;
    color: #b46a1c;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.course-group-header h2 {
    margin: 2px 0 0;
    color: #2f3e45;
    font-family: "Oswald", sans-serif;
    font-size: 23px;
    text-transform: uppercase;
}

.course-group-header>strong {
    color: #778188;
    font-size: 12px;
}

.course-dances-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.course-dance-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e5e7;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(37, 49, 55, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.course-dance-card:hover {
    box-shadow: 0 13px 30px rgba(37, 49, 55, .13);
    transform: translateY(-3px);
}

.course-dance-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8edf0;
}

.course-dance-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .25s ease, transform .25s ease;
}

.course-dance-card:hover .course-dance-visual img {
    filter: brightness(.8);
    transform: scale(1.04);
}

.course-dance-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #d03932;
    font-size: 26px;
    opacity: 0;
    text-decoration: none;
    transform: translate(-50%, -50%) scale(.8);
    transition: opacity .2s ease, transform .2s ease;
}

.course-dance-card:hover .course-dance-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.course-dance-body {
    flex: 1;
    padding: 15px;
}

.course-dance-body h3 {
    margin: 0 0 7px;
    color: #2b3a41;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    line-height: 1.25;
    text-transform: uppercase;
}

.course-dance-author {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 11px;
    color: #7c868c;
    font-size: 12px;
}

.course-dance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.course-dance-badges .level {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.course-dance-bpm {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: 5px;
    background: #f0f2f3;
    color: #65727a;
    font-size: 9px;
    font-weight: 800;
}

.course-dance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-height: 45px;
    padding: 11px 15px;
    border-top: 1px solid #edf0f2;
    background: #fafbfc;
}

.course-dance-actions a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #53616a;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.course-dance-actions a:hover {
    color: #176d9f;
}

.course-dance-actions span {
    color: #929ba0;
    font-size: 11px;
    font-style: italic;
}

.course-history-empty {
    padding: 80px 25px;
    border: 1px dashed #decfb8;
    border-radius: 14px;
    background: #fffaf2;
    text-align: center;
}

.course-history-empty>i {
    display: block;
    margin-bottom: 15px;
    color: #d29431;
    font-size: 45px;
}

.course-history-empty h2 {
    margin: 0 0 7px;
    color: #1b628f;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

.course-history-empty p {
    margin: 0;
    color: #717c82;
}

@media (max-width: 1199.98px) {
    .course-dances-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .course-dances-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .course-history-page {
        padding: 40px 0 65px;
    }
    .course-history-hero {
        align-items: flex-start;
        flex-direction: column;
    }
    .course-history-stat {
        width: 100%;
    }
    .course-history-navigation {
        display: grid;
        grid-template-columns: 1fr;
    }
    .course-season-toggle {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }
    .course-season-meta {
        display: none;
    }
    .course-season-content {
        padding: 8px 15px 20px;
    }
    .course-calendar-weekdays {
        display: none;
    }
    .course-calendar-grid {
        display: block;
    }
    .course-calendar-day,
    .course-calendar-day.is-empty {
        display: none;
    }
    .course-calendar-day.has-course {
        display: grid;
        grid-template-columns: minmax(115px, .75fr) minmax(0, 1.25fr);
        gap: 10px;
        align-items: center;
        min-height: 0;
        margin-bottom: 7px;
        padding: 8px;
        border: 1px solid #e4e9ec;
        border-radius: 7px;
    }
    .course-calendar-day>time {
        margin: 0;
    }
    .course-calendar-day>time>span {
        display: none;
    }
    .course-calendar-day>time small {
        display: block;
        color: #536873;
        font-size: 11px;
        font-weight: 700;
        text-transform: capitalize;
    }
    .course-calendar-event {
        padding: 8px 10px;
    }
    .course-details-modal .modal-dialog {
        margin: .75rem;
    }
    .course-group-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 575.98px) {
    .course-dances-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-home-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: #132535;
}

.gallery-home-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-home-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    background: linear-gradient( 180deg, transparent 35%, rgba(2, 25, 41, 0.9) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-home-overlay strong {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

.gallery-home-overlay>span {
    margin-top: 7px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-home-item:hover img {
    transform: scale(1.05);
}

.gallery-home-item:hover .gallery-home-overlay,
.gallery-home-item:focus-visible .gallery-home-overlay {
    opacity: 1;
}

.gallery-home-empty {
    padding: 45px 20px;
    border: 1px dashed var(--border);
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.gallery-home-empty i {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 38px;
}

.gallery-home-empty p {
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 5px;
    background: #132535;
    cursor: zoom-in;
}

.gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 52, 86, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-thumbnail-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transform: translate(-50%, -40%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-thumbnail:hover img {
    filter: brightness(0.75);
    transform: scale(1.07);
}

.gallery-thumbnail:hover::after,
.gallery-thumbnail:focus-visible::after {
    opacity: 1;
}

.gallery-thumbnail:hover .gallery-thumbnail-icon,
.gallery-thumbnail:focus-visible .gallery-thumbnail-icon {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.gallery-thumbnail:focus-visible {
    outline: 3px solid rgba(21, 111, 167, 0.4);
    outline-offset: 3px;
}

.gallery-home-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.gallery-home-modal .modal-body {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #f5f1e9;
}

.gallery-home-modal .modal-body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    border-radius: 8px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-thumbnail {
        height: 170px;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    .gallery-thumbnail {
        height: 110px;
    }
}


/* Agenda des bals et festivals */

.agenda-page {
    padding: 58px 0 72px;
    background: #f5f1e9;
}

.agenda-header {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.agenda-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #b26b2b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-header h1 {
    margin: 0 0 13px;
    color: var(--blue-dark);
    font-family: "Oswald", sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    text-transform: uppercase;
}

.agenda-intro {
    margin: 0;
    color: #68747b;
    font-size: 17px;
}

.agenda-intro> :last-child {
    margin-bottom: 0;
}

.agenda-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 32px;
}

.agenda-filter {
    padding: 9px 18px;
    border: 1px solid #d9cbb8;
    border-radius: 999px;
    background: #fff;
    color: #536068;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.agenda-filter:hover,
.agenda-filter.active {
    border-color: #156fa7;
    background: #156fa7;
    color: #fff;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.agenda-card {
    overflow: hidden;
    border: 1px solid #e0ded8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(37, 53, 62, .09);
    transition: transform .2s ease, box-shadow .2s ease;
}

.agenda-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(37, 53, 62, .14);
}

.agenda-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e8e3da;
}

.agenda-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-card-image a {
    display: block;
    height: 100%;
}

.agenda-type {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #1875aa;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.agenda-type-festival {
    background: #b86c2d;
}

.agenda-card-body {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
}

.agenda-date {
    align-self: start;
    padding: 9px 4px;
    border: 1px solid #d3a36f;
    border-radius: 8px;
    color: #245f83;
    text-align: center;
}

.agenda-date strong,
.agenda-date span,
.agenda-date small {
    display: block;
}

.agenda-date strong {
    font: 700 27px/1 "Oswald", sans-serif;
}

.agenda-date span {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.agenda-date small {
    color: #7c858a;
    font-size: 10px;
}

.agenda-card-content h2 {
    margin: 0 0 10px;
    color: #263a46;
    font-family: "Oswald", sans-serif;
    font-size: 23px;
    text-transform: uppercase;
}

.agenda-card-content h2 a {
    color: inherit;
    text-decoration: none;
}

.agenda-card-content h2 a:hover {
    color: #176f9f;
}

.agenda-card-content p {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 5px 0;
    color: #68757c;
    font-size: 14px;
}

.agenda-card-content p i {
    color: #1773a8;
}

.agenda-card-content .agenda-organizer {
    color: #a66428;
    font-weight: 600;
}

.agenda-card-content .agenda-organizer i {
    color: #d7a22d;
}

.agenda-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    color: #a56127;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.agenda-card-link:hover {
    color: #176f9f;
}

.agenda-empty {
    padding: 65px 20px;
    border: 1px dashed #d6c7b4;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.agenda-empty>i {
    color: #d09838;
    font-size: 46px;
}

.agenda-empty h2 {
    margin: 12px 0 5px;
    color: var(--blue-dark);
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

.agenda-empty p {
    margin: 0;
    color: #748087;
}

@media (max-width: 767.98px) {
    .agenda-page {
        padding: 40px 0 52px;
    }
    .agenda-grid {
        grid-template-columns: 1fr;
    }
    .agenda-card-image {
        height: 200px;
    }
}

@media (max-width: 419.98px) {
    .agenda-card-body {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 13px;
        padding: 17px;
    }
    .agenda-card-content h2 {
        font-size: 20px;
    }
}

.event-detail-page {
    padding: 46px 0 72px;
    background: #f5f1e9;
}

.event-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    color: #216b96;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.event-detail-card {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid #dedbd4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(37, 53, 62, .12);
}

.event-detail-visual {
    min-height: 550px;
    background: #e9e4db;
}

.event-detail-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-detail-content {
    padding: clamp(30px, 5vw, 60px);
}

.event-detail-content>.agenda-type {
    position: static;
    display: inline-flex;
    margin-bottom: 17px;
}

.event-detail-content h1 {
    margin: 0 0 30px;
    color: var(--blue-dark);
    font-family: "Oswald", sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    text-transform: uppercase;
}

.event-detail-info {
    display: grid;
    gap: 4px;
}

.event-detail-info>div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ece8e1;
}

.event-detail-info i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f2f8;
    color: #1873a6;
    font-size: 18px;
}

.event-detail-info span,
.event-detail-info small,
.event-detail-info strong {
    display: block;
}

.event-detail-info small {
    color: #8a9499;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.event-detail-info strong {
    color: #384951;
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .event-detail-card {
        grid-template-columns: 1fr;
    }
    .event-detail-visual {
        min-height: 0;
        height: min(65vh, 620px);
    }
}

@media (max-width: 575.98px) {
    .event-detail-page {
        padding: 30px 0 48px;
    }
    .event-detail-card {
        border-radius: 12px;
    }
    .event-detail-visual {
        height: 420px;
    }
    .event-detail-content {
        padding: 25px 20px 30px;
    }
}


/* Portrait de Rose dans la présentation de l’association */
.association-introduction-visual.association-rose {
    align-self: stretch;
    align-items: center;
    min-height: 0;
    padding: 24px 18px;
}

.association-introduction-visual.association-rose::before {
    display: none;
}

.association-introduction-visual.association-rose img {
    /* Fondu léger sur les contours, sans recadrer le portrait */
    -webkit-mask-image:
        linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
        linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-composite: source-in;

    mask-image:
        linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
        linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
    mask-composite: intersect;
}

.association-rose .association-year {
    top: auto;
    right: 18px;
    bottom: 24px;
}

/* Lorsque le site passe la présentation sur une colonne */
@media (max-width: 991.98px) {
    .association-introduction-visual.association-rose {
        padding: 0 20px 24px;
    }

    .association-introduction-visual.association-rose img {
        max-width: 360px;
    }

    .association-rose .association-year {
        right: 20px;
        bottom: 24px;
    }
}
