/* Poppins — latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-900-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins — latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../../assets/fonts/poppins/Poppins-900-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F0EFF4;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.is-hidden {
    display: none !important;
}

header {
    background: #ffffff;
    color: #4A2545;
    padding: 10px 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    margin: 0 auto;
    width: 100%;
}

h1 {
    margin: 0;
    white-space: nowrap;
    font-size: 1.4rem;
}

h1, h2, h3 {
    font-family: 'Poppins', Arial, sans-serif;
}

h3 {
    color: #4A2545;
}

h1 a {
    color: #ffffff;
    text-decoration: none;
}

h1 a:hover {
    color: #e8491d;
}

.header-logo-link {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 100px;
}

.header-logo-img {
    display: block;
    height: 80px;
    width: auto;
    transition: opacity 0.2s;
}

.header-logo-link:hover .header-logo-img {
    opacity: 0.85;
}

nav {
    margin: 0;
}

#main-nav {
    flex: 1;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
}

#main-nav > ul {
    justify-content: flex-end;
}

#nav-auth-slot {
    margin-left: 72px;
    margin-right: 100px;
}

nav ul li {
    display: inline;
}

nav a {
    color: #4A2545;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    white-space: nowrap;
}

#main-nav > ul > li > a,
#main-nav > ul > li > .nav-dropdown-toggle {
    font-size: 1.1rem;
}

nav a:hover {
    background: #9b4dca;
    color: #ffffff;
}

/* ----- Dropdown nav ----- */
.nav-dropdown {
    position: relative;
    display: inline;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: #4A2545;
    font-size: 1rem;
    font-family: inherit;
    padding: 10px 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: inherit;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
    background: #9b4dca;
    color: #ffffff;
}

.nav-dropdown-chevron {
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: #1a1a1a;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    border-radius: 6px;
    min-width: 150px;
    z-index: 200;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu li {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
    color: #ffffff;
}

.container {
    width: 80%;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 2458px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    padding: 40px;
    overflow: hidden;
}

.page-section {
    padding: 56px 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-section > h2:first-child,
.page-section > section:first-child > h2 {
    margin-top: 0;
}

.carousel {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 1;
    pointer-events: none;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff 30%, transparent);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff 30%, transparent);
}

.carousel-viewport {
    overflow: hidden;
    padding: 22px 0;
    margin: -22px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.carousel-slide {
    flex: 0 0 25%;
    padding: 0 12px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.carousel-slide-title {
    display: block;
    text-align: center;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    color: #4A2545;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 8px;
}

.carousel-slide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: #4A2545;
    border-radius: 2px;
}

.carousel-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    border: 3px solid #4A2545;
    box-shadow: 0 0 22px rgba(74, 37, 69, 0.5);
}

.carousel-slide-img {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(1.5px) saturate(0.85);
}

.carousel-track img[src*="reveil_du_dragon"] {
    object-position: 85% 50%;
}

.carousel-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.carousel-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%);
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.carousel-meta {
    font-size: clamp(0.78rem, 1.2vw, 1rem);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.carousel-card:hover img {
    filter: none;
}

.carousel-card:hover::after {
    opacity: 1;
}

.carousel-card:hover .carousel-caption {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
    border: none;
    border-radius: 50%;
    background: rgba(53, 66, 74, 0.86);
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(232, 73, 29, 0.95);
}

.carousel-btn.prev {
    left: -27px;
}

.carousel-btn.next {
    right: -27px;
}

.carousel-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Universe cards on univers.html */
.universe-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.universe-card-link {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.universe-card:hover {
    background-color: #fcfcfc;
}

.universe-card:last-of-type {
    border-bottom: none;
}

.universe-card-scenario-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 232px;
    padding: 8px 20px;
    background: #9b4dca;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.universe-card-scenario-btn:hover {
    background: #4A2545;
}

.universe-all-scenarios {
    text-align: center;
    padding-top: 40px;
}

.detail-section {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.detail-section h3 {
    color: #4A2545;
    margin-top: 0;
}

.scenario-block {
    margin-top: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.scenario-block h4 a {
    color: inherit;
    text-decoration: none;
}

.scenario-block h4 a:hover {
    text-decoration: underline;
}

.scenario-block h4 {
    margin: 0 0 6px;
    color: #35424a;
    font-size: 1rem;
}

.scenario-block-body {
    display: flex;
    gap: 0;
    align-items: center;
}

.scenario-block-text {
    flex: 1;
    padding: 12px 16px;
}

.scenario-img-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px 14px 14px;
    position: relative;
}

.scenario-block-img {
    width: 90px;
    height: 130px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    border: 3px solid #9b4dca;
    box-shadow: 0 0 22px rgba(155, 77, 202, 0.5);
}

.scenario-block-img[src*="reveil_du_dragon"] {
    object-position: 85%;
}

.scenario-block p {
    margin: 0;
    font-size: 0.93rem;
    color: #444;
}

.scenario-reserve-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 18px;
    background: #9b4dca;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.scenario-reserve-btn:hover {
    background: #4A2545;
}

.scenario-reserve-btn.is-unavailable {
    background: #c8b8de;
    color: #f0e8ff;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

.scenario-no-date {
    font-size: 0.8rem;
    color: #a07abf;
    margin: 4px 0 0 0;
    font-style: italic;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #e8491d;
    text-decoration: none;
    font-weight: 700;
}

.back-link:hover {
    text-decoration: underline;
}

.coming-soon {
    color: #4A2545;
    font-style: italic;
    font-weight: 600;
    opacity: 0.8;
}

/* Scenarios listing page */

.scenarios-intro {
    color: #555;
    font-size: 0.97rem;
    margin-bottom: 24px;
}

.scenarios-original-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0ebff, #fdf0f7);
    border: 1px solid #ddc9f2;
    border-radius: 14px;
    padding: 18px 24px;
    margin: 0 0 32px;
}

.scenarios-original-banner i {
    font-size: 1.7rem;
    color: #9b4dca;
    flex-shrink: 0;
}

.scenarios-original-banner p {
    margin: 0;
    color: #4A2545;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .scenarios-original-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.scenarios-jump-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.scenarios-jump-nav a,
.scenarios-jump-nav button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border: 2px solid #9b4dca;
    background: #ffffff;
    color: #9b4dca;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    font-family: 'Poppins', Arial, sans-serif;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.scenarios-jump-nav a:hover,
.scenarios-jump-nav button:hover,
.scenarios-jump-nav button.is-active {
    background: #9b4dca;
    color: #ffffff;
}

.scenarios-filter-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.scenarios-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border: 2px solid #9b4dca;
    background: #ffffff;
    color: #9b4dca;
    border-radius: 20px;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.scenarios-filter-btn:hover {
    background: #f0ebff;
}

.scenarios-filter-btn.is-active {
    background: #9b4dca;
    color: #ffffff;
}

.scenario-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.scenario-players,
.scenario-mj,
.scenario-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #4A2545;
    background: #f0e8f7;
    border-radius: 4px;
    padding: 3px 9px;
}

.universe-card-img {
    flex-shrink: 0;
    width: 200px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid #9b4dca;
    box-shadow: 0 0 22px rgba(155, 77, 202, 0.5);
}

.universe-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

.universe-card-info h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #4A2545;
}

