/* Pages vitrines publiques (index.html, entreprise.html) : composants « lp- » partagés.
   Tirés de index.html le 8 octobre 2026 pour ne pas dupliquer le style entre les pages. */
/* Page publique, pensée d'abord pour un écran d'ordinateur : contenu sur 1180 px, héros en
   deux colonnes (texte / téléphone), sections en grilles qui s'empilent sur tablette et
   téléphone (points de rupture 960 et 640 px). */
body { background: var(--surface-cream); }
.lp { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 32px; }
.lp-band { padding-block: 88px; }
.lp-band--tight { padding-block: 64px; }
.lp-band[id] { scroll-margin-top: 72px; } /* ancres du menu : sous l'en-tête collant */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* En-tête */
.lp-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface-cream); border-bottom: 1px solid var(--border-control); }
.lp-nav .lp { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.lp-nav__logo img { height: 30px; width: auto; display: block; }
.lp-nav__links { display: flex; gap: 24px; margin-left: auto; }
.lp-nav__links a { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; padding-block: 8px; white-space: nowrap; }
.lp-nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-nav .btn { width: auto; min-height: 44px; padding: 0 20px; font-size: 14.5px; white-space: nowrap; }
/* Menu complet (7 liens) seulement sur grand écran ; en dessous, les liens restent dans le pied de page. */
.lp-nav .lp { max-width: 1440px; }
@media (max-width: 1560px) { .lp-nav__links { display: none; } .lp-nav .lp { justify-content: space-between; } }
.lp-nav__ctas { display: flex; gap: 10px; margin-left: auto; }
.lp-nav__short { display: none; }
@media (max-width: 640px) {
  .lp-nav .lp { gap: 12px; }
  .lp-nav__ctas { gap: 8px; }
  .lp-nav .btn { padding: 0 14px; }
  .lp-nav__long { display: none; }
  .lp-nav__short { display: inline; }
  /* Téléphone : « Installer » et « Ouvrir » à la même hauteur ; le choix amis / entreprise passe
     sur sa ligne, plus discret (moins haut) et détaché des boutons. */
  .lp-nav .btn { min-height: 44px; height: 44px; gap: 6px; }
  .lp-nav .lp-switch { width: 100%; margin-top: 10px; padding: 2px; }
  .lp-nav .lp-switch a { flex: 1; justify-content: center; min-height: 36px; font-size: 12px; }
}

/* Héros */
.lp-hero { background: var(--primary); border-radius: 0 0 48px 48px; overflow: hidden; }
.lp-hero .lp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; padding-block: 56px 88px; }
.lp-hero__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.lp-hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; font-weight: 900; letter-spacing: -2px; text-wrap: balance; }
.lp-hero__mark { white-space: nowrap; background: linear-gradient(transparent 60%, var(--surface-cream) 60%, var(--surface-cream) 92%, transparent 92%); padding-inline: 4px; }
.lp-hero__sub { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; font-weight: 800; letter-spacing: -0.3px; }
.lp-hero__lede { font-size: 19px; line-height: 28px; font-weight: 500; color: var(--on-primary-muted); max-width: 34em; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-hero__ctas .btn { width: auto; min-height: 56px; padding: 0 26px; font-size: 16px; }
.lp-ghost { background: rgba(255, 253, 247, 0.55); border-color: rgba(26, 43, 31, 0.18); color: var(--ink); }
.lp-code { display: flex; gap: 8px; max-width: 420px; }
.lp-code .input { flex: 1; min-width: 0; background: var(--surface); }
.lp-code .btn { width: auto; min-height: 48px; }
.lp-hero__note { font-size: 14px; font-weight: 700; color: var(--on-primary-muted); }

/* Téléphone de démonstration */
.lp-phone { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--ink); padding: 14px; box-shadow: 0 40px 80px -30px rgba(26, 43, 31, 0.55); transform: rotate(3deg); }
.lp-phone__screen { height: 100%; border-radius: 32px; background: var(--surface-cream); overflow: hidden; display: flex; flex-direction: column; }
.lp-phone__head { background: var(--ink); color: var(--surface-cream); padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.lp-phone__live { font-size: 10.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.lp-phone__live::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
.lp-phone__title { font-size: 18px; font-weight: 900; }
.lp-phone__sub { font-size: 12px; font-weight: 600; color: rgba(255, 253, 247, 0.7); }
.lp-phone__list { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.lp-phone__list { gap: 0 !important; margin: 14px 12px; padding: 0 !important; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-hairline); overflow: hidden; }
.lp-row { display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: var(--surface); }
.lp-row + .lp-row { border-top: 1px solid var(--border-hairline); }
.lp-row--lead { box-shadow: inset 3px 0 0 var(--accent-orange); }
.lp-row__pos { width: 16px; font-size: 13px; font-weight: 900; color: var(--ink); /* contraste AA (revue du 16 oct. 2026) */ flex-shrink: 0; }
.lp-row--lead .lp-row__pos { color: #9A3B14; }
.lp-row__dot { width: 24px; height: 24px; border-radius: 999px; flex-shrink: 0; }
.lp-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lp-row__name { font-size: 14px; font-weight: 800; }
.lp-row__meta { font-size: 10.5px; font-weight: 600; color: var(--ink-muted); }

.lp-row__pts { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }

.lp-chip { align-self: flex-start; padding: 1px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 800; color: #fff; } /* fonds sombres seulement (voir index.html) */
.lp-trap { margin: 4px 12px 0; padding: 12px; border-radius: 14px; background: var(--accent-orange-fill); color: var(--ink); display: flex; flex-direction: column; gap: 3px; }
.lp-trap__eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; }
.lp-trap__title { font-size: 14px; font-weight: 800; }
.lp-trap__desc { font-size: 11.5px; line-height: 15px; font-weight: 500; }

/* Titres de section */
.lp-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-bottom: 40px; }
.lp-head .eyebrow { color: var(--moss-dark); }
.lp-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; text-wrap: balance; }
.lp-head p { font-size: 17px; line-height: 26px; color: var(--ink-muted); font-weight: 500; }


/* Étapes */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.lp-step { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-hairline); display: flex; flex-direction: column; gap: 10px; }
.lp-step__num { width: 44px; height: 44px; border-radius: 999px; background: var(--primary); display: grid; place-items: center; font-size: 18px; font-weight: 900; }
.lp-step h3 { font-size: 20px; font-weight: 800; }
.lp-step p { font-size: 15.5px; line-height: 23px; color: var(--ink-muted); }

