:root {
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Lora', serif;
  --color-gold: #D4AF37;
  --color-filmRed: #B91C1C;
  --color-darkRed: #991B1B;
  --color-black: #000;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7281;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --color-zinc-700: #3F3F46;
  --color-zinc-800: #27272A;
  --color-zinc-900: #18181B;
  --color-zinc-950: #09090B;
  --color-white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-black);
  color: var(--color-gray-200);
  font-family: var(--font-sans);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layout */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.grid-2-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .grid-2-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: flex-start;
  }
}

.grid-5-col, .grid-5-col-reversed {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .grid-5-col, .grid-5-col-reversed {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 3rem;
    }
    .grid-5-col .col-span-2 { grid-column: span 2 / span 2; }
    .grid-5-col .col-span-3 { grid-column: span 3 / span 3; }
    .grid-5-col-reversed .col-span-2 { grid-column: span 2 / span 2; }
    .grid-5-col-reversed .col-span-3 { grid-column: span 3 / span 3; order: -1; }
}


/* Typography & Common Elements */
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.italic { font-style: italic; }
.text-gold { color: var(--color-gold); }
.text-gold-light { color: rgba(212, 175, 55, 0.8); }
.text-filmRed { color: var(--color-filmRed); }
.text-gray-200 { color: var(--color-gray-200); }
.text-gray-300 { color: var(--color-gray-300); }
.text-left { text-align: left; }
.text-center { text-align: center; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-serif);
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
.section-subtitle {
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--color-gray-400);
}
.section-subtitle-lg {
  margin-top: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--color-gray-300);
}

.subsection-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.rounded-image {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.info-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    border: 1px solid var(--color-zinc-800);
}

/* Header */
.header {
  background-color: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(4px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.logo { height: 2.5rem; width: auto; color: var(--color-white); }
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--color-white); }
.desktop-nav { display: none; }
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}
.mobile-nav-buttons { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .mobile-nav-buttons { display: none; } }