.universe-card-meta {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
}

.universe-card-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #5b1a8a;
}

.universe-card-meta li i {
    color: #5b1a8a;
    font-size: 1.1rem;
}

.universe-card-meta li.meta-row-full {
    grid-column: 1 / -1;
    white-space: normal;
}

.age-icon {
    width: 1.5em;
    height: 1.5em;
    object-fit: contain;
    flex-shrink: 0;
}

.theme-icon {
    width: 1.5em;
    height: 1.5em;
    object-fit: contain;
    flex-shrink: 0;
}

.universe-icon {
    width: 1.2em;
    height: 1.2em;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

.carousel-meta .carousel-universe-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
    display: inline-block;
}

.carousel-meta .age-icon {
    width: 1em;
    height: 1em;
}

.complexity-icon {
    width: 1.4em;
    height: 1.4em;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

footer {
    width: 100%;
    margin-top: auto;
}

/* ----- Footer Main ----- */
.footer-main {
    background: #0a0a0a;
    padding: 48px 64px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    color: #fff;
}

.footer-heading {
    display: block;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-main-left {
    flex: 0 1 auto;
}

.footer-cols {
    display: flex;
    gap: 56px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-col-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 2px;
}

.footer-main-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 220px;
    max-width: 340px;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social-icons a {
    font-size: 2rem;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.footer-social-icons a:hover {
    opacity: 0.75;
}

.footer-social-icons .fa-tiktok {
    color: #e0c8f0;
}

.footer-social-icons .fa-instagram {
    color: #9b4dca;
}

.footer-logo-slot {
    width: 100%;
    min-height: 130px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    background: #0a0a0a;
    text-align: center;
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-version {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

.footer-logo-img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

@media (max-width: 680px) {
    .footer-main {
        flex-direction: column;
        padding: 36px 24px;
        gap: 36px;
    }

    .footer-cols {
        gap: 32px;
    }

    .footer-main-right {
        max-width: 100%;
        width: 100%;
    }

    .footer-logo-slot {
        min-height: 100px;
    }
}

.nav-auth a {
    background: linear-gradient(135deg, #9b4dca, #9b4dca);
    color: #ffffff;
    border-radius: 999px;
    margin-left: 0;
    font-weight: 700;
}

.nav-auth-group {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-left: 0;
}

.nav-auth button {
    background: #35424a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-auth-login-link,
.nav-auth-account-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-login-icon {
    width: 1.1em;
    height: 1.1em;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-auth a:hover {
    background: #4A2545;
}

.nav-auth button:hover {
    background: #9b4dca;
    border-color: #9b4dca;
}


.form-container {
    max-width: 560px;
    margin: 0 auto;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    padding: 36px 40px;
}

.page-contact main {
    padding: 40px 0;
}

.page-reserver main {
    padding: 40px 0;
}

/* Flatpickr – thème site */
.flatpickr-calendar {
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    font-family: 'Poppins', Arial, sans-serif;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #35424a;
    border-color: #35424a;
}

.flatpickr-day:hover {
    background: #e8491d;
    border-color: #e8491d;
    color: #ffffff;
}

.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
span.flatpickr-weekday {
    background: #35424a;
    color: #ffffff;
    fill: #ffffff;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: #ffffff;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #ffffff;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #e8491d;
}

.page-conditions-generales main {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cgv-container h2 {
    margin-bottom: 24px;
}

.cgv-container section {
    margin-bottom: 28px;
}

.cgv-container h3 {
    margin-bottom: 8px;
}

.cgv-container p {
    text-align: justify;
    hyphens: auto;
}

form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="date"],
form input[type="tel"],
form select,
form textarea {
    width: 100%;
    min-width: 0;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form input[type="email"],
form input[type="tel"] {
    padding-top: 5px;
    padding-bottom: 5px;
}

.form-checkbox-group {
    margin: 14px 0;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #35424a;
}

form textarea {
    min-height: 180px;
    resize: vertical;
}

form input[type="submit"] {
    background: #9b4dca;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background: #4A2545;
}

form button[type="submit"] {
    background: #9b4dca;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

form button[type="submit"]:hover {
    background: #4A2545;
}

.field-help {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    color: #5d6f8f;
    cursor: help;
    position: relative;
}

.field-help i {
    font-size: 0.95rem;
}

.field-help::after {
    content: attr(data-help);
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: max-content;
    max-width: min(280px, 80vw);
    background: #1d2738;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.35;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 15;
}

.field-help:hover::after,
.field-help:focus-visible::after {
    opacity: 1;
}

.field-optional {
    font-size: 0.82rem;
    color: #888;
    font-weight: 400;
}

.form-section {
    border: 1px solid #e0d8f0;
    border-radius: 10px;
    padding: 22px 20px 18px;
    margin-bottom: 22px;
    background: #faf9fd;
}

.form-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #4A2545;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4A2545;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.form-hint {
    font-size: 0.88rem;
    color: #7a6e8a;
    margin: 4px 0 10px;
    font-style: italic;
}

.form-note {
    color: #888;
    margin: 10px 0;
}

.password-match-indicator {
    min-height: 20px;
    margin: 2px 0 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.password-match-indicator.is-valid {
    color: #1a6f32;
}

.password-match-indicator.is-invalid {
    color: #9f1d1d;
}

#register-password-confirm.is-valid {
    border-color: #1a6f32;
    box-shadow: 0 0 0 2px rgba(26, 111, 50, 0.15);
}

#register-password-confirm.is-invalid {
    border-color: #9f1d1d;
    box-shadow: 0 0 0 2px rgba(159, 29, 29, 0.15);
}

.auth-input-error {
    border-color: #b3261e !important;
    box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
    background: #fff8f7;
}

.auth-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 24px;
}

.auth-card {
    background: #f8f8f8;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 24px;
}

.auth-card h2 {
    margin-top: 0;
}

.register-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 4px;
}

.register-terms input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #9b4dca;
    cursor: pointer;
}

.register-terms label {
    font-size: 0.88rem;
    color: #444;
    cursor: pointer;
    line-height: 1.4;
}

.register-terms label a {
    color: #9b4dca;
    text-decoration: underline;
}

.auth-feedback {
    min-height: 24px;
    font-weight: 600;
    margin-top: 12px;
}

.auth-feedback.error {
    color: #9f1d1d;
}

.auth-feedback.success {
    color: #1a6f32;
}

.address-validation-feedback {
    font-size: 0.82rem;
    margin-top: 3px;
    min-height: 1.2em;
    line-height: 1.4;
}

.address-validation-feedback.is-valid {
    color: #1a6f32;
}

.address-validation-feedback.is-invalid {
    color: #9f1d1d;
}

.auth-divider {
    margin: 16px 0;
    text-align: center;
    color: #666666;
    font-weight: 600;
}

.auth-google-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-profile {
    margin-top: 24px;
}

.auth-profile-card {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
    border: 1px solid #dce5f0;
    border-radius: 14px;
    padding: 28px;
}

.auth-profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.auth-profile-eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #5f7084;
}

.auth-profile-header h2 {
    margin: 0;
    color: #24313b;
}

.auth-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.auth-profile-item {
    background: #ffffff;
    border: 1px solid #dde5ee;
    border-radius: 12px;
    padding: 16px 18px;
}

.auth-profile-item strong {
    display: block;
    color: #24313b;
    font-size: 1rem;
    line-height: 1.4;
}

.auth-profile-item-wide {
    grid-column: 1 / -1;
}

.auth-profile-label {
    display: block;
    margin-bottom: 6px;
    color: #66788c;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-logout {
    background: #9b4dca;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.auth-logout:hover {
    background: #4A2545;
}

.auth-profile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-edit-input {
    display: block;
    width: 100%;
    padding: 5px 9px;
    margin-top: 2px;
    border: 1px solid #c6d4e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #24313b;
    background: #fff;
    box-sizing: border-box;
}

.profile-edit-input:focus {
    outline: none;
    border-color: #35424a;
    box-shadow: 0 0 0 2px rgba(53, 66, 74, 0.12);
}

.auth-profile-item:has(.profile-edit-input[hidden]) .address-validation-feedback {
    display: none;
}

.auth-edit-btn {
    background: transparent;
    color: #35424a;
    border: 2px solid #35424a;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
}

.auth-edit-btn:hover {
    background: #35424a;
    color: #fff;
}

.auth-edit-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 4px;
}

.auth-edit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-edit-field label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #66788c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-edit-field input {
    padding: 9px 12px;
    border: 1px solid #c6d4e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.15s;
}

.auth-edit-field input:focus {
    outline: none;
    border-color: #35424a;
}

.auth-edit-field-wide {
    grid-column: 1 / -1;
}

.auth-edit-password {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eef3f9;
}

.auth-edit-password-toggle-wrap {
    margin: 0;
}

.auth-edit-password-toggle {
    background: none;
    border: none;
    color: #35424a;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-edit-password-toggle:hover {
    color: #e8491d;
}

#password-change-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.auth-edit-save {
    background: #9b4dca;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 0.2s;
}

.auth-edit-save:hover:not(:disabled) {
    background: #4A2545;
}

.auth-edit-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-edit-cancel {
    background: #fff;
    color: #66788c;
    border: 1px solid #c6d4e0;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.auth-edit-cancel:hover {
    background: #f0f4f8;
    color: #35424a;
}

.auth-profile-rgpd {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #dce5f0;
}

.auth-profile-rgpd h3 {
    margin: 0 0 16px;
    font-size: 1rem;
    color: #4A2545;
}

.auth-profile-rgpd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-rgpd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-rgpd-btn-export {
    background: #9b4dca;
    color: #fff;
}

.auth-rgpd-btn-export:hover {
    background: #4A2545;
}

.auth-rgpd-btn-delete {
    background: #fff;
    color: #c0392b;
    border: 2px solid #c0392b;
}

.auth-rgpd-btn-delete:hover {
    background: #c0392b;
    color: #fff;
}

/* Modal de confirmation */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: modal-fade-in 0.2s ease;
}

