/* ========================================
   TRAMWAY21 - Homepage Styles
   ======================================== */

/* Clash Grotesk Font Import */
@font-face {
  font-family: 'Clash Grotesk';
  src: url('https://fonts.cdnfonts.com/css/clash-grotesk') format('woff2');
  font-weight: 200 700;
  font-display: swap;
}

/* CSS Reset & Variables */
:root {
  --color-bg: #0e0e0e;
  --color-yellow: #ffee00;
  --color-white: #ffffff;
  --color-light: #f4f4f4;
  --color-border: #2e2e2e;
  --color-dark-border: #151515;
  --font-family: 'Clash Grotesk', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

p {
  margin: 0;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 96px;
  z-index: 100;
  background-color: rgba(14, 14, 14, 0);
}

.header__logo {
  width: 99px;
  height: 77px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
}

/* Black background slide from right */
.header__nav::before {
  content: '';
  position: absolute;
  top: -24px;
  bottom: -24px;
  right: -96px;
  width: 0;
  background-color: var(--color-yellow);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.header.is-open .header__nav::before {
  width: calc(100% + 96px + 32px);
}

/* Dark text/icons when menu is open */
.header.is-open .header__link {
  color: var(--color-bg);
}

.header.is-open .header__link:hover {
  color: rgba(14, 14, 14, 0.6);
}

.header.is-open .header__link--outline {
  border-color: var(--color-bg);
}

.header.is-open .header__menu-toggle {
  border-color: var(--color-bg);
}

.header.is-open .header__menu-toggle .hamburger span {
  background-color: var(--color-bg);
}

.header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 17px;
  border: 1px solid var(--color-yellow);
  border-radius: 8px;
  background: none;
  cursor: pointer;
  backdrop-filter: blur(1.5px);
}

.header__menu-toggle .hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header__menu-toggle .hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: var(--color-yellow);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Nav links (hidden by default) */
.header__links {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s ease 0s;
  pointer-events: none;
}

.header__link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-light);
  padding: 14px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__link:hover {
  color: var(--color-yellow);
}

.header__link--outline {
  border: 1px solid var(--color-border);
  backdrop-filter: blur(1.5px);
}

.header__link--outline:hover {
  border-color: var(--color-yellow);
}

/* Menu open state */
.header.is-open .header__links {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease 0.2s;
}

.header.is-open .header__menu-toggle .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.header.is-open .header__menu-toggle .hamburger span:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__menu-toggle .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   HEADER VARIANT - Solid background
   ======================================== */
.header--solid {
  background-color: transparent;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

/* About Hero */
.about-hero {
  position: relative;
  width: 100%;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 148px 96px;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0.25) 21.9%, #0e0e0e);
}

.about-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* By the way21 */
.about-intro {
  display: flex;
  gap: 96px;
  padding: 96px 248px;
  overflow: hidden;
}

.about-intro__left {
  width: 324px;
  flex-shrink: 0;
}

.about-intro__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 56px;
  line-height: 58px;
  color: var(--color-yellow);
}

.about-intro__right {
  flex: 1;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  color: var(--color-white);
}

.about-intro__lead {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 24px;
}

.about-intro__highlight {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-yellow);
  margin-top: 24px;
}

.about-intro__right p + p:not(.about-intro__highlight) {
  margin-bottom: 0;
}

/* Our values */
.about-values {
  padding: 96px 152px;
  overflow: hidden;
}

.about-values__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about-values__grid {
  display: flex;
  gap: 16px;
}

.value-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s;
  cursor: pointer;
}



.value-card__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95px;
}

.value-card__icon {
  max-height: 70px;
  max-width: 48px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


.value-card__label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
  white-space: nowrap;
  text-align: center;
}

/* Our philosophy */
.about-philosophy {
  padding: 96px 248px;
  overflow: hidden;
}

.about-philosophy__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 56px;
  line-height: 58px;
  color: var(--color-yellow);
  margin-bottom: 48px;
}

.about-philosophy__columns {
  display: flex;
  gap: 48px;
}

.about-philosophy__quote {
  flex: 1;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 28px;
  line-height: 38px;
  color: #989898;
}

.about-philosophy__text {
  flex: 1;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  color: var(--color-white);
}

.about-philosophy__text p + p {
  margin-top: 16px;
}

/* About expertises - wider padding */
.about-expertises {
  padding-left: 152px;
  padding-right: 152px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 900px;
  padding: 236px 148px 148px;
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0.25) 21.9%, #0e0e0e);
}

.contact-page__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  flex: 1;
}

.contact-page__titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-page__columns {
  display: flex;
  gap: 16px;
}

