/* ===================================================
   LES FIESTAS DE ST JEAN — style.css
   Palette : Jaune #F7EA06 · Vert #44903F · Orange #F7941D
   =================================================== */

@font-face {
    font-family: 'SaintJean';
    src: url('Logo CDF Final/SaintJeanDeBlaignac-Regular.ttf') format('truetype'),
         url('Logo CDF Final/SaintJeanDeBlaignac-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --yellow: #F7EA06;
    --yellow-dark: #d4c800;
    --green: #44903F;
    --green-dark: #2d6b28;
    --green-light: rgba(68, 144, 63, 0.12);
    --orange: #F7941D;

    /* Day mode */
    --bg: #F7EA06;
    --bg-alt: #f0e100;
    --text: #1a1a1a;
    --text-soft: #3a3a1a;
    --header-bg: rgba(247, 148, 29, 0.97);
    --card-bg: #ffffff;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.18);
    --border: #d4cc00;
    --overlay: rgba(0, 0, 0, 0.55);
    --modal-bg: #ffffff;
    --placeholder-bg: linear-gradient(135deg, #fffde0, #f5e800);
    --placeholder-border: var(--green);
    --notice-red-bg: #fff2f2;
    --notice-red-text: #b91c1c;
    --notice-blue-bg: #eff6ff;
    --notice-blue-text: #1d4ed8;
}

[data-theme="night"] {
    --bg: #151515;
    --bg-alt: #1e1e1e;
    --text: #efefef;
    --text-soft: #999999;
    --header-bg: rgba(18, 18, 18, 0.97);
    --card-bg: #242424;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.6);
    --border: #2e2e2e;
    --overlay: rgba(0, 0, 0, 0.75);
    --modal-bg: #1e1e1e;
    --placeholder-bg: linear-gradient(135deg, rgba(68,144,63,0.15), rgba(68,144,63,0.08));
    --placeholder-border: rgba(68, 144, 63, 0.5);
    --notice-red-bg: rgba(185, 28, 28, 0.12);
    --notice-red-text: #f87171;
    --notice-blue-bg: rgba(29, 78, 216, 0.12);
    --notice-blue-text: #93c5fd;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.35s ease, color 0.35s ease;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--green-dark);
}

address {
    font-style: normal;
}

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.6rem 1.4rem;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--orange);
    transition: background 0.35s, box-shadow 0.3s;
}

#header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-small {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

.logo-small:hover {
    transform: scale(1.05);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* Desktop nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.desktop-nav-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: background 0.2s;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none;
}

.desktop-nav-link:hover {
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
}

/* Theme toggle */
.theme-toggle {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #fff;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.18);
}

/* Hamburger */
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    border-radius: 6px;
    display: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Dropdown nav */
.dropdown-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem 0 0.3rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.dropdown-nav.open {
    display: flex;
}

.nav-link {
    display: block;
    padding: 0.7rem 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* ===== SECTION BASE ===== */
.section {
    min-height: 100vh;
    padding-top: 76px;
    background: var(--bg);
    transition: background 0.35s;
}

/* Artist real photos */
.artist-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.artist-card:hover .artist-real-img {
    transform: scale(1.05);
}

/* Affiches */
.affiches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.affiche-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.affiche-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.affiche-label {
    background: var(--green);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.affiche-embed {
    width: 100%;
    height: 480px;
    display: block;
    border: none;
    background: #f5f5f5;
}

.affiche-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    min-height: 200px;
    text-align: center;
    color: var(--text-soft);
}

.btn-affiche {
    display: inline-block;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-affiche:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* Modal artist image */
.modal-artist-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.modal-artist-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.section.hidden {
    display: none !important;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.section-title {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    color: var(--green);
    margin-bottom: 0.4rem;
    line-height: 1.1;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    height: 5px;
    background: var(--yellow);
    border-radius: 3px;
    margin-top: 0.25rem;
    width: 100%;
}

.sub-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin: 2.5rem 0 1.2rem;
    letter-spacing: 0.02em;
}

/* ===== HERO ===== */
.section-hero {
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 76px 1.5rem 3rem;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

[data-theme="night"] .section-hero {
    background: #111;
}

.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.25) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="night"] .section-hero::before {
    background: radial-gradient(ellipse at 50% 40%, rgba(68,144,63,0.15) 0%, transparent 70%);
}

.hero-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.hero-logo {
    width: min(300px, 75vw);
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.18));
    animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

.hero-dates {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

[data-theme="night"] .hero-dates {
    color: var(--yellow);
}

.hero-slogan {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 4.5vw, 2.3rem);
    font-weight: 900;
    color: var(--green);
    line-height: 1.25;
}

