/* Page d'accueil Net Labs : sections propres à cette page, sur les couleurs de site.css. */
/* Entête et pied alignés sur la largeur de cette page. */
.site-header { max-width: 1160px; }
.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--page-gutter); }
.lp-section { padding: 88px 0; scroll-margin-top: 16px; }
.lp-alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mauve) 5%, transparent) 30%, color-mix(in srgb, var(--mauve) 5%, transparent) 70%, transparent); }
.lp-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.lp-head.is-left { margin: 0; text-align: left; }
.lp-head h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3.6vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; }
.lp-head > p:last-child { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.lp-kicker { margin: 0 0 12px; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mauve); }
.lp-btn-lg { padding: 14px 22px; font-size: 1rem; border-radius: 12px; }

/* Hero */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 96px; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(var(--grid) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.lp-hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #8b7be2 30%, transparent), transparent 65%); filter: blur(20px); opacity: .7; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border: 1px solid color-mix(in srgb, var(--mauve) 35%, var(--border)); border-radius: 999px; background: color-mix(in srgb, var(--mauve) 8%, var(--surface)); color: var(--text); font-size: .82rem; font-weight: 600; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.lp-hero h1 { margin: 0 0 20px; font-size: clamp(2.2rem, 5.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.05em; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(100deg, #8b7be2, #c084fc 45%, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { margin: 0 0 30px; max-width: 56ch; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.lp-proof li::before { content: "✓"; margin-right: 7px; color: var(--accent); font-weight: 800; }
.lp-proof strong { color: var(--text); font-weight: 650; }

/* Aperçu du laboratoire (console) */
.lp-console { position: relative; margin: 0; border: 1px solid color-mix(in srgb, var(--mauve) 30%, var(--border)); border-radius: 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, #6658c7 55%, transparent), 0 0 0 1px color-mix(in srgb, white 3%, transparent) inset; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s ease; }
.lp-console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.lp-console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.lp-console-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.lp-console-bar b { margin-left: 10px; font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--muted); }
.lp-console-body { display: grid; gap: 14px; padding: 18px; }
.lp-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-score { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); text-align: center; }
.lp-score svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.lp-score circle { fill: none; stroke: var(--border); stroke-width: 3.2; }
.lp-score circle.v { stroke: var(--c); stroke-linecap: round; stroke-dasharray: calc(var(--p) * .974) 100; }
.lp-score strong { position: absolute; top: 34px; font-size: 1.05rem; letter-spacing: -.02em; }
.lp-score span { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.s-seo { --c: var(--spider); } .s-geo { --c: var(--seeker); } .s-sec { --c: var(--hunter); }
.lp-answer { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); font-size: .84rem; }
.lp-answer-q { margin: 0 0 8px; color: var(--muted); font-style: italic; }
.lp-answer-q span { color: var(--seeker); font-style: normal; }
.lp-answer-a { margin: 0 0 10px; }
.lp-answer-a mark { padding: 0 4px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); font-weight: 650; }
.lp-answer-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: .72rem; color: var(--muted); }
.lp-answer-src i { font-style: normal; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
.lp-answer-src i:first-of-type { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); color: var(--text); }
.lp-actions-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .8rem; }
.lp-actions-list li { display: flex; gap: 9px; align-items: center; padding: 8px 12px; border-radius: 9px; background: var(--bg); border: 1px solid var(--border); }
.lp-actions-list li::before { flex: none; width: 8px; height: 8px; border-radius: 50%; content: ""; }
.lp-actions-list .ok::before { background: var(--accent); } .lp-actions-list .warn::before { background: var(--intent-commercial); } .lp-actions-list .todo::before { background: var(--seeker); }
.lp-console figcaption { position: absolute; bottom: -26px; right: 4px; font-size: .7rem; color: var(--muted); }

/* Constat */
.lp-shift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-shift-grid article { padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.lp-shift-grid article.is-now { border-color: color-mix(in srgb, var(--mauve) 45%, var(--border)); background: linear-gradient(160deg, color-mix(in srgb, var(--mauve) 12%, var(--surface)), var(--surface) 70%); }
.lp-shift-grid h3 { margin: 12px 0 8px; font-size: 1.15rem; letter-spacing: -.02em; }
.lp-shift-grid p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.lp-tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mauve); }

