@font-face {
  font-family: 'Syne-fallback';
  src: local('Arial');
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'DMSans-fallback';
  src: local('Arial');
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
      --bg: #080B14;
      --bg2: #0D1220;
      --surface: #111827;
      --border: rgba(255,255,255,0.07);
      --text: #F0F4FF;
      --muted: #91a3c9;
      --accent: #3B6EFF;
      --accent2: #F0A500;
      --font-display: 'Syne', 'Syne-fallback', sans-serif;
      --font-body: 'DM Sans', 'DMSans-fallback', sans-serif;
    }

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

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      background-size: 200px 200px;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 20px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(8, 11, 20, 0.95);
      border-bottom: 1px solid var(--border);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    
    .logo-img {
      height: 52px;
      width: auto;
      display: block;
    }
    
    @media (max-width: 768px) {
      .logo-img {
        height: 28px;
      }
    }

    .logo {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 800;
      color: var(--text);
      text-decoration: none;
      letter-spacing: -0.5px;
    }

    .logo .bracket { color: var(--muted); font-weight: 300; }
    .logo .slash { color: var(--muted); font-weight: 300; }
    .logo .name { font-style: italic; color: var(--text); }

    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 14px;
      font-weight: 400;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }

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

    .nav-links a.active { color: var(--text); }

    .nav-cta {
      background: var(--accent);
      color: #fff !important;
      padding: 10px 22px;
      border-radius: 6px;
      font-weight: 500 !important;
      transition: opacity 0.2s !important;
    }

    .nav-cta:hover { opacity: 0.85; color: #fff !important; }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 120px 48px 80px;
      position: relative;
      overflow: hidden;
      contain: layout style paint;
      transform: translateZ(0);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59, 110, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(240, 165, 0, 0.06) 0%, transparent 60%);
      transform: translate3d(0, 0, 0);
      will-change: transform;
      contain: paint;
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      opacity: 0.6;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 780px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(59, 110, 255, 0.1);
      border: 1px solid rgba(59, 110, 255, 0.3);
      color: #7B9FFF;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 100px;
      margin-bottom: 32px;
      animation: fadeUp 0.6s ease both;
    }

    .hero-badge::before {
      content: '';
      width: 6px; height: 6px;
      background: #24d800;
      border-radius: 50%;
      animation: pulse 2s ease infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.8); }
    }

    h1 {
      font-family: var(--font-display);
      font-size: clamp(48px, 7vw, 88px);
      font-weight: 800;
      line-height: 1.0;
      letter-spacing: -3px;
      margin-bottom: 28px;
      animation: fadeUp 0.6s 0.1s ease both;
    }

    h1 em {
      font-style: italic;
      color: var(--accent2);
    }

    .hero-sub {
      font-size: 18px;
      color: var(--muted);
      max-width: 520px;
      line-height: 1.7;
      margin-bottom: 44px;
      font-weight: 300;
      animation: fadeUp 0.6s 0.2s ease both;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      align-items: center;
      animation: fadeUp 0.6s 0.3s ease both;
    }

    .btn-primary {
      background: var(--accent);
      color: #fff;
      padding: 14px 32px;
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 500;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 0 0 0 rgba(59, 110, 255, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(59, 110, 255, 0.35);
    }

    .btn-secondary {
      color: var(--muted);
      font-size: 15px;
      font-weight: 400;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.2s;
    }

    .btn-secondary:hover { color: var(--text); }
    .btn-secondary::after { content: '→'; transition: transform 0.2s; }
    .btn-secondary:hover::after { transform: translateX(4px); }

    /* ── SECTION BASE ── */
    section { padding: 100px 48px; }

    .section-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
    }

    h2 {
      font-family: var(--font-display);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 800;
      letter-spacing: -2px;
      line-height: 1.1;
      margin-bottom: 20px;
    }

    .section-intro {
      color: var(--muted);
      font-size: 17px;
      font-weight: 300;
      max-width: 480px;
      line-height: 1.7;
      margin-bottom: 64px;
    }

    /* ── SERVICES ── */
    .services { background: var(--bg2); }

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

    .service-card {
      background: var(--surface);
      padding: 44px 36px;
      position: relative;
      overflow: hidden;
      transition: background 0.3s;
    }

    .service-card:hover { background: #161E30; }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

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

    .service-icon {
      width: 44px;
      height: 44px;
      background: rgba(59, 110, 255, 0.1);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      font-size: 20px;
    }

    .service-card h3 {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      letter-spacing: -0.5px;
    }

    .service-card p {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      font-weight: 300;
    }

    .service-num {
      position: absolute;
      bottom: 24px;
      right: 28px;
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 800;
      color: rgba(255,255,255,0.03);
      line-height: 1;
    }

    /* ── RÉALISATIONS ── */
    .works-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .work-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s;
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .work-card:hover {
      border-color: rgba(59, 110, 255, 0.4);
      transform: translateY(-4px);
    }

    .work-preview {
      height: 200px;
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      color: var(--muted);
      position: relative;
      overflow: hidden;
    }

    .work-preview-cinema {
      background: linear-gradient(135deg, #1a0a00 0%, #3D1A00 100%);
    }

    .work-preview-cinema::after {
      content: '🎬';
      font-size: 48px;
      opacity: 0.3;
    }

    .work-preview-placeholder {
      background: linear-gradient(135deg, #0D1220 0%, #162040 100%);
    }

    .work-preview-placeholder::after {
      content: '✦';
      font-size: 48px;
      color: var(--accent);
      opacity: 0.2;
    }

    .work-info {
      padding: 24px 28px;
      background: var(--surface);
    }

    .work-tag {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .work-info h3 {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.3px;
      margin-bottom: 6px;
    }

    .work-info p {
      color: var(--muted);
      font-size: 13px;
      font-weight: 300;
    }

    /* ── POURQUOI ── */
    .why { background: var(--bg2); }

    .why-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .why-list {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .why-item {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .why-dot {
      width: 8px;
      height: 8px;
      background: var(--accent2);
      border-radius: 50%;
      margin-top: 8px;
      flex-shrink: 0;
    }

    .why-item h4 {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 6px;
      letter-spacing: -0.3px;
    }

    .why-item p {
      color: var(--muted);
      font-size: 14px;
      font-weight: 300;
      line-height: 1.7;
    }

    .why-visual {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 48px;
      text-align: center;
    }

    .why-stat {
      margin-bottom: 32px;
    }

    .why-stat-num {
      font-family: var(--font-display);
      font-size: 64px;
      font-weight: 800;
      letter-spacing: -3px;
      color: var(--text);
      line-height: 1;
    }

    .why-stat-num span { color: var(--accent2); }

    .why-stat-label {
      color: var(--muted);
      font-size: 13px;
      font-weight: 300;
      margin-top: 4px;
    }

    .why-divider {
      width: 40px;
      height: 1px;
      background: var(--border);
      margin: 24px auto;
    }

    /* ── TARIFS ── */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      align-items: start;
    }

    .pricing-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 36px 32px;
      position: relative;
      transition: border-color 0.3s;
    }

    .pricing-card:hover { border-color: rgba(59, 110, 255, 0.4); }

    .pricing-card.featured {
      border-color: var(--accent);
      background: rgba(59, 110, 255, 0.05);
    }

    .pricing-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 100px;
      white-space: nowrap;
    }

    .pricing-name {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .pricing-from {
      font-size: 12px;
      font-weight: 400;
      color: var(--muted);
      letter-spacing: 0.05em;
      margin-bottom: 2px;
    }

    .pricing-price {
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -2px;
      margin-bottom: 4px;
    }

    .pricing-price sup {
      font-size: 20px;
      font-weight: 400;
      vertical-align: super;
      letter-spacing: 0;
    }

    .pricing-period {
      color: var(--muted);
      font-size: 13px;
      font-weight: 300;
      margin-bottom: 28px;
    }

    .pricing-divider {
      height: 1px;
      background: var(--border);
      margin-bottom: 24px;
    }

    .pricing-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px;
    }

    .pricing-features li {
      font-size: 14px;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 300;
    }

    .pricing-features li::before {
      content: '✓';
      color: var(--accent);
      font-weight: 600;
      flex-shrink: 0;
    }

    .btn-outline {
      display: block;
      text-align: center;
      border: 1px solid var(--border);
      color: var(--text);
      padding: 12px;
      border-radius: 8px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: border-color 0.2s, background 0.2s;
    }

    .btn-outline:hover {
      border-color: var(--accent);
      background: rgba(59, 110, 255, 0.08);
    }

    .pricing-card.featured .btn-outline {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .pricing-card.featured .btn-outline:hover {
      background: #2D5FFF;
    }

    /* ── CONTACT ── */
    .contact { background: var(--bg2); }

    .contact-inner {
      max-width: 560px;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 48px;
    }

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

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

    label {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
    }

    input, textarea {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 14px 18px;
      color: var(--text);
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 300;
      outline: none;
      transition: border-color 0.2s;
      resize: none;
    }

    input::placeholder, textarea::placeholder { color: var(--muted); }
    input:focus, textarea:focus { border-color: var(--accent); }

    textarea { height: 140px; }

    .form-submit {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 8px;
    }

    /* ── FOOTER ── */
    footer {
      padding: 36px 48px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    footer p {
      color: var(--muted);
      font-size: 13px;
      font-weight: 300;
    }

    footer a {
      color: var(--muted);
      text-decoration: none;
      font-size: 13px;
      transition: color 0.2s;
    }

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

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

    .fade-in {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* NAV */
  nav { 
    padding: 14px 20px;
  }
  .nav-links { 
    display: none; 
  }
  .nav-right {
    gap: 0;
  }
  .nav-cta {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }
  .logo-img {
    height: 34px;
  }

  /* HERO */
  .hero {
    padding: 90px 20px 60px;
    min-height: auto;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 32px !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn-primary {
    text-align: center;
    padding: 14px 24px;
  }
  .btn-secondary {
    justify-content: center;
  }

  /* SECTIONS */
  section { 
    padding: 64px 20px; 
  }
  h2 {
    letter-spacing: -1px;
  }
  .section-intro {
    font-size: 15px;
    margin-bottom: 40px;
  }
  
  /* GRIDS */
  .services-grid, .works-grid, .pricing-grid { 
    grid-template-columns: 1fr; 
  }
  .why-grid { 
    grid-template-columns: 1fr; 
    gap: 32px;
  }
  .form-row { 
    grid-template-columns: 1fr; 
  }
  
  /* WHY VISUAL */
  .why-visual {
    padding: 32px 24px;
  }
  .why-stat-num {
    font-size: 48px;
    letter-spacing: -2px;
  }
  
  /* PRICING */
  .pricing-card { 
    padding: 28px 24px; 
  }
  .pricing-price {
    font-size: 42px;
  }
  
  /* FORM */
  .form-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  /* FOOTER */
  footer { 
    flex-direction: column; 
    gap: 12px; 
    text-align: center;
    padding: 28px 20px;
  }
}

/* TRÈS PETITS ÉCRANS */
@media (max-width: 380px) {
  h1 {
    font-size: 28px !important;
  }
  .nav-cta {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .logo-img {
    height: 30px;
  }
}
