/* ✅ @import DOIT être en premier dans le fichier */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ===========================
   RESET & BASE
   =========================== */

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

:root {
  --clr-bg: #0a0c0f;
  --clr-accent-terra: #9B381A;          /* référence — ne jamais modifier */
  --clr-accent-orange: #ff6a00;
  --clr-white: #ffffff;
  --clr-muted: rgba(255, 255, 255, 0.68);

  /* Palette boutons dérivée de #9B381A */
  --clr-btn-bg:          #9B381A;                    /* base terra */
  --clr-btn-mid:         #c94d22;                    /* terra éclairci +15% */
  --clr-btn-end:         #f06830;                    /* orange-braise chaleureux */
  --clr-btn-border:      rgba(240, 130, 70, 0.45);   /* halo chaud discret */
  --clr-btn-glow:        rgba(155, 56, 26, 0.50);    /* ombre terra profonde */
  --clr-btn-hover-start: #b84222;                    /* terra légèrement boosté */
  --clr-btn-hover-end:   #ff8040;                    /* orange-cuivre vif */
  --clr-btn-hover-glow:  rgba(200, 80, 30, 0.65);    /* halo hover plus intense */

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  background-color: var(--clr-bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 250px 250px;
  background-attachment: fixed;
  color: var(--clr-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease;
}

/* Logo */
.logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* Navbar scrollée — fond sombre semi-transparent */
.navbar--scrolled {
  background: rgba(10, 12, 15, 0.80) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar--scrolled .nav-links a {
  color: var(--clr-white);
}

.navbar--scrolled .btn-contact {
  color: #fff;
}

.navbar--scrolled .burger span {
  background: var(--clr-white);
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--clr-white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 1;
  transition: opacity 0.2s;
}

.btn-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
  padding: 8px 22px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  opacity: 1 !important;
  letter-spacing: 0.08em !important;
  border: 1px solid var(--clr-btn-border) !important;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--clr-btn-bg), var(--clr-btn-mid), var(--clr-btn-end));
  box-shadow: 0 2px 14px var(--clr-btn-glow), inset 0 1px 0 rgba(255,255,255,0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

.btn-contact:hover {
  background: linear-gradient(135deg, var(--clr-btn-hover-start), var(--clr-btn-hover-end));
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px var(--clr-btn-hover-glow), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

/* Texte avec dégradé animé */
.btn-text {
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffcc99 35%,
    #ffffff 50%,
    #ffcc99 70%,
    #ffffff 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* BG */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* dark top-bottom gradient */
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.35) 100%),
    /* racing track / motion background */
    linear-gradient(160deg, #0d1a10 0%, #1a2a1a 30%, #2a3a20 50%, #111 80%, #0a0a0a 100%);
  background-size: cover;
  background-position: center;
}

/* Dark overlay for depth */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}


/* ✅ Vidéo de fond */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ===========================
   HERO CONTENT
   =========================== */
.hero-content {
  position: absolute;
  bottom: 72px;
  left: 56px;
  z-index: 10;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  animation: fadeUp 1s ease both;
}

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

.rec-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent-orange);
  margin-right: 10px;
  box-shadow: 0 0 6px 2px rgba(255, 106, 0, 0.6);
  animation: recPulse 1.6s ease-in-out infinite;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px 2px rgba(255, 106, 0, 0.6); }
  50%       { opacity: 0.55; box-shadow: 0 0 10px 4px rgba(255, 106, 0, 0.3); }
}

.hero-tagline {
  font-size: clamp(2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: 0.04em;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.48s;
  opacity: 0;
}

/* Conteneur boutons hero */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* CTA Button */
.btn-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 38px;
  border-radius: 999px;
  border: 1px solid var(--clr-btn-border);
  background: transparent;
  box-shadow: 0 4px 20px var(--clr-btn-glow), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.62s;
  opacity: 0;
}

/* Bouton contact visible uniquement sur mobile */
.btn-hero-contact {
  display: none;
}

.btn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--clr-btn-bg), var(--clr-btn-mid), var(--clr-btn-end));
  z-index: -1;
  transition: opacity 0.25s ease;
}

.btn-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--clr-btn-hover-start), var(--clr-btn-hover-end));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--clr-btn-hover-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-hero:hover::before { opacity: 0; }
.btn-hero:hover::after  { opacity: 1; }

/* ===========================
   SCROLL INDICATOR
   =========================== */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: fadeUp 1s ease both;
  animation-delay: 0.9s;
  opacity: 0;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #ffffff;
  font-weight: 500;
}