.modal-overlay[hidden] {
    display: none;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    animation: modal-slide-in 0.2s ease;
}

@keyframes modal-slide-in {
    from { transform: translateY(-16px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.modal-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1a1a1a;
}

.modal-body {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.modal-btn-cancel {
    background: #e9e9e9;
    color: #333;
}

.modal-btn-cancel:hover {
    background: #d5d5d5;
}

.modal-btn-danger {
    background: #e74c3c;
    color: #fff;
}

.modal-btn-danger:hover {
    background: #c0392b;
}

.modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-rgpd-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== AVIS ===== */

.avis-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.avis-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.avis-card-meta {
    font-size: 0.85rem;
    color: #666;
}

.avis-stars {
    color: #e8491d;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.avis-card-tag {
    font-size: 0.8rem;
    background: #35424a;
    color: #fff;
    border-radius: 4px;
    padding: 2px 8px;
}

.avis-card p {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: #333;
}

.avis-card-delete {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 10px;
}

.avis-card-delete:hover {
    background: #c0392b;
}

/* ===== LINK TOOLTIPS ===== */

a[data-tooltip] {
    position: relative;
}

a[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    width: max-content;
    max-width: min(320px, 80vw);
    background: #1d2738;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: normal;
    line-height: 1.4;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 20;
}

a[data-tooltip]:hover::after {
    opacity: 1;
}

.lexique-container {
    overflow: visible;
    padding-bottom: 100px;
}

/* ===== RESERVATIONS ===== */

.reservations-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #dce5f0;
}

.reservations-section h3 {
    margin: 0 0 16px;
    font-size: 1rem;
    color: #4A2545;
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservation-card {
    background: #ffffff;
    border: 1px solid #dde5ee;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.reservation-card.is-past {
    opacity: 0.65;
}

.reservation-card-info {
    flex: 1;
    min-width: 0;
}

.reservation-card-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: #24313b;
    margin: 0 0 6px;
}

.reservation-card-meta {
    font-size: 0.87rem;
    color: #66788c;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.reservation-card-status {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 7px;
}

.reservation-card-status.status-confirme {
    background: #e6f4ea;
    color: #2d7d46;
}

.reservation-card-status.status-attente {
    background: #fff3cd;
    color: #856404;
}

.reservation-card-status.status-annule {
    background: #f8d7da;
    color: #842029;
}

.reservation-cancel-btn {
    flex-shrink: 0;
    background: #fff;
    color: #c0392b;
    border: 2px solid #c0392b;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.reservation-cancel-btn:hover:not(:disabled) {
    background: #c0392b;
    color: #fff;
}

.reservation-cancel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.reservation-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.reservation-gcal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #9b4dca;
    border: 2px solid #9b4dca;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.reservation-gcal-btn:hover {
    background: #9b4dca;
    color: #fff;
}

.reservations-empty,
.reservations-loading {
    color: #66788c;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

/* Onglets réservation (reserver.html + mes-reservations.html) */

.reservation-page-wrapper {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px;
}

.reservation-tabs {
    display: flex;
    border-bottom: 2px solid #dde5ee;
    margin-bottom: 0;
}

.reservation-tab {
    flex: 1;
    text-align: center;
    padding: 13px 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: #66788c;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.reservation-tab:hover:not(.is-active) {
    color: #35424a;
    border-bottom-color: #aab8c5;
}

.reservation-tab.is-active {
    color: #e8491d;
    border-bottom-color: #e8491d;
}

.form-container.has-tabs {
    max-width: 100%;
    margin: 0;
    border-radius: 0 0 8px 8px;
}

.reservation-page-content {
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    padding: 36px 40px;
}

.reservation-page-content .search-reservation-form {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 28px;
    box-shadow: none;
}

.reservation-page-content .search-reservation-results {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border-top: 1px solid #dce5f0;
    padding-top: 24px;
}

/* Page mes-reservations */

.search-reservation-form {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
    border: 1px solid #dce5f0;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 28px;
}

.search-reservation-form h2 {
    margin: 0 0 8px;
    color: #24313b;
}

.search-reservation-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #24313b;
    font-size: 0.9rem;
}

.search-reservation-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #c6d4e0;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.search-reservation-form input:focus {
    outline: 2px solid #35424a;
    outline-offset: 1px;
    border-color: #35424a;
}

