@font-face {
  font-family: "OCTA Principale";
  src: url("TYPO/Principale.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OCTA Secondaire";
  src: url("TYPO/Secondaire.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: #161616;
  --text: #f4f4f4;
  --muted: #a7a7a7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f4f4f4;
  --radius: 28px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "OCTA Secondaire",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Fond */

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  width: 42rem;
  height: 42rem;
  top: -18rem;
  right: -18rem;
  z-index: -3;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.16),
    transparent 65%
  );
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px 0;
  transition:
    background 0.25s ease,
    border 0.25s ease,
    padding 0.25s ease;
}

.header.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-links a {
  transition: color 0.2s ease;
}

.desktop-links a:hover {
  color: var(--text);
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--text);
}

.btn.outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

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

/* Menu mobile */

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(10, 10, 10, 0.97);
  display: grid;
  place-items: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  gap: 24px;
  text-align: center;
}

.mobile-menu a {
  font-family: "OCTA Principale", "OCTA Secondaire", sans-serif;
  font-size: clamp(2.6rem, 10vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

/* Hero */

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 130px 0 36px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  margin-bottom: 20px;
}

.hero-copy .eyebrow {
  margin-bottom: 40px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--text);
  opacity: 0.7;
}

h1,
h2,
h3 {
  font-family: "OCTA Principale", "OCTA Secondaire", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  max-width: 930px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  max-width: 620px;
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-media {
  min-height: 570px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #1d1d1d, #070707);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 55%);
}

.hero-media img {
  height: 100%;
  min-height: 570px;
  filter: grayscale(100%) contrast(1.08);
  opacity: 0.88;
}

.floating-card {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.floating-card strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.06em;
  margin-bottom: 4px;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Marquee */

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 36px;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 36px;
  animation: scroll 22s linear infinite;
  font-family: "OCTA Principale", "OCTA Secondaire", sans-serif;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: white;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Sections */

section {
  padding: 120px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  max-width: 760px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 390px;
  font-size: 1rem;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 390px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.42);
  background: #1e1e1e;
}

.service-card .number {
  color: var(--muted);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-image {
  width: 100%;
  height: 135px;
  margin: 22px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.82;
  transition:
    transform 0.45s ease,
    filter 0.45s ease,
    opacity 0.45s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
  filter: grayscale(0%);
  opacity: 1;
}

.service-card h3 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

/* Réalisations */

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  isolation: isolate;
}

.work-card.large {
  grid-column: span 7;
}

.work-card.small {
  grid-column: span 5;
}

.work-card img {
  height: 100%;
  min-height: 520px;
  filter: grayscale(100%);
  opacity: 0.82;
  transition:
    transform 0.55s ease,
    filter 0.55s ease,
    opacity 0.55s ease;
}

.work-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
  opacity: 0.95;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 60%);
}

.work-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.work-content h3 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.tag {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
}

/* Ils nous font confiance */

.trust {
  padding: 120px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.trust-card {
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.38);
  background: #1e1e1e;
}

.trust-card img {
  width: 100%;
  max-width: 130px;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.trust-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* Méthode */

.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
  background: var(--text);
  color: var(--bg);
  border-radius: 42px;
  padding: clamp(28px, 6vw, 70px);
}

.process h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.process .eyebrow {
  color: rgba(0, 0, 0, 0.55);
}

.process .eyebrow::before {
  background: var(--bg);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  font-weight: 900;
  color: rgba(0, 0, 0, 0.45);
}

.step h3 {
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.step p {
  color: rgba(0, 0, 0, 0.64);
  line-height: 1.55;
}

/* Équipe */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.team-card img {
  height: 380px;
  filter: grayscale(100%);
}

.team-info {
  padding: 22px;
}

.team-info h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.team-info p {
  color: var(--muted);
  line-height: 1.5;
}

/* Contact */

.contact {
  min-height: 82vh;
  display: grid;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  max-width: 1050px;
  margin: 0 auto 30px;
}

.contact p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 1.12rem;
}

.contact .eyebrow {
  justify-content: center;
}

.contact .eyebrow::before {
  display: none;
}

/* Footer */

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* Responsive tablette */

@media (max-width: 980px) {
  .desktop-links,
  .nav .btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 440px;
  }

  .section-head {
    display: grid;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-card.large,
  .work-card.small {
    grid-column: span 12;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive téléphone */

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 22px), var(--max));
  }

  section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .service-image {
    height: 150px;
  }

  .work-card,
  .work-card img {
    min-height: 410px;
  }

  .work-content {
    display: grid;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card {
    min-height: 120px;
    padding: 18px;
  }

  .trust-card img {
    max-width: 110px;
    max-height: 60px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .floating-card {
    display: grid;
  }

  .contact h2 {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }
}