.scroll-line-track {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.scroll-line-bar {
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85), transparent);
  position: absolute;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -40%; }
  50%  { top: 100%; }
  100% { top: -40%; }
}

/* ===========================
   BURGER BUTTON
   =========================== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform 0.32s ease, opacity 0.32s ease;
  transform-origin: center;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   RESPONSIVE — TABLETTE & MOBILE
   =========================== */
/* Mobile overlay — hors du navbar pour éviter le stacking context */
.nav-overlay {
  display: none;
  list-style: none;
  position: fixed;
  inset: 0;
  background: #0a0c0f;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 44px;
  z-index: 160;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-overlay a {
  text-decoration: none;
  color: var(--clr-white);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  opacity: 1;
  transition: opacity 0.2s;
}

@media (max-width: 1024px) {
  .navbar { padding: 14px 24px; }

  .burger { display: flex; }

  .nav-links { display: none; }

  .nav-overlay { display: flex; }

  .hero-content { left: 24px; bottom: 110px; }

  .btn-hero-contact {
    display: inline-block;
  }
}

/* ===========================
   INTRO SECTION
   =========================== */
.intro-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--clr-bg);
  padding: 80px clamp(16px, 4vw, 40px) 80px;
}

/* ---- Card centrale ---- */
.intro-card {
  width: 100%;
  max-width: 1200px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 36px;
  padding: clamp(20px, 2.5vw, 32px) clamp(32px, 6vw, 72px) clamp(40px, 5vw, 64px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(200, 77, 34, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 85%, rgba(255, 106, 0, 0.10) 0%, transparent 28%),
    radial-gradient(ellipse at 60% 40%, rgba(155, 56, 26, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #0f0d0c 0%, #0a0c0f 35%, #0c0b0a 65%, #0e0c0b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 106, 0, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.5);
}

/* Placeholder image */
.intro-image-placeholder {
  flex-shrink: 0;
  width: 400px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-family: var(--font-body);
}

.intro-image-placeholder::after {
  content: 'IMAGE';
}

/* Colonne texte */
.intro-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  flex: 1;
}

.intro-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--clr-white);
}

.intro-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent-terra), var(--clr-accent-orange));
  border-radius: 2px;
}

.intro-body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--clr-muted);
  flex: 1;
  overflow: hidden;
}

.intro-body strong {
  font-weight: 600;
  color: var(--clr-white);
}

/* Tags services */
.intro-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.intro-service-btn {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #ffffff;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  cursor: default;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .intro-section {
    padding: 56px 20px;
  }

  .intro-card {
    flex-direction: column;
  }

  .intro-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .intro-title {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
  }
}

@media (max-width: 480px) {
  .intro-card {
    padding: 36px 24px;
    gap: 22px;
  }

  .intro-title {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
  background: var(--clr-bg);
  padding: 80px clamp(16px, 4vw, 40px) 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.services-heading {
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  text-align: center;
}

/* Tabs */
.services-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.services-tab {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.tab-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.services-tab:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.services-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--clr-btn-bg), var(--clr-btn-mid), var(--clr-btn-end));
  box-shadow: 0 4px 16px var(--clr-btn-glow);
}

/* Panels container */
.services-panels {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.services-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 56px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(200, 77, 34, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 85%, rgba(255, 106, 0, 0.10) 0%, transparent 28%),
    linear-gradient(160deg, #0f0d0c 0%, #0a0c0f 35%, #0c0b0a 65%, #0e0c0b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 106, 0, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.4);
  animation: panelFadeIn 0.35s ease both;
}

.services-panel.is-active {
  display: flex;
}

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

.services-panel p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--clr-muted);
}

.services-panel p:first-child {
  color: var(--clr-white);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .services-section {
    gap: 24px;
  }
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */
.portfolio-section {
  background: var(--clr-bg);
  padding: 100px clamp(16px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.portfolio-header {
  text-align: left;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.portfolio-tagline {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.portfolio-accent {
  font-style: italic;
}

.portfolio-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent-terra), var(--clr-accent-orange));
  border-radius: 2px;
}

.portfolio-intro {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-muted);
}

/* Grid */
.portfolio-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}

/* Card */
.portfolio-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(200, 77, 34, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 90%, rgba(255, 106, 0, 0.08) 0%, transparent 35%),
    linear-gradient(160deg, #0f0d0c 0%, #0a0c0f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 106, 0, 0.10),
    0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 106, 0, 0.16),
    0 36px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 106, 0, 0.18);
}

/* Video wrapper — ratio 16/9 */
.portfolio-video-wrap {
  position: relative;
  overflow: hidden;
}