.contact-page__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========================================
   PAGE HERO (Projects page title)
   ======================================== */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 350px;
  padding: 96px;
  background: linear-gradient(to bottom, #0e0e0e 35.1%, #1b1b1b);
  overflow: hidden;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* ========================================
   FEATURED PROJECT (full-width banner)
   ======================================== */
.featured-project {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 550px;
  padding: 72px;
  overflow: hidden;
  cursor: pointer;
}

.featured-project__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.featured-project__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-project:hover .featured-project__bg img {
  transform: scale(1.05);
}

.featured-project__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 14, 14, 0.75), rgba(14, 14, 14, 0.15));
}

.featured-project__content {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.featured-project__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 56px;
  white-space: nowrap;
  text-align: center;
}

.featured-project__client {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.featured-project__name {
  font-weight: 500;
  font-size: 38px;
  color: var(--color-white);
}

.featured-project__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-project:hover .featured-project__arrow {
  transform: translate(4px, -4px);
}

/* ========================================
   PROJECT DETAIL PAGE
   ======================================== */
.project-detail-hero {
  position: relative;
  width: 100%;
  height: 550px;
  padding-top: 124px;
  overflow: hidden;
}

.project-detail-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-detail-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 14, 14, 0.75), rgba(14, 14, 14, 0.15));
}

/* Project intro (title + description) */
.project-detail-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 96px 192px;
  height: 350px;
  overflow: hidden;
}

.project-detail-intro__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.project-detail-intro__desc {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-white);
  text-align: center;
}

/* Project videos (YouTube / Vimeo embeds) */
.project-detail-videos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 192px 96px;
  width: 100%;
}

.project-detail-videos__item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}

.project-detail-videos__item iframe,
.project-detail-videos__item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Gallery grid (images only, no text) */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.gallery-grid__row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.gallery-card {
  position: relative;
  max-width: 75%;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card--flex {
  flex: 1;
}

.gallery-card--fixed {
  width: 600px;
  flex-shrink: 0;
}

/* About the project (2-column) */
.project-detail-about {
  display: flex;
  gap: 48px;
  padding: 96px 192px;
}

.project-detail-about__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-detail-about__right {
  flex: 1;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-white);
}

.project-detail-about__right p + p {
  margin-top: 24px;
}

/* ========================================
   SECTION LABEL (yellow subtitle)
   ======================================== */
.section-label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.section-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 56px;
  line-height: 58px;
  color: var(--color-white);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-light);
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(1.5px);
  background: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.8;
}

.btn--outline {
  border: 1px solid var(--color-border);
}

.btn--yellow {
  border: 1px solid var(--color-yellow);
}

.btn__arrow {
  width: 11.47px;
  height: 9.45px;
}

.btn__arrow--down {
  width: 9.45px;
  height: 11.47px;
  transform: rotate(90deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg .plyr {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg .plyr__video-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.hero__bg .plyr__video-embed {
  position: absolute !important;
  inset: -25% !important;
  width: 150% !important;
  height: 150% !important;
  padding-bottom: 0 !important;
}

.hero__bg .plyr__video-embed iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
/* Hero self-hosted (<video>) : remplit et crope comme l'embed */
.hero__bg video,
.hero__bg .plyr__video-wrapper video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.hero__bg .plyr__controls,
.hero__bg .plyr__control,
.hero__bg .plyr__poster {
  display: none !important;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 14, 14, 0.35), rgba(14, 14, 14, 0.1));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.hero__project-info {
  display: flex;
  align-items: flex-end;
  gap: 48px;
}

.hero__project-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  white-space: nowrap;
  line-height: 56px;
}

.hero__project-text .project-client {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.hero__project-text .project-name {
  font-weight: 500;
  font-size: 38px;
  color: var(--color-white);
}

.hero__project-arrow {
  width: 50px;
  height: 50px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__project-info:hover .hero__project-arrow {
  transform: rotate(45deg);
}

/* ========================================
   EXPERTISES SECTION
   ======================================== */
.expertises {
  padding: 96px;
}

.expertises__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.expertises__title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expertises__grid {
  display: flex;
  gap: 16px;
}

.expertise-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 24px 24px 34px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.expertise-card__icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 95px;
}

.expertise-card__icon {
  max-height: 76px;
  max-width: 95px;
}

.expertise-card__label {
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
  white-space: nowrap;
  text-align: center;
}

/* ========================================
   PROJECTS GRID
   ======================================== */
.projects {
  padding: 48px;
}

.projects__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.projects__row {
  display: flex;
  gap: 8px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.project-card--small {
  flex: 1;
}

.project-card--large {
  width: 600px;
  flex-shrink: 0;
}

.project-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(68.6deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 59.6%);
}

.project-card__content {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 32px;
}

.project-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 56px;
  white-space: nowrap;
}

.project-card__client {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.32px;
  color: var(--color-yellow);
}

.project-card__name {
  font-weight: 500;
  font-size: 32px;
  color: var(--color-white);
}

.project-card__arrow {
  width: 50px;
  height: 50px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 0;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.cta__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ========================================
   BANNER SECTION
   ======================================== */
.banner {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 72px;
  overflow: hidden;
  cursor: pointer;
}

.banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.banner__bg img {
  position: absolute;
  width: 100%;
  height: 213.33%;
  top: -97.76%;
  left: 0;
  object-fit: cover;
}

.banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 14, 14, 0.75), rgba(14, 14, 14, 0.15));
}

