/*
Theme Name: Courts dans les prés Version après festival 2025
Author: CinéJarzé et Clap et court
Version: 1.0
Description: Site du festival de courts métrage "Court dans les prés"
*/

/* -------------------------
   PALETTE DE COULEURS
   ------------------------- */

:root {
--color-lin: rgb(237, 232, 228); /* #EDE8E4 */
--color-gray: rgb(37, 32, 28); /* #EDE8E4 */
--color-fuschia: rgb(216, 95, 145); /* #D85F91 */
--color-fuschia-60: rgb(216, 95, 145,0.6); /* #D85F91 */

--color-pacific: rgb(224, 167, 71); /* #E0A747 */
--color-carotte: rgb(228, 98, 40); /* #E46228 */
--color-carotte-60: rgb(228, 98, 40,0.6); /* #E46228 */
--color-olive: rgb(177, 169, 63); /* #B1A93F */
--color-olive-60: rgb(177, 169, 63,0.6); /* #B1A93F */
--color-text: var(--color-lin);
--color-text-white-background: var(--color-gray);

--color-bg: var(--color-lin);
--color-button_bg: var(--color-fuschia);
--color-button_text: var(--color-lin);
--color-button_hover: var(--color-carotte);
}

.color-carotte{
    background-color: var(--color-carotte);
}

.color-pacific{
    background-color: var(--color-pacific);
}

.color-olive{
    background-color: var(--color-olive);
}

.pacific-background{
    background-color: var(--color-pacific);
}

.hover\:olive-background:hover,
.lg\:olive-background,
.sm\:olive-background,
.olive-background{
    background-color: var(--color-olive);
}   
@media (min-width: 640px) {
    .olive-background\/60
    {
        background-color: var(--color-olive-60);
    }
}


.lg\:fuschia-background,
.sm\:fuschia-background,
.fuschia-background{
    background-color: var(--color-fuschia);
}   
@media (min-width: 640px) {
    .fuschia-background\/60
    {
        background-color: var(--color-fuschia-60);
    }
}


.lg\:carotte-background,
.sm\:carotte-background,
.carotte-background{
    background-color: var(--color-carotte);
}   
@media (min-width: 640px) {
    .carotte-background\/60
    {
        background-color: var(--color-carotte-60);
    }
}


.lin-background{
    background-color: var(--color-lin);
}
.flex-2{
    flex: 2 1 0%;
}

/* -------------------------
    TYPOGRAPHIES
    ------------------------- */

/* Importation des polices (à héberger localement ou via Google Fonts si disponibles) */
@font-face {
font-family: 'PetalaPro-SemiBold';
    src: url("./assets/fonts/PetalaPro-SemiBold/PetalaPro-SemiBold.eot");
    src: url("./assets/fonts/PetalaPro-SemiBold/PetalaPro-SemiBold.eot?#iefix")format("embedded-opentype"),
    url("./assets/fonts/PetalaPro-SemiBold/PetalaPro-SemiBold.woff2")format("woff2"),
    url("./assets/fonts/PetalaPro-SemiBold/PetalaPro-SemiBold.woff")format("woff"),
    url("./assets/fonts/PetalaPro-SemiBold/PetalaPro-SemiBold.ttf")format("truetype"),
    url("./assets/fonts/PetalaPro-SemiBold/PetalaPro-SemiBold.svg#PetalaPro-SemiBold")format("svg");
}

@font-face {
    font-family: 'Petala Pro';
    src: url("./assets/fonts/PetalaPro/PetalaPro.eot");
    src: url("./assets/fonts/PetalaPro/PetalaPro.eot?#iefix")format("embedded-opentype"),
    url("./assets/fonts/PetalaPro/PetalaPro.woff2")format("woff2"),
    url("./assets/fonts/PetalaPro/PetalaPro.woff")format("woff"),
    url("./assets/fonts/PetalaPro/PetalaPro.ttf")format("truetype"),
    url("./assets/fonts/PetalaPro/PetalaPro.svg#PetalaPro-SemiBold")format("svg");
}

@font-face {
    font-family: 'Cheddar Gothic Rough';
    src: url('/assets/fonts/CheddarGothicRough-Regular.otf') format('opentype');
    font-weight: normal;
}

@font-face {
font-family: 'Laurel-wreath';
    src: 
    url("./assets/fonts/Laurel wreath.ttf")format("truetype");
}