[data-theme="night"] .hero-slogan {
    color: var(--yellow);
}

.prog-cta {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(68, 144, 63, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.prog-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(68, 144, 63, 0.55);
}

/* ===== ARTISTS ===== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.artist-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.artist-card:hover,
.artist-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--green);
    outline: none;
}

.artist-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-alt);
}

.artist-photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--placeholder-bg);
    border-bottom: 2px dashed var(--placeholder-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--green);
    text-align: center;
    line-height: 1.4;
}

.artist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(68, 144, 63, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.artist-overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}

.artist-card:hover .artist-overlay,
.artist-card:focus-visible .artist-overlay {
    background: rgba(68, 144, 63, 0.65);
}

.artist-card:hover .artist-overlay span,
.artist-card:focus-visible .artist-overlay span {
    opacity: 1;
    transform: translateY(0);
}

.artist-info {
    padding: 1.1rem 1.3rem;
}

.artist-info h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--green);
    margin-bottom: 0.2rem;
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
}

.artist-info p {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== ON SITE ===== */
.onsite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.5rem;
}

.onsite-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.6rem 1.3rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--green);
    transition: transform 0.2s;
}

.onsite-card:hover {
    transform: translateY(-4px);
}

.onsite-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.onsite-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.4rem;
}

.onsite-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.onsite-note {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    background: var(--yellow);
    color: var(--green-dark);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-weight: 700;
}

/* ===== ASSOCIATION ===== */
.asso-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.asso-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 1rem;
}

.asso-text p {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 0.9rem;
}

.benevole-cta-box {
    background: var(--green);
    color: #fff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.benevole-cta-box h3 {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.benevole-cta-box p {
    opacity: 0.88;
    margin-bottom: 1.6rem;
    font-size: 1rem;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--green-dark);
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== EDITIONS ===== */
.year-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.year-tab {
    background: transparent;
    border: 2px solid var(--green);
    color: var(--green);
    border-radius: 50px;
    padding: 0.55rem 1.6rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.year-tab:hover {
    background: var(--green-light);
}

.year-tab.active {
    background: var(--green);
    color: #fff;
}

.edition-panel {
    animation: fadeIn 0.3s ease;
}

.edition-panel.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.edition-meta {
    margin-bottom: 1.5rem;
}

.edition-meta h3 {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    color: var(--green);
    margin-bottom: 0.6rem;
}

.edition-meta p {
    color: var(--text);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

/* ===== INFOS PRATIQUES ===== */
.infos-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.8rem;
}

.info-block address {
    color: var(--text);
    line-height: 1.8;
    font-size: 1rem;
}

.info-notices {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.notice {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.notice-red {
    background: var(--notice-red-bg);
    color: var(--notice-red-text);
    border-left: 4px solid currentColor;
}

.notice-blue {
    background: var(--notice-blue-bg);
    color: var(--notice-blue-text);
    border-left: 4px solid currentColor;
}

.infos-right h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 1rem;
}

.map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--border);
}

.map-wrapper iframe {
    display: block;
}

.parking-plan-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s;
}

.parking-plan-img:hover {
    transform: scale(1.01);
}

.map-link {
    margin-top: 0.6rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== PLACEHOLDER BOXES ===== */
.placeholder-box {
    background: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: 14px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--green);
    font-weight: 700;
    font-size: 1rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}

.placeholder-box.large {
    min-height: 300px;
    font-size: 1.05rem;
}

.placeholder-box small {
    display: block;
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.hidden {
    display: none !important;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    background: var(--modal-bg);
    border-radius: 22px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.28s ease;
}

.modal-box.modal-large {
    max-width: 700px;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--border);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.modal-close:hover {
    background: var(--green);
    color: #fff;
}

.modal-img-wrap {
    margin-bottom: 1.5rem;
}

.modal-placeholder {
    min-height: 200px;
    border-radius: 12px;
}

.modal-body h2 {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 0.4rem;
}

.modal-genre {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.modal-body p {
    color: var(--text);
    line-height: 1.75;
}

/* ===== BÉNÉVOLE FORM ===== */
.modal-box > h2 {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 1.8rem;
    color: var(--green);
    margin-bottom: 1.4rem;
    padding-right: 2rem;
}

.benevole-attentes {
    background: var(--green-light);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.6rem;
    border-left: 4px solid var(--green);
}

.benevole-attentes h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.benevole-attentes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.benevole-attentes li {
    color: var(--text);
    font-size: 0.95rem;
    padding-left: 1.4rem;
    position: relative;
}

.benevole-attentes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}

.benevole-contact {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.8rem;
    margin-top: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.benevole-contact p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.benevole-contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
    color: var(--text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(68, 144, 63, 0.15);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #b91c1c;
}

.check-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text);
}

