@charset "UTF-8";
/* colors */
/* Typographie */
@font-face {
  font-family: 'BatonTurbo';
  font-weight: 600;
  src: url("../fonts/Baton-Bold-Web.eot");
  src: url("../fonts/Baton-Bold-Webd41d.eot?#iefix") format("embedded-opentype"), url("../fonts/Baton-Bold-Web.woff") format("woff");
}
@font-face {
  font-family: 'BatonTurbo';
  font-weight: 400;
  src: url("../fonts/Baton-Medium.eot");
  src: url("../fonts/Baton-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Baton-Medium.woff") format("woff");
}


:root {
    /* COLORS */
    --main: #410099; /* 2025=violet anciennement --red */
    --main-light: #b89fd9; /* 2025=violet clair */
    --second: #fce200; /* 2025=jaune */
    --second-light: #fef49f; /* 2025=jaune clair */
    --third: #a3a5a8; /* 2025=gris */
    --swiss: #c22436;
}

html {
    font-size: 10px;
}

/* Global */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-smooth: never;
  -moz-font-smooth: never;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.3;
  font-family: "BatonTurbo", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  background: url('../assets/background-wood.jpg') repeat #eee;
}


header {
    text-align: center;
    color: var(--main-light);
}
    header.sticky {
        margin-top: 0;
    }
    #branding {
        font-size: 3.6rem;
    }
        #branding img {
            height: 140px;
            width: auto;
            margin-bottom: 1.618rem;
        }
    
    header section {
        border: 1px solid #000;
        padding: 2.5rem;
        background-color: var(--main);
    }
    .coordination {
        display: none;
        text-align: right;
        vertical-align: top;
        font-size: 1.618rem;
    }
    .coordination div {
        display: inline-block;
        vertical-align: top;
        margin-bottom: 1.618rem;
    }
    .coordination img {
        display: inline-block;
        height: 70px;
        width: auto;
        margin-left: 2.618rem;
    }
    .stickyProCirque {
        display: none;
        text-align: right;
    }
        .stickyProCirque img {
            display: inline-block;
            height: 70px;
            width: auto;
        }
    header a, header a:link, header a:visited {
        color: #fff;
        text-decoration: none;
        opacity: 1;
    }
        header a:hover {
            text-decoration: underline;
        }
    .banner {
        color: #fff;
        font-size: 4.6rem;
        line-height: 1;
        text-align: center;
        font-weight: 600;
        text-transform: uppercase;
    }
    .sticky .banner {
        display: none;
        font-size: 4.8rem;
    }
    
    /*The sticky class is added to the header with JS when it reaches its scroll position*/
    .sticky {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 50;
    }
        .sticky #branding img {
            height: 80px;
            width: auto;
        }
        .sticky .coordination {
            display: none;
        }

    /*Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0)*/
    .sticky + main {
        padding-top: 190px;
    }
    
    @media screen and (min-width: 800px){
        header {
            margin-top: 2.5rem;
            text-align: left;
        }
        #branding img {
            height: auto;
            width: auto;
            margin-bottom: 0;
        }
        .sticky #branding img {
            height: 120px;
        }
        .banner {
            font-size: 5.2rem;
        }
        .sticky .banner {
            display: block;
        }
        .coordination {
            display: block;
        }
        .nav {
            text-align: right;
        }
        
        .sticky .stickyProCirque {
            display: inline-block;
        }
    }
    
menu {
    text-align: center;
    margin: 2.618rem 0 0 0;
    padding: 0;
}
    .sticky menu {
        margin: 0;
    }
    menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    menu li {
        padding: 0;
        margin: 0;
    }
    menu a, menu button {
        color: #fff;
        transition: color 0.4s;
        font-size: calc(1.618rem * 1.1);
        text-transform: uppercase;
    }
    menu a:hover, menu button:hover {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
    
    #lgSwitcher button {
        display: none;
        padding: 0;
    }
    #lgSwitcher .sub-menus {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0 auto;
        text-align: center;
    }
    #lgSwitcher .sub-menus li {
        vertical-align: top;
    }
    

    @media screen and (min-width: 800px){
        menu {
            text-align: right;
            margin-top: 4.854rem;
        }
        menu a, menu button {
            font-size: calc(1.618rem * 1.2);
        }
        .sticky menu {
            margin-top: 2.618rem;
        }
        .sticky #lgSwitcher button {
            display: inline-block;
        }
            #lgSwitcher button:before {
                content: "\2193";
                margin-right: 5px;
            }
        #lgSwitcher li {
            position: relative;
        }
        #lgSwitcher .sub-menus {
            display: block;
            text-align: right;
        }
            .sticky #lgSwitcher .sub-menus {
                display: none;
                position: absolute;
                right: -1.618rem;
                background-color: var(--main);
                padding: 1.618rem;
                padding-top: 0;
                z-index: 99;
            }
            #lgSwitcher li:hover ul.sub-menus {
                display: block;
            }
        .sticky #lgSwitcher .sub-menus .active {
            /* lien vers la langue active à masquer pour éviter un doublon lorsque le header est en mode scroll */
            display: none;
        }
    }
        