.search-reservation-form button[type="submit"] {
    background: #9b4dca;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-reservation-form button[type="submit"]:hover:not(:disabled) {
    background: #4A2545;
}

.search-reservation-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.search-reservation-results {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
    border: 1px solid #dce5f0;
    border-radius: 14px;
    padding: 28px;
}

.search-reservation-results h3 {
    margin: 0 0 16px;
    color: #4A2545;
    font-size: 1rem;
}

.search-feedback {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #c0392b;
    min-height: 1.2em;
}

.search-feedback.success {
    color: #2d7d46;
}

/* ===== RESPONSIVE ===== */

/* Tablette : <= 900px */
@media (max-width: 900px) {
    .container {
        width: 92%;
        padding: 24px;
    }

    .hp-scenarios .container {
        width: 95%;
        margin: 40px auto;
        padding: 0;
    }

    .hp-scenarios-title {
        padding: 0 24px;
    }

    .page-section {
        padding: 32px 20px;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 80px) / 2);
    }

    .form-container {
        padding: 24px 20px;
    }

    .reservation-page-content {
        padding: 24px 20px;
    }

    .reservation-tab {
        font-size: 0.82rem;
        padding: 11px 8px;
        gap: 5px;
    }

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-profile-grid {
        grid-template-columns: 1fr;
    }

    .auth-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-edit-group,
    #password-change-fields {
        grid-template-columns: 1fr;
    }

    .universe-card-link {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    .universe-card-info {
        width: 100%;
        min-width: 0;
    }

    .universe-card-img {
        width: 160px;
        align-self: center;
    }

    .universe-card-scenario-btn {
        align-self: center;
        margin-left: 0;
    }
}