.banner__content {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.banner__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 56px;
  white-space: nowrap;
  text-align: center;
}

.banner__client {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.banner__name {
  font-weight: 500;
  font-size: 38px;
  color: var(--color-white);
}

.banner__arrow {
  width: 16px;
  height: 16px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 643px;
  padding: 148px;
  background: linear-gradient(to bottom, rgba(14, 14, 14, 0.25) 21.9%, #0e0e0e 100%);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.contact__titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__columns {
  display: flex;
  gap: 16px;
}

.contact__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__column-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.contact__column-body {
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.48px;
  color: var(--color-white);
}

.contact__column-note {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.32px;
  color: var(--color-white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--color-bg);
}

.footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 48px 96px;
}

.footer__logo {
  width: 99px;
  height: 77px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__nav {
  width: 496px;
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__nav-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-links a {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-light);
  transition: color 0.2s;
}

.footer__nav-links a:hover {
  color: var(--color-yellow);
}

.footer__contact {
  width: 496px;
  display: flex;
  justify-content: flex-end;
}

.footer__contact-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__contact-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.footer__contact-address {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-light);
}

.footer__social {
  min-width: 140px;
}

.footer__social-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__social-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0.4px;
  color: var(--color-yellow);
}

.footer__social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-light);
  transition: color 0.2s, transform 0.2s;
}

.footer__social-link:hover {
  color: var(--color-yellow);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  border-top: 1px solid var(--color-dark-border);
}

.footer__bottom a {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-light);
  white-space: nowrap;
  transition: color 0.2s;
}

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

/* ========================================
   ANIMATIONS - Scroll Reveal
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* Hero entrance animation */
.hero__content {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero__bg img {
  animation: fadeIn 1.5s ease-out both;
}

.header {
  animation: fadeIn 1s ease-out 0.5s both;
}

/* ========================================
   HOVER EFFECTS
   ======================================== */

/* Header menu toggle */
.header__menu-toggle {
  transition: background-color 0.3s, transform 0.2s;
}

.header__menu-toggle:hover {
  background-color: rgba(255, 238, 0, 0.1);
  transform: scale(1.05);
}

.header__menu-toggle .hamburger span {
  transition: transform 0.3s, width 0.3s;
}

.header__menu-toggle:hover .hamburger span:nth-child(1) {
  transform: translateX(2px);
}

.header__menu-toggle:hover .hamburger span:nth-child(3) {
  transform: translateX(-2px);
}

/* Buttons */
.btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn--outline::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background-color: var(--color-yellow);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn--outline:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btn--outline:hover {
  border-color: var(--color-yellow);
  color: var(--color-bg);
}

.btn--yellow::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  height: 0;
  background-color: var(--color-yellow);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0s 0.4s, bottom 0s 0s;
  z-index: -1;
}

.btn--yellow:hover::before {
  height: 100%;
  top: 0;
  bottom: 0;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0s 0s, bottom 0s 0s;
}

.btn--yellow:not(:hover)::before {
  top: auto;
  bottom: 0;
}

.btn--yellow:hover {
  color: var(--color-bg);
}

.btn--yellow:hover .btn__arrow--down {
  filter: brightness(0);
}

.btn__arrow,
.btn__arrow--down {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--outline:hover .btn__arrow {
  filter: brightness(0);
}


.btn:hover .btn__arrow--down {
  transform: rotate(90deg) translateX(4px);
}

/* Expertise cards */
.expertise-card {
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s;
  cursor: pointer;
}

.expertise-card__icon {
  transition: none;
}

/* Project cards */
.project-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  transform: scale(1.02);
}

.project-card__bg img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__bg img {
  transform: scale(1.08);
}

