/* =====================================================================
   eGwii restaurant — page d'accueil (inscription des restaurateurs)
   S'appuie sur restaurant.css (variables --eg-*, plans de salle)
   ===================================================================== */
.lp { background: #fff; font-size: 15px; scroll-behavior: smooth; }
.lp section[id] { scroll-margin-top: 72px; }
.lp .container { max-width: 1180px; }
.lp h1, .lp h2, .lp h3 { letter-spacing: -.02em; }

/* Barre de navigation */
.lp-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--eg-border); }
.lp-nav .container { display: flex; align-items: center; gap: 1.5rem; min-height: 66px; }
.lp-links { display: flex; gap: 1.5rem; margin-left: 1rem; }
.lp-links a { color: var(--eg-muted); font-weight: 500; }
.lp-links a:hover { color: var(--eg-text); }
.lp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.btn-ghost { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .35); --bs-btn-hover-bg: rgba(255, 255, 255, .1); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(255, 255, 255, .6); }

/* Bandeau */
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 5rem 0 6rem; background: radial-gradient(circle at 10% 0%, #2a3a62 0, var(--eg-ink) 60%); }
.lp-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--eg-glow-rgb), .45), transparent 65%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: .45rem; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--eg-primary); margin-bottom: 1rem; }
.lp-hero .lp-kicker { color: var(--eg-primary-light); }
.lp-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.05; margin: 0; }
.lp-hero h1 span { background: linear-gradient(90deg, var(--eg-grad-start), var(--eg-primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .78); margin: 1.25rem 0 2rem; max-width: 560px; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.lp-trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: 14px; color: rgba(255, 255, 255, .85); }
.lp-trust .bi { color: #3ccf7c; margin-right: .4rem; }
.lp-hero-visual { position: relative; }
.lp-window { background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.lp-window-bar { display: flex; align-items: center; gap: 6px; padding: .6rem .9rem; background: #f4f6fb; border-bottom: 1px solid var(--eg-border); color: var(--eg-text); font-size: 13px; }
.lp-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e5e8f0; }
.lp-window-bar span:first-child { background: #ff6b6b; }
.lp-window-bar span:nth-child(2) { background: #ffc94d; }
.lp-window-bar span:nth-child(3) { background: #3ccf7c; }
.lp-window-bar strong { margin-left: .6rem; font-weight: 600; }
.lp-window { background: #fbfcfe; }
#lp-demo { margin: 1rem; }
.lp-float { position: absolute; display: flex; gap: .7rem; align-items: center; background: #fff; color: var(--eg-text); border-radius: 14px; padding: .7rem .95rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); font-size: 13px; animation: lp-bob 4s ease-in-out infinite; }
.lp-float .bi { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--eg-primary-soft); color: var(--eg-primary); font-size: 17px; }
.lp-float strong { display: block; font-size: 14px; }
.lp-float span { color: var(--eg-muted); }
.lp-float-1 { left: -34px; bottom: 34px; }
.lp-float-2 { right: -18px; top: -22px; animation-delay: -2s; }
.lp-float-2 .bi { background: var(--eg-violet-soft); color: var(--eg-violet); }
@keyframes lp-bob { 50% { transform: translateY(-8px); } }

/* Chiffres */
.lp-stats { border-bottom: 1px solid var(--eg-border); }
.lp-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-stats div { padding: 1.75rem 1rem; text-align: center; }
.lp-stats div + div { border-left: 1px solid var(--eg-border); }
.lp-stats strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.lp-stats span { color: var(--eg-muted); font-size: 14px; }

/* Sections */
.lp-section { padding: 6rem 0; }
.lp-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.lp-head h2, .lp-split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 0 0 .75rem; }
.lp-head p, .lp-split p { color: var(--eg-muted); font-size: 1.05rem; }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-feature { border: 1px solid var(--eg-border); border-radius: 18px; padding: 1.6rem; transition: translate .2s, box-shadow .2s, border-color .2s; }
/* translate (et non transform) : ne gêne pas les animations AOS */
.lp-feature:hover { translate: 0 -4px; box-shadow: var(--eg-shadow-lg); border-color: var(--eg-primary-tint); }
.lp-feature-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: var(--eg-primary-soft); color: var(--eg-primary); margin-bottom: 1rem; }
.lp-feature h3 { font-size: 18px; font-weight: 700; }
.lp-feature p { color: var(--eg-muted); margin: 0; }

/* Plage */
.lp-beach { background: linear-gradient(180deg, #fffaf0, #fff); }
.lp-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.lp-beach-visual { background: #fff; border-radius: 18px; padding: 1rem; box-shadow: var(--eg-shadow-lg); border: 1px solid var(--eg-border); }
.lp-checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.lp-checks li { display: flex; gap: .6rem; padding: .35rem 0; font-weight: 500; }
.lp-checks .bi { color: var(--eg-success); font-size: 18px; line-height: 1.2; }

/* Étapes */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.lp-steps li { position: relative; background: var(--eg-surface-2); border-radius: 18px; padding: 1.75rem 1.5rem; }
.lp-steps span { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--eg-ink); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.lp-steps h3 { font-size: 18px; font-weight: 700; }
.lp-steps p { color: var(--eg-muted); margin: 0; }

/* Tarifs */
.lp-pricing { background: var(--eg-surface-2); }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; align-items: stretch; }
.lp-plan { position: relative; background: #fff; border: 1px solid var(--eg-border); border-radius: 20px; padding: 1.75rem; display: flex; flex-direction: column; }
.lp-plan.is-popular { border: 2px solid var(--eg-primary); box-shadow: 0 20px 50px rgba(var(--eg-primary-rgb), .15); }
.lp-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--eg-primary); color: #fff; font-size: 12px; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.lp-plan h3 { font-size: 20px; font-weight: 800; display: flex; gap: .5rem; align-items: center; }
.lp-plan h3 .bi { color: var(--eg-primary); }
.lp-plan-desc { color: var(--eg-muted); min-height: 2.6em; margin: 0; }
.lp-plan-price { margin-top: 1rem; }
.lp-plan-price strong { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.lp-plan-price span { color: var(--eg-muted); margin-left: .25rem; }
.lp-plan-year { font-size: 13px; color: var(--eg-success); font-weight: 600; margin-bottom: 1.25rem; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; font-size: 14px; }
.lp-plan li { display: flex; gap: .5rem; padding: .3rem 0; }
.lp-plan li .bi { color: var(--eg-success); }
.lp-plan li.is-off { color: #a3abbb; }
.lp-plan li.is-off .bi { color: #c3c9d6; }

/* FAQ */
.lp-faq { max-width: 780px; }
.lp-faq details { border-bottom: 1px solid var(--eg-border); padding: 1.1rem 0; }
.lp-faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "\F4FE"; font-family: 'bootstrap-icons'; color: var(--eg-primary); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { color: var(--eg-muted); margin: .75rem 0 0; }

/* Inscription */
.lp-signup { padding: 6rem 0; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(var(--eg-glow-rgb), .35), transparent 40%), radial-gradient(circle at 10% 90%, #2a3a62 0, var(--eg-ink) 60%); }
.lp-signup h2 { color: #fff; }
.lp-signup-pitch p { color: rgba(255, 255, 255, .78); }
.lp-checks.is-light li { color: #fff; }
.lp-checks.is-light .bi { color: #3ccf7c; }
.lp-signup-price { margin-top: 1.5rem; font-weight: 600; color: var(--eg-primary-light) !important; }
.lp-form { background: #fff; color: var(--eg-text); border-radius: 20px; padding: 1.75rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lp-type { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #eef1f7; border-radius: 12px; margin-bottom: 1rem; }
.lp-type input { position: absolute; opacity: 0; pointer-events: none; }
.lp-type label { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem; border-radius: 9px; font-weight: 600; color: var(--eg-muted); cursor: pointer; }
.lp-type input:checked + label { background: #fff; color: var(--eg-text); box-shadow: var(--eg-shadow); }
.lp-type input:focus-visible + label { outline: 2px solid var(--eg-primary); }
.lp-form-foot { text-align: center; font-size: 13px; color: var(--eg-muted); margin: 1rem 0 0; }

/* Pied de page */
.lp-footer { border-top: 1px solid var(--eg-border); padding: 2rem 0; font-size: 14px; color: var(--eg-muted); }
.lp-footer .container { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.lp-footer nav { display: flex; gap: 1.25rem; margin-left: auto; }
.lp-footer a { color: var(--eg-muted); }
.lp-footer a:hover { color: var(--eg-text); }

@media (max-width: 991.98px) {
  .lp-links { display: none; }
  .lp-hero { padding: 3.5rem 0 4.5rem; }
  .lp-hero-grid, .lp-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-window { transform: none; }
  .lp-float-1 { left: 8px; bottom: -22px; }
  .lp-float-2 { right: 8px; }
  .lp-features, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-stats .container { grid-template-columns: 1fr 1fr; }
  .lp-stats div:nth-child(3) { border-left: 0; }
  .lp-section, .lp-signup { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
  .lp-features, .lp-steps { grid-template-columns: 1fr; }
  .lp-nav .eg-lang { display: none; }
  .lp-float { display: none; }
  .lp-stats strong { font-size: 22px; }
  .lp-form { padding: 1.25rem; }
}
/* AOS : pas de barre de défilement horizontale pendant les entrées latérales */
.lp { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  .lp-float { animation: none; }
  .lp-feature { transition: none; }
}
