/* Site public kayseo.com : mêmes couleurs que l'application KaySEO */
:root {
  --blue: #0997FC; --blue-2: #086DF6; --navy: #122038; --navy-2: #263349; --muted: #5d6b80;
  --bg: #F6FAFE; --pale: #EAF3F9; --line: #E0EBF5; --panel: #fff; --good: #1e7a4c;
  --radius: 14px; --shadow: 0 1px 2px rgba(18,32,56,.06), 0 8px 28px rgba(18,32,56,.07);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--navy); background: var(--bg); }
a { color: var(--blue-2); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.site { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
header.site .logo img { height: 34px; display: block; }
header.site nav { display: flex; gap: 18px; flex: 1; }
header.site nav a { color: var(--navy-2); text-decoration: none; font-weight: 500; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--blue-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); color: var(--navy); background: var(--panel); white-space: nowrap; cursor: pointer; font-size: 15px; }
.btn.primary { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; border: 0; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.big { padding: 14px 24px; font-size: 16px; }
.menu-toggle { display: none; }

.hero { padding: 72px 0 56px; background: radial-gradient(900px 400px at 85% -10%, rgba(9,151,252,.16), transparent 60%), radial-gradient(700px 360px at -10% 20%, rgba(8,109,246,.10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; margin: 10px 0 18px; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--navy-2); max-width: 600px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.small { font-size: 13px; color: var(--muted); }
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.score { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: var(--pale); }
.ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--good);
  background: conic-gradient(var(--good) 0 78%, #dbe7f2 78% 100%); position: relative; }
.ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--pale); }
.ring span { position: relative; z-index: 1; }
.mock ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14px; }
.mock li { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; display: flex; gap: 8px; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #fdf1dc; color: #6b4a12; align-self: flex-start; }
.tag.ok { background: #e3f4ea; color: #17573a; }

section { padding: 64px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.center .grid3 { text-align: left; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--navy-2); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--pale); font-size: 20px; margin-bottom: 12px; }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 28px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--blue-2); color: #fff; display: grid; place-items: center; font-weight: 700; }

.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); margin-top: 18px; }
.toggle button { border: 0; background: transparent; padding: 9px 18px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--blue-2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 28px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--blue-2); }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 6px 0 14px; color: var(--navy-2); }
.plan .btn { margin-top: auto; }
table.costs { width: 100%; border-collapse: collapse; margin-top: 18px; background: var(--panel); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.costs td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
table.costs td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-top: 12px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--navy-2); }

.legal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 40px 0; }
.notice { background: #fdf1dc; color: #6b4a12; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

footer.site { padding: 40px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--navy-2); text-decoration: none; }

@media (max-width: 860px) {
  header.site nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  header.site nav.open { display: flex; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  header.site .wrap > .btn.primary { display: none; }
  .hero .wrap, .grid3, .grid2 { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}
