/* Formia · identité visuelle du 17 novembre 2026.
   Styles d'écran limités à l'accueil et à la prise en main. */
@media screen {
  .trial-home, .auth-layout, .welcome-guide, .welcome-resume {
    --formia-interface-font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-family: var(--formia-interface-font);
  }
  .trial-home {
    --trial-ink: #183c35;
    --trial-accent: #0c6355;
    --trial-rule: #dce3e6;
    background: #f6f8fa;
  }
  .trial-brand, .trial-brand .brand-mark,
  .trial-features summary, .trial-audience, .trial-eyebrow,
  .trial-offer .button span, .trial-subscription h2 span {
    font-family: var(--formia-interface-font);
  }
  .trial-brand { letter-spacing: -.035em; }
  .trial-copy #trial-heading {
    font-family: var(--formia-interface-font);
    font-size: clamp(40px, 3.5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.04em;
  }
  .trial-copy h1 em { font-style: normal; }
  .trial-section-title h2, .trial-subscription h2 {
    font-family: var(--formia-interface-font);
    font-size: clamp(30px, 2.8vw, 42px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.03em;
  }
  .trial-home :is(.trial-intro, .trial-offer small, .trial-price-preview small,
    figcaption, .trial-proof-grid figcaption span, .trial-start p,
    .trial-questions details p, .trial-creator p, .trial-footer,
    .trial-subscription p) { color: #4b5d63; }
  .trial-home .trial-start {
    box-sizing: border-box;
    padding-inline: clamp(20px, 3vw, 44px);
    border: 1px solid var(--trial-rule);
    border-radius: 16px;
    background: #fff;
  }
  .trial-home .trial-subscription {
    background: #fff;
    border-color: var(--trial-rule);
    box-shadow: 0 8px 24px #183c3505;
  }
  .trial-home .trial-header .trial-login a:hover { background: #eaf1f0; }
  .trial-home .trial-features summary svg { background: #e9f1ef; }
  .trial-home .trial-start li > span { background: #e9f1ef; border-color: #c4d8d1; }
  .trial-home .trial-product-shot img, .trial-home .trial-proof-grid img { border-color: var(--trial-rule); }
  .auth-layout {
    --access-ink: #183c35;
    --access-muted: #4b5d63;
    background: #f6f8fa;
  }
  .auth-layout .auth-intro h1 {
    font-family: var(--formia-interface-font);
    font-size: clamp(36px, 3.5vw, 54px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -.035em;
    color: #fff;
  }
  .auth-layout .auth-card {
    background: #fff;
    border-color: #dce3e6;
  }
  .auth-layout .auth-card h2 {
    font-family: var(--formia-interface-font);
    font-weight: 700;
    letter-spacing: -.025em;
  }
  .auth-layout .auth-card .auth-tabs { background: #edf2f4; }
  .auth-layout .auth-card .auth-tabs .button[aria-current=page] { background: #fff; }
  .welcome-hero { background: #f0f4f6; }
  .welcome-hero::after {
    background: linear-gradient(to right, #f0f4f6, transparent 42%), url("./assets/atelier-formia.webp") center 48% / cover no-repeat;
  }
  .welcome-guide .welcome-hero h1 {
    font-family: var(--formia-interface-font);
    font-weight: 700;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.12;
    letter-spacing: -.035em;
  }
}
@media screen and (max-width: 990px) and (min-width: 761px) {
  .trial-copy #trial-heading { font-size: clamp(36px, 4.4vw, 44px); }
}
@media screen and (max-width: 760px) {
  .trial-copy #trial-heading { font-size: clamp(34px, 9.6vw, 52px); line-height: 1.12; letter-spacing: -.035em; }
  .trial-section-title h2, .trial-subscription h2 { font-size: clamp(28px, 7.2vw, 38px); line-height: 1.18; }
  .trial-home .trial-subscription h2 span { font-size: 19px; }
  .auth-layout .auth-intro h1 { font-size: clamp(30px, 7.2vw, 40px); }
  .trial-home .trial-start { padding-inline: 20px; }
}
