html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote::after,
q::before, q::after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root{
    --hauteur-menu: 40px;
    --color-white: #fdfbf6;
    --color-primary: #e8b23c;
    --color-secondary: rgba(248, 150, 37, 1);
    --color-secondary-texte: #9c3f28;
    --color-tertiary: #402046;
    --paper: #17131b;   /* noir à peine teinté de violet */
    --ink: #ece1cb;     /* beige chaud, texte principal sur fond sombre */
    --violet-line: color-mix(in srgb, var(--color-tertiary) 45%, var(--paper) 55%);
    --box-shadow: 0 0 2px 1px rgba(0,0,0,.2);
}

html, body {
    height: 100%;
    margin: 0;
}

body{
    background: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* pousse le footer vers le bas */
}

ol{
    list-style: inside decimal;
}

p, li, small{
    font: 1rem/1.5rem 'Roboto', sans-serif;
    margin-bottom: 1rem;
}

header{
    box-shadow: 0 2px 4px rgba(36, 26, 18, 0.2);
}

.navbar{
    /*display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1.5rem;
    padding:1rem 1.5rem;
    border-top:3px solid var(--ink);
    border-bottom:1px solid var(--ink);
    background:var(--paper);*/
    background: var(--color-white);
    position:relative;
    z-index:20;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    /*border-bottom: 1px solid rgba(248, 150, 37, .2);*/
}

.logo{
    display:flex;
    margin-left: 1rem;
}

.logo span{
    display: flex;
    align-items: center;
}

.logo img{
    height: 2.2rem;
}

.navbar > ul{
    height: var(--hauteur-menu);
    display:flex;
    list-style:none;
    /*width: 80%;*/
}

.navbar > ul > li{
    background: #fff;
    position: relative;
    height: 100%;
    /*flex: 1;*/
    flex: 0 1 auto;
}

.navbar > ul > li > a{
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem;
    white-space: nowrap;
}

.navbar a{
    /*color:var(--groove);
    text-decoration:none;
    font-size:0.9rem;
    font-weight:500;
    padding-bottom:2px;
    border-bottom:2px solid transparent;
    transition:color 0.2s ease, border-color 0.2s ease;*/
    font: 500 1rem/1.5rem 'Roboto', sans-serif;
    font-variant: small-caps;
    text-transform: lowercase;
    text-decoration: none;
    color: #000;
}

.navbar a:hover,
.navbar a:focus-visible{
    color:var(--color-tertiary);
    border-bottom-color:var(--color-tertiary);
}

.navbar a:focus-visible{
    outline:2px solid var(--moss);
    outline-offset:4px;
    border-radius:2px;
}

.menu-deroulant > a{
    cursor: default;
}

.menu-deroulant > a::after{
    content: ">";
    margin-left: 7px;
    display: inline-block;
}

.menu-deroulant.ouvert > a::after{
    animation: rotationFleche .2s linear forwards;
}

.menu-deroulant.ouvert > .sous-menu{
    animation: apparitionSousMenu 1s forwards;
}

.sous-menu{
    background: #fff;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    min-width: 12rem;
    max-height: 0;
    position: absolute;
    z-index: -1;
}

.sous-menu > li > a{
    height: 50px;
    padding-left: 20px;
    width: 100%;
    display: flex;
    align-items: center;
}

.sous-menu > li:hover a{
    color: #fff;
    background: var(--color-tertiary);
}

.menu-deroulant:hover > a::after{
    animation: rotationFleche .2s linear forwards;
}

.menu-deroulant:hover > .sous-menu{
    animation: apparitionSousMenu 1s forwards;
}

@keyframes rotationFleche{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(90deg);
    }
}

@keyframes apparitionSousMenu{
    0%{
        box-shadow: 0 3px 3px 1px rgba(0,0,0,0);
        border-top: 1px solid var(--color-tertiary);
    }
    30%{
        box-shadow: 0 3px 3px 1px rgba(0,0,0,0.3);
    }
    100%{
        max-height: 50em;
        border-top: 1px solid var(--color-tertiary);
        box-shadow: 0 3px 3px 1px rgba(0,0,0,0.3);
    }
}

.vinyl-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    width:3rem;
    height:3rem;
    padding: 5px 0;
    margin: 0px 1rem 0px auto;
}

.vinyl-toggle svg{
    width:100%;
    height:100%;
    animation:spin 6s linear infinite;
    animation-play-state:paused;
}

.vinyl-toggle[aria-expanded="true"] svg{
    animation-play-state:running;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}

.vinyl-panel{
    position:fixed;
    inset:0;
    /*background:linear-gradient(0deg,rgba(255, 255, 0, 1) 0%, rgba(248, 150, 37, 1) 100%);
    background: #e9e2d0;*/
    background: var(--paper);
    border-top: 3px solid var(--color-secondary); /* liseré orange en haut du panneau */
    clip-path:circle(0% at calc(100% - 2.2rem) 2.4rem);
    transition:clip-path 0.45s cubic-bezier(.65,0,.35,1);
    z-index:15;
    overflow-y:auto;
    padding:6rem 2rem 3rem;
    visibility: hidden;
    pointer-events: none;
}

