/* Harmony Lens — site vitrine. Couleurs reprises du thème de l'application. */
:root {
  --bg: #111318;
  --bg-deep: #0c0e12;
  --surface: #191c22;
  --surface-2: #262a33;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e6e1e5;
  --muted: #a9afbb;
  --mint: #74d3ae;
  --mint-ink: #062116;
  --amber: #ffc857;
  --blue: #8ab4f8;
  --purple: #4a3a8c;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--mint); color: var(--mint-ink); padding: 8px 14px; border-radius: 10px; z-index: 100;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 19, 24, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand img { border-radius: 10px; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 0.96rem; }
.nav a:not(.btn) { color: var(--muted); transition: color 0.2s; }
.nav a:not(.btn):hover { color: var(--text); }

.menu-toggle { display: none; }
.menu-button { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 10px 30px rgba(116, 211, 174, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(116, 211, 174, 0.38); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.18); color: var(--text); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; background: var(--mint); color: var(--mint-ink); }
.btn-small:hover { transform: translateY(-1px); }
.btn-large { padding: 18px 30px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; }
.glow-a { width: 520px; height: 520px; background: radial-gradient(circle, rgba(116, 211, 174, 0.55), transparent 65%); top: -160px; right: -80px; }
.glow-b { width: 480px; height: 480px; background: radial-gradient(circle, rgba(74, 58, 140, 0.7), transparent 65%); bottom: -220px; left: -160px; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--mint);
  margin-bottom: 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(116, 211, 174, 0.18); }

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
.gradient-text {
  background: linear-gradient(100deg, var(--mint) 10%, var(--amber) 60%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-badges li {
  padding: 7px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}

.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  margin: 0; width: min(330px, 78vw); aspect-ratio: 720 / 1488;
  padding: 11px; border-radius: 44px;
  background: linear-gradient(160deg, #2c3038, #15171c 60%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 7px; border-radius: 99px; background: #000; opacity: 0.55; z-index: 2;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone-small { width: min(300px, 74vw); }

.hero-visual .phone { transform: rotate(2.5deg); animation: float 7s ease-in-out infinite; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 16px; font-weight: 700; font-size: 0.95rem;
  background: rgba(25, 28, 34, 0.82); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.chip-label { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.chip-a { top: 14%; left: -2%; color: var(--mint); animation: float 6s ease-in-out infinite reverse; }
.chip-b { top: 46%; right: -4%; color: var(--amber); animation: float 8s ease-in-out infinite; }
.chip-c { bottom: 10%; left: 4%; animation: float 7s ease-in-out infinite reverse; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(116, 211, 174, 0.6); animation: pulse 1.8s infinite; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(116, 211, 174, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(116, 211, 174, 0); }
}

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-deep); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 28px 18px; text-align: center; border-left: 1px solid var(--line); }
.strip-grid div:first-child { border-left: 0; }
.strip-grid strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.strip-grid span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(25, 28, 34, 0.6));
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(116, 211, 174, 0.35); }
.feature h3 { font-size: 1.2rem; margin-top: 18px; }
.feature p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-mint { background: rgba(116, 211, 174, 0.14); }
.icon-mint svg { stroke: var(--mint); }
.icon-amber { background: rgba(255, 200, 87, 0.14); }
.icon-amber svg { stroke: var(--amber); }
.icon-blue { background: rgba(138, 180, 248, 0.14); }
.icon-blue svg { stroke: var(--blue); }

/* Spotlights */
.spotlight-alt { background: linear-gradient(180deg, transparent, rgba(74, 58, 140, 0.18), transparent); }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.spotlight-grid.reverse .spotlight-media { order: 2; }
.spotlight-media { display: flex; justify-content: center; }
.spotlight-text p { color: var(--muted); font-size: 1.06rem; }
.spotlight-text h2 { margin-bottom: 18px; }

.screen { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.screen-wide { max-width: 520px; }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(116, 211, 174, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374d3ae' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.pills span {
  padding: 8px 16px; border-radius: 12px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.03);
}
.pills span:first-child { background: var(--surface-2); border-color: transparent; color: var(--mint); }
.note { margin-top: 20px; font-size: 0.92rem !important; color: var(--amber) !important; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.privacy-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--mint); }
.privacy-card:nth-child(2) { border-top-color: var(--amber); }
.privacy-card:nth-child(3) { border-top-color: var(--blue); }
.privacy-card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
  font-weight: 800; color: var(--mint-ink); background: linear-gradient(135deg, var(--mint), var(--amber));
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 0 24px; transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(116, 211, 174, 0.35); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--mint); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 56px; border-radius: 32px;
  background:
    radial-gradient(circle at 15% 20%, rgba(116, 211, 174, 0.35), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 200, 87, 0.22), transparent 45%),
    linear-gradient(135deg, #2a2160, #1a1d24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: #cfd3dc; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.4fr; gap: 40px; }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a:not(.brand) { display: block; color: var(--text); margin-bottom: 8px; opacity: 0.85; }
.footer-grid a:not(.brand):hover { color: var(--mint); opacity: 1; }
.footer-grid .brand { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .hero-grid, .spotlight-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .spotlight-grid.reverse .spotlight-media { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid, .steps { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div:nth-child(3) { border-left: 0; }
  .strip-grid div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  /* Menu sans JavaScript (case à cocher). */
  .menu-button {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    border: 1px solid var(--line);
  }
  .menu-button span, .menu-button span::before, .menu-button span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform 0.2s;
  }
  .menu-button span::before { position: absolute; top: -6px; }
  .menu-button span::after { position: absolute; top: 6px; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px 20px 22px;
    background: rgba(17, 19, 24, 0.97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav a { padding: 12px 6px; width: 100%; text-align: center; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .menu-toggle:checked + .menu-button span { background: transparent; }
  .menu-toggle:checked + .menu-button span::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle:checked + .menu-button span::after { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .float-chip { font-size: 0.82rem; padding: 8px 12px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
  .cta { padding: 34px 26px; text-align: center; justify-content: center; }
  .btn-large { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