.project-card__arrow {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__arrow {
  transform: translate(4px, -4px);
}

.project-card__content {
  transition: padding-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__content {
  padding-bottom: 40px;
}

/* Banner */
.banner {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner__bg img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner:hover .banner__bg img {
  transform: scale(1.05);
}

.banner__arrow {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner:hover .banner__arrow {
  transform: translate(4px, -4px);
}

/* Hero background parallax-like hover */
.hero__bg img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero:hover .hero__bg img {
  transform: scale(1.03);
}

/* Footer nav links */
.footer__nav-links a {
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer__nav-links a:hover {
  transform: translateX(8px);
}

/* Footer bottom links */
.footer__bottom a {
  position: relative;
}

.footer__bottom a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-yellow);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__bottom a:hover::after {
  width: 100%;
}

/* Contact column hover */
.contact__column {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .header {
    padding: 24px 48px;
  }

  .expertises {
    padding: 64px 48px;
  }

  .contact {
    padding: 96px 48px;
    height: auto;
  }

  .footer__main {
    padding: 48px;
  }

  .section-title {
    font-size: 42px;
    line-height: 48px;
  }

  .project-card--large {
    width: auto;
    flex: 1.5;
  }

  .page-hero {
    padding: 64px 48px;
  }

  .featured-project {
    height: 450px;
    padding: 48px;
  }

  .project-detail-intro {
    padding: 64px 96px;
    height: auto;
  }

  .project-detail-about {
    padding: 64px 96px;
  }

  .project-detail-videos {
    padding: 0 96px 64px;
  }

  .gallery-card--fixed {
    width: auto;
    flex: 1.5;
  }

  .about-intro {
    padding: 64px 96px;
    gap: 48px;
  }

  .about-values {
    padding: 64px 48px;
  }

  .about-philosophy {
    padding: 64px 96px;
  }

  .about-expertises {
    padding-left: 48px;
    padding-right: 48px;
  }

  .contact-page {
    padding: 200px 96px 96px;
    height: auto;
    min-height: 700px;
  }

  .about-intro__title,
  .about-philosophy__title {
    font-size: 42px;
    line-height: 48px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }

  .header__nav {
    gap: 16px;
  }

  .header__nav::before {
    right: -24px;
    top: -16px;
    bottom: -16px;
  }

  .header__nav::before {
    right: -24px;
    top: -16px;
    bottom: -16px;
    z-index: 0;
  }

  .header.is-open .header__nav::before {
    width: 100vw;
  }

  .header.is-open .header__logo {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .header__logo {
    transition: opacity 0.3s ease 0.3s;
  }

  .header__links,
  .header__menu-toggle {
    position: relative;
    z-index: 1;
  }

  .header__links {
    gap: 4px;
  }

  .header__logo {
    width: 80px;
    height: 62px;
  }

  .header__menu-toggle {
    padding: 10px 11px;
  }

  .header__menu-toggle .hamburger span {
    width: 18px;
    height: 2px;
  }

  .header__menu-toggle .hamburger {
    gap: 5px;
  }

  .header.is-open .header__menu-toggle .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.is-open .header__menu-toggle .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__link {
    font-size: 14px;
    padding: 10px 12px;
  }

  .hero {
    height: 600px;
    padding: 24px;
  }

  .hero__content {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 24px;
  }

  .hero__project-info {
    gap: 24px;
  }

  .hero__project-text .project-name {
    font-size: 28px;
  }

  .expertises {
    padding: 48px 24px;
  }

  .expertises__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .expertises__grid {
    flex-wrap: wrap;
  }

  .expertise-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .projects {
    padding: 24px;
  }

  .projects__row {
    flex-direction: column;
  }

  .project-card--large {
    width: 100%;
  }

  .section-title {
    font-size: 32px;
    line-height: 38px;
  }

  .cta {
    padding: 64px 24px;
  }

  .banner {
    height: 350px;
    padding: 32px;
  }

  .contact {
    padding: 48px 24px;
  }

  .contact__columns {
    flex-direction: column;
    gap: 32px;
  }

  .footer__main {
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
  }

  .footer__nav,
  .footer__contact,
  .footer__social {
    width: 100%;
  }

  .footer__contact {
    justify-content: flex-start;
  }

  .page-hero {
    height: 250px;
    padding: 48px 24px;
  }

  .featured-project {
    height: 350px;
    padding: 32px;
  }

  .featured-project__name {
    font-size: 28px;
  }

  .project-detail-hero {
    height: 350px;
    padding-top: 80px;
  }

  .project-detail-intro {
    padding: 48px 24px;
    height: auto;
  }

  .project-detail-about {
    flex-direction: column;
    padding: 48px 24px;
    gap: 32px;
  }

  .project-detail-videos {
    padding: 0 24px 48px;
  }

  .gallery-grid__row {
    flex-direction: column;
  }

  .gallery-card--fixed {
    width: 100%;
  }

  .gallery-card {
    height: auto;
    max-width: 100%;
  }

  .about-hero {
    height: 500px;
    padding: 100px 24px;
  }

  .about-hero__content .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .about-intro {
    flex-direction: column;
    padding: 48px 24px;
    gap: 32px;
  }

  .about-intro__left {
    width: 100%;
  }

  .about-intro__title {
    font-size: 36px;
    line-height: 42px;
  }

  .about-values {
    padding: 48px 24px;
  }

  .about-values__grid {
    flex-direction: column;
  }

  .about-philosophy {
    padding: 48px 24px;
  }

  .about-philosophy__title {
    font-size: 36px;
    line-height: 42px;
  }

  .about-philosophy__columns {
    flex-direction: column;
    gap: 32px;
  }

  .about-philosophy__quote {
    font-size: 22px;
    line-height: 30px;
  }

  .about-expertises {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-page {
    padding: 120px 24px 48px;
    height: auto;
    min-height: auto;
    gap: 64px;
  }

  .contact-page__inner {
    gap: 64px;
  }

  .contact-page__columns {
    flex-direction: column;
    gap: 32px;
  }
}

/* ========================================
   LEGAL PAGES (Mentions, Privacy, Cookies)
   Réutilise .project-detail-about ; ajuste seulement le padding-haut
   pour dégager le header fixe (valeurs alignées sur .contact-page).
   ======================================== */
.legal-page {
  padding-top: 236px;
}

@media (max-width: 1200px) {
  .legal-page {
    padding-top: 200px;
  }
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 120px;
  }
}

/* ========================================
   COOKIE CONSENT BANNER (RGPD)
   ======================================== */
.cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(440px, calc(100vw - 48px));
}
.cookie-consent[hidden] { display: none; }

.cookie-consent__panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.cookie-consent__view[hidden] { display: none; }

.cookie-consent__title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-white);
  margin-bottom: 12px;
}
.cookie-consent__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #b5b5b5;
  margin-bottom: 20px;
}
.cookie-consent__text a {
  color: var(--color-yellow);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Boutons secondaires : même base .btn mais bordure discrète */
.cookie-consent__btn {
  border: 1px solid var(--color-border);
  font-size: 16px;
}
.cookie-consent__btn:hover { border-color: var(--color-white); }
.cookie-consent .btn { padding: 10px 16px; font-size: 16px; }

/* Liste des préférences */
.cookie-consent__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Catégorie (accordéon) */
.cc-cat {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
}
.cc-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cc-cat__expand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.cc-cat__name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-white);
}
.cc-cat__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #8f8f8f;
  border-bottom: 2px solid #8f8f8f;
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.cc-cat__expand[aria-expanded="true"] .cc-cat__chevron {
  transform: rotate(45deg);
}
.cc-cat__desc {
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 18px;
  color: #8f8f8f;
  margin-top: 8px;
}
.cc-cat__detail {
  margin-top: 12px;
  overflow-x: auto;
}
.cc-cat__detail[hidden] { display: none; }

