@charset "UTF-8";

:root {
    --bg: #050708;
    --bg-deep: #020304;
    --teal: #059669;
    --teal-bright: #34d399;
    --teal-dim: rgba(5, 150, 105, 0.5);
    --text: #f5f7f6;
    --text-muted: rgba(245, 247, 246, 0.6);
    --text-faint: rgba(245, 247, 246, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.18);
  }

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

  html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  body {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  /* ============= ARRIÈRE-PLAN FLUIDE ABSTRAIT ============= */
  .bg-fluid {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  /* Forme fluide animée principale */
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    mix-blend-mode: screen;
  }

  .blob-1 {
    width: 700px;
    height: 700px;
    top: -15%;
    left: 20%;
    background: radial-gradient(circle at 30% 30%, var(--teal) 0%, rgba(5, 150, 105, 0.4) 30%, transparent 70%);
    animation: drift1 22s ease-in-out infinite;
  }

  .blob-2 {
    width: 600px;
    height: 600px;
    top: 10%;
    right: -10%;
    background: radial-gradient(circle at 60% 40%, #034d34 0%, rgba(5, 150, 105, 0.5) 40%, transparent 75%);
    animation: drift2 28s ease-in-out infinite;
  }

  .blob-3 {
    width: 500px;
    height: 500px;
    bottom: 20%;
    left: 10%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.3) 0%, transparent 70%);
    animation: drift3 25s ease-in-out infinite;
    opacity: 0.4;
  }

  /* Ligne fluide centrale en SVG */
  .swirl {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 500px;
    opacity: 0.7;
  }

  @keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.1); }
    66% { transform: translate(-40px, 80px) scale(0.95); }
  }
  @keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 60px) scale(1.15); }
  }
  @keyframes drift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.1); }
  }

  /* Vignettage */
  .vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(ellipse at center, transparent 30%, rgba(5, 7, 8, 0.6) 75%, var(--bg) 100%);
  }

  /* Grain */
  .grain {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    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.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  }

  /* ============= CONTAINER ============= */
  .container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    height: 90vh;
    margin: 0 auto;
    padding: 24px 32px;
    overflow: hidden;
  }

  /* ============= HERO CENTRAL ============= */
  .hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    overflow: hidden;
  }

  /* Pastille Waitlist */
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    animation: fadeUp 1s ease-out 0.1s backwards;
  }

  .pill-logo {
    width: 215px;
    height: 70px;
    flex-shrink: 0;
  }

  /* Titre Coming Soon */
  h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text);
    animation: fadeUp 1s ease-out 0.2s backwards;
  }

  h1 .accent {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ============= CARTE GLASSMORPHISM ============= */
  .glass-card {
    width: 100%;
    max-width: 560px;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: 28px 28px 24px;
    position: relative;
    overflow: visible;
    animation: fadeUp 1s ease-out 0.4s backwards;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 20px 60px rgba(0, 0, 0, 0.4);
  }

  .glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  }

  .card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text);
  }

  .card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
  }

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

  .form-row-2 {
    display: flex;
    gap: 10px;
  }

  .form-group {
    flex: 1;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 0.5px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s;
    resize: none;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: var(--text-faint);
  }

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

  .submit-btn {
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
    align-self: flex-end;
    margin-top: 4px;
  }

  .submit-btn:hover {
    background: var(--teal-bright);
    transform: scale(1.02);
  }

  .submit-btn:active {
    transform: scale(0.98);
  }

  .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  /* État succès */
  .success-state {
    display: none;
    text-align: center;
    padding: 16px 0;
  }
  .success-state.active { display: block; }
  .success-state .check {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.15);
    border: 0.5px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--teal-bright);
    font-size: 20px;
  }
  .success-state p {
    color: var(--text-muted);
    font-size: 14px;
  }
  .success-state strong {
    color: var(--text);
    font-weight: 500;
  }

  /* ============= SOCIAUX ============= */
  .socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    animation: fadeUp 1s ease-out 0.6s backwards;
  }

  .social-btn {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 0.5px solid var(--glass-border);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.25s;
  }

  .social-btn:hover {
    color: var(--text);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
  }

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

  /* ============= WATERMARK GIGANT ============= */
  .watermark {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-top: auto;
    padding-bottom: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .watermark-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(80px, 18vw, 220px);
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 70%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -0.1em;
    user-select: none;
  }

  /* ============= FOOTER ============= */
  footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px 0 24px;
    font-size: 12px;
    color: var(--text-faint);
    letter-spacing: 0.02em;
  }

  footer .dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-faint);
    margin: 0 10px;
    vertical-align: middle;
  }

  footer .err-code {
    color: var(--text-muted);
    font-family: monospace;
  }

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

  /* ============= RESPONSIVE ============= */
  @media (max-width: 640px) {
    .container { padding: 24px 20px; }
    .hero { padding: 20px 0 60px; }
    .glass-card { padding: 28px 22px; border-radius: 20px; }
    .card-title { font-size: 22px; }
    .form-row { flex-direction: column; border-radius: 16px; padding: 8px; gap: 6px; }
    .form-row input { padding: 12px; text-align: center; }
    .form-row button { padding: 12px; border-radius: 12px; }
    .watermark-text { font-size: 22vw; }
  }