.layout-maxed {
    grid-template-columns: minmax(.75rem,1fr) minmax(auto,1200px) minmax(.75rem,1fr);
}

h1, h2 {
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    font-weight: 600;
}
    h1 {
        
    }
    h2 {
        font-size: 3.6rem;
    }
    h1 .light, h2 .light {
        font-size: 0.75em;
        font-weight: 400;
    }

main {
    font-size: 2.4rem;
}
    p.center,
    div.center {
        text-align: center;
        margin: 1rem;
    }

.button, .button:link, .button:active, .button:visited {
    display: inline-block;
    overflow: visible;
    position: relative;
    
    max-width: 100%;
    width: auto;
    padding: 1.618rem 2.618rem;
    margin-bottom: 0.618rem;
    border-radius: 2.618rem;
    
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 0.8;
    text-decoration: none;
    text-transform: none;
    
    text-align: center;
    justify-content: center;
    align-items: center;
    
    border-style: none;
    box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
    box-sizing: border-box;
    
    background-color: var(--swiss);
    transition: color 0.6s, background-color 0.8s;
    
    appearance: none;
    cursor: pointer;
    fill: currentcolor;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform,opacity;
    z-index: 0;
}
.button:hover, .button:focus {
    text-decoration: none;
    color: #fff;
    background-color: var(--second);
}
.button.big {
    font-weight: 600;
    font-size: 2.4rem;
    text-transform: uppercase;
    padding: 1.618rem 2.618rem;
    border-radius: 2.618rem;
}
.button .light {
    font-size: 0.75em;
}
@media screen and (min-width: 768px) {
    .button.big {
        font-size: 3.6rem;
        padding: 3.236rem 6.472rem;
        border-radius: 6.472rem;
    }
}

span.light {
    font-weight: 400;
}

section {
    background-color: #fff;
    padding: 3rem 1rem;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}
    section.third-color {
        background-color: var(--third);
    }
    section.main-light-color {
        background-color: var(--main-light);
    }
    section.second-color {
        background-color: var(--second);
    }

main a, main a:link, main a:active, main a:visited {
    color: var(--main);
    text-decoration: none;
}
    main a:hover, main a:active {
        text-decoration: underline;
    }

ul.discret {
    list-style: none;
    padding: 0.618rem 0 0 0;
    margin: 0;
    font-size: 1.2em;
}
    ul.discret li {
        line-height: 1;
        margin: 0 0 1.236rem 0;
    }
@media screen and (min-width: 600px){
    section {
        padding: 3rem 5rem;
    }
    ul.discret {
        column-count: 2;
    }
}
@media screen and (min-width: 800px){
    ul.discret {
        column-count: 3;
    }
}

.draft {
    background-color: var(--second);
}

.wall div {
    padding: 25px 15px;
}

/* BEGIN BUTTON scroll to */
.scroll-button-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}
    button.scroll-button {
        position: absolute;
        font-weight: 600;
        font-size: 2.8rem;
        line-height: 1;
        text-transform: uppercase;
        margin: 1.618rem 1rem 0;
        padding: 1rem 2.618rem 0.618rem;
        border-radius: 2.518rem;
        color: #fff;
        background-color: var(--swiss);
        cursor: pointer;
        z-index: 40;
    }
/* END BUTTON */

/* BEGIN Map */
#map {
    min-height: 400px;
    height: 60vh;
    background-color: #eee;
    z-index: 25;
}
/* END MAP */


/* BEGIN Liste */

#propositions {
    padding: 3rem 0 0;
    background-color: var(--main-light);
}

#propositions h2 {
    padding: 0 1rem 1.618rem;
}

.rdvs {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    background-color: var(--second);
}
    .rdvs li {
        border-top: 2px solid var(--second);
    }
        .rdvs li:nth-child(odd){ background-color: var(--main-light); }
        .rdvs li:nth-child(even){ background-color: var(--main); }

        .rdvs li:hover, .rdvs li:focus {
            color: #fff;
            background-color: var(--third);
        }
        .single .rdvs li {
            border-top: 0;
        }
        .single .rdvs li:hover, .single .rdvs li:focus {
            background-color: none;
        }
    .rdvs li:first-child,
    .rdvs li:first-child .rdv-header {
        border-top: 0;
    }

.home #propositions {
}
    .home #propositions h2 {
        color: var(--main);
    }