/* Expertises (bento) */
.lp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-tile { --t: var(--mauve); display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.lp-tile:hover { border-color: color-mix(in srgb, var(--t) 45%, var(--border)); transform: translateY(-3px); }
.lp-tile.is-wide { grid-column: span 2; padding: 30px; background: linear-gradient(150deg, color-mix(in srgb, var(--t) 13%, var(--surface)), var(--surface) 65%); }
.t-seo { --t: var(--spider); } .t-geo { --t: var(--seeker); }
.lp-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; color: var(--t); background: color-mix(in srgb, var(--t) 14%, var(--surface)); }
.lp-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-tile h3 { margin: 0 0 8px; font-size: 1.08rem; letter-spacing: -.02em; }
.lp-tile.is-wide h3 { font-size: 1.4rem; }
.lp-tile p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.lp-chips li { padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--t) 30%, var(--border)); font-size: .76rem; }
.lp-more { margin-top: auto; padding-top: 14px; color: var(--hunter); font-size: .86rem; font-weight: 650; text-decoration: none; }
.lp-more:hover { text-decoration: underline; }

/* Laboratoire */
.lp-lab { background: radial-gradient(ellipse 80% 60% at 50% 0, color-mix(in srgb, var(--mauve) 9%, transparent), transparent 70%); }
.lp-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: tool; }
.lp-tool { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid color-mix(in srgb, var(--tool-accent) 30%, var(--border)); border-radius: 18px; background: linear-gradient(170deg, color-mix(in srgb, var(--tool-accent) 10%, var(--surface)), var(--surface) 60%); color: var(--muted); font-size: .9rem; line-height: 1.5; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
a.lp-tool:hover { transform: translateY(-4px); border-color: var(--tool-accent); }
a.lp-tool:focus-visible { outline: 2px solid var(--tool-accent); outline-offset: 3px; }
.lp-tool::before { content: ""; position: absolute; inset: 0 22px auto; height: 2px; background: linear-gradient(90deg, transparent, var(--tool-accent), transparent); }
.lp-tool.is-soon { opacity: .82; border-style: dashed; }
.lp-tool strong { color: var(--text); font-size: 1.35rem; letter-spacing: -.03em; }
.lp-tool-top { display: flex; justify-content: space-between; align-items: center; }
.lp-tool-step { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tool-accent); }
.lp-badge { padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--tool-accent) 16%, transparent); color: var(--tool-accent); font-size: .7rem; font-weight: 700; }
.lp-badge.is-soon { background: var(--surface-2); color: var(--muted); }
.lp-tool-cta { margin-top: auto; padding-top: 8px; color: var(--tool-accent); font-weight: 650; }
.lp-tool.is-soon .lp-tool-cta { color: var(--muted); font-weight: 500; }
.tool-booster { --tool-accent: var(--booster); }
.lp-lab-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; margin-top: 18px; }
.lp-discord { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid color-mix(in srgb, #5865f2 40%, var(--border)); border-radius: 14px; background: color-mix(in srgb, #5865f2 10%, var(--surface)); color: var(--text); font-size: .92rem; text-decoration: none; }
.lp-discord:hover { border-color: #5865f2; }
.lp-discord-logo { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: #5865f2; color: #fff; }
.lp-discord-logo svg { width: 22px; height: 22px; fill: currentColor; }
.lp-discord-cta { margin-left: auto; padding: 8px 14px; border-radius: 9px; background: #5865f2; color: #fff; font-weight: 650; white-space: nowrap; }
.lp-library { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--library) 35%, var(--border)); border-radius: 14px; color: var(--muted); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.lp-library strong { color: var(--library); }
.lp-library:hover { border-color: var(--library); }

/* Méthode */
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-steps::before { content: ""; position: absolute; top: 23px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mauve) 60%, var(--border)), transparent); }
.lp-steps li { position: relative; padding: 0 6px; text-align: center; }
.lp-step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border: 1px solid color-mix(in srgb, var(--mauve) 50%, var(--border)); border-radius: 50%; background: var(--bg); color: var(--mauve); font-family: var(--mono); font-size: .82rem; font-weight: 700; }
.lp-steps h3 { margin: 0 0 6px; font-size: 1.08rem; }
.lp-steps p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.lp-deliv { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-size: .74rem; font-weight: 650; }

