@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@0;1&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --orange: #EA580C;
  --brown: #451A03;
  --cream: #FFFBEB;
  --yellow: #FBBF24;
  --slate: #0F172A;
  --max-width: 1280px;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--brown);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(234, 88, 12, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.08) 0%, transparent 45%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 12px,
      rgba(69, 26, 3, 0.015) 12px,
      rgba(69, 26, 3, 0.015) 13px
    );
}

img { max-width: 100%; height: auto; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s;
}
a:hover { color: var(--brown); }

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.25;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.3rem; margin: 1.25rem 0 0.65rem; }

.poster-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Header — affiche masthead */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--slate);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.4);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-block { display: flex; align-items: center; gap: 0.85rem; }

.poster-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.poster-icon.wiggle { transform: rotate(-6deg) scale(1.05); }

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.15;
}

.logo span {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: var(--orange);
  color: var(--cream);
  border: none;
  padding: 0.5rem 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Karla', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--orange);
  color: var(--cream);
}

main { padding-top: var(--header-h); min-height: 60vh; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Hero — affiche principale */
.hero-poster {
  background: var(--slate);
  color: var(--cream);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(234, 88, 12, 0.04) 3px,
      rgba(234, 88, 12, 0.04) 4px
    );
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-poster h1 { color: var(--cream); }

.hero-tag {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  color: rgba(255, 251, 235, 0.92);
}

.hero-slogan {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--yellow);
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--cream);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--yellow);
}

.btn-primary:hover { color: var(--cream); box-shadow: 6px 6px 0 var(--yellow); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline:hover { background: rgba(255, 251, 235, 0.1); color: var(--cream); }

.hero-visual {
  position: relative;
}

.hero-visual img {
  border: 4px solid var(--orange);
  box-shadow: 8px 8px 0 var(--yellow);
}

.affiche-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 251, 235, 0.75);
  font-style: italic;
}

/* Trust strip */
.trust-strip {
  background: var(--yellow);
  border-top: 3px solid var(--brown);
  border-bottom: 3px solid var(--brown);
  padding: 0.85rem 0;
}

.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--brown);
}

/* Sections */
.section-band {
  padding: 4rem 0;
}

.section-band.alt {
  background: rgba(234, 88, 12, 0.05);
  border-top: 2px dashed rgba(69, 26, 3, 0.15);
  border-bottom: 2px dashed rgba(69, 26, 3, 0.15);
}

.section-intro {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.section-intro p { margin-top: 0.75rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #fff;
  border: 2px solid var(--brown);
  padding: 1.5rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--orange);
}

.card-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.card img {
  margin: 1rem 0;
  border: 2px solid var(--yellow);
}

.card h3 { margin-top: 0; }

/* Programme list */
.programme-list { list-style: none; }

.programme-list li {
  padding: 1.25rem 0;
  border-bottom: 1px dashed rgba(69, 26, 3, 0.2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.programme-list .code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--orange);
  min-width: 5rem;
}

/* FAQ */
.faq-list { list-style: none; }

.faq-item {
  border: 2px solid var(--brown);
  margin-bottom: 1rem;
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--cream);
  border: none;
  padding: 1.15rem 1.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  background: var(--slate);
  color: var(--cream);
  padding: 2rem;
  border-left: 5px solid var(--orange);
}

.contact-info-block h2 { color: var(--yellow); margin-top: 0; }

.contact-info-block a { color: var(--yellow); }

.contact-info-block p { margin-bottom: 0.75rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--brown);
  background: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  border-radius: 2px;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.form-consent input { width: auto; margin-top: 0.25rem; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid;
  border-radius: 2px;
}

.form-status.ok {
  background: rgba(34, 197, 94, 0.1);
  border-color: #16a34a;
  color: #166534;
}

.form-status.err {
  background: rgba(239, 68, 68, 0.1);
  border-color: #dc2626;
  color: #991b1b;
}

/* Legal pages */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.75rem 4rem;
}

.legal-content h2 { margin-top: 2rem; }
.legal-content p, .legal-content li { margin-bottom: 0.85rem; }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }

/* AMF disclaimer */
.amf-disclaimer {
  background: var(--slate);
  color: rgba(255, 251, 235, 0.88);
  padding: 1.75rem;
  font-size: 0.88rem;
  line-height: 1.65;
  border-top: 4px solid var(--orange);
  margin-top: 2rem;
}

.amf-disclaimer strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--brown);
  color: rgba(255, 251, 235, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 0.85rem;
}

.footer-grid a { color: var(--cream); text-decoration: none; }
.footer-grid a:hover { color: var(--yellow); }
.footer-grid p { font-size: 0.9rem; margin-bottom: 0.5rem; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.75rem 0;
  border-top: 1px solid rgba(255, 251, 235, 0.15);
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 251, 235, 0.6);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--slate);
  color: var(--cream);
  padding: 1.25rem 1.75rem;
  border-top: 4px solid var(--orange);
  transform: translateY(110%);
  transition: transform 0.4s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.1rem;
  border: 2px solid;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.cookie-accept { background: var(--orange); color: var(--cream); border-color: var(--orange); }
.cookie-reject { background: transparent; color: var(--cream); border-color: var(--cream); }
.cookie-manage { background: var(--yellow); color: var(--brown); border-color: var(--yellow); }

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 23, 42, 0.7);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal.show { display: flex; }

.cookie-modal-box {
  background: var(--cream);
  color: var(--brown);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  border: 3px solid var(--brown);
  box-shadow: 8px 8px 0 var(--orange);
}

.cookie-modal-box h3 { margin-top: 0; }

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(69, 26, 3, 0.2);
}

.cookie-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Page header */
.page-header {
  background: var(--slate);
  color: var(--cream);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-header h1 { color: var(--cream); margin-bottom: 0.5rem; }

.page-header p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 251, 235, 0.85);
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--yellow);
}

.breadcrumb a { color: var(--yellow); }

/* 404 */
.error-poster {
  text-align: center;
  padding: 5rem 1.75rem;
}

.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Reveal animation */
.reveal-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Two-column content */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-content.reverse { direction: rtl; }
.split-content.reverse > * { direction: ltr; }

.stamp-badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 0.2rem 0.6rem;
  transform: rotate(-3deg);
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .split-content { grid-template-columns: 1fr; }
  .split-content.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--slate);
    border-top: 2px solid var(--orange);
    display: none;
    padding: 1rem;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; }

  .header-inner { position: relative; flex-wrap: wrap; }

  .programme-list li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-section { opacity: 1; transform: none; }
}