/* Nav hamburger : tablette et téléphone <= 1100px */
@media (max-width: 1100px) {
    header {
        padding: 10px 24px;
        position: relative;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    h1 {
        white-space: normal;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .nav-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: #4A2545;
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    #main-nav {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        order: 3;
    }

    #main-nav.nav-open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    #main-nav > ul {
        justify-content: flex-start;
    }

    #nav-auth-slot {
        margin-left: 0;
        margin-right: 0;
    }

    nav ul li {
        display: block;
        width: 100%;
    }

    nav a {
        display: block;
        padding: 12px 16px;
        border-top: 1px solid rgba(74,37,69,0.12);
        white-space: normal;
    }

    .nav-auth a {
        border-radius: 0;
        margin-left: 0;
    }

    .nav-auth-group {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
    }

    .nav-auth-reserve-link,
    .nav-auth-login-link,
    .nav-auth-account-link {
        display: block;
        width: 100%;
        background: #9b4dca;
        color: #ffffff;
        font-weight: 700;
        padding: 12px 16px;
        border-radius: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        text-decoration: none;
    }

    .nav-auth button {
        width: 100%;
        border-radius: 0;
        text-align: left;
    }

    .nav-dropdown {
        display: block;
    }

    .nav-dropdown-toggle {
        display: flex;
        width: 100%;
        padding: 12px 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
        cursor: default;
        pointer-events: none;
    }

    .nav-dropdown-chevron {
        display: none;
    }

    .nav-dropdown-menu {
        display: flex;
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
        padding: 0;
    }

    .nav-dropdown-menu a {
        padding: 11px 16px 11px 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* Mobile : <= 680px */
@media (max-width: 680px) {
    .universe-card-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .universe-card-meta li {
        min-width: 0;
    }

    .container {
        width: 96%;
        margin: 20px auto;
        padding: 20px 14px;
    }

    .hp-scenarios .container {
        width: 95%;
        margin: 20px auto;
        padding: 0;
    }

    .hp-scenarios-title {
        padding: 0 14px;
    }

    .carousel-slide {
        flex: 0 0 100%;
        padding: 0 12px;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
    }

    .carousel-btn.prev {
        left: 4px;
    }

    .carousel-btn.next {
        right: 4px;
    }

    .form-container {
        padding: 20px 14px;
    }

    .page-contact main {
        padding: 20px 0;
    }

    .scenario-block-body {
        flex-direction: column;
        align-items: center;
    }

    .scenario-img-wrap {
        padding: 14px 14px 6px;
    }

    .scenario-block-text {
        padding: 8px 14px 14px;
        width: 100%;
    }

    .universe-card-img {
        width: 140px;
    }
}

/* Desktop : bouton hamburger masqué */
@media (min-width: 1101px) {
    .nav-toggle {
        display: none;
    }
}

/* ===== ADMIN STYLES ===== */

.admin-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

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

.admin-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.admin-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.date-list {
    margin-bottom: 20px;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.overview-table th,
.overview-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.overview-table thead th {
    background: #f0f0f0;
    font-weight: 600;
    color: #555;
}

.overview-table tbody tr:last-child td {
    border-bottom: none;
}

.mj-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

.mj-badge-axel {
    background: #d6eaff;
    color: #1a5fa8;
}

.mj-badge-guillaume {
    background: #d6f5e3;
    color: #1a7a45;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 8px;
}

.date-item button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.date-item button:hover {
    background: #c0392b;
}

.btn {
    background: #9b4dca;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn:hover {
    background: #4A2545;
}

.tab-btn {
    background: #555;
    opacity: 0.7;
}

.tab-btn:hover {
    background: #9b4dca;
    opacity: 1;
}

.tab-btn-active {
    background: #9b4dca;
    opacity: 1;
}

.tab-badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.btn-accepter {
    background: #27ae60;
}

.btn-accepter:hover {
    background: #219150;
}

.feedback {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.feedback.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.feedback.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.logout-btn {
    background: #e74c3c;
}

.logout-btn:hover {
    background: #c0392b;
}

/* ===== TIME SLOTS STYLES ===== */

#time-slots button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
    padding: 10px;
}

#time-slots button.selected {
    background: #9b4dca;
    color: white;
}

/* ===== DATE INPUT CONTAINER ===== */

.date-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.date-input-container input {
    width: 100%;
    padding-right: 40px; /* Espace pour l'icône */
}

.date-input-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    pointer-events: none;
    font-size: 1.2rem;
}