/* BEGIN A EFFACER ? */
    .home .rdvs {
        background-color: var(--main-light);
    }
    .home .rdvs li {
        display: flex;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: baseline;
        padding: 1rem;
        cursor: pointer;
        color: #fff;
    }
    .home .rdvs li:last-child{
        align-self: flex-end;
    }

.rdvs li .flex {
    display: inline-block;
    font-size: 2.3rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
    .flex {
        width: auto;
        flex-shrink: 1;
        flex-basis: auto;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .flex.nom {
        flex-grow: 1;
    }

    .flex.timing {
        text-align: center;
        flex-grow: 0;
        text-transform: uppercase;
    }
    .flex.jour {
        text-align: center;
        padding-left: 1.618rem;
        flex-grow: 0;
        text-transform: uppercase;
    }
    .flex.ville {
        width: 140px;
        flex-grow: 0;
    }
    .flex.lieu {
        width: 140px;
        flex-grow: 0;
    }
@media screen and (min-width: 768px) {
    .home .rdvs li {
        padding: 1rem 5rem;
    }
    .flex.timing,
    .flex.jour {
        width: 100px;
        padding: 0;
    }
}
/* END A EFFACER ? */

table.rdvs {
    background-color: var(--second);
}
    table.rdvs tr {
        /*display: table;*/
/*         width: 100%; */
        border-top: 2px solid var(--second);
    }
        table.rdvs tr:nth-child(odd){ background-color: var(--main-light); }
        table.rdvs tr:nth-child(even){ background-color: var(--main); }
        table.rdvs tr:hover, table.rdvs tr:focus {
            color: #fff;
            background-color: var(--third);
        }
    table.rdvs tr:first-child {
        border-top: 0;
    }
    table td {
        display: flex;
        padding: 0 10px;
        line-height: 1.2;
    }
    table .nom {
        padding-top: 5px;
    }
        table .nom a:link {
            font-weight: 700;
            font-size: 2.8rem;
        }
    table .timing {
        text-transform: uppercase;
    }
    table .lieu {
        padding-bottom: 5px;
    }
    table td a:link, table td a:active, table td a:hover, table td a:visited, table td a:focus {
        display: inline-block;
        width: 100%;
/*         padding: 10px 5px; */
        font-size: 2.3rem;

        color: #fff;
        text-decoration: none;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


@media screen and (min-width: 768px) {
    #propositions h2 {
        padding: 0 5rem 1.618rem;
    }
    #propositions > p {
        padding: 0 5rem 1.618rem;
    }

    table.rdvs {
    }
    table td {
        display: table-cell;
        padding: 0;
        line-height: 1;
    }
    table .nom {
        width: 50%;
        padding-top: 0;
        padding-left: 50px;
    }
        table .nom a:link {
            font-size: 2.3rem;
        }
    table .timing {
        width: 20%;
        font-weight: 700;
        text-align: center;
    }
    table .lieu {
        width: 30%;
        font-weight: 700;
        padding-right: 50px;
        padding-bottom: 0;
    }
    table td a:link, table td a:active, table td a:hover, table td a:visited, table td a:focus {
        padding: 10px 5px;
    }
}

/* END Liste */

/* BEGIN Fiche */
.navFiches {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    margin-top: 2rem;
}
    .navFiches .button {
        font-size: 2rem;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--main);
        padding: 1rem 2.618rem;
        background-color: var(--second);
    }
        .button:hover, .button:focus {
            background-color: var(--main);
            color: #fff;
        }
    .navFiches .arrow {
        font-size: 3.6rem;
        padding: 0rem 1.618rem;
        text-transform: lowercase;
        margin: 0 1rem;
    }
    .navFiches .arrow span {
        display: inline-block;
        line-height: 0.9;
    }
        .navFiches .arrow.right span {
            padding-top: 0.2rem;
        }
        .navFiches .arrow.left span {
            rotate: 180deg;
            padding-bottom: 0.4rem; /* recentrer verticalement l'icone */
        }
#image {
    padding: 0;
    background: var(--main);
    text-align: center;
    min-height: 80px;
}
#headset {
    display: flex;
    flex-direction: column;
    gap: 1rem;
	background-color: var(--second);
	padding-top: 2rem;
	padding-bottom: 2rem;
}
    #headset > div {
        width: 100%; // par défaut, sur petits écrans, les div utilisent 100% de la largeur
    }
	.jours {
		line-height: 1.65;
		font-size: 2.5rem;
		font-weight: 600;
		text-transform: uppercase;
	}
	.jours span, span.jour {
		display: inline-block;
		background-color: rgb(0, 200, 111);
		width: 4rem;
		height: 4rem;
		border-radius: 50%;
		margin-right: 0.3rem;
		text-align: center;
        line-height: 1.65;
		font-size: 2.5rem;
	}

	@media screen and (min-width: 768px) {
        #headset {
            flex-direction: row;
            align-items: flex-start;
        }

        #headset .titre {
            flex: 1;
            margin-right: 1rem;
        }

        #headset .jours {
            flex: 0 0 auto;
            width: 200px;
        }
    }

    /* Pour assurer une transition fluide lors du changement de layout */
    @media (prefers-reduced-motion: no-preference) {
        #headset {
            transition: flex-direction 0.3s ease;
        }
    }

