* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background-image: url('../img/SMSP_Fond.jpg');
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    color: white;
    animation: body-bg-pan-down 14s ease-out forwards;
}

a:not(.btn):not(.top-menu-link):not(.scroll-indicator):not(.no-link-underline-anim) {
    color: inherit;
    text-decoration: none;
    position: relative;
}

a:not(.btn):not(.top-menu-link):not(.scroll-indicator):not(.no-link-underline-anim)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: translateX(-50%) scaleX(0);
    transform-origin: 50% 50%;
    transition: transform 0.3s ease;
}

a:not(.btn):not(.top-menu-link):not(.scroll-indicator):not(.no-link-underline-anim):hover::after,
a:not(.btn):not(.top-menu-link):not(.scroll-indicator):not(.no-link-underline-anim):focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

a.no-link-underline-anim,
.no-link-underline-anim a {
    text-decoration: underline;
}

a.no-link-underline-anim::after,
.no-link-underline-anim a::after {
    content: none;
}

@keyframes body-bg-pan-down {
    from {
        background-position: center -300px;
    }
    to {
        background-position: center -1000px;
    }
}

@keyframes body-bg-pan-down-mobile {
    from {
        background-position: center 0px;
    }
    to {
        background-position: center -500px;
    }
}

.hero {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero::before,
.title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
    pointer-events: none;
}

.hero .block {
    position: relative;
    z-index: 1;
}

.hero .scroll-indicator {
    z-index: 2;
}

.top-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    background: rgba(251, 187, 51, 0.85);
    padding: 15px 6%;
    z-index: 1000;
    box-shadow: 0 0 13px rgba(0,0,0,0.25)
}

#index .top-menu {
    opacity: 0;
    transform: translateY(-10px);
    animation: top-menu-reveal 0.6s ease-out forwards;
    animation-delay: 3s;
}

.top-menu.is-sticky {
    position: fixed;
}

.top-menu-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
}

.top-menu-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    margin-bottom: -100px;
    margin-top: -35px;
}

.top-menu-logo-img {
    height: 180px;
    width: auto;
    display: block;
    /*filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));*/
}

.top-menu-badge {
    height: 90px;
    width: auto;
    flex: 0 0 auto;
    margin-bottom: -60px;
    margin-left: auto;
}

.top-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
}

.top-menu-toggle i {
    font-size: 22px;
    line-height: 1;
    color: #fff;
}

.top-menu-toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    background: #000;
}

.top-menu-toggle-bar + .top-menu-toggle-bar {
    margin-top: 6px;
}

@keyframes top-menu-reveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-menu-list {
    list-style: none;
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.top-menu-link {
    position: relative;
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 0;
}

.top-menu-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: translateX(-50%) scaleX(0);
    transform-origin: 50% 50%;
    transition: transform 0.3s ease;
}

.top-menu-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.title {
    display: flex;
    height: 33vh;
    width: 100%;
    position: relative;
    color: black;
    font-size: 3rem;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 60px;
}
.billetterie-yp {
    width: 100%;
    padding: 75px;
    background-color: #121212;
}

@media (max-width: 768px) {
    html, body {
        min-height: 100vh;
    }

    .top-menu {
        padding: 15px 0;
    }

    .top-menu-inner {
        justify-content: center;
    }

    .top-menu-logo {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
        z-index:2;
    }

    .top-menu-logo-img {
        height: 100px;
        margin-top: 40px;
        z-index:20;
    }

    .top-menu-badge {
        position: absolute;
        right: 10px;
        top: 15px;
        bottom: auto;
        transform: translateY(-50%);
        margin-bottom: 0;
        height: 56px;
    }

    .top-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .top-menu-toggle-bar {
        display: none;
    }

    .top-menu-list {
        position: absolute;
        left: 0;
        top: 15px;
        width: 100%;
        background: #fbbb33;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 7%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex: none;
    }

    .top-menu.is-open .top-menu-list {
        max-height: 320px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    body {
        animation: none;
        background-position: center;
        background-size: cover;
    }

    .intro-section {
        padding: 70px 7%;
    }

    .intro-inner {
        text-align: left;
    }

    .intro-title {
        font-size: 34px;
    }

    .intro-subtitle {
        font-size: 18px;
    }

    .jour-section {
        padding: 70px 7%;
    }

    .jour-title {
        font-size: 28px;
    }

    .jour-cards {
        flex-direction: column;
    }

    .jour-card-empty {
        display: none;
    }
    .title {
    height: 15vh;
    font-size: 1.5rem;
    margin-top: 25px;

}


    .billetterie-yp {
    padding: 15px;
    }
}

.block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Left Block Styles */
.left-block img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

#hero-logo {
    filter: drop-shadow(3px 3px 15px rgba(0, 0, 0, 0.5));
}