/* ============================================================
   HOME PAGE (accueil.html)
   ============================================================ */

/* ----- Hero ----- */
.hp-hero {
    position: relative;
    min-height: 45vh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 48px;
}

.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
}

.hp-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hp-hero-content {
    max-width: 700px;
}

.hp-hero-title {
    font-family: 'Poppins', Arial, sans-serif;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-line {
    display: block;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
}

.hp-sm {
    font-size: 0.65em;
    font-weight: 500;
}

.hp-hero-description {
    max-width: 560px;
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hp-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9b4dca, #9b4dca);
    color: #ffffff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 13px 42px;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.hp-btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 34px;
    background: #9b4dca;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.hp-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.hp-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.hp-how-more a:focus-visible {
    outline: 3px solid #6c3fc5;
    outline-offset: 3px;
}

.hp-btn--white {
    background: #ffffff;
    color: #9b4dca;
}

/* ----- Notre Quête ----- */
.hp-quete {
    background: #ffffff;
    color: #1a1a2e;
    padding: 64px 48px;
}

.hp-quete-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 56px;
}

.hp-quete-text {
    flex: 1 1 55%;
}

.hp-quete h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 24px;
    color: #4A2545;
}

.hp-quete p {
    font-size: 1rem;
    line-height: 1.85;
    color: #4A2545;
    margin: 0 0 20px;
}

.hp-quete p:last-child {
    margin-bottom: 0;
}

.hp-quete-imgs {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-right: -120px;
}

.hp-quete-circle {
    width: min(380px, 90vw);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.35));
}

.hp-quete-circle--single {
    width: min(780px, 90vw);
}

.hp-quete-circle img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----- Fonctionnement ----- */
.hp-how {
    background: #f0f0f6;
    padding: 64px 48px;
    text-align: center;
}

.hp-how-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 44px;
}

.hp-how-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 0 auto;
}

.hp-how-btn {
    margin-top: 40px;
    background: linear-gradient(135deg, #824C71, #824C71);
}

.hp-how-more {
    margin: 32px 0 0;
    text-align: center;
    color: #43344f;
}

.hp-how-more a {
    color: #6c3fc5;
    font-weight: 700;
}

.hp-how-card {
    flex: 1 1 220px;
    max-width: 260px;
    border-radius: 22px;
    padding: 30px 22px;
    text-align: center;
}

.hp-card--purple {
    background: #824C71;
    border: 2px solid #6a3a5a;
}

.hp-how-card.hp-card--purple h3,
.hp-how-card.hp-card--purple p,
.hp-how-card.hp-card--purple strong {
    color: #fff;
}

.hp-card--green {
    background: #cfdacf;
    border: 2px solid #a8bea8;
}

.hp-card--darkpurple {
    background: #824C71;
    border: 2px solid #6a3a5a;
}

.hp-how-card.hp-card--darkpurple h3,
.hp-how-card.hp-card--darkpurple p,
.hp-how-card.hp-card--darkpurple strong,
.hp-how-card.hp-card--sage h3,
.hp-how-card.hp-card--sage p,
.hp-how-card.hp-card--sage strong {
    color: #fff;
}

.hp-card--sage {
    background: #90AA86;
    border: 2px solid #6a8a60;
}

.hp-how-card h3 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #4A2545;
    margin: 0 0 12px;
}

