:root {
  --red: #e31212;
  --red-dark: #9b0c0c;
  --red-bright: #ff2020;
  --black: #0a0a0a;
  --black2: #111111;
  --black3: #1a1a1a;
  --white: #f5f0ec;
  --grey: #888;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
#Photo-haut {
  position: absolute;
  top: 50px;
  right: 0;
  width: 60px;
  height: 60px;
}

#Photo-haut img {
  width: 1500%;
  height: 1700%;
  transform: scaleX(-1);
  position: absolute;
  right: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--red);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  margin-left: 32px;
  margin-right: 32px;
  display: block;
}

/* ─── HERO ───────────────────────────────── */
.hero {
  height: 90dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 160px; /* On force une remontée plus importante */
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 40%, #200000 100%);
}

.hero-stats {
  position: absolute;
  right: 48px;
  bottom: 140px; /* Aligné avec le nouveau padding bas */
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.9s 0.45s ease both;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 70% 40%,
    rgba(200, 10, 10, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Decorative diagonal line */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 260px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--red) 40%,
    transparent
  );
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  transform: translateY(-80px); /* REMONTÉE FORCÉE DU CONTENU */
}

.hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(80px, 13vw, 160px);
  line-height: 0.85; /* Resserrer pour que le texte suivant soit plus proche */
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 0 80px rgba(227, 18, 18, 0.3);
  margin: 0;
  animation: fadeUp 0.9s ease both;
}

.hero-sub {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(245, 240, 236, 0.7);
  margin: 0;
  letter-spacing: 0.04em;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-top: 12px; /* Un peu plus d'espace sous la phrase d'accroche */
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.3s ease both;
}

.badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 13px;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  width: 240px;
}

.stat-card:hover {
  border-color: rgba(227, 18, 18, 0.4);
  background: rgba(227, 18, 18, 0.02);
  transform: translateX(-8px);
}

.stat-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  border-color: var(--red);
  background: rgba(227, 18, 18, 0.1);
}

.stat-icon [data-lucide] {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.stat-card:hover .stat-icon [data-lucide] {
  color: var(--red);
}

.stat-text strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
}

.stat-text span {
  font-family: "Syne", sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
  display: block;
}

/* ─── TICKER ─────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  background: var(--red);
  padding: 12px 0;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 18s linear infinite;
}

.ticker-inner span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  padding: 0 32px;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── SERVICES ───────────────────────────── */
.section {
  padding: 100px 48px;
}

.section-label {
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 56px;
}

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

.service-card {
  background: var(--black3);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.3s;
}

.service-card:hover {
  background: #1e1e1e;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.service-card:hover::after {
  width: 100%;
}

.service-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 240, 236, 0.5);
  max-width: 300px;
}

.service-num {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

/* ─── PROJECTS ───────────────────────────── */
.projects-section {
  background: var(--red-dark);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(0, 0, 0, 0.4) 0%,
    transparent 80%
  );
}

.projects-section .section-label {
  color: #fff;
  opacity: 0.6;
}
.projects-section .section-title {
  text-align: center;
}

