/* ---------- RESET CSS ----------*/
/* enlever les marges naturelles + reset du body/html */
html, body {
    margin: 0 auto;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    }
    
    *, *:before, *:after {
    box-sizing: inherit;
    }
    
    /* enlever le style des listes */
    ul, ol {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    }
    
    /* corriger l’affichage des images */
    img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    }

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

body {
  margin: 0;
}

button {
    border: none;
    box-sizing: unset;
    background-color: #00000000;
}

/* ---------------- CHARTE GRAPHIQUE ----------------*/
body {
    font-family: "alternate-gothic-atf", sans-serif;
}


:root {
    --padding-btn: 6px 28px;
    --desktop-padding: 100px;
    --desktop-text-margin: 40px;
    --mobile-padding: 20px;
    --mobile-text-margin: 20px;

    --bg-bar: #074F57;
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --invert-text-color: #ffffff; 
    --accent-color: #BA5D4D; 
    --nav-bg: #f8f8f8;

    --gold-gradient: linear-gradient(to right, #c89339, #f6d488);
}

/* Couleurs quand la classe .dark-mode est active */
body.dark-mode {
    --bg-color: linear-gradient(to right,#121212, #311814);
    --invert-text-color: #000000; 
    --text-color: #ffffff;
    --nav-bg: #1f1f1f;
    --accent-color: #cf6856; 
}


body {
    background: var(--bg-color);
    color: var(--text-color);
    transition: 0.3s ease, color 0.3s ease; 
}



/* Container */

.container {
    width: 100%;
    max-width: 1850px;
    margin-right: auto;
    margin-left: auto;
    padding-left: var(--mobile-padding);
    padding-right: var(--mobile-padding);
}
@media (min-width: 769px) {
  .container {
    padding-left: var(--desktop-padding);
    padding-right: var(--desktop-padding);
  }
}

/* Gold Separator */

.gold-separator {
    background: var(--gold-gradient);
    height: 4px;
    width: 100%;
}

/* bouton */

.btn-div {
    display: flex;
    gap: 16px;
    flex-direction: column;
}
@media (min-width: 769px) {
    .btn-div {
        flex-direction: row;
    }
}

.btn {
  padding: var(--padding-btn);
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  text-wrap: nowrap;
  font-size: 1.3rem;
  font-weight: 400;
}
@media (min-width:768px){
    .btn {
        font-size: 1.5rem;
    }
}

.btn-white {
    color: white;
    border: solid 3px white;
    border-radius: 30px;
    
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}
.btn-white:hover {
    color: var(--accent-color);
    background-color: white;
}

.btn-pink {
    color: var(--accent-color);
    border: solid 3px var(--accent-color);
    border-radius: 30px;
    
    text-transform: uppercase;
    transition: all 0.3s ease-in;
}
.btn-pink:hover {
    color: white;
    background-color: var(--accent-color);
}

.btn-white-full {
    color: var(--accent-color);
    background-color: white;
    border: solid 3px white;
    border-radius: 30px;
    
    text-transform: uppercase;
    transition: all 0.3s ease-in;
}
.btn-white-full:hover {
    background-color: transparent;
    color: white;
}


/* Content Box/Grid */

.content-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width:768px) {
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* sections */
section {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* H1 H2 H3 H4 p */

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 0.92;
    font-weight: 800;
}
h2 {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 0.92;
    font-weight: 700;
}
h3 {
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 0.92;
    font-weight: 500;
}
h4 {
    font-size: 1.2rem;
}
p {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: none;
}
a {
    color: var(--accent-color);
}
@media (min-width: 769px) {
    h1 {
        font-size: 6.5rem;
    }
    h2 {
        font-size: 4rem;
    }
    h3 {
        font-size: 3rem;
    }
    h4 {
        font-size: 2.2rem;
    }
    p {
        font-size: 1.4rem;
    }
}

/* ---------------- NAV BAR ----------------*/

#navbar {
    height: 80px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);

    position: fixed;
    z-index: 999;
}
#navbar .gold-separator {
    position:absolute;
    bottom: 0px;
}


#navbar .logo-mobile-navbar{
    display: block;
    fill: var(--text-color);
    height: 50px;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -20%);
}
#navbar .logo-navbar {
    display: none;
}
@media (min-width:768px){
    #navbar .logo-navbar {
        display: block;
        fill: var(--text-color);
        height: 50px;
        width: auto;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -20%);
    }
    #navbar .logo-mobile-navbar {
        display: none;
    }
}

#navbar nav{
    display: flex;
    justify-content: space-between;
}


/* Light & Dark */

.btn-light-dark-div {
    height: 34px;
    width: 70px;
    border: solid var(--text-color);
    border-radius: 17px;

    display: flex;
    align-items: center;
    justify-content: start;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}


