:root {
  --bg: #050505;
  --bg-soft: #0d0d0f;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #a7a7ad;
  --line: rgba(255, 255, 255, 0.10);
  --white: #ffffff;

  --accent-red: #ff2d2d;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;

  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --container: 1280px;
}

/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
}

body.no-scroll,
body.modal-open {
  overflow: hidden;
}

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

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

section {
  position: relative;
}

section,
div,
article,
aside,
main,
header,
footer {
  min-width: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 1000;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-img {
  height: 80px;
  width: auto;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1.5px solid rgba(255, 40, 40, 0.7);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(14px);
}

.main-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: rgba(200, 200, 200, 0.9);
}

.nav-separator {
  color: rgba(255, 255, 255, 0.45);
  padding: 0 6px;
}

.main-nav .btn-contact {
  background: var(--white);
  color: #111;
  font-weight: 700;
}

.main-nav .btn-contact:hover {
  background: #ececec;
  color: #111;
}

/* Mobile nav */
.mobile-nav-wrap {
  display: none;
  min-width: 0;
  position: relative;
  z-index: 1002;
}

.mobile-nav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 40, 40, 0.55);
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  width: auto;
}

.mobile-menu-toggle {
  width: 58px;
  height: 58px;
  min-width: 58px;
  flex: 0 0 58px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.10);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-contact-btn {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile-contact-btn:hover {
  background: #ececec;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1003;
  min-width: 220px;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 40, 40, 0.45);
  background: rgba(15, 15, 15, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}

.mobile-menu-panel.is-open {
  display: flex;
}

.mobile-menu-panel a {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  font-weight: 650;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile-menu-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}
/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.38) 48%,
      rgba(0, 0, 0, 0.55) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.08rem;
  color: #d0d0d5;
  max-width: 680px;
  margin: 0 auto;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-line {
  width: 4px;
  height: 64px;
  background: linear-gradient(
    to bottom,
    rgba(255, 45, 45, 0.65) 0%,
    rgba(255, 45, 45, 0.35) 40%,
    rgba(255, 45, 45, 0.08) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  animation: scrollPulse 2.3s infinite;
}

@keyframes scrollPulse {
  0% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
}

/* =========================
   TITRES SECTIONS
========================= */

.section-head {
  margin-bottom: 34px;
}

.section-label {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-head h2,
.highlight-box h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-head h2 {
  position: relative;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent-red), rgba(255, 45, 45, 0));
  transition: width 0.75s ease;
}

.reveal.visible h2::after,
.section-head.reveal.visible h2::after {
  width: 86px;
}

/* =========================
   INTRO
========================= */

.intro-section {
  padding: 100px 0 70px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.intro-grid > * {
  min-width: 0;
}

.intro-right p {
  color: #d0d0d5;
  font-size: 1.05rem;
  max-width: 680px;
}

/* =========================
   UNIVERS
========================= */

.univers-section {
  padding: 20px 0 20px;
}

.univers-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
}

.univers-grid > * {
  min-width: 0;
}

.univers-card {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #101014;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  transform: translateY(0);
}

.univers-card:hover,
.univers-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  outline: none;
}

.univers-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 0.45s ease;
  filter: brightness(0.9) contrast(1.02);
}

.univers-card:hover img,
.univers-card:focus-visible img {
  transform: scale(1.11);
}

.univers-card::before,
.univers-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.univers-card::before {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.univers-card::after {
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.univers-card:hover::before,
.univers-card:focus-visible::before {
  opacity: 1;
}

.univers-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.univers-card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transform: translateY(10px);
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.univers-card:hover .univers-card-content h3,
.univers-card:focus-visible .univers-card-content h3 {
  transform: translateY(0);
  opacity: 1;
}

/* =========================
   HIGHLIGHT
========================= */

.highlight-section {
  padding: 0 0 110px;
}

.highlight-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)),
    #101014;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 42px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.highlight-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.highlight-box:hover::before {
  opacity: 1;
}

.highlight-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.highlight-box p:last-of-type {
  color: #c8c8ce;
  max-width: 760px;
  margin-top: 14px;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ececec;
}

/* =========================
   REALISATIONS
========================= */

.realisations-section {
  padding: 0 0 110px;
}

.realisations-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.realisations-grid > * {
  min-width: 0;
}

.realisation-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)),
    #101014;
  padding: 24px;
  display: flex;
  align-items: end;
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.realisation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.realisation-card:hover::before {
  opacity: 1;
}

.realisation-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* =========================
   REALISATIONS PREMIUM
========================= */

.realisations-grid-projects {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.realisations-grid-projects > * {
  min-width: 0;
}

.project-card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #101014;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  outline: none;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: brightness(0.72) contrast(1.02);
  z-index: 0;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.1);
  filter: brightness(0.82) contrast(1.04);
}

.realisation-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.40) 48%,
    rgba(0,0,0,0.10) 100%
  );
}

.realisation-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.realisation-type {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
}

.realisation-card-content h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.project-card:hover .realisation-card-content h3,
.project-card:focus-visible .realisation-card-content h3 {
  transform: translateY(0);
}

.project-details {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-details li {
  margin-bottom: 6px;
}

.project-details strong {
  color: var(--white);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 30px;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f2f2f4;
  font-size: 0.9rem;
}

/* =========================
   INSTAGRAM
========================= */

.instagram-section {
  padding: 0 0 110px;
}

.instagram-section .section-head {
  margin-bottom: 34px;
}

.instagram-section .section-label {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.instagram-section .section-head h2 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 100%;
}

.instagram-section .section-head h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent-red), rgba(255,45,45,0));
}

.instagram-section .section-head p:last-child {
  color: #c8c8ce;
  max-width: 900px;
  font-size: 1.02rem;
  line-height: 1.6;
}