.hp-how-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* ----- Pour qui ----- */
.hp-who {
    background: #4A2545;
    padding: 64px 48px;
    text-align: center;
}

.hp-who-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 44px;
}

.hp-who-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 0 auto;
}

.hp-who-card {
    flex: 1 1 220px;
    max-width: 260px;
    background: #ffffff;
    border-radius: 22px;
    padding: 30px 22px;
    text-align: center;
}

.hp-who-card p {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
    color: #4A2545;
    margin: 0;
}

.hp-who-icon {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    color: #824C71;
}

.hp-btn--outline {
    background: transparent;
    border: 2px solid #e8d8ff;
    color: #e8d8ff;
    white-space: nowrap;
    flex-shrink: 0;
}
.hp-btn--outline:hover {
    background: #e8d8ff;
    color: #4A2545;
}

/* ----- Note EVG/EVJF (page réservation) ----- */
.hp-groups-note {
    background: #f0ebff;
    border-left: 4px solid #4A2545;
    border-radius: 0 8px 8px 0;
    padding: 12px 18px;
    margin: 0 0 18px;
    font-size: 0.93rem;
    color: #4a2e8a;
}
.hp-groups-note a {
    color: #4A2545;
    font-weight: 700;
    text-decoration: none;
}
.hp-groups-note a:hover { text-decoration: underline; }

/* ----- Nos scénarios ----- */
.hp-scenarios {
    background: #f0f0f6;
    padding: 0 0 60px;
}

.hp-scenarios .container {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    width: 95%;
    max-width: none;
    margin: 40px auto;
    padding: 0;
}

.hp-scenarios-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 36px;
    padding: 0 48px;
}