.btn-light-dark-change {
    height: 25px;
    width: 25px;
    border-radius: 100%;
    background-color: var(--text-color);
    position: relative;
    

    /* margin-left: 2px;
    margin-right: 2px; */

    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    left: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-light-dark-change svg {
    position: absolute;
    stroke: var(--invert-text-color);
    height: 15px;
}
#moon {
    display : none;
}

/* Dark */

.dark-mode .btn-light-dark-change{
    transform: translateX(34px);
}
.dark-mode #sun {
    display: none;
}
.dark-mode #moon {
    display: block;
}


/* Menu */

.burger {
    width: 32px;
    height: 24px;
    cursor: pointer;
    right: 2rem;
    top: 2rem;
    z-index: 20;
    margin-top: auto;
    margin-bottom: auto;
}
.burger span {
    width: 100%;
    height: 4px;
    background-color: var(--text-color);
    display: block;
    transition: background-color 0.5s ease-in-out;
}
.burger span::before,
.burger span::after {
    content: "";
    width: 100%;
    background-color: var(--text-color);
    display: block;
    transition: all 0.5s ease-in-out;
    height: 4px;
}
.burger span::before {
    transform: translateY(-10px);
}
.burger span::after {
    transform: translateY(10px);
    margin-top: -4px;
}
.burger.active span {
    background-color: transparent;
}
.burger.active span::before {
    transform: rotateZ(45deg) translateY(0);
}
.burger.active span::after {
    transform: rotateZ(-45deg) translateY(0);
}


/* overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    transition: right 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 8;
    padding-top: 100px; 
    padding-left: 20px;

    display: flex;
    justify-content: start;
    align-content: left;
}
@media (min-width: 768px) {
    .menu-overlay {

        padding-top: 150px; 
        padding-left: 40px;

        width: 50%;
        box-shadow: #0000006e 0px 0px 50px;
        padding-left: 80px;
        justify-content: start;
        align-content: center;
    }
}
/* ouvert */
body.menu-open .menu-overlay {
    right: 0;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-list li {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--text-color); 
    transition: color 0.4s ease;
}
.nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 2.3rem;
    font-weight: bold;
    display: block;
    padding-bottom: 0.3rem;
    transition: color 0.3s ease;
}
@media (min-width: 768px){
    .nav-list li a{
        font-size: 3rem;
        padding-bottom: 0.5rem;
    }
}
.nav-list li a:hover {
    color: var(--accent-color);  
}
.nav-list li a:hover ~ li{
    border-bottom: 2px solid var(--accent-color); 
}



/* ---------------- MAIN ----------------*/

.main {
    padding-top: 120px;
}


/* --------------- FOOTER -------------- */

#footer {
    padding-top: 120px;
    padding-bottom: 120px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    background: var(--bg-color);
    gap: 50px;
}
@media (min-width: 768px){
    #footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 150px;

    }
}


#footer .logo-navbar{
    fill: var(--text-color);
    position: relative;
    width: auto;
}

#footer address {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-family: "alternate-gothic-atf", sans-serif;
    font-style: normal;
    font-size: 1.8rem;
    margin-top: 3rem;
}
#footer address a {
    color: var(--text-color);
    transition: all 0.6s ease-in-out;
}
#footer address a:hover {
    color: var(--accent-color);
}


#footer .legals-pages{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
@media (min-width: 768px) {
    #footer .legals-pages{
        flex-direction: row;
        grid-column: 1/3;
    }
}


#footer .legals-pages div {
    margin-top: auto;
    margin-bottom: 3px;
    height: 1px;
    width: 100%;
    background-color: #8b8b8b;
    opacity: 0.6;
}

#footer .legals-pages a{
    color: #8b8b8b;
    opacity: 0.6;
    text-decoration: none;
    text-wrap: nowrap;
}
#footer .legals-pages a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------------------ */
/* -------------------------------- HOME PAGE SECTION --------------------------------- */


/* --------------- Hero Section -------------- */


.hero-section {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
}


.hero-section h1 {
    color: white;
}
.hero-section p {
    color: white;
}

.hero-bg {
    /* background: url(../images/LE%20BELVEDERE%20_%20VISUEL%20COUCHE%20DE%20SOLEIL.jpg);
    background-size: cover;
    background-position: center; */
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.black-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.459), rgba(0, 0, 0, 0.185));
    z-index: -1;
}


/* --------------- Events Section -------------- */

.events-section h2 {
    color: var(--accent-color);
}


@media(min-width:768px) {
    .events-section h2 {
        grid-column: 1/5;
        grid-row: 1;
    }

    .events-section .content-grid p {
        grid-column: 1/4;
        grid-row: 2;
    }
    .events-section .content-grid a {
        grid-column: 4/5;
        grid-row: 2;
        margin-left: auto;
    }
}


