/* ── Reset de página para a landing ── */
    html,
    body {
      height: 100%;
      margin: 0;
      padding: 0;
    }

    body {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      background-color: #09090b;
      background-image: 
        radial-gradient(circle at center, rgba(15, 23, 42, 0.38) 0%, rgba(9, 9, 11, 0.72) 100%),
        url('../img/pace_logo_bg.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat;
      font-family: 'Inter', sans-serif;
      position: relative;
    }

    body::before {
      display: none;
    }

    /* ── Card central ── */
    .landing-card {
      background: rgba(255, 255, 255, 0.97);
      border-radius: 28px;
      padding: 56px 52px;
      width: 100%;
      max-width: 480px;
      box-shadow: 0 40px 100px rgba(0, 0, 50, 0.35);
      opacity: 0;
      animation: cardEntrar 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      animation-delay: 4.6s;
    }

    body.intro-pulada .landing-card,
    .landing-card.imediato {
      animation-delay: 0s !important;
      opacity: 1 !important;
      transform: none !important;
    }

    .btn-skip-intro {
      position: absolute;
      top: 28px;
      right: 28px;
      z-index: 10000;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      padding: 10px 20px;
      border-radius: 100px;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      backdrop-filter: blur(8px);
      transition: all 0.25s ease;
      letter-spacing: 0.3px;
    }

    .btn-skip-intro:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: translateY(-2px);
    }

    .link-voltar-dash {
      color: #71717a;
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s ease;
      cursor: pointer;
    }

    .link-voltar-dash:hover {
      color: #09090b;
    }

    @keyframes cardEntrar {
      from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* ── Logo ── */
    .landing-logo {
      font-family: 'Inter', sans-serif;
      font-size: 26px;
      font-weight: 800;
      color: #09090b;
      letter-spacing: -0.5px;
      margin-bottom: 6px;
      text-transform: uppercase;
    }

    .landing-logo span {
      font-weight: 200;
      opacity: 0.7;
    }

    .landing-subtitle {
      font-size: 13px;
      color: #71717a;
      font-weight: 500;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 40px;
    }

    /* ── Linha separadora ── */
    .landing-divider {
      height: 1px;
      background: linear-gradient(90deg, #09090b, rgba(0, 0, 0, 0.1));
      margin-bottom: 36px;
    }

    /* ── Título ── */
    .landing-title {
      font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
      letter-spacing: -0.01em;
      font-size: 28px;
      color: #09090b;
      margin: 0 0 8px;
      font-weight: 700;
    }

    .landing-desc {
      font-size: 14px;
      color: #71717a;
      margin-bottom: 32px;
      line-height: 1.6;
    }

    /* ── Form fields ── */
    .field {
      margin-bottom: 20px;
    }

    .field label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      color: #71717a;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      margin-bottom: 8px;
    }

    .field input {
      width: 100%;
      padding: 14px 18px;
      border: 1.5px solid #e4e4e7;
      border-radius: 12px;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      color: #09090b;
      background: #fafafa;
      box-sizing: border-box;
      transition: all 0.25s ease;
      outline: none;
      margin: 0;
    }

    .field input:focus {
      border-color: #09090b;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
    }

    .field input::placeholder {
      color: #a1a1aa;
    }

    /* ── Botão ── */
    .btn-iniciar {
      width: 100%;
      padding: 16px;
      margin-top: 8px;
      background: #09090b;
      color: white;
      border: 1px solid #27272a;
      border-radius: 100px;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.3px;
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
      position: relative;
      overflow: hidden;
    }

    .btn-iniciar::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -60%;
      width: 40%;
      height: 200%;
      background: rgba(255, 255, 255, 0.15);
      transform: skewX(-20deg);
      transition: left 0.5s ease;
    }

    .btn-iniciar:hover::after {
      left: 130%;
    }

    .btn-iniciar:hover {
      transform: translateY(-3px);
      background: #18181b;
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    }

    .btn-iniciar:active {
      transform: translateY(-1px);
    }

    /* ── Erro ── */
    .erro-msg {
      display: none;
      background: rgba(229, 57, 53, 0.08);
      border: 1px solid rgba(229, 57, 53, 0.3);
      color: #c62828;
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 13px;
      margin-bottom: 16px;
    }

    /* ── Footer da landing ── */
    .landing-footer {
      text-align: center;
      margin-top: 32px;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.45);
    }

    /* ── Cinematic Intro ── */
    #cinematic-intro {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #09090b;
      overflow: hidden;
      transition: opacity 2.0s cubic-bezier(0.25, 1, 0.5, 1),
        transform 2.0s cubic-bezier(0.25, 1, 0.5, 1),
        filter 2.0s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .intro-bg {
      position: absolute;
      top: -10%;
      left: -10%;
      width: 120%;
      height: 120%;
      background-image: url('../img/background.jpg');
      background-size: cover;
      background-position: center;
      animation: slowZoom 8s linear forwards;
      opacity: 0.35;
      filter: grayscale(100%) contrast(1.2) brightness(0.65);
    }

    @keyframes slowZoom {
      0% {
        transform: scale(1);
      }

      100% {
        transform: scale(1.1);
      }
    }

    .intro-overlay-dark {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, #09090b 85%);
      z-index: 1;
    }

    .intro-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: white;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .intro-logo {
      font-size: 52px;
      font-family: 'Inter', sans-serif;
      font-weight: 800;
      letter-spacing: 2px;
      margin-bottom: 5px;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
      text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .intro-logo span {
      font-weight: 200;
    }

    .intro-line {
      width: 0px;
      height: 1px;
      background: linear-gradient(90deg, transparent, #D4AF37, transparent);
      margin: 25px 0;
      animation: lineExpand 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    }

    .intro-text {
      font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 34px;
      font-weight: 600;
      letter-spacing: 4px;
      color: #ffffff;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(35px);
      animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
      text-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    }

    .intro-text2 {
      font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 34px;
      font-weight: 600;
      letter-spacing: 4px;
      color: #ffffff;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(35px);
      animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
      text-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    }

    .intro-subtext {
      margin-top: 20px;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      letter-spacing: 8px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.7);
      text-transform: uppercase;
      opacity: 0;
      animation: fadeIn 1.5s ease 2.5s forwards;
    }

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

    @keyframes lineExpand {
      to {
        width: 400px;
      }
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    .intro-hidden {
      opacity: 0 !important;
      pointer-events: none;
      transform: scale(1.15);
      filter: blur(20px);
      visibility: hidden;
      transition: visibility 0s 2.5s, opacity 2.5s ease-out, transform 2.5s ease-out, filter 2.5s ease-out;
    }