/* -------------------------
    HTML elements
    ------------------------- */
body {
    margin: 0;
    font-family: 'Petala Pro', sans-serif;
    background: #f5f5f5;
}

h3, h2, h1 {
    font-family: 'PetalaPro-SemiBold', sans-serif;
    color: var(--color-text);
    margin: 0.5em 0;
}

.white-background  h3, 
.white-background  h2,
.white-background  h1 {
    font-family: 'PetalaPro-SemiBold', sans-serif;
    color: var(--color-text-white-background);
    margin: 0.5em 0;
}

html h1{
    font-size: 2.5rem;
    line-height:1;
}

html h2{
    font-size: 2rem;
}

html h3{
    font-size: 1.5rem;
}

.Laurel-wreath{
    font-family: 'Laurel-wreath';
}

.header{
    background-color: var(--color-fuschia);
    
    display: grid;
    grid-auto-flow: column; 
    gap: 0px 0px; 
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr 4fr 1fr; 
    grid-template-areas:         
        "headertitleimage"
        "nav-links" 
        "partenaires";    
    justify-content: center;        /* Centre horizontalement */
    align-items: center;            /* Centre verticalement */
    height: 100%;
}

.header.asMenu{
    
    position: fixed;
    
    display: grid;
    grid-auto-flow: column; 
    gap: 0px 0px; 
    grid-template-columns: 1fr; 
    grid-template-rows: 10fr 1fr 1fr; 
    grid-template-areas:         
        "headertitleimage "
        "nav-links"
        "partenaires ";

    justify-content: center;        /* Centre horizontalement */
      align-items: center;            /* Centre verticalement */
      height:7.5em;
      padding-bottom: 15px;
      clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
      z-index: 100;
      max-width: 40em;
}

@media (max-width: 768px) {
    .header.asMenu{
        display: none;
    }
    .header .nav-links {
        display: none !important;
    }

}

.header .partenaires{
    display: none;
}

.header ul{
    /* margin: 1em; */
}

.header li{
    line-height: unset;
    text-align: center;
}

.header .nav-links{
    margin-top:20px;
    grid-area: nav-links; 
    color: var(--color-lin);
    display: flex;
    transform: rotate(0deg);
    flex-direction: column;
    align-items: center;
    justify-content:center
}

.header.asMenu .nav-links{
    flex-direction: row;
    gap: 10px;
    transform: rotate(-2deg);
    margin-top: 0;
}

.partenaires {
    grid-area: partenaires; 
    display: flex;
    flex-direction: row;
    justify-content: center;        /* Centre horizontalement */
    align-items: center;            /* Centre verticalement */
    gap: 0em;
    padding: 0.5em;
    background-color: var(--color-fuschia);
    width: 100%;
}
.header.asMenu .partenaires {
    grid-area: partenaires; 
    display: flex;
    flex-wrap: wrap; /* Permet le retour à la ligne des images */
    flex-direction: row;
    justify-content: center;        /* Centre horizontalement */
    align-items: center;            /* Centre verticalement */
    gap: 1em;
    padding: 0.5em;
    background-color: var(--color-fuschia);
    width: 100%;
    transform: rotateZ(-2deg);
}
.homecontainer .partenaires img {
    width: 100%;
    height: auto;
    max-width: 12vw;
    max-height: 4vw;
    object-fit: contain;
    display: block;
}

.header.asMenu .partenaires img {
    /* width: 100%; */
    height: auto;
    max-width: 8vw;
    max-height: 10px;
    object-fit: contain;
    display: block;
}

main{
    /* margin-top: -35px; */
    clip-path: unset;
}

.headertitleimage{
    grid-area: headertitleimage; 
    max-height: 80%;        /* adapte la taille de l’image */
    max-width: 80%;
    justify-self: center;
    display: flex;
}

.header.asMenu .headertitleimage img{
    max-width: 100%;
    width:40%
}

.header .headertitleimage img{
    max-width: 500px;
    width:100%
}

section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;  
    min-height: 830px;  
    height: 100vh;
}

/* Ajoute un espace en haut des sections sous 1024px */
@media (max-width: 1024px) {
   
}


.map-section{
    height: 20vh;
}

.datefestivalico
{
text-align: end !important;
}

.datefestivalico i{
 font-size: 3.5em; 
}

.datefestival span{
 font-size: 1.5em;
 background-color: white;   
 color: #D85F91; 
}