/* --------------- BLV Section -------------- */

.blv-section {
    background-color: var(--accent-color);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.blv-section .content-box {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width:768px) {
    .blv-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .blv-section img {
        grid-column: 1/2;
    }
    .blv-section .content-box {
        grid-column: 2/3;
        margin-top: auto;
        margin-bottom: auto;
    }
}


.blv-section img {
    width: auto;
    height: 50vh;
    object-fit: cover;
}
@media (min-width:768px) {
    .blv-section img {
        height: 80vh;
    }
}

.blv-section h2, .blv-section p{
    color: white;
}


/* --------------- Bar blv Section -------------- */

.bar-blv-section {
    background-color: var(--bg-bar);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.bar-blv-section .content-box {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width:768px) {
    .bar-blv-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .bar-blv-section img {
        grid-column: 2/3;
    }
    .bar-blv-section .content-box {
        grid-column: 1/2;
        margin-top: auto;
        margin-bottom: auto;
    }
}


.bar-blv-section img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}
@media (min-width:768px) {
    .bar-blv-section img {
        height: 80vh;
    }
    .bar-blv-section a {
        margin-right: auto;
    }
}

.bar-blv-section h2, .bar-blv-section p{
    color: white;
}



/* ------------------ SLIDER EVENEMENTS---------------------- */

.events-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto; 
    /* scroll-snap-type: x mandatory;  */
    -webkit-overflow-scrolling: touch; 
    flex-wrap: nowrap;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 15vw;
    scroll-behavior: smooth;
}

.event-card {
    flex: 0 0 80%; 
    aspect-ratio: 2 / 3;
    scroll-snap-align: start; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.event-info-link {
    position: absolute;
    width: 100%;
    height: 50%;
    top:0;
}

@media (min-width:768px) {
    .events-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: auto;
        gap: 30px;
        margin-top: 50px;
        margin-bottom: 50px;
        padding-left: 0px;
    }

    .event-card {
        width: 100%;
        aspect-ratio: 2 / 3;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .event-info-link {
        position: absolute;
        width: 100%;
        height: 65%;
        top:0;
        
    }

}
.event-card img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.event-info {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    background: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 0) 100%);
    align-items: start;
    justify-content: end;
    gap: 10px;
    transition: all 0.5s ease-in-out;
}
@media (min-width:768px) {
    .event-info {
        background: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    }
    
}


.event-card h3{
    color: white;
}
.event-card span {
    color: white;
    font-size: 1.2rem; 
    font-weight: 500;
}


.ticket-line {
    background: linear-gradient(to right , white, rgba(255, 255, 255, 0));
    height: 2px;
    width: 100%;
}
.space {
    height: 0%;
    transition: all 0.5s ease-in-out;
}

.event-card .btn-div{
    flex-direction: column;
}

@media (min-width:768px) {
    .event-card .btn-div {
        flex-direction: column;
        display: none;
    }
    .event-card:hover .event-info {
        background: linear-gradient(to top, var(--accent-color), #ba5d4d65);
        backdrop-filter: blur(3px); 
        -webkit-backdrop-filter: blur(3px);
        
    }
    .event-card:hover .btn-div {
        display : flex;
    }
    .event-card:hover .space {
        height: 10%;
    }

    .event-card span {
        font-size: 1.5rem; 
    }
}




/* -------------------------- CONTACT SECTION -------------------------------- */

.contact-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
}
@media (min-width:768px) {
    .contact-section {
        grid-template-columns: repeat(2, 1fr);
    }
}
.contact-section .contact-div h2 {
    color: var(--accent-color);
}

.contact-section .contact-div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 20px;
}
.contact-section img{
    padding-left: 40px;
    padding-right: 40px;
}

