/* Page de présentation (/discover) — chargée après app.css, sans étape de build. */

/* Pied de page en bas de la fenêtre, même quand la page est courte */
body.lp { display: flex; flex-direction: column; min-height: 100vh; }
.lp > main { flex: 1; }
.lp-form-card .form-row { row-gap: 0; }

.lp-header { background: #728929; }
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; padding-bottom: .6rem; }
.lp-logo img { display: block; height: 3rem; width: auto; }
.lp-header .lang-switcher { margin: 0; padding: 0; border: 0; }

.lp-hero { padding: 4.5rem 0 4rem; }
.lp-hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 1rem; text-wrap: balance; } /* lignes équilibrées : pas de mot isolé */
.lp-hero p { max-width: 640px; }
.lp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; }
.lp-hero__actions .btn { text-wrap: balance; justify-content: center; text-align: center; } /* pas de mot isolé sur petit écran */
.lp-hero__link { color: #fff; font-weight: 600; text-decoration: underline; }
.lp-hero__link:hover { color: #fff; }

.lp .values-card h2.lp-card-title { font-size: 1.15rem; margin-bottom: .55rem; color: #384020; }

.lp-lead { max-width: 620px; margin: -.75rem auto 2rem; text-align: center; color: #666; text-wrap: balance; }

/* Tuiles de largeur constante : le texte occupe toute la tuile et passe à la ligne au même endroit partout */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, 20rem); justify-content: center; gap: 1.25rem; list-style: none; }
.lp-feature { border: 1px solid #e8e4db; border-radius: 16px; padding: 1.25rem; }
/* Le texte occupe toute la largeur de la carte, sous l'icône et le titre */
.lp-feature__head { display: flex; gap: .9rem; align-items: center; margin-bottom: .75rem; }
.lp-feature__icon { display: flex; flex: 0 0 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: #f4f7ea; color: #517c2d; }
.lp-feature h3 { font-size: 1.05rem; }
.lp-feature p { font-size: .875rem; line-height: 1.65; color: #666; }

/* Phrase d'introduction du formulaire : la coupure est définie dans le texte (
) */
#signup .lp-lead { white-space: pre-line; }

/* Les ancres ne doivent pas coller au bord haut de la fenêtre */
.lp section[id] { scroll-margin-top: .5rem; }

.lp-form-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(56, 64, 32, .14); padding: 2rem; }
.lp-form-card .alert:last-child { margin-bottom: 0; }
.lp-consent { display: flex; gap: .75rem; align-items: flex-start; margin: .25rem 0 1rem; font-size: .9rem; cursor: pointer; }
.lp-consent input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: #728929; }
.lp-notice { font-size: .8rem; line-height: 1.6; color: #666; margin-bottom: 1.25rem; }
.lp-notice a { text-decoration: underline; }
.lp-consent span, .lp-notice { text-wrap: pretty; } /* pas de mot isolé en fin de paragraphe */
.lp-submit { justify-content: center; }
/* Champ piège anti-robots : hors écran, ignoré au clavier et par les lecteurs d'écran */
.lp-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


.lp-confirmed { padding-top: 5rem; padding-bottom: 5rem; }
.lp-confirmed h1 { margin-bottom: 1.5rem; }

/* Écrans plus étroits qu'une tuile : le texte rétrécit en proportion et garde ses trois lignes */
@media (max-width: 359px) {
  .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-feature { padding: .75rem; }
  .lp-feature p { font-size: calc((100vw - 66px) / 19.86); }
}
@media (max-width: 600px) {
  .lp-hero { padding: 3rem 0; }
  .lp-hero h1 { font-size: 1.9rem; }
  .lp-form-card { padding: 1.35rem; }
  .lp-logo img { height: 2.4rem; }
}

/* Détail technique réservé à l'administrateur */
.lp-detail { overflow-wrap: anywhere; }