/* Right Block Styles */
.right-block {
    flex-direction: column;
    text-align: center;
    /* Container query setup */
    container-type: inline-size;
    padding: 0 5%; /* Adjust padding to give space for text scaling */
}

.text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography sizing using cqi to fit width
   Calculated roughly to make lines equal width
*/

.line-date-1 { /* 12 & 13 */
    font-size: 10cqi;
    font-weight: 800;
    line-height: 0.9;
    white-space: nowrap;
}

.line-date-2 { /* Juin */
    font-size: 13cqi;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
}

.line-year { /* 2026 */
    font-size: 12cqi;
    font-weight: 900;
    line-height: 0.9;
}

hr {
    width: 30%;
    border: 0;
    border-top: 2px solid white;
    margin: 2vh auto;
    opacity: 0.6;
}

.line-loc-1 { /* Saint */
    font-size: 13cqi;
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: 0.3rem;
}

.line-loc-2 { /* Martin */
    font-size: 11cqi;
    font-weight: 400;
    line-height: 0.9;
}

.line-loc-3 { /* en-haut */
    font-size: 9cqi;
    font-weight: 400;
    line-height: 0.9;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    width: 64px;
    height: 64px;
    pointer-events: auto;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
}

.scroll-indicator::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid #fbbb33;
    border-bottom: 3px solid #fbbb33;
    transform: rotate(45deg);
    opacity: 0.95;
}

.scroll-indicator i {
    color: #fbbb33;
    font-size: 34px;
    animation: music-bounce 1.2s ease-in-out infinite;
    transform-origin: 50% 100%;
}

@keyframes music-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-indicator i {
        animation: none;
    }
}

.intro-section {
    background: #111;
    color: #fff;
    width: 100%;
    padding: 80px 6%;
}

.intro-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 16px;
}

.intro-subtitle {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 22px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto;
}

.faq-page {
    width: 100%;
    padding: 80px 6%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    backdrop-filter: blur(2px);
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-section-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 18px;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 3px solid #fbbb33;
    border-bottom: 3px solid #fbbb33;
    transform: rotate(45deg);
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(-135deg);
}

.faq-item:hover {
    border-color: rgba(251, 187, 51, 0.35);
}

.faq-answer {
    padding: 0 18px 18px;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

.faq-answer p + p {
    margin-top: 10px;
}

.faq-answer ul {
    margin-top: 10px;
    margin-left: 20px;
}

.faq-answer li + li {
    margin-top: 8px;
}

.faq-plan-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #fbbb33;
}

.separateur-faq {
    height: 120px;
}

.separateur {
    height: 250px;
    width: 100%;
    background: transparent;
    box-shadow: inset 0 12px 20px rgba(0, 0, 0, 0.35), inset 0 -12px 20px rgba(0, 0, 0, 0.35);
}

.separateur-jour {
    height: 180px;
}

.jour-section {
    width: 100%;
    padding: 80px 6%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    backdrop-filter: blur(2px);
}

.jour-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.jour-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
}

.jour-lead {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 980px;
}

.jour-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.jour-card {
    flex: 1 1 30%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
    /*border: 1px solid rgba(0, 0, 0, 0.06);*/
    min-width: 0;
}

.jour-card-empty {
    background: transparent;
    box-shadow: none;
    border: 2px dashed rgba(0, 0, 0, 0.18);
    min-height: 420px;
}

.jour-card-img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.jour-card-img-placeholder {
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.12);
    display: block;
}

.jour-card-body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
}

.jour-card-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    color:#111;
}

.jour-card-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}

.jour-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: #222;
    white-space: pre-line;
    margin-bottom: 16px;
}

.jour-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.jour-card-more {
    appearance: none;
}

.jour-card-site-btn {
    background: #111;
    color: #fff;
}

.btn {
    display: inline-block;
    background: #fbbb33;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 0;
    cursor: pointer;
}

.btn:hover {
    background: #fff;
    color: #fbbb33;
    outline: 2px solid #fbbb33;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.7);
}

.btn-billetterie {
    font-size:25px;
}

.btn.jour-card-site-btn {
    background: #111;
}
.btn.jour-card-site-btn:hover {
    background: #fff;
    color: #111;
    outline-color: #111;
}

.benevoles-section {
    background: rgba(0,0,0,0.90 );
    color: white;
    width: 100%;
    padding: 80px 6%;
    display: flex;
    gap: 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.benevoles-content {
    flex: 1;
    max-width: 720px;
    order: 2;
}

.benevoles-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.benevoles-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.benevoles-image {
    flex: 0 0 48%;
    max-width: 640px;
    order: 1;
}

.benevoles-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.benevoles-caption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
}

.mecenat-section {
    background: rgba(0,0,0,0.90);
    color: white;
    width: 100%;
    padding: 80px;
}
.mecenat-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}

.mecenat-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.mecenat-texts-container {
    display: flex;
    gap: 50px;;
}

.mecenat-texts-left {
    flex: 1;
}

