  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --dark: #26474E;
    --cyan: #2CCED2;
    --pastel: #76CDCD;
    --orange: #F27438;
    --dark-rgb: 38, 71, 78;
    --cyan-rgb: 44, 206, 210;
    --orange-rgb: 242, 116, 56;
    --glass: rgba(255,255,255,0.07);
    --glass-border: rgba(118,205,205,0.2);
    --glass-strong: rgba(255,255,255,0.12);
    --text-light: rgba(255,255,255,0.9);
    --text-muted: rgba(255,255,255,0.55);
    --radius: 18px;
    --radius-sm: 10px;
  }

  html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    background: #0d2328;
    color: var(--text-light);
  }

  /* ── BACKGROUND ── */
  .bg-wrap {
    position: fixed; inset: 0; z-index: 0;
    background: radial-gradient(ellipse 80% 70% at 30% 20%, rgba(44,206,210,0.18) 0%, transparent 60%),
                radial-gradient(ellipse 60% 80% at 75% 85%, rgba(242,116,56,0.14) 0%, transparent 55%),
                radial-gradient(ellipse 90% 60% at 50% 50%, rgba(38,71,78,0.9) 0%, #0d2328 100%);
  }
  .bg-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
    animation: drift 14s ease-in-out infinite alternate;
  }
  .bg-orb-1 { width: 420px; height: 420px; background: var(--cyan); top: -100px; left: -80px; animation-delay: 0s; }
  .bg-orb-2 { width: 300px; height: 300px; background: var(--orange); bottom: -60px; right: -60px; animation-delay: -5s; }
  .bg-orb-3 { width: 200px; height: 200px; background: var(--pastel); top: 40%; left: 50%; animation-delay: -9s; opacity: 0.2; }

  @keyframes drift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.08); }
  }

  /* ── TABLET CONTAINER ── */
  .app {
    position: fixed; inset: 0; z-index: 1;
    display: flex; align-items: center; justify-content: center;
  }
  .tablet {
    width: 100%; max-width: 520px; height: 100%; max-height: 100%;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
  }

  /* ── GRID LINES DECO ── */
  .grid-deco {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
      linear-gradient(rgba(44,206,210,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(44,206,210,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  /* ── HEADER ── */
  header {
    position: relative; z-index: 2; padding: 18px 24px 12px;
    display: flex; align-items: center; justify-content: space-between;
    animation: slideDown 0.7s cubic-bezier(.22,1,.36,1) both;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .logo-area {
    display: flex; align-items: center; gap: 10px;
  }
  .logo-box {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan), var(--dark));
    border: 1.5px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 15px; font-weight: 700; color: #fff;
    letter-spacing: -0.5px; position: relative; overflow: hidden;
    box-shadow: 0 0 20px rgba(44,206,210,0.3);
  }
  .logo-box::after {
    content: ''; position: absolute; inset: -50%; width: 40%; height: 200%;
    background: rgba(255,255,255,0.15); transform: skewX(-20deg);
    animation: shimmer 3s ease-in-out infinite; 
  }
  @keyframes shimmer { 0%,100% { left: -60%; } 50% { left: 120%; } }
  .logo-text { font-size: 11px; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; }

  .badge-premium {
    font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase;
    color: var(--cyan); border: 1px solid rgba(44,206,210,0.4);
    padding: 4px 10px; border-radius: 20px;
    background: rgba(44,206,210,0.08);
    backdrop-filter: blur(10px);
  }

  /* ── MAIN CONTENT ── */
  main {
    position: relative; z-index: 2;
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 8px 20px 0;
    scrollbar-width: none;
  }
  main::-webkit-scrollbar { display: none; }

  /* ── HERO ── */
  .hero {
    text-align: center; padding: 10px 0 16px;
    animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) 0.15s both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow {
    font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 8px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .hero-eyebrow::before, .hero-eyebrow::after {
    content: ''; display: block; width: 24px; height: 1px; background: var(--orange); opacity: 0.5;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 5vw, 26px);
    font-weight: 700; line-height: 1.25;
    background: linear-gradient(135deg, #fff 0%, var(--pastel) 60%, var(--cyan) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 8px;
  }
  .hero-sub {
    font-size: 12px; color: var(--text-muted); line-height: 1.5;
    max-width: 300px; margin: 0 auto;
  }

  /* ── FORM CARD ── */
  .form-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 22px 20px 18px;
    margin-bottom: 14px;
    animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.3s both;
    position: relative; overflow: hidden;
  }
  .form-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44,206,210,0.5), transparent);
  }

  /* ── FORM FIELDS ── */
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
  .field { margin-bottom: 10px; }
  .field label {
    display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--pastel); margin-bottom: 5px; font-weight: 500;
  }
  .field input, .field select, .field textarea {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(118,205,205,0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    padding: 10px 13px;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    -webkit-appearance: none;
  }
  .field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.3); }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--cyan);
    background: rgba(44,206,210,0.08);
    box-shadow: 0 0 0 3px rgba(44,206,210,0.12);
  }
  .field select option { background: #26474E; color: #fff; }
  .field textarea { resize: none; height: 72px; line-height: 1.5; }

  /* ── PRÉCISER CHAMP ── */
  .field-precise {
    overflow: hidden;
    max-height: 0; opacity: 0;
    transition: max-height 0.45s cubic-bezier(.22,1,.36,1), opacity 0.35s ease, margin 0.35s;
    margin-bottom: 0;
  }
  .field-precise.visible {
    max-height: 80px; opacity: 1; margin-bottom: 10px;
  }

  /* ── SUBMIT ── */
  .btn-submit {
    width: 100%;
    padding: 14px;
    border: none; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--cyan) 0%, #1aa8ab 50%, var(--dark) 100%);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
    cursor: pointer;
    position: relative; overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(44,206,210,0.3);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(44,206,210,0.4); }
  .btn-submit:active { transform: scale(0.98); }
  .btn-submit .wa-icon {
    width: 18px; height: 18px;
    background: rgba(255,255,255,0.2); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 11px;
  }
  .btn-submit::after {
    content: ''; position: absolute; inset: -50%; width: 30%; height: 200%;
    background: rgba(255,255,255,0.1); transform: skewX(-20deg);
    transition: left 0.6s ease;
    left: -60%;
  }
  .btn-submit:hover::after { left: 120%; }

  /* ── FEATURES BADGES ── */
  .features {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 14px;
    animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.45s both;
  }
  .feat-badge {
    font-size: 9px; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px; border-radius: 20px;
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.03);
  }
  .feat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

  /* ── FOOTER ── */
  footer {
    position: relative; z-index: 2;
    padding: 10px 20px 14px;
    background: rgba(13,35,40,0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(118,205,205,0.1);
    animation: slideUp 0.7s cubic-bezier(.22,1,.36,1) 0.5s both;
  }
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .footer-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
  }
  .footer-brand { font-size: 10px; color: var(--text-muted); }
  .footer-brand span { color: var(--cyan); font-weight: 500; }

  .social-row { display: flex; gap: 8px; }
  .social-btn {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--glass); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--pastel);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    font-size: 13px;
  }
  .social-btn:hover {
    background: rgba(44,206,210,0.15); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,206,210,0.2);
    color: var(--cyan);
  }
  .social-btn svg { width: 14px; height: 14px; fill: currentColor; }

  .footer-contacts {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  }
  .contact-link {
    font-size: 10px; color: var(--text-muted); text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    transition: color 0.2s;
  }
  .contact-link:hover { color: var(--cyan); }
  .contact-link .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
  .copy-line { font-size: 9px; color: rgba(255,255,255,0.25); text-align: center; margin-top: 8px; letter-spacing: 0.5px; }

  /* ── SUCCESS OVERLAY ── */
  .success-overlay {
    position: fixed; inset: 0; z-index: 50;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s;
    background: rgba(13,35,40,0.85); backdrop-filter: blur(16px);
  }
  .success-overlay.show { opacity: 1; pointer-events: all; }
  .success-card {
    background: var(--glass-strong); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 36px 28px; text-align: center;
    max-width: 300px; width: 90%;
    transform: scale(0.85); transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  }
  .success-overlay.show .success-card { transform: scale(1); }
  .success-icon {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    box-shadow: 0 0 30px rgba(37,211,102,0.4);
  }
  .success-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 8px; }
  .success-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  .btn-close {
    margin-top: 20px; padding: 10px 24px;
    background: rgba(44,206,210,0.15); border: 1px solid rgba(44,206,210,0.3);
    border-radius: 8px; color: var(--cyan); font-size: 12px; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
  }
  .btn-close:hover { background: rgba(44,206,210,0.25); }

  /* ── STAGGER FIELDS ── */
  .field:nth-child(1) { animation: fadeUp 0.7s cubic-bezier(.22,1,.36,1) 0.35s both; }
  .field:nth-child(2) { animation: fadeUp 0.7s cubic-bezier(.22,1,.36,1) 0.42s both; }
  .field-row .field:nth-child(1) { animation: fadeUp 0.7s cubic-bezier(.22,1,.36,1) 0.35s both; }
  .field-row .field:nth-child(2) { animation: fadeUp 0.7s cubic-bezier(.22,1,.36,1) 0.40s both; }

  @media (min-width: 521px) {
    .tablet {
      border-radius: 24px; max-height: 92vh;
      border: 1px solid rgba(118,205,205,0.12);
      box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
    }
  }