/* Formats */
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 0 auto; }
.lp-plan { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.lp-plan.is-featured { border-color: color-mix(in srgb, var(--mauve) 55%, var(--border)); background: linear-gradient(160deg, color-mix(in srgb, var(--mauve) 14%, var(--surface)), var(--surface) 65%); box-shadow: 0 24px 60px -34px color-mix(in srgb, #6658c7 70%, transparent); }
.lp-plan-tag { margin: 0 0 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); }
.lp-plan h3 { margin: 0 0 8px; font-size: 1.45rem; letter-spacing: -.03em; }
.lp-plan > p:not(.lp-plan-tag) { margin: 0 0 18px; color: var(--muted); }
.lp-plan ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .92rem; }
.lp-plan li { display: flex; gap: 10px; }
.lp-plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.lp-plan .btn { margin-top: auto; justify-content: center; }
.lp-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1060px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--border); }
.lp-why h3 { margin: 0 0 6px; font-size: 1rem; }
.lp-why h3::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: 12px; border-radius: 3px; background: var(--mauve); }
.lp-why p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.lp-faq details[open] { border-color: color-mix(in srgb, var(--mauve) 40%, var(--border)); }
.lp-faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-weight: 650; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--mauve); font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary:focus-visible { outline: 2px solid var(--mauve); outline-offset: 4px; }
.lp-faq details p { margin: 12px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* Contact : reprend le bloc existant, sans la marge haute des anciens blocs. */
.lp-contact-sec { padding-top: 24px; }
.lp-contact-sec .block { margin-top: 0; }

@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp-console { transform: none; }
  .lp-bento, .lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps, .lp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .lp-steps::before { display: none; }
  .lp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 680px) {
  .lp-section { padding: 60px 0; }
  .lp-hero { padding: 32px 0 72px; }
  .lp-head { text-align: left; margin-bottom: 30px; }
  .lp-shift-grid, .lp-bento, .lp-tools, .lp-plans, .lp-steps, .lp-why, .lp-lab-foot { grid-template-columns: minmax(0, 1fr); }
  .lp-tile.is-wide { grid-column: auto; }
  .lp-steps li { text-align: left; }
  .lp-actions .btn { flex: 1 1 100%; justify-content: center; }
  .lp-library { white-space: normal; }
  .lp-discord { flex-wrap: wrap; }
  .lp-discord-cta { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .lp-console { transform: none; } }

/* Pages Outils et Librairie : hero centré, sections existantes recentrées, bandeau final. */
.lp-hero-center { padding-bottom: 56px; text-align: center; }
.lp-hero-center .lp-wrap { max-width: 860px; }
.lp-hero-center .lp-lead { margin-left: auto; margin-right: auto; }
.lp-hero-center .lp-actions, .lp-hero-center .lp-proof, .lp-hero-center .shelf-jump { justify-content: center; }
.lp-hero-center::after { right: 50%; transform: translateX(50%); top: -360px; }
.lp-page > section:not(.lp-hero):not(.lp-section):not(.lp-cta) { width: 100%; max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: var(--page-gutter); padding-right: var(--page-gutter); scroll-margin-top: 16px; }
.lp-page > .why, .lp-page > .path, .lp-page > .faq { margin-top: 88px; }
.lp-page > .why h2, .lp-page > .path h2, .lp-page > .faq h2 { margin-bottom: 28px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.035em; }
.lp-page .tool { border-radius: 20px; }
.lp-page .tool:hover { transform: translateY(-3px); }
.lp-page .tool { transition: border-color .2s ease, transform .2s ease; }
.lp-cta { padding: 96px var(--page-gutter) 24px; }
.lp-cta-inner { position: relative; isolation: isolate; overflow: hidden; max-width: 1128px; margin: 0 auto; padding: 56px 32px; border: 1px solid color-mix(in srgb, var(--mauve) 40%, var(--border)); border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, #6658c7 22%, var(--surface)), var(--surface) 60%); text-align: center; }
.lp-cta-inner::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #34d399 22%, transparent), transparent 65%); }
.lp-cta h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -.035em; }
.lp-cta-inner > p:not(.lp-kicker) { max-width: 60ch; margin: 0 auto 26px; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.lp-cta .lp-actions { justify-content: center; }
@media (max-width: 680px) {
  .lp-hero-center { text-align: left; }
  .lp-hero-center .lp-actions, .lp-hero-center .lp-proof, .lp-hero-center .shelf-jump { justify-content: flex-start; }
  .lp-cta-inner { padding: 36px 22px; text-align: left; }
  .lp-cta .lp-actions { justify-content: flex-start; }
}
.lp-page > .faq details { padding: 18px 20px; border-radius: 14px; }
.lp-page > .faq details[open] { border-color: color-mix(in srgb, var(--mauve) 40%, var(--border)); }
.lp-page > .faq summary { display: flex; justify-content: space-between; gap: 16px; list-style: none; font-weight: 650; }
.lp-page > .faq summary::-webkit-details-marker { display: none; }
.lp-page > .faq summary::after { content: "+"; color: var(--mauve); font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.lp-page > .faq details[open] summary::after { transform: rotate(45deg); }