/* ── Thumbnail ── */
.vid-thumb {
  position: relative;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding-top: 56.25%;
  background: #111;
}

.vid-poster-img {
  position: absolute;
  top: -6%;
  left: -3%;
  width: 106%;
  height: 115%;
  object-fit: cover;
  z-index: 4;
  opacity: 1;
  transition: opacity 300ms ease;
}

.vid-thumb.is-playing .vid-poster-img {
  opacity: 0;
}

.vid-preview {
  position: absolute;
  top: -6%;
  left: -3%;
  width: 106%;
  height: 115%;
  border: 0;
  pointer-events: none;
  opacity: 1;
  z-index: 3;
}

.vid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: transparent;
}

.vid-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.vid-thumb:hover iframe {
  transform: scale(1.03);
  transition: transform 0.45s ease;
}

.vid-thumb:hover .vid-play-btn {
  background: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%) scale(1.1);
}

.vid-play-btn svg {
  width: 17px;
  height: 17px;
  margin-left: 3px;
}

/* ── Modal lightbox ── */
.vid-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.vid-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.vid-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.vid-modal-inner {
  position: relative;
  width: 90%;
  max-width: 1000px;
  z-index: 1;
  transform: scale(0.93);
  transition: transform 0.25s ease;
}

.vid-modal.is-open .vid-modal-inner {
  transform: scale(1);
}

/* Header : nom client + bouton fermer */
.vid-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  min-height: 28px;
}

.vid-modal-client {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vid-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s;
  padding: 0;
}

.vid-modal-close:hover {
  opacity: 1;
}

/* Compteur X / Y */
.vid-modal-counter {
  text-align: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* Boutons prev / next */
.vid-modal-nav {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.vid-modal-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.vid-modal-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

.vid-modal-player {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.vid-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .vid-modal-nav {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

/* Client badge */
.portfolio-client {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-body);
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(10, 12, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-section {
    padding: 70px clamp(16px, 4vw, 28px);
    gap: 48px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MÉTHODE SECTION
   =========================== */
.methode-section {
  background: var(--clr-bg);
  padding: 120px clamp(16px, 5vw, 60px) 80px;
}

.methode-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── Sticky left column ── */
.methode-sticky {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.methode-title {
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--clr-white);
}

.methode-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent-terra), var(--clr-accent-orange));
  border-radius: 2px;
}

.methode-tagline {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
}

/* ── Steps list ── */
.methode-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.methode-step {
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(200, 77, 34, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 106, 0, 0.07) 0%, transparent 40%),
    linear-gradient(160deg, #0f0d0c 0%, #0a0c0f 50%, #0c0b0a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 106, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.6s ease;
}

.methode-step.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.18);
}

.methode-step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--clr-accent-orange);
  opacity: 1;
  margin-bottom: 10px;
}

.methode-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.methode-step-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .methode-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .methode-sticky {
    position: static;
    transform: none;
  }

  .methode-steps {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .methode-section {
    padding: 80px 20px;
  }
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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


/* ===========================
   SHIMMER ACCENT TEXT
   =========================== */
.intro-accent,
.services-heading-accent,
.portfolio-accent,
.methode-accent,
.contact-accent {
  background: linear-gradient(
    110deg,
    var(--clr-accent-terra) 0%,
    var(--clr-accent-orange) 40%,
    #ffaa55 55%,
    var(--clr-accent-orange) 70%,
    var(--clr-accent-terra) 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
  padding: 80px 40px 120px;
  background: var(--clr-bg);
}

.contact-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.contact-header {
  text-align: center;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-subtitle {
  font-family: var(--font-body);
  margin-top: 30px;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.required {
  color: var(--clr-btn-end);
}

.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.contact-field input,
.contact-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(240, 104, 48, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.contact-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-submit {
  padding: 14px 36px !important;
  font-size: 0.88rem !important;
}

/* Champ honeypot anti-spam */
.hidden {
  display: none;
}

/* ===========================
   PAGE MERCI
   =========================== */
.merci-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
}

.merci-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 520px;
}

.merci-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-btn-bg), var(--clr-btn-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
}

.merci-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-white);
}

.merci-body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg);
  padding: 72px 40px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Contenu */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Logo principal */
.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Boutons réseaux sociaux */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-social-btn:hover {
  background: rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.4);
  transform: translateY(-2px);
}

/* Ligne du bas */
.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

.btn-text-long {
  display: none;
}

/* Responsive footer & contact */
@media (max-width: 600px) {
  .site-footer {
    padding: 60px 24px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-section {
    padding: 80px 24px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    justify-content: stretch;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}