.datefestival .date-title {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.datefestival .location-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.datefestival .location-pin {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.datefestival .location-pin::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #9cb65f;
    border-radius: 50%;
    transform: rotate(45deg);
}
.datefestival .location-text{
    font-size: 30px;
    line-height: 1.2;
}

/* Responsive styles */
@media (max-width: 768px) {
    .datefestival .date-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .datefestival .location-pin {
        width: 24px;
        height: 24px;
    }
    .datefestival .location-pin::before {
        width: 8px;
        height: 8px;
    }
    .datefestival .location-container {
        gap: 6px;
    }
}

section{
    min-height: 60vh;
}

section.titre .section-text {
    padding:  1em  5% 0em 5%;
    font-size: clamp(0.1rem, 4vw, 1.5rem);
    text-align: start;
    align-content: start;    
}

section:nth-child(even) {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
    padding:  8em  10% 0em 10%;
    font-size: clamp(0.1rem, 4vw, 1.5rem);
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    color: #fff;
    align-content: center;    
    /* height: 100%; */
    line-height: 1.3;
}

.section-image {
    flex: 1;
    text-align: center;
    line-height: unset;

    overflow: hidden;     /* masque les débordements */
    position: relative;
}

.section-image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;    /* ajuste l'image pour qu'elle couvre toute la div */
    display: block;       /* supprime les espaces blancs sous l'image */
}

.immgDateEvenement{
    position: absolute;
    right: 0px;
    bottom: 0px;
    height: 200px;
}

section.angled::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: inherit;
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 
footer, header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
} */

.footer-img{
    max-height: 16em;
}

/*  --------------------------
   Beautify footer
   -------------------------- */
.site-footer {
    background: #222;
    color: #fff;
    padding: 2em 0 1em 0;
    font-size: 1rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 2em;
}
.footer-brand {
    flex: 1 1 200px;
}
.footer-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0.3em;
}
.footer-copy {
    font-size: 0.95em;
    color: #bbb;
}
.footer-social ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.2em;
}
.footer-social a,
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-social a:hover,
.footer-links a:hover {
    color: #D85F91;
}
.footer-links {
    flex: 1 1 150px;
}

.footer-links ul{
    justify-content: center;
}

.site-footer .partenaires{
background-color: transparent;

}
.site-footer .partenaires img{
 max-width: 40px;
}

#program{
    background-image: url('./assets/salle-1-cinema-de-jarze-villages.webp');
    background-size: cover; /* Couvre toute la div */    
}
#program img{
max-height: 50px;
}
/* ------------------
  Responsive styles 
  ------------------- */
@media (max-width: 768px) {
    .header{
        background-color: #D85F91;
        position: relative;             /* Permet d'ancrer l'image secondaire */
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1em;
    }

    .footer-links {
        text-align: center;
    }

    section{    
        flex-direction: column;
        height: auto;        
        padding: 1em 0;
          line-height: 1.5em; /* Réduction de l’interligne */
              /* margin-top: -25px; */
    }

    .section-text {
        padding: 2em 5% 0.5em 5%;       
        font-size: 0.7em;
        transform: none;
        text-align: center;
          line-height: 1.5em; /* Réduction de l’interligne */
    }
    .section-image {
        width: 100%;
        height: auto;
        margin-bottom: 1em;
    }
    .section-image img {
        width: 100%;
        height: 30vh;
        object-fit: cover;
        display: block;
    }

    .immgDateEvenement{
        position: absolute;
        right: 0px;
        bottom: 0px;
        height: 100px;
    }
}


/* ------------------
   Style pour le bouton Back to Top
  ------------------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-button_bg); 
  color: var(--color-button_text); 
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  border: 0;
}
#back-to-top.opacity-100.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top.opacity-0.invisible {
  opacity: 0;
  visibility: hidden;
}
#back-to-top:hover {
  background-color: var(--color-button_hover); 
}


/* ------------------
   Style pour le badge n edition
  ------------------- */

