/* =============================================
   STUDIO SUMMIT — Stylesheet
   Palette: noir / blanc / gris-bleu acier
   ============================================= */

:root {
  --black:       #07080a;
  --dark:        #0d0f13;
  --dark-mid:    #141720;
  --grey-dark:   #1e2230;
  --grey:        #3a4055;
  --grey-light:  #8a95aa;
  --ice:         #c8d5e3;
  --sky:         #7fa8c9;
  --sky-dim:     rgba(127, 168, 201, 0.15);
  --white:       #f5f7fa;
  --pure-white:  #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 120px 0; }


/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(7, 8, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
  border-bottom: 1px solid rgba(127, 168, 201, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--pure-white);
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--pure-white); }

.nav-cta {
  color: var(--pure-white) !important;
  border: 1px solid rgba(127, 168, 201, 0.4) !important;
  padding: 10px 22px !important;
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s !important;
}
.nav-cta:hover {
  background: var(--sky-dim) !important;
  border-color: var(--sky) !important;
}

/* Sélecteur de langue */
.nav-lang {
  display: flex !important;
  align-items: center;
  gap: 7px;
}
.nav-lang a {
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--grey-light);
}
.nav-lang a:hover,
.nav-lang a.lang-active {
  color: var(--pure-white) !important;
}
.nav-lang span { color: var(--grey); font-size: 0.75rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}


/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Video wrapper */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.55);
  transition: opacity 0.8s ease;
}

.hero-video-b {
  opacity: 0;
}

/* Scanlines */
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.18) 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  z-index: 1;
  pointer-events: none;
}

/* Grain */
.grain-overlay {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.55;
  animation: grain 0.12s steps(1) infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes grain {
  0%  { transform: translate(0, 0); }
  10% { transform: translate(-3%, -3%); }
  20% { transform: translate(3%, 1%); }
  30% { transform: translate(-1%, 3%); }
  40% { transform: translate(2%, -2%); }
  50% { transform: translate(-3%, 2%); }
  60% { transform: translate(1%, -3%); }
  70% { transform: translate(3%, 3%); }
  80% { transform: translate(-2%, 1%); }
  90% { transform: translate(2%, 2%); }
  100%{ transform: translate(0, 0); }
}

/* Scrim gradient */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,8,10,0.4) 0%, transparent 35%),
    linear-gradient(to top, rgba(7,8,10,0.9) 0%, transparent 50%),
    linear-gradient(to right, rgba(7,8,10,0.5) 0%, transparent 60%);
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 64px;
  max-width: 900px;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--pure-white);
  margin-bottom: 28px;
}

.hero-title .title-line { display: block; }
.hero-title .accent { color: var(--sky); }

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--ice);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0.85;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 64px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--grey-light);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--grey-light);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--sky);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* Placeholder quand pas de vidéo */
.hero-video-wrap:not(:has(video source)) .hero-video {
  background: var(--dark);
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d0f13 0%, #141720 40%, #0a0c10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

/* =============================================
   BOUTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sky);
  color: var(--black);
  border-color: var(--sky);
}
.btn-primary:hover {
  background: var(--ice);
  border-color: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(127, 168, 201, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 48px; font-size: 0.95rem; }
.btn-full  { width: 100%; }


/* =============================================
   TICKER
   ============================================= */

.ticker-wrap {
  overflow: hidden;
  background: var(--dark-mid);
  border-top: 1px solid rgba(127,168,201,0.1);
  border-bottom: 1px solid rgba(127,168,201,0.1);
  padding: 18px 0;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.ticker .dot {
  color: var(--sky);
  font-size: 1.2em;
}

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


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

.about { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--pure-white);
  margin-bottom: 0;
}

.section-title em {
  font-style: normal;
  color: var(--sky);
}

.about-text {
  color: var(--grey-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--grey-dark);
}

.stat {}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.02em;
  color: var(--pure-white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
}


/* =============================================
   SOCIAL PROOF / CLIENTS
   ============================================= */

.clients {
  background: var(--dark-mid);
  border-top: 1px solid rgba(127, 168, 201, 0.1);
  border-bottom: 1px solid rgba(127, 168, 201, 0.1);
  padding: 90px 0;
  overflow: hidden;
}

.clients-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 56px;
}

.clients-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--pure-white);
  line-height: 1.15;
  margin-top: 14px;
}

.clients-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.count-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--sky);
}

.count-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-top: 8px;
}

/* Carrousel logos */
.logos-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: logos-scroll 32s linear infinite;
}

.logo-slot {
  flex-shrink: 0;
  width: 170px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-dark);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--grey);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}

.logo-slot:hover {
  border-color: var(--sky);
  color: var(--grey-light);
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

.services { background: var(--black); }

.services .section-title { margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-dark);
  border: 1px solid var(--grey-dark);
}

.service-card {
  background: var(--black);
  padding: 40px 36px;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover {
  background: var(--dark-mid);
}

.service-card:hover .service-num { color: var(--sky); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-bottom: 20px;
  transition: color 0.3s;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.7;
}


/* =============================================
   PROCESS
   ============================================= */

.process { background: var(--dark); }

.process .section-title { margin-bottom: 72px; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--sky);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}

.step-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: linear-gradient(to bottom, var(--grey-dark), transparent);
  margin-top: 12px;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 10px;
  padding-top: 2px;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--grey-light);
  line-height: 1.75;
  max-width: 520px;
}


/* =============================================
   CTA STRIP
   ============================================= */

.cta-strip {
  background: var(--dark-mid);
  border-top: 1px solid rgba(127,168,201,0.1);
  border-bottom: 1px solid rgba(127,168,201,0.1);
  padding: 100px 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 40px;
  line-height: 1.2;
}


/* =============================================
   CONTACT
   ============================================= */

.contact { background: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  color: var(--grey-light);
  margin-top: 20px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.contact-email {
  font-size: 0.9rem;
  color: var(--sky);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(127,168,201,0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.contact-email:hover {
  color: var(--ice);
  border-color: var(--ice);
}

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

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

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-mid);
  border: 1px solid var(--grey-dark);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  background: var(--grey-dark);
}

.form-group select option {
  background: var(--dark);
}


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

.footer {
  background: var(--dark);
  border-top: 1px solid var(--grey-dark);
  padding: 40px 0;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--white);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--grey);
}

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

.footer-links a {
  font-size: 0.78rem;
  color: var(--grey);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--sky); }


/* =============================================
   REVEAL ANIMATIONS
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }

/* Hero reveals lancées dès le chargement */
.hero .reveal {
  animation: heroReveal 0.9s var(--ease-out) forwards;
}
.hero .delay-1 { animation-delay: 0.15s; }
.hero .delay-2 { animation-delay: 0.3s; }
.hero .delay-3 { animation-delay: 0.48s; }

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


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

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: rgba(7, 8, 10, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px 24px 32px;
    border-bottom: 1px solid rgba(127, 168, 201, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-lang { padding-top: 6px; }

  .hero-content { padding: 0 24px; }
  .hero-scroll-hint { left: 24px; }

  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

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

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

  .about-stats { gap: 28px; flex-wrap: wrap; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 3.2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