/* Captures de l'appli : 3 colonnes, défilement horizontal sur téléphone */
.lp-shots-band { padding-top: 0; }
.lp-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

/* Parcours manquant : scan de la carte de score */
.lp-scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 48px; border-radius: var(--radius-lg); background: var(--surface-warm); }
.lp-scan .lp-head { margin-bottom: 0; }
.lp-scan__steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-scan__steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border-hairline); }
.lp-scan__steps b { display: block; font-size: 16.5px; font-weight: 800; margin-bottom: 2px; }
.lp-scan__steps span { font-size: 14.5px; line-height: 21px; color: var(--ink-muted); }
.lp-scan__note { font-size: 13.5px; line-height: 20px; color: var(--on-primary-muted); }
.lp-shot { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.lp-shot__frame { border-radius: 36px; background: var(--ink); padding: 10px; box-shadow: var(--shadow-float); max-width: 300px; width: 100%; margin-inline: auto; }
.lp-shot__frame img { display: block; width: 100%; height: auto; border-radius: 28px; }
.lp-shot figcaption { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.lp-shot figcaption b { font-size: 17px; font-weight: 800; }
.lp-shot figcaption span { font-size: 14.5px; line-height: 21px; color: var(--ink-muted); }

/* Points forts */
.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-feature { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-hairline); display: flex; flex-direction: column; gap: 10px; }
.lp-feature h3 { font-size: 17.5px; font-weight: 800; }
.lp-feature p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* Bande sombre : trophées et trous piégés */
.lp-dark { background: var(--ink); color: var(--surface-cream); }
.lp-dark .lp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.lp-dark .lp-head { margin-bottom: 0; }
.lp-dark .lp-head .eyebrow { color: var(--primary); }
.lp-dark .lp-head p { color: rgba(255, 253, 247, 0.75); }
.lp-dark ul { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.lp-dark li { display: flex; gap: 12px; font-size: 16px; line-height: 23px; }
.lp-dark li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 999px; background: var(--primary); flex-shrink: 0; }
.lp-trophies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-trophy { padding: 20px; border-radius: var(--radius-md); background: rgba(255, 253, 247, 0.06); border: 1px solid rgba(255, 253, 247, 0.12); display: flex; flex-direction: column; gap: 6px; }
.lp-trophy b { font-size: 16px; color: var(--primary); }
.lp-trophy span { font-size: 13.5px; line-height: 19px; color: rgba(255, 253, 247, 0.75); }

/* Formule + appel final */
.lp-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.lp-price { padding: 32px; border-radius: var(--radius-lg); background: var(--primary); display: flex; flex-direction: column; gap: 14px; }
.lp-price__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lp-price__top span { font-size: 22px; font-weight: 800; }
.lp-price__top strong { font-size: 48px; font-weight: 900; letter-spacing: -1px; }
.lp-price p { font-size: 15.5px; line-height: 23px; color: var(--on-primary-muted); font-weight: 500; }
.lp-final { padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: var(--surface-cream); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.lp-final h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; font-weight: 900; letter-spacing: -0.6px; text-wrap: balance; }
.lp-final .btn { width: auto; align-self: flex-start; min-height: 54px; padding: 0 24px; }

.lp-footer { border-top: 1px solid var(--border-hairline); }
.lp-footer .lp { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-block: 28px 40px; font-size: 14px; color: var(--ink-muted); }
.lp-footer a { color: inherit; font-weight: 700; }
.lp-social { display: flex; gap: 10px; }
.lp-social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--primary); transition: background .15s, color .15s; }
.lp-social a:hover { background: var(--accent-orange-fill); color: var(--ink); }
.lp-social a:focus-visible { outline: 3px solid var(--accent-orange); outline-offset: 2px; }
.lp-social svg { width: 22px; height: 22px; }