.badge-container {
    position: relative;
    display: inline-block;
  }

  .star {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    clip-path: polygon(
      50% 0%, 61% 35%, 98% 35%, 68% 57%,
      79% 91%, 50% 70%, 21% 91%, 32% 57%,
      2% 35%, 39% 35%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;    
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .star.back {
    background-color: orange;
    transform: rotate(20deg);
    z-index: 0;
  }

  .star.front {
    background-color: hotpink;
    z-index: 1;
  }

  .badge-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .badge-text .edition {
    font-size: 16px;
    font-weight: bold;
  }

  .badge-text .number {
    font-size: 42px;
    font-weight: bold;
    margin-top: 4px;
  }

  .homecontainer {
    flex:1;
    height: 100vh;
    width: 100vw;
    display: grid; 
    grid-auto-flow: column; 
    gap: 0px 0px; 

    grid-template-columns: 1fr 1fr 1fr 2.5fr 0.25fr; 
    grid-template-rows:  0.75fr 0.5fr 0.1fr 1fr 1fr 2fr 1fr; 
    
        grid-template-areas:         
        "menu menu fetivalcourtsmetrages fetivalcourtsmetrages papillon"
        "menu menu LieuxDateHeure LieuxDateHeure LieuxDateHeure" 
        "menu menu mainPicture mainPicture mainPicture" 
        "menu menu mainPicture mainPicture mainPicture" 
        "Clocher Epis mainPicture mainPicture mainPicture" 
        "Clocher Villagoies BandeAnnonce Presentation Presentation"
        "ListePartenaires ListePartenaires BandeAnnonce Presentation Presentation"
    }
    @media (max-width: 768px) {
        .homecontainer {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: repeat(10, auto);
            grid-template-areas:
                "menu"
                "fetivalcourtsmetrages"
                "LieuxDateHeure"
                "mainPicture"
                "Clocher"
                "Villagoies"
                "BandeAnnonce"
                "Presentation"                
                "Epis"
                "ListePartenaires";
            height: auto;
            width: 100vw;
            gap: 0;
        }
        .menu { grid-area: menu; }
        .fetivalcourtsmetrages { grid-area: fetivalcourtsmetrages; }
        .LieuxDateHeure { grid-area: LieuxDateHeure; }
        .mainPicture { grid-area: mainPicture; 
             background-color: rgba(0,0,0,0.3); /* couleur superposée */
            background-blend-mode: multiply;}
        .Clocher { grid-area: Clocher; }
        .BandeAnnonce {grid-area:BandeAnnonce;}
        .Villagoies { grid-area: Villagoies; }
        .Presentation { grid-area: Presentation; }
        .ListePartenaires { grid-area: ListePartenaires; }
        .Papillon { grid-area: papillon; }
    }

    .homecontainer .mainPicture .section-text {
        padding:  1.5em  15% 0em 5%;        
        text-align: center;
        align-content: center;    
        height: unset;
    }
    .menu { grid-area: menu; }
    .mainPicture { grid-area: mainPicture; }
    .Vache { grid-area: Vache; }
    .Epis { grid-area: Epis; 
        display: flex;
        flex-direction: row;
        background-color: var(--color-carotte);        
    }
    .Clocher { grid-area: Clocher; }
    .BandeAnnonce { grid-area: BandeAnnonce; }
    .Villageois { grid-area: Villageois; }
    .Presentation {
        grid-area: Presentation; 
        background-color: var(--color-carotte);
        display: flex;
    }
    .Presentation .section-text {
        height: 100%;
    }
    .Presentation .section-text h3{
        text-align: center;
    }
    .Presentation  span{
        font-size: xx-large;
    }

    .LieuxDateHeure { 
        grid-area: LieuxDateHeure; 
        background-color: var(--color-olive);
    }
    .ListePartenaires{
        grid-area: ListePartenaires;
    }

    .Papillon{
        grid-area: papillon;
    }
    .fetivalcourtsmetrages{
        grid-area: fetivalcourtsmetrages; 
        background-color: var(--color-fuschia);
    }
    .fetivalcourtsmetrages .section-text { 
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: unset !important;
    }
    .fetivalcourtsmetrages .section-text h2{ 
        font-size: 1.5em;
        color: var(--color-lin);
        text-align: center;
        text-transform: uppercase;
    }
    
    .Villagoies { grid-area: Villagoies; }

    .BandeAnnonce{ background-color: black;}

    .mainPicture  {
        min-height: 350px;
    background-image: url('./assets/route.webp');
    background-size: cover; /* Couvre toute la div */
    background-position: bottom; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}


.mainPicture .section-text {
    position: absolute;
    bottom: 30px;
    right: 0;
    color: var(--color-lin);
    padding: 10px;
}
.mainPicture .section-text h1{
    font-size: 3.5em;
    color: var(--color-lin);
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.mainPicture .section-text h2{
    font-size: 2.5em;
    color: var(--color-lin);
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.homecontainer .etoile {
    color: var(--color-lin);

    background-image: url('./assets/etoile.svg');
    background-size: cover; /* Couvre toute la div */
    position: absolute;
    text-align: center;    
    height: 10em;
    width: 10em;
    right: 1em;
    top: -1em;
    z-index: 1000;
    display: flex;
}
.homecontainer .etoile .container{
    align-items: center;
    justify-content: center;
    transform: rotate(11deg);

    display: grid; 
    gap: 0px 0px; 
    grid-template-areas: 
    "texte1"
    "texte2"; 
    grid-template-rows: auto auto;
     line-height:0.8;
}
.homecontainer .etoile .text1 { 
    align-self: end;
    text-align: justify;
    font-size: 1.7em;
    line-height: 1em;
    margin-top:15px ;
    grid-area: texte1; 
}
.homecontainer .etoile .text2 { 
    text-align: justify;
    align-self: baseline;
    font-size: 4em;
    grid-area: texte2; 
}

.presentationcontainer {
    flex:1;
    height: 100vh;
    width: 100vw;
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr 1fr 1fr; 
  gap: 0px 0px; 
  grid-template-areas: 
    "ImageGauche ImagCentre "
    "ImageGauche texte1 "
    "ImageGauche ImageDroite "
    "Text2 ImageDroite "; 
}
.ImageGauche { grid-area: ImageGauche; }
.texte1 { 
    grid-area: texte1; 
    background-color: var(--color-fuschia);
}
.ImagCentre { grid-area: ImagCentre; }
.ImageDroite { grid-area: ImageDroite; }
.Text2 { 
    grid-area: Text2; 
    background-color: var(--color-olive);
}

.prixcontainer{
    flex:1;
    /* height: 100vh; */
    width: 100vw;
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr; 
  gap: 0px 0px; 
  grid-template-areas: 
    "ImageGauche container"
}

@media (max-width: 768px) {
    .prixcontainer{
        height:unset;
        grid-template-columns: 1fr;
        grid-template-rows: 20em auto; 
        grid-template-areas: 
        "ImageGauche"
        "container";
    }
}

.prixcontainer .ImageGauche{
    background-image: url('./assets/remiseprix2.webp');
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}
/* -------------------------
   Images de fond pour les sections spécifiques
   ------------------------- */
.Vache  {
    background-image: url('./assets/vache.webp');
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.Papillon{
    margin: 15%;
}
.Papillon .Image{
    background-image: url('./assets/papillons.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.Epis .Image{
    background-image: url('./assets/episble.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-carotte);
    width: 100%;
    height: 100%;
    display: block;
}

.Epis .prixJuryPro{
    background-image: url('./assets/logoprix/Logo_PrixJury_CDLP_Olive.webp');
    background-color: var(--color-lin);
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.Epis .prixJuryOrganisateurs{
    background-image: url('./assets/logoprix/Logo_PrixOrganisateurs_CDLP_Carotte.webp');
    background-color: var(--color-lin);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.Epis .prixJuryPublic{
    background-image: url('./assets/logoprix/Logo_PrixPublic_CDLP_Fuschia.webp');
    background-color: var(--color-lin); 
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

section .Epis .section-text{
    padding: 1em;
}

.Clocher  {
    background-image: url('./assets/clocher.webp');
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.Villagoies{
    background-image: url('./assets/villageois.webp');
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.ImageCentre{
    background-image: url('./assets/LS_VacheBlanche.png');
    background-size: 100px; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.ImageGauche{
    background-image: url('./assets/sample2.jpg');
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

.ImageDroite{
    background-image: url('./assets/sample3.jpg');
    background-size: cover; /* Couvre toute la div */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: block;
}

  .debug {
    border: 2px solid red;
  }
  .debug > div {
    border: 3px dashed #d85f91;
  }

.film-card  .relative{
    margin:10px;
}


/* -------------------------
   language
   ------------------------- */ 
   
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    border-radius: 25px;
    padding: 10px;
    display: flex;
    gap: 10px;
    opacity: 0.8;
}

.lang-btn {
    padding: 8px 15px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn.active {
    background: #fff;
    color: #2c3e50;
}

.lang-btn:hover {
    background: #fff;
    color: #2c3e50;
}


#jury .jury-short-description{
    display: flex;
}

#jury .jury-full-description{
    display: none;
}