:root {
  --bg: #ffffff;
  --soft: #f5f8fc;
  --ink: #0f172a;
  --text: #475569;
  --muted: #94a3b8;
  --line: #e5ebf3;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --grad: linear-gradient(135deg, #2563eb, #06b6d4);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .04);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 8px 20px rgba(37, 99, 235, .25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, .32); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: var(--shadow); }
.btn-light { background: #fff; color: var(--blue); box-shadow: none; }

.tag { display: inline-block; padding: 6px 12px; border-radius: 99px; background: #eaf2ff; color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.tag-light { background: rgba(255, 255, 255, .18); color: #fff; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.logo b { color: var(--blue); font-weight: 800; }
.links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.links a:not(.btn) { color: var(--text); transition: color .15s; }
.links a:not(.btn):hover { color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Accroche */
.hero { padding: 80px 0 90px; background: radial-gradient(800px 400px at 85% 10%, #e0f2fe 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #eef2ff 0%, transparent 60%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-bottom: 20px; }
.lead { font-size: 18px; max-width: 540px; margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.checks li::before { content: '✓'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 7px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 11px; font-weight: 800; }

.hero-visual { position: relative; }
.window { border-radius: var(--radius); background: #0f172a; box-shadow: 0 30px 60px rgba(15, 23, 42, .18); overflow: hidden; transform: rotate(-1.5deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1e293b; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.win-bar i:nth-child(2) { background: #fbbf24; }
.win-bar i:nth-child(3) { background: #34d399; }
.win-bar span { margin-left: 10px; font-size: 12px; color: #94a3b8; }
.win-body { padding: 26px 24px 30px; }
.code { font-family: 'Consolas', 'SFMono-Regular', monospace; font-size: 14.5px; line-height: 1.9; color: #e2e8f0; }
.code em { color: #c084fc; font-style: normal; }
.code b { color: #60a5fa; font-weight: 500; }
.code s { color: #34d399; text-decoration: none; }
.code u { color: #64748b; text-decoration: none; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--ink); animation: bob 5s ease-in-out infinite; }
.f1 { top: -18px; right: 20px; }
.f2 { bottom: -24px; left: 18px; animation-delay: -1.6s; }
.f3 { top: 46%; right: -28px; animation-delay: -3.2s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.ok { background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
.head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.head.left { text-align: left; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.head p { font-size: 17px; }

/* Services */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4e2f7; }
.icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #eaf2ff; margin-bottom: 18px; }
.icon svg { width: 25px; height: 25px; fill: var(--blue); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; margin-bottom: 16px; }
.card ul { list-style: none; display: grid; gap: 7px; margin-bottom: 20px; font-size: 14px; }
.card li { display: flex; gap: 9px; }
.card li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--cyan); }
.price { margin-top: auto; align-self: flex-start; padding: 6px 12px; border-radius: 8px; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--ink); }
.card-cta { background: var(--grad); border: 0; color: #e0f2fe; justify-content: center; }
.card-cta h3 { color: #fff; font-size: 22px; }
.card-cta p { color: #e0f2fe; }
.card-cta .btn { align-self: flex-start; }

/* Methode */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 18px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15px; }

/* Pourquoi */
.why { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.why .head p { margin-bottom: 26px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { padding: 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.why-item span { font-size: 26px; display: block; margin-bottom: 10px; }
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 26px; background: var(--grad); color: #e0f2fe; box-shadow: 0 30px 60px rgba(37, 99, 235, .25); }
.contact h2 { color: #fff; }
.contact p { font-size: 17px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.contact-list span { font-size: 22px; }
.contact-list small { display: block; font-size: 12.5px; color: #bae6fd; }
.contact-list b { color: #fff; font-weight: 600; }

/* Pied de page */
.footer { padding: 34px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer .logo { font-size: 17px; }
.up { color: var(--blue); font-weight: 600; }

/* Apparition au defilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tablette */
@media (max-width: 980px) {
  .hero-in, .why { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 40px; }
}

/* Telephone */
@media (max-width: 720px) {
  .burger { display: flex; }
  .links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 14px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 50px 0 70px; }
  .section { padding: 70px 0; }
  .grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .f2 { left: 0; }
  .f3 { right: 0; top: auto; bottom: -24px; }
  .f2 { bottom: -70px; }
  .hero-visual { margin-bottom: 60px; }
  .contact { padding: 30px 22px; }
  .foot-in { flex-direction: column; text-align: center; }
}