/* Tableau des cookies */
.cc-cookies {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-family);
  font-size: 12px;
  line-height: 16px;
}
.cc-cookies th,
.cc-cookies td {
  text-align: left;
  padding: 6px 8px;
  border-top: 1px solid var(--color-border);
  vertical-align: top;
  color: #b5b5b5;
}
.cc-cookies th {
  color: #8f8f8f;
  font-weight: 500;
  white-space: nowrap;
}
.cc-cookies td:first-child {
  color: var(--color-white);
  font-family: monospace;
  white-space: nowrap;
}

/* Toggle switch */
.cc-toggle { position: relative; flex-shrink: 0; width: 44px; height: 24px; }
.cc-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.cc-toggle__track {
  position: absolute;
  inset: 0;
  background: #3a3a3a;
  border-radius: 24px;
  transition: background 0.2s;
  pointer-events: none;
}
.cc-toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform 0.2s;
}
.cc-toggle input:checked + .cc-toggle__track { background: var(--color-yellow); }
.cc-toggle input:checked + .cc-toggle__track::after {
  transform: translateX(20px);
  background: var(--color-bg);
}
.cc-toggle input:disabled { cursor: not-allowed; }
.cc-toggle input:disabled + .cc-toggle__track { opacity: 0.7; }

/* Lien "Cookie settings" dans le footer */
.footer__cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

@media (max-width: 768px) {
  .cookie-consent { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .cookie-consent__panel { padding: 20px; }
}