.vinyl-panel.open{
    clip-path:circle(150% at calc(100% - 2.2rem) 2.4rem);
    visibility: visible;
    pointer-events: auto;
}

.vinyl-menu{
    display:grid;
    grid-template-columns:1fr;
    gap:2.5rem;
    max-width:520px;
    margin:0 auto;
}

.face{
    color: var(--ink);
    font: 700 1rem/1 'Cinzel', serif;
    border-bottom:1px solid var(--color-secondary);
    padding-bottom:0.5rem;
    margin-bottom:0.9rem;
}

.vinyl-panel ol{
    list-style:none;
}

.vinyl-panel li{
    /*border-bottom:1px solid rgba(28,26,22,0.15);*/
    border-bottom: 2px solid var(--violet-line);
    margin-bottom: .5rem;
}

.vinyl-panel a{
    display:flex;
    align-items:baseline;
    gap:0.8rem;
    padding:.25rem 0;
    font: 500 1rem/1.5rem 'Roboto', sans-serif;
    font-variant: small-caps;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--ink);
    transition: color .2s ease;
}

.piste{
    color: var(--color-secondary);
    min-width:1.4rem;
    font: 500 .8rem 'Roboto', sans-serif;
}

.vinyl-panel a:hover,
.vinyl-panel a:focus-visible{
    color:var(--color-secondary);
}

.vinyl-panel a:focus-visible{
    outline:2px solid var(--color-secondary);
    outline-offset:4px;
    border-radius:2px;
}

h1{
    font: 700 2.5rem/1 'Cinzel', serif;
    text-align: center;
}

header h1{
    background: linear-gradient(0deg,var(--color-primary) 0%, var(--color-secondary) 100%);
    font-optical-sizing: auto;
    padding: 1.5rem;
    padding: 1rem;
}

section h1{
    font-size: 1.5rem;
    text-transform: lowercase;
    margin-bottom: 2rem;
    margin-bottom: 1.5rem;
}

section h2{
    font: 700 1.2rem/1.2 'Roboto', sans-serif;
    margin-bottom: 1rem;
    color: var(--color-secondary-texte);
    text-shadow: 1px 1px 20px rgba(0,0,0,.2);
}

section:not(.carousel, .frise) h2{
    padding-bottom: .2rem;
    border-bottom: 1px solid var(--color-secondary-texte);
}

section h2 span{
    color: #000;
    font-size: .8rem;
    font-weight: 400;
}

section{
    padding: 1rem;
    margin: 1rem;
}

section:not(.carousel, .actu){
    background: var(--color-white);
    box-shadow: var(--box-shadow);
    border-radius: 10px;
}

section.carousel{
    padding: 2rem 3rem;
    margin: 0;
}

.paroles-container section.carousel{
    padding: 1rem;
    padding-top: 2rem;
}

section:first-of-type{
    padding-top: 2rem;
}

section p:last-of-type{
    margin-bottom: 0;
}

section p span{
    color: var(--color-secondary-texte);
    font-weight: 600;
}

.bandeau-video{
    position: relative;
    z-index: -1;
    /*height: 600px;*/
    height: 400px;
    /*padding-top: 150px;*/
    /*text-align: center;*/
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.bandeau-video .overlay{
    position: absolute;
    z-index: -2;
    inset: 0;
    background-color: #30303061;
}

.bandeau-video video{
    position: absolute;
    z-index: -3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actu{
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,.6);
    border-radius: 10px;
    padding: 3rem;
    padding: 1rem;
    margin: 1.5rem;
}

.actu h1{
    font: 700 1.2rem/1 'Cinzel', serif;
    text-align: center;
    margin-bottom: 2rem;
}

.actu li:not(:last-child){
    margin-bottom: 1rem;
}

#carousel-paroles{
    margin: 0 2rem;
}

#carousel-paroles a.actif{
    font-weight: bold;
}


/*.setlists-container > div{
    margin-bottom: 1.5rem;
}

.setlists-container h2{
    margin-bottom: .5rem;
}

.setlists-container ol li{
    margin-bottom: 0;
}*/

/*.setlists-container > div span{
    diplay: inline-block;
    margin: .25rem 0 1rem 0;
}*/

.timeline{
    position:relative;
    max-width: 500px;
    margin: 0 auto;
    list-style:none;
    padding:0;
}

.concerts .timeline{
    max-width: 700px;
}

/* ligne centrale */
.timeline::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left: 1.1rem;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--color-tertiary) 0 8px, transparent 8px 16px);
}

.timeline-item{
    position:relative;
    margin-bottom: 2.5rem;
    padding-left: 3rem;
}

/* pastille sur la ligne */
.timeline-item::before{
    content:"";
    position:absolute;
    top: 0rem;
    left: 1.2rem;
    width: 12px;
    height: 12px;
    border-radius:50%;
    background: var(--color-secondary);
    border: 2px solid var(--color-tertiary);
    transform: translateX(-50%);
    z-index:2;
}