/* Liste de rdv */

.rdvs li.rdv,
.rdvs li.rdv:nth-child(odd), .rdvs li.rdv:nth-child(even),
.rdvs li.rdv:hover, .rdvs li.rdv:focus{
/*     annule les couleurs de la page d'accueil */
    color: #fff;
    background-color: var(--third);
}
        .rdvs li:hover, .rdvs li:focus {
            color: #fff;
            background-color: var(--third);
        }

.rdv-header {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    cursor: pointer;
    color: var(--main);
    background-color: var(--second);
    border-top: 2px solid var(--main-light);
}
    .rdv-header > div {
        font-size: 2.3rem;
        margin-left: 3rem;
        font-weight: 600;
    }
    /* Styles spécifiques pour chaque div */
    .rdv-header .title {
        flex: 0 1 auto;
        margin-left: 0;
        width: calc(100% - 3rem); /* 20px pour l'icône + 10px de marge */
    }
    .rdv-header .type {
        flex: 1 1 100%;
        font-weight: 400;
    }
    .rdv-header .timing {
        text-transform: uppercase;
    }
    .rdv-header .timing, .rdv-header .lieu {
        flex: 0 1 auto;
        margin-top: 5px;
    }

    .rdv-header::before {
        content: '+';
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 20px;
        margin-right: 1rem;
        transition: transform 0.3s ease;

/*         display: inline-block; */
        text-align: center;
        font-weight: 400;
        font-size: 3rem;
    }
    .rdv.open .rdv-header::before {
        transform: rotate(45deg);
    }
    .rdv-header:hover, .rdv-header:focus {
        background-color: var(--second-light);
    }

    @media screen and (min-width: 768px) {
        .rdv-header {
            flex-wrap: nowrap;
            padding: 1rem 5rem;
        }
        .rdv-header > div {
            margin-left: 0;
            margin-right: 3rem;
        }
        .rdv-header .title {
            width: auto;
            max-width: calc(100% - 3rem); /* 20px pour l'icône + 10px de marge */
        }
        .rdv-header .type {
            flex: 1 1 auto;
            margin-top: 0;
        }
        .rdv-header .timing, .rdv-header .lieu {
            min-width: 20%;
            margin-top: 0;
        }
        .rdv-header .lieu {
            margin-left: auto;
        }
        .rdv-header .timing {
            margin-right: 0;
        }
    }
.rdv-details {
    display: grid;
    overflow: hidden;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}
    .rdv-details.open {
        grid-template-rows: 1fr;
        padding: 1rem 1rem 3rem 3rem;
    }

li.rdv:focus-within {
}

.rdv-details .infos {
    display: block;
    gap: 1rem;
    flex-direction : row;
    align-items: flex-start;
    color: var(--second);
}
    .rdv-details .infos div {
        flex: 1;

    }

.rdv h3 {
    color: var(--second);
    margin: 2rem 0 0;
}

/* Affichage des éléments de description (image et texte) sur deux colonnes à partir de 768px */
.rdv .description {
    display: grid;
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
}
.rdv .description > div {
    width: 100%;

}

#orga {
    display: block;
    gap: 1rem;
    flex-direction : row;
    align-items: flex-start;
    background-color: var(--second);
}
    #orga > div {
        flex: 1;
        margin-top: 2.618rem;
    }
    #orga > div:first-child {
        margin-top: 0;
    }



@media screen and (min-width: 768px) {
    .rdv .description {
        grid-template-columns: minmax(auto, 38%) 1fr;
    }
    .rdv-details.open {
        padding: 1rem 5rem 3rem;
    }
    .rdv-details .infos {
        display: flex;
    }

    #orga {
        display: flex;
    }
    #orga > div {
        margin-top: 0;
    }
}

/* Style pour assurer une transition fluide lors du changement de layout */
@media (prefers-reduced-motion: no-preference) {
    .description {
        transition: grid-template-columns 0.3s ease;
    }
}
/* END Fiche */


footer {
    color: #fff;
    font-size: 1.8rem;
	text-align: center;
}
    footer section {
        border: 1px solid #000;
        background-color: var(--main);
        padding: 3rem 5rem 2rem;
    }
    .impressum {
        font-size: 0.9em;
    }
    footer a:link {
        color: #fff;
        text-decoration: none;
    }
    footer a:hover {
        text-decoration: underline;
    }