.mecenat-texts-right {
    flex: 1;

}

.mecenat-texts h2 {
    color:#fbbb33;
    padding-bottom: 16px;
}

.mecenat-texts p {
    font-size: 18px;
    line-height: 1.6;
    padding-bottom: 10px;
    text-align: justify;
}

.mecenat-texts ul {
    font-size: 18px;
    line-height: 1.6;
    padding-bottom: 10px;
    margin-left: 20px;
}

.mecenat-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.mecenat-image {
    flex: 0 0 48%;
    max-width: 640px;
    order: 1;
}

.mecenat-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.mecenat-caption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
}

.vip-section {
    background: rgba(0,0,0,0.90);
    color: white;
    width: 100%;
    padding: 80px;
}

.vip-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.vip-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.vip-texts-container {
    width: 100%;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.vip-texts-left,
.vip-texts-right {
    flex: 0 0 auto;
    min-width: 0;
}

.vip-texts-left {
    flex-basis: 40%;
}

.vip-texts-right {
    flex-basis: 60%;
}

.vip-texts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-texts h3 {
    color: #fbbb33;
}

.vip-texts ul {
    font-size: 18px;
    line-height: 1.6;
    margin-left: 20px;
}

.yurplan-widget-container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.yurplan-widget {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
}

.mecenat-cta {
    margin-top: 20px;
}

.social-section {
    background: rgba(0,0,0,0.85);
    color: white;
    width: 100%;
    padding: 60px 6%;
    text-align: center;
    margin-bottom:25px;
}

.social-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.social-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 22px;
    max-width: 820px;
}

.social-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    min-width: 200px;
    text-align: center;
}

.social-btn i {
    font-size: 22px;
    line-height: 1;
    color: inherit;
}

footer {
    background: #fbbb33;
    color: #fff;
    text-align: center;
    padding: 25px 6%;
    font-size: 12px;
}

.pre-footer {
    background: rgba(0,0,0,0.8);
    color: white;
    width: 100%;
    padding: 50px 6%;
}

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

.pre-footer-left {
    flex: 1 1 55%;
        display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.pre-footer-right {
    flex: 1 1 45%;
}

.pre-footer-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 10px;
}

.pre-footer-subtitle {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}

.pre-footer-address,
.pre-footer-contact {
    font-size: 14px;
    line-height: 1.5;
}
.pre-footer-mentions {
    text-align: center;
}

.pre-footer-mail,
.pre-footer a {
    color: inherit;
    font-weight: 800;
}

.pre-footer-plan {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
}

.pre-footer-social {
    margin-bottom: 100px;
}

.pre-footer .social-title {
    text-align: left;
    margin-bottom: 8px;
}

.pre-footer .social-text {
    text-align: left;
    margin: 0 0 12px;
}

.pre-footer .social-actions {
    justify-content: flex-start;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body, html {
        overflow: auto;
    }

    .hero {
        flex-direction: column;
        height: 100vh;
    }

    .block {
        width: 100%;
        min-height: 0;
        flex: 1 1 auto;
    }

    .left-block {
        flex: 0 0 40%;
    }

    .right-block {
        flex: 1 1 auto;
    }

    .right-block {
        padding: 10% 15%;
        justify-content: flex-start;
    }

    .scroll-indicator {
        position: static;
        left: auto;
        transform: none;
        margin-top: auto;
        margin-bottom: 90px;
        width: 56px;
        height: 56px;
        align-self: center;
    }

    .benevoles-section {
        padding: 80px 7%;
        flex-direction: column;
        align-items: stretch;
    }

    .benevoles-content {
        order: 1;
    }

    .benevoles-image {
        flex: none;
        max-width: 100%;
        order: 2;
    }

    .mecenat-section {
        padding: 60px 7%;
    }

    .mecenat-container {
        gap: 26px;
    }

    .mecenat-texts-container {
        flex-direction: column;
        gap: 26px;
    }

    .mecenat-title {
        font-size: 26px;
    }

    .mecenat-texts p,
    .mecenat-texts ul {
        font-size: 16px;
        line-height: 1.7;
    }

    .vip-section {
        padding: 80px 7%;
    }

    .vip-texts-container {
        flex-direction: column;
        gap: 26px;
    }

    .faq-page {
        padding: 70px 7%;
    }

    .faq-section-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }

    .intro-title {
        font-size: 40px;;
    }

    .benevoles-title,
    .jour-title {
        font-size: 30px;
    }

    .social-section {
        padding: 60px 7%;
        text-align: left;
    }

    .social-title {
        font-size: 28px;
    }

    .social-actions {
        justify-content: flex-start;
    }

    .social-btn {
        width: 100%;
        min-width: 0;
    }

    .pre-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pre-footer-right {
        width: 100%;
        justify-content: flex-start;
    }

    .pre-footer-plan {
        max-width: 100%;
    }
}


