:root {
    --color-cream: #fdf6f0;
    --color-terracotta: #d98e73;
    --color-terracotta-dark: #c17456;
    --color-rose: #f3c9c0;
    --color-plum: #6b4046;
    --color-text: #4a3b36;
    --color-error: #c0392b;
    --color-success: #3f7a4e;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;
    --radius: 20px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  body {
    font-family: var(--font-body);
    color: var(--color-text);
    min-height: 100vh;
    background: linear-gradient(135deg, #fdf6f0 0%, #f3c9c0 45%, #d98e73 100%);
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  
  .page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    box-shadow: 0 20px 45px rgba(107, 64, 70, 0.18);
    padding: 48px 40px;
    text-align: center;
  }
  
  .icon {
    font-size: 42px;
    margin-bottom: 8px;
  }
  
  .title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-plum);
    margin: 0 0 16px;
    letter-spacing: 0.5px;
  }
  
  .subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0 0 32px;
  }
  
  .subtitle strong {
    color: var(--color-terracotta-dark);
  }
  
  .form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
  }
  
  /* Champ honeypot invisible pour les humains, visible pour les robots */
  .hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
  }
  
  .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .field label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-plum);
  }
  
  .field input {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #e6d5cd;
    background: #fffdfb;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .field input:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(217, 142, 115, 0.2);
  }
  
  .field input.invalid {
    border-color: var(--color-error);
  }
  
  .error-msg {
    font-size: 0.8rem;
    color: var(--color-error);
    min-height: 1em;
  }
  
  .btn {
    margin-top: 8px;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 8px 20px rgba(193, 116, 86, 0.35);
  }
  
  .btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(193, 116, 86, 0.45);
  }
  
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
  
  .form-message {
    min-height: 1.2em;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin: 4px 0 0;
  }
  
  .form-message.success {
    color: var(--color-success);
  }
  
  .form-message.error {
    color: var(--color-error);
  }
  
  /* Responsive mobile */
  @media (max-width: 560px) {
    .card {
      padding: 36px 24px;
    }
  
    .title {
      font-size: 1.7rem;
    }
  
    .subtitle {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 360px) {
    .card {
      padding: 28px 18px;
    }
  }