.lp-score { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; }

/* Tablette */
@media (max-width: 960px) {
  .lp { padding-inline: 24px; }
  .lp-band { padding-block: 64px; }
  .lp-nav__links { display: none; }
  .lp-nav .lp { justify-content: space-between; }
  .lp-hero .lp { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 32px 64px; }
  .lp-phone { width: min(300px, 100%); transform: none; }
  .lp-steps, .lp-features, .lp-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-scan { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
  .lp-dark .lp, .lp-offer { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* Téléphone */
@media (max-width: 640px) {
  .lp { padding-inline: 18px; }
  .lp-band { padding-block: 48px; }
  .lp-hero { border-radius: 0 0 28px 28px; }
  .lp-hero__lede { font-size: 16.5px; line-height: 24px; }
  .lp-hero__mark { white-space: normal; }
  .lp-hero__ctas .btn { width: 100%; }
  .lp-steps, .lp-features, .lp-trophies { grid-template-columns: minmax(0, 1fr); }
  .lp-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: -18px; padding: 4px 18px 20px; }
  .lp-shot { flex: 0 0 78%; scroll-snap-align: center; }
  .lp-head { margin-bottom: 28px; }
  .lp-step, .lp-feature, .lp-price, .lp-final, .lp-scan { padding: 22px; }
  .lp-final .btn { width: 100%; }
}

/* Interrupteur entre les deux pages vitrines (golf entre amis / golf d'entreprise), dans
   l’en-tête à droite des boutons, plus discret qu’eux ; sur tablette et téléphone, sur sa ligne. */
.lp-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-warm); border: 1px solid var(--border-hairline); flex-shrink: 0; }
.lp-switch a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--ink-muted); text-decoration: none; white-space: nowrap; }
.lp-switch a:hover { color: var(--ink); }
.lp-switch a[aria-current="page"] { background: var(--accent-orange-fill); color: var(--ink); } /* orange : ne se confond pas avec « Ouvrir l’appli » (encre) */
.lp-switch a:focus-visible { outline: 3px solid var(--accent-orange); outline-offset: 2px; }
@media (max-width: 960px) {
  .lp-nav .lp { flex-wrap: wrap; row-gap: 0; }
  .lp-switch { order: 3; width: 100%; justify-content: center; margin-bottom: 10px; }
  .lp-switch a { flex: 1; justify-content: center; }
}