.check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
    cursor: pointer;
    border-radius: 4px;
}

.form-feedback {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-feedback.success {
    background: rgba(68,144,63,0.12);
    color: var(--green);
    border: 1px solid var(--green);
}

.form-feedback.error {
    background: rgba(185,28,28,0.1);
    color: #b91c1c;
    border: 1px solid #b91c1c;
}

.form-feedback.hidden {
    display: none;
}

.btn-submit {
    width: 100%;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 16px rgba(68,144,63,0.35);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(68,144,63,0.45);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== PROGRAMMATION DATES ===== */
.prog-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.prog-date-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.prog-date-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.prog-date-header {
    background: var(--green);
    color: #fff;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.prog-header--90s {
    background: var(--orange);
}

.prog-jour {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
}

.prog-mois {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.92;
}

.prog-date-body {
    padding: 1.5rem;
}

.prog-date-body h4 {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--green);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.prog-date-card--90s .prog-date-body h4 {
    color: var(--orange);
}

.prog-lineup {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.prog-artiste-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.prog-artiste-item:hover {
    transform: scale(1.05);
}

.prog-artiste-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--green);
}

.prog-artiste-item span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    text-align: center;
}

.prog-separator {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green);
}

.prog-partenariat-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.forever-logo-img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.affiche-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.affiche-sub {
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-top: 0.3rem;
}

.btn-affiche-full {
    display: block;
    text-align: center;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.btn-affiche-full:hover {
    background: var(--green-dark);
    color: #fff;
}

select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2344903F' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(68, 144, 63, 0.15);
}

/* ===== RESPONSIVE ===== */
.affiche-embed-small {
    width: 100%;
    height: 420px;
    display: block;
    border: none;
    background: #f5f5f5;
}

.affiche-fallback-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 200px;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-soft);
    font-weight: 700;
}

.btn-affiche-sm {
    background: var(--green);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
}

/* ===== EDITION 2025 — GALERIE ===== */
.edition-dates-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.edition-date-mini-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--green);
}

.mini-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: var(--yellow);
    color: var(--green-dark);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.edition-date-mini-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--green);
    margin-bottom: 0.3rem;
}

.edition-date-mini-item p {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.5;
}

.gallery-subtitle {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.affiches-img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.affiche-img-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: zoom-in;
    transition: transform 0.25s, box-shadow 0.25s;
}

.affiche-img-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
}

.affiche-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.photo-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: zoom-in;
    background: var(--bg-alt);
    transition: transform 0.25s, box-shadow 0.25s;
}

.photo-item:hover {
    transform: scale(1.03);
    box-shadow: var(--card-shadow-hover);
    z-index: 1;
    position: relative;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== LIGHTBOX ===== */
.modal-photo-box {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 95vw;
}

.modal-photo-box .modal-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    z-index: 10;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 10px;
    display: block;
    object-fit: contain;
}

/* ===== CONTACT PAGE ===== */
.contact-direct {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-direct-intro {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
}

.contact-direct-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.contact-direct-block {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.contact-direct-block h3 {
    font-family: 'SaintJean', 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    color: var(--green);
    margin-bottom: 0.7rem;
}

.contact-direct-block p {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.contact-social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--green);
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-social-icon:hover { transform: translateY(-4px); }

.contact-social-icon svg { fill: var(--green); }

.contact-social-icon span {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--green);
}

.contact-email-addr {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
    word-break: break-word;
    text-decoration: none;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 1px;
}

/* ===== MENTIONS LÉGALES ===== */
.mentions-inner {
    max-width: 900px;
}

.mentions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.mentions-block {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.mentions-block h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--yellow);
}

.mentions-block p {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

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

.mentions-block a {
    color: var(--green);
    font-weight: 700;
}

.mentions-date {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin-top: 2rem;
    text-align: right;
    font-style: italic;
}

/* ===== FOOTER ===== */
#site-footer {
    background: var(--green);
    color: #fff;
    padding: 2.5rem 1.5rem 2rem;
    margin-top: 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.5rem;
    justify-content: center;
}

.footer-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--yellow); }

.footer-copy {
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .asso-layout,
    .infos-layout,
    .contact-direct-blocks {
        grid-template-columns: 1fr;
    }

    .mentions-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 560px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: min(240px, 80vw);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-inner {
        padding: 2rem 1rem 3rem;
    }

    .modal-box {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }
}

@media (max-width: 400px) {
    .hero-slogan {
        font-size: 1.3rem;
    }

    .prog-cta {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }
}
