:root {
  --accent: #ff0004;
  --dark: #111111;
  --text: #484c50;
  --muted: #85919d;
  --soft: #f7f7f7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Roboto, Arial, sans-serif;
}

#fh5co-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 32px;
  z-index: 20;
}

.site-nav-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

#fh5co-logo {
  position: static !important;
  text-align: left !important;
  width: auto !important;
  left: auto !important;
  top: auto !important;
  margin: 0;
  line-height: 1.1;
}

#fh5co-logo a {
  font-size: 20px !important;
  color: rgba(255,255,255,1) !important;
  font-weight: 20 !important;
  text-shadow: 2px 1px rgba(0,0,0,0.8);
}

#fh5co-logo a span,
.red-dot {
  color: var(--accent) !important;
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-menu li {
  display: inline-block !important;
}

.main-menu a {
  color: rgba(255,255,255,1) !important;
  font-size: 14px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 20 !important;
  text-shadow: 2px 1px rgba(0,0,0,0.8);
}

.main-menu a:hover {
  color: #fff !important;
}

#fh5co-hero {
  min-height: 82vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.realisations-hero {
  background-image: url("../media/images/sourdre/sourdre-dispositifs-low-tech-arts-numeriques.jpg");
}

#fh5co-hero .fh5co-overlay {
  opacity: 0.48;
  background: linear-gradient(90deg, rgba(0,0,0,0.82), rgba(0,0,0,0.22));
}

.hero-content {
  position: relative;
  z-index: 11;
  min-height: 82vh;
  display: flex;
  align-items: center;
  max-width: 820px;
  padding-top: 80px;
}

.hero-kicker {
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 15px;
  margin-bottom: 18px;
  display: block;
  text-shadow: 2px 1px rgba(0,0,0,1);
}

.hero-title {
  color: #fff;
  font-size: 66px;
  line-height: 1.04;
  font-weight: 300;
  margin-bottom: 24px;
  text-shadow: 2px 1px rgba(0,0,0,0.8);
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  color: rgba(255,255,255,0.86);
  font-size: 22px;
  line-height: 1.55;
  max-width: 620px;
  margin-bottom: 34px;
  font-weight: 300;
  text-shadow: 2px 1px rgba(0,0,0,0.8);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18) !important;
}

.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
}

.realisations-intro {
  background: #fff;
  padding: 6em 0 4em 0;
  text-align: center;
}

.realisations-intro-archive {
  background: transparent;
  padding: 0 0 45px 0;
}

.realisations-intro h2 {
  font-size: 50px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 20px;
}

.realisations-intro p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 34px;
  color: var(--muted);
}

.filter-links {
  margin-top: 28px;
}

.filter-links a {
  display: inline-block;
  margin: 4px 8px;
  color: rgba(0,0,0,0.55);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-links a:hover {
  color: var(--accent);
  font-family: Roboto, Arial, sans-serif;
}

.projects-section {
  background: var(--soft);
  padding: 6em 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 34px;
}

.project-card {
  background: transparent;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 22px;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.project-card a:hover img {
  opacity: 0.72;
  transform: scale(1.03);
}

.project-card h3 {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 10px;
}

.project-card h4 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  margin-bottom: 10px;
  font-weight: 700;
}

.project-card h5 {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
}

.project-card p {
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
  margin-bottom: 0;
}

.archive-section {
  background: #fff;
  padding: 6em 0;
}

.archive-list {
  max-width: 980px;
  margin: 0 auto;
}

.archive-item {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 110px 1fr 210px;
  gap: 30px;
  align-items: start;
}

.archive-year {
  color: var(--accent);
  font-weight: 700;
}

.archive-item h3 {
  font-size: 24px;
  font-weight: 300;
  margin: 0 0 8px 0;
  color: var(--dark);
}

.archive-item h5 {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
}

.archive-item p {
  color: var(--muted);
  font-size: 17px;
  line-height: 28px;
  margin: 0;
}

.archive-type {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
}

.contact-strip {
  background: #111;
  color: #fff;
  padding: 5em 0;
  text-align: center;
}

.contact-strip h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 16px;
}

.contact-strip p {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  margin-bottom: 30px;
}

.contact-strip a {
  color: #fff;
}

#fh5co-footer {
  padding: 3em 0;
  background: #fff;
}

#scrollUp2 {
  position: fixed;
  right: -60px;
  bottom: 20px;
  z-index: 999;
  transition: right 0.3s ease;
}

@media screen and (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-item {
    grid-template-columns: 90px 1fr;
  }

  .archive-type {
    grid-column: 2;
  }
}

@media screen and (max-width: 768px) {
  #fh5co-header {
    padding-top: 20px;
  }

  .site-nav-wrap {
    display: block;
  }

  #fh5co-logo a {
    font-size: 23px !important;
  }

  .main-menu {
    justify-content: flex-start;
    gap: 14px;
    margin-top: 18px;
  }

  .main-menu a {
    font-size: 12px !important;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 1.55;
  }

  .realisations-intro h2 {
    font-size: 34px;
  }

  .realisations-intro,
  .projects-section,
  .archive-section {
    padding: 4em 0;
  }

  .realisations-intro-archive {
    padding: 0 0 45px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .archive-type {
    grid-column: auto;
  }
}