:root {
    --ink: #27152e;
    --pink: #ed8792;
    --yellow: #f9e867;
    --blue: #1934cb;
    --cream: #fcf4e3;
    --cyan: #66d9d4;
    --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--yellow);
    font-family: Arial, Helvetica, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(100% - 96px, 1380px); margin-inline: auto; }
section[id] { scroll-margin-top: 20px; }

.header { background: var(--ink); color: var(--cream); }
.navbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { font: 32px/.9 var(--display); letter-spacing: -1px; color: var(--yellow); }
.logo a { text-decoration: none; }
.logo .edition { color: var(--pink); }
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; }
.nav-menu a { font-size: 12px; font-weight: 800; text-decoration: none; }
.nav-menu a:hover, .nav-menu a:focus-visible { text-decoration: underline; }
.nav-menu .nav-ticket { display: inline-block; padding: 14px 20px; background: var(--yellow); color: var(--ink); text-transform: uppercase; }

.hero {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    background: var(--pink);
}
.hero::after {
    position: absolute;
    content: "";
    inset: auto 0 0;
    height: min(45vw, 450px);
    background: url("assets/ville.png") center bottom / 100% auto no-repeat;
    pointer-events: none;
}
.hero-scenery { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-clouds { position: absolute; inset: 0; background: url("assets/nuages.png") center top / 100% auto no-repeat; opacity: .4; }
.hero-characters { position: absolute; bottom: 0; left: 50%; display: flex; align-items: flex-end; transform: translateX(-50%); }
.hero-characters img { width: auto; height: clamp(190px, 22vw, 320px); }
.hero-characters img + img { margin-left: -35px; }
.hero-flowers { position: absolute; bottom: 0; width: clamp(130px, 19vw, 270px); aspect-ratio: 1; background: url("assets/fleurs.png") left bottom / contain no-repeat; }
.hero-flowers-left { left: 0; }
.hero-flowers-right { right: 0; transform: scaleX(-1); }
.hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 320px; }
.hero-copy { min-width: 0; }
.hero-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero-date { margin: 0; font: clamp(90px, 13vw, 195px)/.77 var(--display); letter-spacing: -.025em; }
.hero-date span { display: block; white-space: nowrap; }
.hero-date em { color: var(--blue); font-style: normal; }
.hero-subtitle { margin: 24px 0; font: clamp(22px, 2.3vw, 32px)/1 var(--display); text-transform: uppercase; }
.cta-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.btn { display: inline-block; padding: 16px 21px; border: 0; border-radius: 0; font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink); }
.hero-link { font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.hero-poster {
    position: relative;
    flex: 0 0 clamp(230px, 24vw, 335px);
    align-self: flex-start;
    padding: 10px 10px 14px;
    margin: 4px 16px 0 0;
    background: var(--cream);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    transform: rotate(3deg);
}
.hero-poster img { width: 100%; aspect-ratio: 1431 / 2048; object-fit: cover; }
.hero-poster p { margin: 10px 0 0; font: 18px/1 var(--display); text-transform: uppercase; }
.countdown {
    position: absolute; top: -25px; right: -35px;
    width: 98px; height: 98px; border-radius: 50%;
    background: var(--ink); color: var(--yellow);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: rotate(-12deg); text-transform: uppercase;
}
.countdown strong { font: 30px/.9 var(--display); }
.countdown span { font-size: 9px; font-weight: 900; margin-top: 5px; }

.artists-ticker { overflow: hidden; background: var(--ink); color: var(--yellow); text-transform: uppercase; }
.ticker-content { display: flex; align-items: center; gap: 15px; width: max-content; padding: 12px 0; font: 25px/1 var(--display); white-space: nowrap; }
.ticker-divider { font-size: 18px; }
.ticker-genres { padding: 6px 0; background: var(--blue); color: var(--cream); font: 15px/1 var(--display); letter-spacing: .04em; white-space: nowrap; }

.program { background: var(--yellow); padding: 85px 0 70px; }
.section-title { margin: 0 0 40px; font: clamp(58px, 7vw, 100px)/.83 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.section-title span { display: block; color: var(--blue); }
.lineup-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 60px; }
.lineup-card { min-width: 0; padding: 22px; background: var(--cream); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.lineup-card-warmup { color: var(--cream); background: var(--ink); box-shadow: 5px 5px 0 var(--pink); }
.lineup-date { margin: 0 0 5px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lineup-card-warmup .lineup-date { color: var(--cyan); }
.lineup-card h3 { margin: 0 0 14px; font: clamp(26px, 2.5vw, 36px)/1 var(--display); text-transform: uppercase; }
.lineup-card-warmup h3 { color: var(--yellow); }
.lineup-list { margin: 0; padding: 0; list-style: none; }
.lineup-list li { padding: 10px 0; border-top: 1px dashed currentColor; font: 20px/1.1 var(--display); text-transform: uppercase; }
.lineup-card-warmup .lineup-list li { border: 0; padding: 8px 0; }
.lineup-location { margin: 15px 0 0; font-size: 12px; line-height: 1.4; }
.night-section { margin: 0 0 35px; }
.night-title { margin: 0; font: 32px/1 var(--display); text-transform: uppercase; }
.night-date { margin: 8px 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.artists-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.artist-card { display: grid; min-width: 0; min-height: 310px; background: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.artist-image, .artist-ticket { grid-area: 1 / 1; }
.artist-image { min-height: 100%; overflow: hidden; background: var(--pink); }
.artist-image img { width: 100%; height: 100%; object-fit: cover; }
.artist-image-mango { background: var(--ink); }
.artist-image-mango img { height: auto; }
.artist-image-placeholder { display: flex; align-items: center; justify-content: center; font: 60px/1 var(--display); color: var(--ink); }
.artist-image-placeholder span { color: var(--blue); }
.artist-ticket {
    position: relative;
    align-self: end;
    justify-self: center;
    width: 85%;
    margin: 105px 0 8px;
    padding: 6px 19% 6px 6px;
    color: var(--ink);
    background: #f9edda;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    text-align: center;
    text-transform: uppercase;
}
.artist-ticket::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 15%;
    border: 2px solid #e1c4a4;
    border-left: 2px dashed #e1c4a4;
    background: repeating-linear-gradient(45deg, #33718f 0 3px, #3e809c 3px 6px);
}
.artist-ticket-festival { margin: 0 0 3px; font: 11px/1 var(--display); letter-spacing: .12em; }
.artist-ticket-night { margin: 0; padding: 3px; background: #397f9c; color: var(--cream); font: 12px/1 var(--display); letter-spacing: .08em; }
.artist-name { margin: 4px 0; padding: 3px 0; border-top: 1px solid var(--pink); border-bottom: 1px solid var(--pink); font: clamp(16px, 1.4vw, 22px)/1 var(--display); overflow-wrap: anywhere; }
.artist-ticket-date { margin: 0; font: 12px/1.1 var(--display); }
.artist-genre { margin: 3px 0 0; font-size: 10px; font-weight: 700; }

.tickets { background: var(--ink); color: var(--cream); padding: 70px 0; }
.tickets .section-title { color: var(--yellow); }
.tickets-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ticket-card { position: relative; display: flex; flex-direction: column; padding: 25px; color: var(--ink); background: var(--yellow); }
.ticket-card.featured { background: var(--pink); }
.ticket-card:last-child { background: var(--cyan); }
.badge { align-self: flex-start; margin-bottom: 10px; padding: 5px 8px; background: var(--ink); color: var(--yellow); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ticket-type { margin: 0; font: 28px/1 var(--display); text-transform: uppercase; }
.ticket-description { margin: 8px 0 0; font-size: 12px; font-weight: 700; }
.ticket-price { margin: 25px 0 15px; font: 64px/.9 var(--display); }
.ticket-features { flex: 1; list-style: none; margin: 0 0 20px; padding: 0; font-size: 13px; line-height: 1.8; }
.ticket-card .btn { align-self: flex-start; background: var(--ink); color: var(--cream); }
.ticket-card .btn:hover, .ticket-card .btn:focus-visible { background: var(--blue); }

.stats { padding: 65px 0; background: var(--yellow); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.stat-number { margin: 0; font: clamp(45px, 5vw, 75px)/1 var(--display); }
.stat:nth-child(even) .stat-number { color: var(--blue); }
.stat-label { margin: 6px 0 0; font: 20px/1 var(--display); text-transform: uppercase; }
.practical-info { padding: 65px 0; background: var(--cream); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.info-card { padding: 20px; border: 2px solid var(--ink); background: var(--yellow); }
.info-card:nth-child(2) { background: var(--pink); }
.info-card:nth-child(3) { background: var(--cyan); }
.info-card:nth-child(4) { background: var(--cream); }
.info-card h3 { margin: 0 0 12px; font: 24px/1 var(--display); text-transform: uppercase; }
.info-card p { margin: 0; font-size: 13px; line-height: 1.7; }
.footer { padding: 36px 0 20px; background: var(--pink); border-top: 3px solid var(--ink); }
.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-section h4 { margin: 0 0 8px; font: 22px/1 var(--display); text-transform: uppercase; }
.footer-section p, .footer-section ul { margin: 0; padding: 0; font-size: 12px; line-height: 1.8; list-style: none; }
.footer-bottom { margin-top: 25px; border-top: 1px solid var(--ink); font-size: 11px; }

@media (max-width: 900px) {
    .container { width: min(100% - 48px, 1380px); }
    .hero { min-height: 650px; }
    .hero-content { padding-bottom: 230px; }
    .hero-date { font-size: clamp(75px, 11vw, 120px); }
    .hero-poster { flex-basis: 210px; }
    .artists-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 32px); }
    .navbar { align-items: flex-start; padding: 16px 0; }
    .nav-menu { justify-content: flex-end; flex-wrap: wrap; gap: 12px 16px; }
    .nav-menu a { font-size: 11px; }
    .nav-menu .nav-ticket { padding: 8px 10px; }
    .hero { min-height: 0; }
    .hero-content { display: block; padding-top: 38px; padding-bottom: 220px; }
    .hero-date { font-size: clamp(66px, 17vw, 105px); }
    .hero-subtitle { font-size: 24px; }
    .hero-poster { width: 170px; margin: 40px 35px 0 auto; }
    .countdown { width: 75px; height: 75px; right: -25px; }
    .countdown strong { font-size: 24px; }
    .hero::after { height: 140px; background-size: auto 100%; }
    .hero-clouds { background-size: auto 400px; }
    .hero-characters img { height: 190px; }
    .hero-flowers { width: 130px; }
    .program, .tickets, .practical-info { padding: 55px 0; }
    .lineup-overview { grid-template-columns: 1fr; gap: 14px; margin-bottom: 45px; }
    .section-title { font-size: clamp(48px, 12vw, 70px); }
    .artists-grid { grid-template-columns: 1fr; gap: 12px; }
    .artist-card { min-height: 245px; }
    .artist-ticket { margin: 75px 0 6px; }
    .artist-ticket-night, .artist-genre { display: none; }
    .artist-name { font-size: 16px; }
    .tickets-grid { grid-template-columns: 1fr; }
    .ticket-price { font-size: 55px; }
    .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
    .info-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