.projects-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.projects-scroller::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 300px;
  height: 200px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

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

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.project-card .pc-tag {
  position: relative;
  font-size: 11px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.project-card h4 {
  position: relative;
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.pc-color-2 {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.pc-color-1 {
  background: linear-gradient(135deg, #2d1b00, #4a2c00);
}
.pc-color-3 {
  background: linear-gradient(135deg, #0d1f0d, #1a3a1a);
}
.pc-color-4 {
  background: linear-gradient(135deg, #1a0010, #3d0025);
}

/* ─── CASE STUDY ─────────────────────────── */
.case-section {
  padding: 80px 48px;
}

.case-card {
  background: var(--black3);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.case-visual {
  background: linear-gradient(135deg, #111, #1e0000);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  position: relative;
}

.présentation {
  width: 450px;
  height: 270px;
  background: #222;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.présentation::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, transparent 60%);
  opacity: 0.2;
}

.présentation:nth-child(2) {
  transform: translateY(-18px) scale(1.08);
  z-index: 2;
}

.case-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.case-info h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  line-height: 1;
}

.case-info p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 236, 0.5);
  max-width: 340px;
}

.case-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

/* ─── CONTACT ────────────────────────────── */
.contact-section {
  padding: 100px 48px;
  background: var(--black2);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.contact-left h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.contact-left p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 236, 0.45);
  max-width: 320px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 11px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 236, 0.4);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea {
  min-height: 110px;
}

.btn-red {
  grid-column: span 2;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 32px;
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
}

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}

footer h4 {
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

footer p,
footer a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
  text-decoration: none;
  display: block;
}

footer a:hover {
  color: var(--red);
}

.footer-brand .nav-logo {
  width: 52px;
  height: 52px;
  font-size: 22px;
  margin-bottom: 16px;
}
.footer-bottom {
  grid-column: span 4;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── STICKY CTA ─────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 99;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 26px;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(227, 18, 18, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.sticky-cta:hover {
  box-shadow: 0 12px 40px rgba(227, 18, 18, 0.55);
}
.sticky-cta-icon {
  display: none;
  flex-shrink: 0;
}
.sticky-cta-icon svg,
.sticky-cta-icon [data-lucide] {
  width: 22px;
  height: 22px;
  stroke: #fff;
  color: #fff;
}

/* ─── PC COLOR 5 ─────────────────────────────── */
.pc-color-5 {
  background: linear-gradient(135deg, #0d0d2e, #1a1a5e);
}

/* ─── LUCIDE ICONS ───────────────────────────── */
[data-lucide] {
  stroke-width: 1.75;
}
.stat-icon [data-lucide] {
  width: 18px;
  height: 18px;
  color: #fff;
}
.skill-icon {
  font-size: 0;
}
.skill-icon [data-lucide] {
  width: 28px;
  height: 28px;
  color: var(--white);
}
.contact-detail-icon [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--white);
}
.form-success [data-lucide] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ─── NAV LOGO LINK ──────────────────────────── */
.nav-logo-link {
  text-decoration: none;
}
.nav-links a.active {
  color: var(--red);
}

/* ─── MOBILE MENU / BURGER ───────────────────── */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 24px 32px;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--red);
}
.mobile-rdv-btn {
  margin-top: 12px;
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 14px 20px !important;
  text-align: center;
  border-bottom: none !important;
}

/* ─── BTN OUTLINE ────────────────────────────── */
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 40px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── PAGE HERO (pages internes) ─────────────── */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding: 100px 48px 64px;
  background: linear-gradient(135deg, #0a0a0a 40%, #200000 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 70% 40%,
    rgba(200, 10, 10, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  line-height: 0.92;
  color: var(--white);
  text-shadow: 0 0 80px rgba(227, 18, 18, 0.3);
}
.page-hero-sub {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  color: rgba(245, 240, 236, 0.5);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

/* ─── FILTRES (réalisations) ─────────────────── */
.filtres-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 40px 48px 0;
  background: var(--black);
}
.filtre-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
}
.filtre-btn:hover,
.filtre-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─── GRILLE RÉALISATIONS ────────────────────── */
.realisations-section {
  padding: 48px 48px 100px;
  background: var(--black);
}
.projets-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.projet-grid-item {
  height: 280px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.projet-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.projet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 0.3s;
}
/* État de chargement pour les images HEIC en cours de conversion */
.img-loading {
  opacity: 0;
}
.projet-grid-item .img-loading + .projet-overlay::before,
.project-card .img-loading ~ div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.08) 40px,
    rgba(255, 255, 255, 0.04) 80px
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  z-index: 0;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Spinner dans le modal pendant la conversion HEIC */
#modalMainImg.img-loading {
  min-height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
#modalMainImg.img-loading::after {
  content: "Chargement…";
}
.projet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.3s;
}
.projet-grid-item:hover .projet-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}
.projet-overlay .pc-tag {
  font-size: 11px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.projet-overlay h4 {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.projet-overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  display: none;
}
.projet-grid-item:hover .projet-overlay p {
  display: block;
}

/* ─── CONTACT CTA ────────────────────────────── */
.contact-cta {
  background: var(--red-dark);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 80%
  );
}
.contact-cta h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.contact-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.contact-cta a.btn-red {
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--red);
  padding: 16px 36px;
  border-radius: 10px;
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s;
}
.contact-cta a.btn-red:hover {
  transform: translateY(-2px);
}

/* ─── À PROPOS ───────────────────────────────── */
.about-section {
  background: var(--black);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}
.about-text h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 4px;
}
.about-role {
  color: var(--red);
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 240, 236, 0.6);
  margin-bottom: 16px;
}
.about-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ─── COMPÉTENCES ────────────────────────────── */
.skills-section {
  background: var(--black2);
  padding: 100px 48px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.skill-item {
  background: var(--black3);
  border-radius: 16px;
  padding: 32px 28px;
}
.skill-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.skill-item h4 {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.skill-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--red);
  border-radius: 4px;
}

/* ─── PROCESSUS ──────────────────────────────── */
.process-section {
  background: var(--black);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--black3);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.process-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}
.process-step h4 {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 240, 236, 0.5);
}

/* ─── CLIENTS ────────────────────────────────── */
.clients-section {
  background: var(--black2);
  padding: 80px 48px;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 48px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.clients-logos:hover {
  opacity: 0.7;
}
.clients-logos img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s;
}
.clients-logos img:hover {
  filter: grayscale(0%);
}

