/* Font */
@font-face {
    font-family: 'Resum';
    src: url('/waiting-pc-26/font/Resum.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --vert-fluo: #00FF00;
    --orange: #FF4500;
    --noir: #000000;
    --blanc: #FFFFFF;
    --gris: #666666;
    --font-display: 'Resum', sans-serif;
    --font-body: system-ui, -apple-system, sans-serif;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    font-variation-settings: 'wght' 1;
    background: #f0f0f0;
    color: var(--noir);
    line-height: 1.5;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48'><text y='38' font-size='38'>✂️</text></svg>") 24 24, auto;
}

/* Language selector */
.lang-selector {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 101;
    display: flex;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-variation-settings: 'wght' 5;
}

.lang-current {
    color: var(--noir);
}

.lang-link {
    color: var(--gris);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lang-link:hover {
    color: var(--noir);
}

/* Pastille Sponsor flottante */
.sponsor-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--orange);
    color: var(--blanc);
    padding: 1.2rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-variation-settings: 'wght' 6;
    letter-spacing: 0.02em;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 280px;
    text-align: center;
    line-height: 1.3;
}

.sponsor-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Gommettes flottantes */
.gommette {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
}

.gommette-verte {
    background: var(--vert-fluo);
}

.gommette-orange {
    background: var(--orange);
}

.gommette-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    right: -50px;
    animation: float1 8s ease-in-out infinite;
}

.gommette-2 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 5%;
    animation: float2 10s ease-in-out infinite;
}

.gommette-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation: float3 7s ease-in-out infinite;
}

.gommette-4 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation: float1 9s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 20px) rotate(10deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -20px) scale(0.95); }
    66% { transform: translate(-10px, 10px) scale(1.02); }
}

/* Ciseaux décoratifs - effet index */
.ciseau {
    position: fixed;
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
    opacity: 0.85;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    transition: opacity 0.3s ease;
}

.ciseau:hover {
    opacity: 1;
    animation: pulse 0.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1)); }
    50% { filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.2)); }
}

.ciseau-1 {
    --base-rotation: -25deg;
    width: 220px;
    top: 15%;
    left: 8%;
    transform: rotate(-25deg);
}

.ciseau-2 {
    --base-rotation: 15deg;
    width: 180px;
    top: 55%;
    right: 5%;
    transform: rotate(15deg);
}

.ciseau-3 {
    --base-rotation: -10deg;
    width: 160px;
    bottom: 25%;
    left: 3%;
    transform: rotate(-10deg);
}

.ciseau-4 {
    --base-rotation: 30deg;
    width: 200px;
    top: 75%;
    right: 12%;
    transform: rotate(30deg);
}

.ciseau-5 {
    --base-rotation: -45deg;
    width: 140px;
    top: 30%;
    right: 20%;
    transform: rotate(-45deg);
}

@keyframes scissors1 {
    0%, 100% { transform: rotate(-25deg) translateY(0); }
    50% { transform: rotate(-20deg) translateY(-15px); }
}

@keyframes scissors2 {
    0%, 100% { transform: rotate(15deg) translateX(0); }
    50% { transform: rotate(20deg) translateX(10px); }
}

@keyframes scissors3 {
    0%, 100% { transform: rotate(-10deg) translate(0, 0); }
    50% { transform: rotate(-5deg) translate(8px, -10px); }
}

/* Main container */
main {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Hero */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 0;
}

.logo-ciseaux-inline {
    height: 1em;
    width: auto;
    vertical-align: middle;
    margin-left: 0.3em;
    transform: rotate(-90deg);
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 13vw, 8.5rem);
    font-weight: 900;
    font-variation-settings: 'wght' 8;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.08em
}

.hero-title .line {
    display: block;
}


.hero-dates {
    margin-top: 2rem;
    display: inline-flex;
    align-items: baseline;
    gap: 1rem;
    background: var(--blanc);
    padding: 1rem 2rem;
    border: 3px solid var(--noir);
    border-radius: 20px;
}