/* Page « Capitaines fondateurs » (capitaines.html) : médaille du hero et carte de candidature. */
.cap-badge {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 1; border-radius: 999px;
  background: var(--ink); color: var(--surface-cream); box-shadow: inset 0 0 0 10px var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
}
.cap-badge svg { width: 38%; height: auto; color: var(--primary); }
.cap-badge b { font-size: 22px; font-weight: 900; letter-spacing: -0.3px; }
.cap-badge span { font-size: 15px; font-weight: 700; color: var(--primary); }
.cap-form {
  max-width: 640px; margin-inline: auto; padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border-hairline);
}
.cap-choices { flex-wrap: wrap; }
.cap-choices .toggle-btn { flex: 1 1 auto; min-height: 44px; }
@media (max-width: 899px) {
  .cap-badge { width: 200px; }
  .cap-form { padding: 20px; }
}

/* Accueil public : encart vers la page Capitaines fondateurs. */
.cap-cta {
  display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--surface-cream); text-decoration: none;
}
.cap-cta:focus-visible { outline: 3px solid var(--accent-orange); outline-offset: 3px; }
.cap-cta__star { flex: none; width: 44px; height: 44px; color: var(--primary); }
.cap-cta__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cap-cta__body b { font-size: 20px; font-weight: 900; letter-spacing: -0.3px; }
.cap-cta__body span { font-size: 15.5px; line-height: 22px; color: rgba(255, 253, 247, 0.75); font-weight: 500; }
.cap-cta__go { flex: none; padding: 12px 20px; border-radius: 999px; background: var(--primary); color: var(--ink); font-weight: 800; }
@media (max-width: 640px) {
  .cap-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
}

/* « Le carnet » (16 oct. 2026) : articles de conseils du site public (carnet/), pour le
   référencement. Ils invitent à essayer Wedgy ; l’appli, elle, ne renvoie jamais vers eux. */
.lp-article { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; display: flex; flex-direction: column; gap: 18px; }
.lp-article__eyebrow { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-moss); }
.lp-article h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; text-wrap: balance; }
.lp-article__lede { font-size: 19px; line-height: 28px; color: var(--ink-muted); font-weight: 500; }
.lp-article__meta { font-size: 13.5px; color: var(--ink-muted); font-weight: 700; }
.lp-article h2 { font-size: 26px; line-height: 1.2; font-weight: 900; letter-spacing: -0.4px; margin-top: 18px; }
.lp-article h3 { font-size: 19px; font-weight: 800; margin-top: 8px; }
.lp-article p, .lp-article li { font-size: 17px; line-height: 27px; }
.lp-article ul, .lp-article ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.lp-article table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); overflow: hidden; font-size: 16px; }
.lp-article th, .lp-article td { padding: 11px 14px; text-align: left; border-top: 1px solid var(--border-hairline); font-variant-numeric: tabular-nums; }
.lp-article thead th { border-top: 0; background: var(--ink); color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.lp-article .lp-table-wrap { overflow-x: auto; }
.lp-article__box { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--primary); }
.lp-article__box p { margin: 0; }
.lp-article a { color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.lp-cards { display: grid; gap: 16px; }
.lp-card { display: block; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-hairline); text-decoration: none; color: var(--ink); }
.lp-card h2 { margin: 0 0 6px; font-size: 22px; }
.lp-card p { margin: 0; color: var(--ink-muted); }
.lp-card:hover, .lp-card:focus-visible { border-color: var(--ink); }
@media (max-width: 640px) { .lp-article { padding: 28px 16px 56px; } .lp-article p, .lp-article li { font-size: 16.5px; } }
.lp-article__cta { margin-top: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: var(--surface-cream); display: flex; flex-direction: column; gap: 12px; }
.lp-article__cta p { margin: 0; color: rgba(255, 253, 247, 0.85); }
.lp-article__cta .lp-article__cta-title { font-size: 22px; line-height: 1.2; font-weight: 900; color: var(--primary); }
.lp-article__cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.lp-article__cta-row .btn { width: auto; min-height: 48px; padding: 0 20px; }
.lp-article__cta .btn--primary { background: var(--primary); color: var(--ink); }
.lp-article__cta .btn:not(.btn--primary) { background: transparent; color: var(--surface-cream); border: 1.5px solid rgba(255, 253, 247, 0.5); }
.lp-nav .lp-carnet-cta { margin-left: auto; }
.lp-nav__links + .lp-carnet-cta { margin-left: 0; }