.contact-section ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.contact-section ul li{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
.contact-section ul li h4, .contact-section ul li p{
    text-transform: uppercase;
}
.contact-section ul li p span{
    font-size: 3rem;
    font-weight: 800;
}
.contact-sectionul li p{
    font-size: 1.5rem;
}
@media (min-width:768px){
    .contact-section ul {
        gap: 70px;
    }
    .contact-section ul li{
        flex-direction: column;
    }
    .contact-section ul li p span{
        font-size: 5rem;
    }
    .contact-sectionul li p{
        font-size: 2rem;
    }
}


/* -------------------------- SINGLE EVENT -------------------------------- */

.single-event {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}
.event-content {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.btn-back:hover {
  opacity: 1;
  color: var(--or-sable);
  transform: translateX(-5px); 
}
.btn-back svg {
  transition: transform 0.3s ease;
}

@media (min-width:768px) {
    .single-event {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    .single-event img{
        grid-column: 1/2;
        grid-row: 2/4;
        object-fit: cover;
    }
    .single-event .event-content{
        grid-column: 2/5;
        grid-row: 2/6;
    }
    .btn-back {
        grid-column: 1/2;
        grid-row: 1/2;
    }
}


/* -----------------------Curseur --------------------- */

.custom-cursor {
    width: 12px;
    height: 12px;
    background: var(--gold-gradient);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease,  opacity 0.3s ease;

    will-change: transform;
}

/* État quand on survole un lien */
.custom-cursor.active {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    opacity: 0.5;
}

/* Désactivation sur mobile */
@media (max-width: 1024px) {
    .custom-cursor { display: none; }
}

/*---------------------------------------------------- CSS Complémentaire Gutemberg ------------------------------------------------- */

.div-gap {
    gap: 3rem;
}


/* -----------------------------------------------      loader       ---------------------------------------------------  */

#loader-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

#loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
    }
    @keyframes logoIn {
    to { opacity: 1; transform: translateY(0); }
}

.loader-bar-wrap {
    width: 120px; height: 1.5px;
    background: rgba(255,255,255,0.12);
    margin-top: 28px; border-radius: 2px; overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.4s ease 0.8s forwards;
    }
    @keyframes fadeIn { to { opacity: 1; } }

.loader-bar {
    height: 100%; width: 0%;
    background: var(--accent-color); 
    animation: barFill 1.6s cubic-bezier(0.4,0,0.2,1) 0.9s forwards;
}

@keyframes barFill { to { width: 100%; } }
.loader-subtitle {
    margin-top: 14px;
    font-size: 11px; letter-spacing: 0.3em;
    color: var(--text-color);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.1s forwards;
}

#loader-overlay svg{
    width: 200px; opacity: 0; transform: translateY(18px); animation: logoIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
    fill: var(--text-color);
}

@media (min-width: 1024px) {
    
    .loader-bar-wrap{
        width: 300px;
    }
    #loader-overlay svg{
        width: 500px;
    }
    .loader-subtitle {
        font-size: 1rem;
    }

}

/* ---- Page 404 ---- */

.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px var(--mobile-padding);
}

.page-404-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 700px;
}

.page-404-inner svg,
.page-404-inner img {
    width: 160px;
    height: auto;
    fill: var(--text-color);
}

.page-404-number {
    font-family: "alternate-gothic-atf", sans-serif;
    font-size: 10rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}
@media (min-width: 768px) {
    .page-404-number {
        font-size: 18rem;
    }
}

.page-404-title {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-color);
}
@media (min-width: 768px) {
    .page-404-title {
        font-size: 3.5rem;
    }
}

.page-404-text {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.7;
}
@media (min-width: 768px) {
    .page-404-text {
        font-size: 1.5rem;
    }
}

.page-404 .btn-div {
    margin-top: 16px;
    justify-content: center;
}

/* ---- Filtre événements ---- */

.events-filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .events-filter {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 6px 20px;
    border-radius: 50px;
    border: 2px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    font-family: "alternate-gothic-atf", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}
.filter-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}
.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.filter-search {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    font-family: "alternate-gothic-atf", sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s ease;
    width: 100%;
}
@media (min-width: 768px) {
    .filter-search {
        width: 280px;
    }
}
.filter-search::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}
.filter-search:focus {
    border-color: var(--accent-color);
}


/*  Animations de page   */

#page-transition {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9998;
    opacity: 1;
    transition: opacity 0.4s ease;
}
#page-transition.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* --------------------- Émojis --------------------- */

.emoji-tint {
    filter: grayscale(100%) sepia(0.3) hue-rotate(-25deg) saturate(3) brightness(0.85); 
}

/* --------------------- FAQ filtre --------------------- */

.faq-filter {
    margin-bottom: 40px;
}

/* --------------------- FAQ --------------------------- */

.schema-faq-section {
    border-bottom: 2px solid var(--text-color);
    padding: 24px 0;
}
.schema-faq-section:first-of-type {
    border-top: 2px solid var(--text-color);
}

.schema-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "alternate-gothic-atf", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
    gap: 20px;
}
@media (min-width: 768px) {
    .schema-faq-question {
        font-size: 2rem;
    }
}

.schema-faq-question::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: transform 0.35s ease;
}
.schema-faq-section.faq-open .schema-faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.schema-faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    transform: none !important;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding-top 0.3s ease !important;
    padding-top: 0 !important;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-color);
}
@media (min-width: 768px) {
    .schema-faq-answer {
        font-size: 1.4rem;
    }
}
.schema-faq-section.faq-open .schema-faq-answer {
    max-height: 800px !important;
    padding-top: 16px !important;
}
.schema-faq-answer img {
    width: 100%;
    height: auto;
}