.date-item {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-variation-settings: 'wght' 1;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

/* Intro */
.intro {
    padding: 4rem 0;
    max-width: 700px;
}

.intro-text {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.intro-text strong {
    background: linear-gradient(transparent 60%, var(--vert-fluo) 60%);
}

.btn-site {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-variation-settings: 'wght' 1;
    letter-spacing: 0.03em;
    color: var(--noir);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 3px solid var(--noir);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-site:hover {
    background: var(--noir);
    color: var(--blanc);
    transform: scale(1.05);
}

/* Section titles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-variation-settings: 'wght' 8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--vert-fluo);
    z-index: -1;
}

/* Timeline */
.timeline {
    padding: 4rem 0;
}

.timeline-grid {
    columns: 2;
    column-gap: 1.5rem;
    margin-top: 2rem;
}



.timeline-item {
    background: var(--blanc);
    border: 3px solid var(--noir);
    border-radius: 20px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.timeline-item.tbc {
    opacity: 0.5 !important;
}

.timeline-item:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 8px 8px 0 var(--noir);
}

.timeline-item:nth-child(2):hover {
    transform: translateY(-5px) rotate(-1deg);
}

.timeline-item:nth-child(3):hover {
    box-shadow: 8px 8px 0 var(--orange);
}

.timeline-item:nth-child(4):hover {
    box-shadow: 8px 8px 0 var(--vert-fluo);
}

.timeline-header {
    background: var(--noir);
    color: var(--blanc);
    padding: 0.5rem 1rem 0.6rem;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    border-radius: 17px 17px 0 0;
}

.timeline-day {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-variation-settings: 'wght' 8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


.timeline-content h3 {
    font-size: 1.5em;
    font-variation-settings: 'wght' 5;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.timeline-content a {
    color: var(--orange);
    text-decoration: none;
    font-variation-settings: 'wght' 4;
}

.timeline-content a:hover {
    text-decoration: underline;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--gris);
}

.timeline-desc {
    font-size: 1.15rem;
    font-variation-settings: 'wght' 2;
    color: var(--noir);
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.timeline-separator {
    border: none;
    margin: 1.2rem 0 0.8rem;
}

.timeline-block {
    margin-bottom: 0.5rem;
}

.timeline-block:last-child {
    margin-bottom: 0;
}

.timeline-infos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-horaire,
.timeline-lieu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1rem;
    font-variation-settings: 'wght' 3;
    color: var(--gris);
}

.timeline-horaire::before,
.timeline-lieu::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.timeline-horaire::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
}

.timeline-lieu::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.timeline-tarif {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1rem;
    font-variation-settings: 'wght' 3;
    color: var(--gris);
}

.timeline-tarif::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M22 10V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v4c1.1 0 2 .9 2 2s-.9 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2zm-2-1.46c-1.19.69-2 1.99-2 3.46s.81 2.77 2 3.46V18H4v-2.54c1.19-.69 2-1.99 2-3.46 0-1.48-.8-2.77-1.99-3.46L4 6h16v2.54z'/%3E%3C/svg%3E");
}

.timeline-lieu a {
    color: var(--gris);
    text-decoration: underline;
}

.timeline-lieu a:hover {
    color: var(--noir);
}

.timeline-note {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: var(--vert-fluo);
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
}

/* Artistes */
.artistes {
    padding: 4rem 0;
}

.artistes-intro {
    font-size: 1.1rem;
    color: var(--gris);
    margin-bottom: 2rem;
}

.artistes-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.artistes-list li {
    padding: 0.6rem 1.2rem;
    background: var(--noir);
    color: var(--blanc);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.artistes-list li:hover {
    transform: scale(1.05);
}

.artistes-list li.a-confirmer {
    background: transparent;
    border: 2px dashed var(--gris);
    color: var(--gris);
}

.artistes-more {
    margin-top: 2rem;
    font-style: italic;
    color: var(--gris);
}

/* Social */
.social {
    padding: 4rem 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-variation-settings: 'wght' 1;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: var(--noir);
    padding: 1rem 1.5rem;
    border: 3px solid var(--noir);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.05);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Newsletter */
.newsletter {
    padding: 4rem 0;
}

.newsletter-text {
    font-size: 1.2rem;
    color: var(--noir);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.newsletter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-newsletter {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-variation-settings: 'wght' 1;
    letter-spacing: 0.03em;
    color: var(--blanc);
    background: var(--noir);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 3px solid var(--noir);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.05);
}

/* Timeline full width item */
.timeline-item-full {
    margin-top: 1.5rem;
}

/* Gallery */
.gallery {
    padding: 4rem 0 2rem;
}

.gallery-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-fullwidth::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 0;
    padding: 2rem calc(50vw - 350px) 2rem 1rem;
    align-items: center;
}

.gallery-track img {
    width: auto;
    flex-shrink: 0;
    object-fit: cover;
    position: relative;
    z-index: 10;
    transition: transform 0.15s ease-out;
    margin-left: -1.5rem;
}

.gallery-track img:first-child {
    margin-left: 0;
}

.gallery-track img:nth-child(1) { height: 550px; --rotation: -3deg; }
.gallery-track img:nth-child(2) { height: 600px; --rotation: 2deg; }
.gallery-track img:nth-child(3) { height: 530px; --rotation: -1deg; }
.gallery-track img:nth-child(4) { height: 620px; --rotation: 3deg; }
.gallery-track img:nth-child(5) { height: 560px; --rotation: -2deg; }
.gallery-track img:nth-child(6) { height: 590px; --rotation: 1deg; }
.gallery-track img:nth-child(7) { height: 540px; --rotation: -4deg; }
.gallery-track img:nth-child(8) { height: 610px; --rotation: 2deg; }

.gallery-track img:hover {
    transform: scale(1.15) rotate(0deg);
    z-index: 20;
}

.main-bottom {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* Footer */
.footer {
    background: transparent;
    color: var(--noir);
    padding: 6rem 2rem 12rem;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-social-link {
    color: var(--noir);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover {
    opacity: 1;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
}

.footer-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gris);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-label-partners {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.footer-label a {
    color: var(--noir);
    text-decoration: underline;
}

.footer-label a:hover {
    text-decoration: underline;
}

.footer-org {
    margin-top: 2rem;
}

.footer-credits {
    margin-top: 0.5rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* ===================
   RESPONSIVE - MOBILE 
   =================== */
@media (max-width: 768px) {
    
    /* Layout */
    main {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    .hero-dates {
        max-width: calc(100vw - 3rem);
        word-wrap: break-word;
    }
    
    /* Hero - proportions conservées */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }
    
    .hero-dates {
        margin-top: 1.5rem;
    }
    
    .date-item {
        font-size: 1.1rem;
    }
    
    /* Éléments décoratifs */
    .gommette {
        width: 80px !important;
        height: 80px !important;
        opacity: 0.4;
    }
    
    .gommette-4 {
        display: none;
    }
    
    .ciseau {
        opacity: 0.3;
        pointer-events: none;
    }
    
    .ciseau-1 {
        width: 70px;
        animation: float1 8s ease-in-out infinite;
    }
    
    .ciseau-2 {
        width: 60px;
        animation: float2 10s ease-in-out infinite;
    }
    
    .ciseau-3 {
        width: 50px;
        animation: float3 7s ease-in-out infinite;
    }
    
    .ciseau-4,
    .ciseau-5 {
        display: none;
    }
    
    /* Intro - taille conservée */
    .intro-text {
        font-size: 1.2rem;
    }
    
    /* Timeline - tailles proches du desktop */
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-grid {
        columns: 1;
    }
    
    .timeline-item {
        padding: 1.2rem;
    }
    
    .timeline-header {
        margin: -1.2rem -1.2rem 0.8rem -1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .timeline-day {
        font-size: 1.3rem;
    }
    
    .timeline-content h3 {
        font-size: 1.4rem;
    }
    
    .timeline-infos {
        gap: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    
    .timeline-desc {
        font-size: 1rem;
    }
    
    /* Sponsor CTA - centré et compact */
    .sponsor-cta {
        bottom: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: auto;
        max-width: 80%;
        font-size: 1rem;
        padding: 0.8rem 1.4rem;
        border-radius: 30px;
        text-align: center;
    }
    
    /* Gallery - Masonry mobile */
    .gallery-fullwidth {
        overflow-x: visible;
        padding: 0 1rem;
    }
    
    .gallery-track {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.3rem 0 1rem;
    }
    
    .gallery-track img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        margin-left: 0 !important;
    }
    
    .gallery-track img:nth-child(1) { transform: rotate(-2deg); }
    .gallery-track img:nth-child(2) { transform: rotate(1deg); grid-row: span 1; }
    .gallery-track img:nth-child(3) { transform: rotate(-1deg); }
    .gallery-track img:nth-child(4) { transform: rotate(2deg); }
    .gallery-track img:nth-child(5) { transform: rotate(-1deg); }
    .gallery-track img:nth-child(6) { transform: rotate(1deg); }
    .gallery-track img:nth-child(7) { transform: rotate(-2deg); }
    .gallery-track img:nth-child(8) { transform: rotate(1deg); }
    
    /* Newsletter */
    .newsletter-buttons {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .newsletter-buttons .btn {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        text-align: center;
    }
    
    /* Footer */
    .partners-logos {
        gap: 1rem 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 2rem;
    }
    
    .partners-logos img {
        max-height: 50px;
        max-width: 120px;
    }
    
    .footer {
        padding: 4rem 1.5rem 10rem;
    }
}

/* Touch devices - disable hover effects */
@media (hover: none) {
    .timeline-item:hover,
    .btn-site:hover,
    .social-link:hover,
    .artistes-list li:hover {
        transform: none;
        box-shadow: none;
    }
}