.hp-scenarios .carousel::before {
    background: linear-gradient(to right, #f0f0f6 30%, transparent);
    width: 12px;
}

.hp-scenarios .carousel::after {
    background: linear-gradient(to left, #f0f0f6 30%, transparent);
    width: 12px;
}

/* ----- CTA Banner ----- */
.hp-cta {
    background: linear-gradient(120deg, #3a1a6e 0%, #9b4dca 55%, #9b4dca 100%);
    padding: 52px 48px;
    position: relative;
    overflow: hidden;
}

.hp-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hp-cta h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

/* ----- Responsive home ----- */
@media (max-width: 900px) {
    .hp-hero {
        padding: 40px 24px;
        min-height: 35vh;
    }

    .hp-quete {
        padding: 48px 24px;
    }

    .hp-quete-inner {
        flex-direction: column;
        gap: 36px;
    }

    .hp-quete-imgs {
        flex-direction: row;
        justify-content: center;
        margin-right: 0;
    }

    .hp-quete-circle {
        width: min(550px, 85vw);
    }

    .hp-how {
        padding: 48px 24px;
    }

    .hp-who {
        padding: 48px 24px;
    }

    .hp-cta {
        padding: 40px 24px;
    }

    .hp-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 680px) {
    .hp-quete-circle {
        width: min(420px, 85vw);
    }

    .hp-how-card {
        max-width: 100%;
    }

    .hp-who-card {
        max-width: 100%;
    }
}

/* ===== SCENARIO CARDS (page scénarios) ===== */

.scenarios-page .scenario-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid #e8e0ef;
}

.scenarios-page .scenario-card:last-of-type {
    border-bottom: none;
    padding-bottom: 1rem;
}

.scenarios-page .scenario-card--reverse {
    flex-direction: row-reverse;
}

.team-columns {
    display: flex;
    gap: 48px;
    margin: 2.5rem 0;
    align-items: flex-start;
}

.team-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-col h3 {
    color: #4A2545;
    margin: 1.25rem 0 8px;
}

.team-col p {
    text-align: justify;
}

.team-photo-wrap {
    flex: 0 0 300px;
    width: 300px;
    height: 390px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid #5b1a8a;
    box-shadow: 0 0 30px rgba(91, 26, 138, 0.35), 0 0 8px rgba(155, 77, 202, 0.2);
    background: #f0e8f7;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

@media (max-width: 680px) {
    .team-columns {
        flex-direction: column;
        align-items: center;
    }
}

.scenario-card-img-wrap {
    flex: 0 0 210px;
    height: 290px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid #5b1a8a;
    box-shadow: 0 0 30px rgba(91, 26, 138, 0.35), 0 0 8px rgba(155, 77, 202, 0.2);
}

.scenario-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenario-card-img-wrap img[src*="reveil_du_dragon"] {
    object-position: 85% 50%;
}

.scenario-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.scenario-card-universe {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #7b2d8b;
    font-weight: 700;
    flex-wrap: wrap;
}

.scenario-card-universe a {
    color: #4A2545;
    text-decoration: none;
}

.scenario-card-universe a:hover {
    text-decoration: underline;
}

.scenario-card-complexity {
    color: #999;
    font-weight: 400;
}

.scenarios-page .scenario-card-body h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0;
    color: #1a0a2e;
    line-height: 1.2;
}

.scenario-card-desc {
    color: #444;
    line-height: 1.65;
    margin: 0;
}

.scenario-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.scenario-card-badges {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.scenario-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #f0e8f7;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A2545;
}

.scenario-badge i {
    font-size: 0.8em;
    opacity: 0.8;
}

@media (max-width: 680px) {
    .scenarios-page .scenario-card,
    .scenarios-page .scenario-card--reverse {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .scenario-card-img-wrap {
        flex: 0 0 auto;
        width: 160px;
        height: 220px;
    }

    .scenario-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ===== PAYMENT METHODS (tarif.html) ===== */

/* ===== ADMIN RESPONSIVE ===== */

@media (max-width: 900px) {
    .admin-container {
        padding: 16px;
        margin: 20px auto;
    }

    .admin-section {
        padding: 20px;
    }
}

@media (max-width: 680px) {
    .admin-container {
        padding: 10px;
        margin: 10px auto;
    }

    .admin-section {
        padding: 14px;
        margin-bottom: 16px;
    }

    .admin-section h2 {
        font-size: 1.2rem;
    }

    .overview-table {
        font-size: 0.82rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .overview-table th,
    .overview-table td {
        padding: 6px 8px;
        white-space: nowrap;
    }

    .date-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sql-actions {
        flex-wrap: wrap;
    }
}

/* Analytics */
.analytics-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.analytics-heading .btn {
    width: auto;
    white-space: nowrap;
}
.analytics-updated,
.analytics-panel-note {
    color: #766b84;
    font-size: 0.85rem;
}
.analytics-updated {
    margin: 0 0 16px;
}
.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.analytics-card {
    background: #f5f0ff;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    min-width: 0;
}
.analytics-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: #6c3fc5;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
.analytics-card-label {
    font-size: 0.85rem;
    color: #5a4a7a;
    margin-top: 6px;
}
.analytics-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.analytics-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid #eee8f5;
    border-radius: 10px;
    background: #fff;
}
.analytics-panel h3 {
    margin: 0;
    font-size: 1rem;
}
.analytics-panel-note {
    margin: 5px 0 16px;
}
.analytics-month-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    min-height: 190px;
    overflow-x: auto;
    padding: 12px 2px 0;
}
.analytics-month {
    display: flex;
    flex: 1 0 48px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: 170px;
    min-width: 0;
}
.analytics-month-count,
.analytics-month-label {
    color: #665a72;
    font-size: 0.72rem;
    white-space: nowrap;
}
.analytics-month-bar {
    width: min(100%, 34px);
    min-height: 4px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #9a72e8, #6c3fc5);
}
.analytics-breakdown {
    display: grid;
    gap: 13px;
    margin-top: 16px;
}
.analytics-breakdown-row {
    min-width: 0;
}
.analytics-breakdown-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    font-size: 0.88rem;
}
.analytics-breakdown-label span {
    overflow-wrap: anywhere;
}
.analytics-track {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #f0edf4;
}
.analytics-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #8056cf;
}
.analytics-mj-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    color: #665a72;
    font-size: 0.82rem;
}
.analytics-mj-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.analytics-mj-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.analytics-mj-legend-axel {
    background: #6c3fc5;
}
.analytics-mj-legend-guillaume {
    background: #168a78;
}
.analytics-empty {
    margin: 16px 0 0;
    color: #766b84;
}
.analytics-rating-value {
    margin: 20px 0 0;
    color: #6c3fc5;
    font-size: 2.5rem;
    font-weight: 800;
}

.payment-options {
    display: grid;
    gap: 12px;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid #ded4ed;
    border-radius: 8px;
}

.payment-options legend {
    padding: 0 6px;
    color: #3a1f6e;
    font-weight: 700;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    background: #f8f5fc;
}

.payment-option input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.payment-option span {
    display: grid;
    gap: 4px;
}

.payment-option small {
    color: #665a72;
    font-weight: 400;
}

@media (max-width: 700px) {
    .analytics-panels {
        grid-template-columns: 1fr;
    }
}

/* ----- Page 404 ----- */
.notfound-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 96px 24px;
    text-align: center;
}

.notfound-code {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 12vw, 6rem);
    color: #9b4dca;
    line-height: 1;
    margin: 0;
}

.notfound-page h1 {
    color: #4A2545;
    margin: 8px 0 16px;
}

.notfound-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 32px 0 16px;
}

.notfound-help {
    font-size: 0.95rem;
}

/* ----- Bandeau cookies ----- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #4A2545;
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    max-width: 640px;
}

.cookie-banner a {
    color: #d9b3f0;
}

.cookie-banner-accept {
    flex-shrink: 0;
    background: #9b4dca;
    color: #ffffff;
    border: none;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-banner-accept:hover {
    opacity: 0.85;
}

@media (max-width: 680px) {
    .cookie-banner {
        justify-content: flex-start;
        text-align: left;
    }
}