.instagram-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.instagram-grid > * {
  min-width: 0;
}

.instagram-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)),
    #101014;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.instagram-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.instagram-card-media {
  position: relative;
  aspect-ratio: 1080 / 1350;
  overflow: hidden;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.9);
}

.instagram-card:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

.instagram-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.46) 0%,
    rgba(0,0,0,0.14) 52%,
    rgba(0,0,0,0) 100%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
}

.instagram-card:hover .instagram-card-overlay {
  opacity: 1;
}

.instagram-card-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.instagram-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.instagram-actions a,
.instagram-fallback a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.instagram-actions a:hover,
.instagram-fallback a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.instagram-fallback {
  margin-top: 24px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.instagram-fallback p {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.72);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 70px 0 50px;
  border-top: 1px solid var(--line);
  background: #040404;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 0.9fr;
  gap: 30px;
}

.footer-grid > * {
  min-width: 0;
}

.site-footer h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.site-footer h4 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #b8b8be;
  font-size: 0.98rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #f1f1f4;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

.footer-legal {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-legal-btn {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-legal-btn:hover {
  color: var(--white);
}

/* =========================
   UNIVERS POPUP
========================= */

.univers-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.univers-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.univers-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.univers-popup-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
    #101014;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  padding: 42px;
  color: #fff;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s ease;
}

.univers-popup.is-open .univers-popup-box {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.popup-close:hover {
  background: rgba(255,255,255,0.14);
}

.popup-kicker {
  color: #a7a7ad;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin: 0 0 14px;
  text-align: center;
}

.popup-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 auto 24px;
  text-align: center;
  max-width: 780px;
}

.popup-text {
  color: #d0d0d5;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.popup-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 34px;
}

.popup-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0d0d0f;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease, border-color 0.3s ease;
}

.univers-popup.is-open .popup-gallery img {
  transform: translateY(0);
  opacity: 1;
}

.univers-popup.is-open .popup-gallery img:nth-child(1) {
  transition-delay: 0.08s;
}

.univers-popup.is-open .popup-gallery img:nth-child(2) {
  transition-delay: 0.14s;
}

.univers-popup.is-open .popup-gallery img:nth-child(3) {
  transition-delay: 0.20s;
}

.popup-gallery img:hover {
  border-color: rgba(255,255,255,0.18);
}

.popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 800;
  font-size: 0.96rem;
  margin: 0 auto;
}

.univers-popup-box .popup-cta {
  display: flex;
  width: fit-content;
}

/* =========================
   LEGAL MODAL
========================= */

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.legal-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
}

.legal-modal.is-open .legal-modal-dialog {
  transform: translateY(0) scale(1);
}

.legal-modal-content {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 40px);
  padding: 40px 32px 32px;
}

.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.legal-modal-close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
}

.legal-kicker {
  margin-bottom: 10px;
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.legal-modal h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.legal-text h3 {
  margin: 26px 0 10px;
  color: var(--white);
  font-size: 1.05rem;
}

.legal-text p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-text a {
  color: var(--white);
}

.legal-text a:hover {
  text-decoration: underline;
}

/* =========================
   SERVICES
========================= */

.services-section {
  padding: 20px 0 80px;
}

/* =========================
   ANIMATIONS D'APPARITION
========================= */

.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

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

.reveal-delay-1,
.delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2,
.delay-2 {
  transition-delay: 0.22s;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .univers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .univers-card:first-child {
    grid-column: span 2;
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .intro-grid,
  .realisations-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .realisations-grid .large {
    grid-column: span 2;
  }

  .highlight-box {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .realisations-grid-projects {
    grid-template-columns: 1fr 1fr;
  }

  .realisations-grid-projects .project-card:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 12px;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
  }

  .logo-img {
    height: 66px;
  }

  .hero-content {
    padding-top: 180px;
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .intro-grid,
  .univers-grid,
  .realisations-grid,
  .realisations-grid-projects,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .univers-card:first-child,
  .realisations-grid .large,
  .realisations-grid-projects .project-card:first-child {
    grid-column: auto;
  }

  .univers-card,
  .project-card {
    min-height: 320px;
  }

  .highlight-box {
    padding: 28px;
  }

  .univers-popup {
    padding: 14px;
    align-items: flex-end;
  }

  .univers-popup-box {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    padding: 28px 20px 24px;
    border-radius: 24px 24px 0 0;
  }

  .popup-gallery {
    grid-template-columns: 1fr;
  }

  .popup-title {
    max-width: 100%;
  }

  .popup-text {
    font-size: 1rem;
    line-height: 1.7;
  }
}
@media (max-width: 768px) {
  .legal-modal {
    padding: 14px;
    align-items: flex-end;
  }

  .legal-modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
  }

  .legal-modal-content {
    padding: 28px 20px 24px;
  }

  .legal-modal h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-card {
    border-radius: 22px;
  }

  .instagram-actions a,
  .instagram-fallback a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    top: 10px;
  }

  .header-inner {
    gap: 10px;
  }

  .logo-img {
    height: 58px;
  }

  .mobile-nav-bar {
    gap: 8px;
    padding: 6px;
  }

  .mobile-menu-toggle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex: 0 0 52px;
  }

  .mobile-contact-btn {
    min-height: 52px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .mobile-menu-panel a {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .btn,
  .popup-cta {
    width: 100%;
  }

  .popup-close {
    top: 12px;
    right: 12px;
  }

  .nav-separator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-card,
  .univers-card img,
  .popup-gallery img,
  .realisation-card,
  .highlight-box,
  .univers-card-content h3 {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* =========================
   VENTE OCCASION
========================= */






