/* ============================================================================
   VELM — CSS de la page /demonstration/ (grammaire Apple)
   ----------------------------------------------------------------------------
   Ce fichier complète velm-home.css (chargé avant) avec les styles propres
   à cette page : hero de conversion, étapes, formulaire.
   Créé le 3 septembre 2026.
   ============================================================================ */

/* ============================================================================
   1. HERO de conversion
   ============================================================================ */
.demo-hero {
  background: var(--vert);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.demo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(23, 69, 53, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 85%, rgba(184, 147, 90, 0.07) 0%, transparent 55%);
}
.demo-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.demo-hero__kick {
  color: var(--laiton-soft);
  margin-bottom: 26px;
}
.demo-hero__ti {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ivoire);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  margin-bottom: 28px;
}
.demo-hero__ti em {
  font-style: italic;
  color: var(--laiton-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.demo-hero__lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(242, 235, 218, 0.78);
  max-width: 560px;
  margin: 0 auto 44px;
}
.demo-hero .sous-pill {
  color: rgba(242, 235, 218, 0.45);
}

/* ============================================================================
   2. LES TROIS ÉTAPES
   ============================================================================ */
.etapes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1040px;
  width: 100%;
  margin-top: 40px;
  text-align: left;
}
.etape__n {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--laiton);
  margin-bottom: 20px;
  font-variation-settings: "opsz" 144;
}
.etape__ti {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--vert);
  margin-bottom: 12px;
  font-variation-settings: "opsz" 80;
}
.etape__desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charbon-soft);
}

/* ============================================================================
   3. LA CONVERSATION
   ============================================================================ */
.conv-txt {
  max-width: 660px;
  margin-top: 24px;
}
.conv-txt p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: rgba(242, 235, 218, 0.75);
  margin-bottom: 26px;
  font-variation-settings: "opsz" 60;
}
.conv-fin {
  font-style: italic;
  color: var(--ivoire) !important;
  font-variation-settings: "opsz" 80, "SOFT" 100 !important;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 235, 218, 0.14);
}
.demo-conv .losange-fin {
  margin-top: 40px;
}

/* ============================================================================
   4. FORMULAIRE
   ============================================================================ */
.demo-form {
  padding-bottom: 130px;
}
.fm {
  max-width: 620px;
  width: 100%;
  margin-top: 32px;
  text-align: left;
  background: #fff;
  border-radius: 22px;
  padding: 52px 48px 44px;
  box-shadow: 0 40px 100px rgba(15, 46, 36, 0.12);
}
.fm__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.fm__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fm__field {
  margin-bottom: 24px;
}
.fm__label {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--laiton-deep);
  margin-bottom: 9px;
}
.fm__input,
.fm__select,
.fm__textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--charbon);
  background: var(--ivoire-pur);
  border: 1px solid var(--ivoire-warm);
  border-radius: 11px;
  padding: 14px 16px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.fm__textarea {
  font-family: var(--serif);
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
  font-variation-settings: "opsz" 60;
}.fm__input:focus,
.fm__select:focus,
.fm__textarea:focus {
  border-color: var(--laiton);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.12);
}
.fm__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--laiton) 50%),
                    linear-gradient(135deg, var(--laiton) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.fm__submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  font-size: 17px;
  text-align: center;
}
.fm__aside {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charbon-mute);
  text-align: center;
  margin-top: 18px;
}
.fm__legal {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--charbon-mute);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ivoire-warm);
}
.fm__legal a {
  color: var(--laiton-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}.fm__legal a:hover {
  color: var(--vert);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 900px) {
  .demo-hero__ti { font-size: 38px; }
  .demo-hero__lede { font-size: 18px; }
  .etapes-grid { grid-template-columns: 1fr; gap: 40px; max-width: 480px; }
  .conv-txt p { font-size: 17px; }
  .fm { padding: 40px 28px 36px; }
  .fm__row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .demo-hero__ti { font-size: 32px; }
}

/* ============================================================================
   Compléments — 4 septembre 2026
   ----------------------------------------------------------------------------
   Trois classes portées par le HTML n'avaient aucune règle. Elles sont ici
   déclarées explicitement : une classe posée dans le balisage sans intention
   de style est une dette qui se paie plus tard, quand personne ne sait plus
   si elle sert.
   ============================================================================ */

/* La section des trois étapes — sa grille est portée par .etapes-grid,
   cette classe sert de point d'accroche et de repère de lecture du HTML. */
.demo-etapes {
  padding-top: 130px;
  padding-bottom: 130px;
}

/* Chaque étape est une cellule de la grille : rien à imposer, sinon
   l'alignement du contenu vers le haut. */
.etape {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Mention RGPD — .form__legal est le repère utilisé par les vérifications
   de conformité du site. Il partage la mise en forme de .fm__legal. */
.form__legal {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--charbon-mute);
}

@media (max-width: 900px) {
  .demo-etapes { padding-top: 96px; padding-bottom: 96px; }
}