/* ─── SERVICES DÉTAILLÉS ─────────────────────── */
.services-detail-section {
  background: var(--black);
  padding: 80px 48px;
}
.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.service-detail-item:last-child {
  border-bottom: none;
}
.service-detail-item:nth-child(even) {
  direction: rtl;
}
.service-detail-item:nth-child(even) > * {
  direction: ltr;
}
.service-detail-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: -20px;
}
.service-detail-left h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}
.service-detail-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.service-detail-right p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 240, 236, 0.6);
  margin-bottom: 28px;
}
.service-deliverables h4 {
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}
.service-deliverables ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-deliverables li {
  font-size: 14px;
  color: rgba(245, 240, 236, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-deliverables li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ─── PAGE CONTACT ───────────────────────────── */
.contact-page-section {
  padding: 80px 48px;
  background: var(--black2);
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 236, 0.45);
  max-width: 320px;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--black3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.contact-detail-item span {
  font-size: 14px;
  color: rgba(245, 240, 236, 0.6);
}

/* ─── CALENDLY ───────────────────────────────── */
.calendly-section {
  padding: 80px 48px;
  background: var(--black);
}
.calendly-section .section-title {
  margin-bottom: 40px;
}

/* ─── MESSAGE SUCCÈS ─────────────────────────── */
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #27ae60;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 14px;
  grid-column: span 2;
}

/* ─── Responsive tablette ────────────────────── */
@media (max-width: 1024px) {
  .hero {
    padding: 0 32px 60px;
  }
  .section,
  .projects-section,
  .case-section,
  .contact-section {
    padding: 80px 32px;
  }
  footer {
    padding: 48px 32px 32px;
  }
}

@media (max-width: 900px) {
  .projets-grille {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .btn-red {
    grid-column: span 1;
  }
}

/* ─── Responsive mobile ──────────────────────── */
@media (max-width: 768px) {
  /* ── Nav ── */
  nav {
    padding: 12px 20px;
  }
  .nav-logo-img {
    height: 28px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
  }

  /* ── Hero ── */
  .hero {
    height: 90dvh;
    padding: 0 24px 56px;
    align-items: flex-end;
  }
  .hero-bg-overlay {
    background: linear-gradient(
      to right,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.55) 50%,
      rgba(10, 10, 10, 0.1) 85%,
      transparent 100%
    );
  }
  .hero-title {
    font-size: clamp(56px, 17vw, 90px);
  }
  .hero-stats {
    display: none;
  }
  /* Photo plein écran sur mobile */
  #Photo-haut {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }
  #Photo-haut img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    transform: scaleX(-1);
  }

  /* ── Sections générales ── */
  .section,
  .projects-section,
  .case-section,
  .contact-section {
    padding: 60px 20px;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* ── Carousel projets (home) ── */
  .projects-scroller {
    /* Déborde sur les paddings de la section pour un effet carousel edge-to-edge */
    margin: 0 -20px;
    padding: 0 20px 20px;
  }
  .project-card {
    flex: 0 0 260px;
    height: 180px;
  }

  /* ── Case study ── */
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-visual {
    min-height: 180px;
    padding: 24px;
  }
  .présentation {
    width: 100%;
    max-width: 320px;
    height: 180px;
  }

  /* ── Contact (homepage) ── */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .btn-red {
    grid-column: span 1;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-cta a.btn-red {
    width: auto;
    max-width: 100%;
  }

  /* ── Footer ── */
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 20px 28px;
  }
  .footer-bottom {
    grid-column: span 2;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* ── Page hero (pages internes) ── */
  .page-hero {
    padding: 80px 20px 40px;
  }
  .page-hero-title {
    font-size: clamp(44px, 13vw, 80px);
  }

  /* ── Filtres réalisations ── */
  .filtres-wrap {
    padding: 24px 20px 12px;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .filtres-wrap::-webkit-scrollbar {
    display: none;
  }
  .filtre-btn {
    font-size: 11px;
    padding: 6px 14px;
    flex-shrink: 0;
  }

  /* ── Grille réalisations ── */
  .realisations-section {
    padding: 28px 20px 60px;
  }
  .projets-grille {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .projet-grid-item {
    height: 240px;
  }

  /* ── À propos ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-photo {
    aspect-ratio: 4/3;
  }

  /* ── Compétences ── */
  .skills-section {
    padding: 60px 20px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ── Processus ── */
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* ── Clients ── */
  .clients-section {
    padding: 60px 20px;
  }
  .clients-logos {
    gap: 24px;
  }
  .clients-logos img {
    height: 36px;
  }

  /* ── Services détaillés ── */
  .services-detail-section {
    padding: 40px 20px;
  }
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr !important;
    padding: 40px 0;
  }
  .service-detail-num {
    font-size: 72px;
  }
  .service-detail-left h3 {
    font-size: 36px;
  }

  /* ── Page Contact ── */
  .contact-page-section {
    padding: 60px 20px;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calendly-section {
    padding: 60px 20px;
  }

  /* ── CTA bannière ── */
  .contact-cta {
    padding: 60px 20px;
  }

  /* ── Sticky éléments ── */
  .sticky-cta {
    bottom: 20px;
    left: auto;
    right: 20px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0;
    letter-spacing: 0;
    justify-content: center;
  }
  .sticky-cta span {
    display: none;
  }
  .sticky-cta .sticky-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── Modal : bottom-sheet colonne ── */
  .projet-modal {
    padding: 0;
    align-items: flex-end;
  }

  /* Conteneur principal : colonne, hauteur fixe, clips tout */
  .modal-content,
  .modal-content.no-gallery {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 92dvh !important;
    max-height: 92dvh !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    animation: modalInMobile 0.3s ease !important;
  }

  /* Bloc image : hauteur fixe, ne grandit PAS, clips son contenu */
  .modal-gallery {
    flex: 0 0 220px !important; /* fixé à 220px, ni plus ni moins */
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important; /* empêche le débordement */
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 2; /* reste au-dessus de l'info */
  }

  /* Image principale : remplit le bloc image */
  .modal-main-img-wrap {
    flex: 1 !important;
    min-height: 0 !important; /* écrase le min-height: 280px du desktop */
    overflow: hidden !important;
  }

  /* Thumbnails : scroll horizontal sans scrollbar */
  .modal-thumbs {
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 8px 12px !important;
  }
  .modal-thumbs::-webkit-scrollbar {
    display: none;
  }

  /* Infos : prend tout l'espace restant et scroll verticalement */
  .modal-info {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 20px 18px 36px !important;
    position: relative;
    z-index: 1;
  }

  .modal-title {
    font-size: 24px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
  }

  /* ── Footer mobile ── */
  footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 20px 24px;
  }
  .footer-bottom {
    grid-column: span 1;
  }
  .footer-brand {
    margin-bottom: 8px;
  }

  /* ── Calendly ── */
  .calendly-inline-widget {
    height: 580px !important;
  }

  /* ── À propos ── */
  .about-photo {
    aspect-ratio: 3/2;
  }
  .about-badges {
    flex-direction: column;
    gap: 8px;
  }
  .about-text h2 {
    font-size: 40px;
  }

  /* ── Skills ── */
  .skill-item {
    padding: 24px 20px;
  }

  /* ── Process ── */
  .process-section.section {
    padding: 60px 20px;
  }

  /* ── Services détaillés ── */
  .service-detail-item {
    padding: 32px 0;
  }
  .service-deliverables ul {
    gap: 8px;
  }

  /* ── Réalisations ── */
  .filtres-wrap {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
  }

  /* ── CTA contact ── */
  .contact-cta h2 {
    font-size: clamp(36px, 10vw, 56px);
  }
}

/* ─── MODAL PROJET ───────────────────────────── */
.projet-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.projet-modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  background: var(--black2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  overflow: hidden;
  animation: modalIn 0.25s ease;
}
.modal-content.no-gallery {
  grid-template-columns: 1fr;
  max-width: 560px;
}

@keyframes modalInMobile {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.modal-close:hover {
  background: var(--red);
  border-color: var(--red);
}
.modal-close [data-lucide] {
  width: 16px;
  height: 16px;
}

/* Galerie */
.modal-gallery {
  background: var(--black3);
  display: flex;
  flex-direction: column;
}
.modal-main-img-wrap {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
}
.modal-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.2s;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.gallery-nav:hover {
  background: var(--red);
  border-color: var(--red);
}
.gallery-nav.prev {
  left: 12px;
}
.gallery-nav.next {
  right: 12px;
}
.gallery-nav [data-lucide] {
  width: 16px;
  height: 16px;
}
.gallery-nav.hidden {
  display: none;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-thumb {
  width: 60px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.modal-thumb.active {
  border-color: var(--red);
}
.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Infos */
.modal-info {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.modal-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  line-height: 1;
  margin-top: 4px;
}
.modal-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 236, 0.6);
}
.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.meta-label {
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.meta-value {
  color: rgba(245, 240, 236, 0.7);
}
.modal-outils-title {
  font-family: "Syne", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}
.modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Curseur pointer sur les cartes cliquables */
.project-card,
.projet-grid-item {
  cursor: pointer;
}

/* ─── LIGHTBOX (zoom image plein écran) ──────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lightboxIn 0.2s ease;
}
.lightbox.open {
  display: flex;
}

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

.lightbox-img {
  max-width: 96vw;
  max-height: 96dvh;
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
  z-index: 1;
}
.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Hint "zoom" sur l'image principale de la modal */
.modal-main-img-wrap {
  cursor: zoom-in;
}
.modal-main-img-wrap::after {
  content: "⤢";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}