.search-toggle {
  color: var(--color-gray-300);
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.search-toggle:hover { color: var(--color-white); }
.icon { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

.menu-toggle {
    color: var(--color-gray-300);
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle:hover { color: var(--color-white); }
.mobile-menu {
  background-color: rgba(17, 24, 39, 0.95);
  padding-bottom: 1rem;
}
@media (min-width: 768px) { .mobile-menu { display: none !important; } }

.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  padding: 1rem;
  z-index: 40;
}
.search-input {
  width: 100%;
  background-color: var(--color-zinc-800);
  color: var(--color-white);
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-zinc-700);
}
.search-input::placeholder { color: var(--color-gray-400); }
.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-gold);
}
.search-results {
  margin-top: 0.5rem;
  background-color: var(--color-zinc-900);
  border: 1px solid var(--color-zinc-800);
  border-radius: 0.375rem;
  list-style: none;
}
.search-results a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  color: var(--color-gray-300);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.search-results a:hover {
  background-color: var(--color-zinc-800);
  color: var(--color-gold);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 1rem;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../img/hero-background.jpeg');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-h1, .hero-p {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.hero-h1.animated, .hero-p.animated {
  opacity: 1;
  transform: translateY(0);
}
.hero-p.animated {
  transition-delay: 0.3s;
}
.hero-h1 {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  color: var(--color-gold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-p {
  font-size: 1.125rem;
  color: var(--color-gray-300);
  max-width: 64rem;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
  .hero-h1 { font-size: 3.75rem; }
  .hero-p { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero-h1 { font-size: 4.5rem; }
  .hero-p { font-size: 1.5rem; }
}

/* Video Showcase */
.video-container { max-width: 64rem; margin: 0 auto; }
.video-wrapper {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
  border: 2px solid var(--color-zinc-800);
}
.video-player {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: var(--color-black);
  display: block;
}

/* About Section */
.audience-card {
  background-color: var(--color-zinc-900);
  border: 1px solid var(--color-zinc-800);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.audience-list li {
  display: flex;
  align-items: flex-start;
}
.icon-list {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-gold);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Founder Section */
.founder-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-300);
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}
.founder-bio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--color-gray-300);
}
.quote-block {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--color-gold);
    background-color: rgba(24, 24, 27, 0.5);
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}
.quote-block p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-gray-200);
    font-family: var(--font-serif);
    line-height: 1.75;
}
.quote-block cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    color: var(--color-gold);
    font-style: normal;
}
.founder-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn {
    display: inline-block;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.btn-primary {
    background-color: var(--color-filmRed);
    color: var(--color-white);
    font-size: 1.125rem;
}
.btn-primary:hover {
    background-color: var(--color-darkRed);
    box-shadow: 0 10px 15px -3px rgb(185 28 28 / 0.4), 0 4px 6px -4px rgb(185 28 28 / 0.4);
    transform: scale(1.05);
}
.btn-secondary {
    background-color: var(--color-zinc-800);
    color: var(--color-gold);
    font-size: 1rem;
}
.btn-secondary:hover {
    background-color: var(--color-zinc-700);
    box-shadow: 0 4px 6px -1px rgb(212 175 55 / 0.2), 0 2px 4px -2px rgb(212 175 55 / 0.2);
}

/* TeleGraphique Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .projects-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.project-card {
    background-color: var(--color-zinc-900);
    border: 1px solid var(--color-zinc-800);
    border-radius: 0.5rem;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px -3px rgb(212 175 55 / 0.2), 0 4px 6px -4px rgb(212 175 55 / 0.2);
}
.project-card-img { width: 100%; height: 10rem; object-fit: cover; }
.project-card-qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-zinc-900);
}
.qr-code-img {
    height: 8rem;
    width: 8rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
}
.project-card-body { padding: 1.5rem; text-align: center; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.project-card-title { font-size: 1.25rem; font-weight: 700; color: var(--color-white); margin-bottom: 0.5rem; }
.project-card-genre { color: var(--color-gold); text-transform: capitalize; }
.project-card-funding { margin-top: 1rem; }
.progress-bar-bg { width: 100%; background-color: var(--color-zinc-700); border-radius: 9999px; height: 0.625rem; margin-bottom: 0.5rem; overflow: hidden; }
.progress-bar { background-color: var(--color-gold); height: 0.625rem; border-radius: 9999px; }
.funding-percent { font-size: 0.875rem; color: var(--color-gray-300); }
.funding-percent span { font-weight: 700; color: var(--color-white); }
.funding-amount { font-size: 0.75rem; color: var(--color-gray-500); }

.investment-section { max-width: 72rem; margin: 2.5rem auto 0; border-top: 1px solid var(--color-zinc-800); padding-top: 2.5rem; }
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    text-align: left;
}
@media (min-width: 1024px) { .tiers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tier-card {
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
    background-color: var(--color-zinc-900);
    border: 1px solid var(--color-zinc-800);
}
.tier-card:hover {
    box-shadow: 0 10px 15px -3px rgb(212 175 55 / 0.2), 0 4px 6px -4px rgb(212 175 55 / 0.2);
    border-color: var(--color-zinc-700);
}
.tier-featured {
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 25px -5px rgb(212 175 55 / 0.2), 0 8px 10px -6px rgb(212 175 55 / 0.2);
}
@media (min-width: 768px) {
    .tier-featured {
        transform: scale(1.05);
    }
}
.tier-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    color: var(--color-white);
}
.tier-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.tier-perks li { display: flex; align-items: flex-start; }
.icon-perk { width: 1.25rem; height: 1.25rem; color: var(--color-gold); margin-right: 0.75rem; margin-top: 0.25rem; flex-shrink: 0; }
.btn-tier {
    margin-top: auto;
    width: 100%;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
    background-color: var(--color-zinc-800);
    color: var(--color-gold);
}
.btn-tier:hover { background-color: var(--color-zinc-700); }
.btn-tier-featured {
    margin-top: auto;
    width: 100%;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
    background-color: var(--color-filmRed);
    color: var(--color-white);
    font-size: 1.125rem;
}
.btn-tier-featured:hover { background-color: var(--color-darkRed); }

/* Footer */
.footer {
    background-color: var(--color-gray-900);
    border-top: 1px solid var(--color-gray-800);
    padding: 3rem 0;
    color: var(--color-gray-500);
}
.newsletter-section { max-width: 36rem; margin: 2.5rem auto; }
.newsletter-title { font-size: 1.25rem; font-weight: 600; color: var(--color-gray-300); margin-bottom: 0.5rem; }
.newsletter-subtitle { color: var(--color-gray-400); margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }

.newsletter-input {
    background-color: var(--color-zinc-800);
    border: 1px solid var(--color-zinc-700);
    color: var(--color-white);
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}
.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.8);
}
.newsletter-input::placeholder { color: var(--color-gray-500); }

.btn-subscribe {
    background-color: var(--color-filmRed);
    color: var(--color-white);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}
.btn-subscribe:hover { background-color: var(--color-darkRed); }
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.social-icon { color: var(--color-gray-400); text-decoration: none; transition: color 0.3s; }
.social-icon:hover { color: var(--color-white); }
.icon-social { height: 1.5rem; width: 1.5rem; }
.copyright { margin-top: 1.5rem; }