/* ---------- Ticket dépliable ---------- */
.ticket{
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 14px rgba(36,26,18,0.18);
    position:relative;
    overflow:hidden;
}

/* encoches façon billet, en haut et en bas */
.ticket::before,
.ticket::after{
    content:"";
    position:absolute;
    width: 20px;
    height: 20px;
    background: var(--ink);
    border-radius:50%;
    left: -10px;
    z-index:3;
}

.ticket::before{
    top: -10px;
}

.ticket::after{
    bottom: -10px;
}

.ticket summary{
    cursor:pointer;
    padding: 1.1rem 1.3rem 1.1rem 1.6rem;
    padding: 1rem 1.5rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    border-bottom: 1px dashed rgba(64,32,70,0.3);
}

.ticket summary::-webkit-details-marker{
    display:none;
}

.ticket h2{
    color: var(--color-tertiary);
    margin-bottom: 0;
}

.ticket h2 span{
    display:block;
    color: var(--color-tertiary);
    opacity:0.8;
    margin-top: 0.2rem;
}

.ticket-meta{
    display:flex;
    align-items:center;
    gap:.8rem;
    flex-shrink:0;
}

.ticket-count{
    font-size:0.8rem;
    color: var(--color-secondary);
    font-weight:700;
    white-space:nowrap;
}

.ticket-arrow{
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid var(--color-tertiary);
    border-bottom: 2px solid var(--color-tertiary);
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
}

.ticket[open] .ticket-arrow{
    transform: translate(0, -3px) rotate(45deg);
}

.ticket-songs{
    list-style:none;
    padding: 0.8rem 1.6rem 1.4rem;
    counter-reset: piste;
}

.ticket-songs li{
    counter-increment: piste;
    padding: 0.5rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(36,26,18,0.08);
    font-size:0.95rem;
}

.setlists .ticket-songs li{
    display:flex;
    gap:0.8rem;
}

.ticket-songs li:last-child{
    border-bottom:none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.setlists .ticket-songs li::before{
    content: counter(piste, decimal-leading-zero);
    color: var(--color-secondary);
    font-weight:700;
    font-size:0.8rem;
    min-width: 1.6rem;
}

@media (prefers-reduced-motion: reduce){
    .ticket-arrow{ transition:none; }
}

.galerie-img {
    /*margin: 0 auto;*/
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    /*padding: 0 14px;*/
}

.galerie-img::after {
    content:'';
    display:block;
    flex-grow: 10;
}

.galerie-img li {
    flex-grow: 1;
    /*list-style-type: none;*/
    height: 250px;
    margin-bottom: 0;
}

.galerie-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    border-radius: 5px;
}

.galerie-img img.lc{
    object-position: left center;
}

footer{
    background: linear-gradient(180deg,var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: .2rem 1rem;
    text-align: right;
    box-shadow: 0 -2px 4px rgba(36, 26, 18, 0.2);
}

footer small{
    font-size: .75rem;
    line-height: 1;
}

@media (min-width: 480px){
    .vinyl-menu{grid-template-columns:1fr 1fr;}
}

@media (min-width: 768px){
    section:not(.carousel, .actu, .galerie){
        margin: 2rem 6rem;
    }

    .bandeau-image{
        background: url("medias/bandeaux/bandeau1.jpg") center/cover no-repeat transparent;
        height: 250px; /*450*/
        box-shadow: 0 5px 5px 5px rgba(0,0,0,.5);
    }

    .albums .bandeau-image, .page-paroles .bandeau-image{
        background-image: url("medias/bandeaux/bandeau2.jpg");
        background-position: center calc(50% + 65px);
    }

    .concerts .bandeau-image, .setlists .bandeau-image{
        background-image: url("medias/bandeaux/bandeau3.jpg");
    }

    .paroles-container{
        display: flex;
        gap: 3rem;
    }

    .paroles-container section:first-child{
        width: 352px;
        padding: 2rem 1rem;
    }

    .paroles-container section:last-child{
        width: calc(100% - 352px - 4rem);
        margin: 2rem 2rem 2rem 0;
    }

    .paroles-container section.carousel{
        /*margin: 1rem 0 0 2rem;*/
    }
}

@media (max-width: 991px){
    .navbar ul{display:none;}
    .vinyl-toggle{display:block;}
}

@media (min-width: 992px){
    .vinyl-panel{
        display:none;
    }

    .paroles-container{
        gap: 4rem;
    }

    .paroles-container section:last-child{
        width: calc(100% - 352px - 6rem);
    }
}

@media (min-width: 1200px){
    section:not(.carousel, .actu, .galerie){
        margin: 2rem 18rem;
    }

    .bandeau-image{
        height: 350px; /*450*/
    }

    .albums .bandeau-image, .page-paroles .bandeau-image{
        background-position: center calc(50% + 140px);
    }
}

@media (prefers-reduced-motion: reduce){
    .vinyl-panel,
    .vinyl-toggle svg{
        transition:none;
        animation:none;
    }
}
