:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #0f1115;
  --ink-2: #4a4f5a;
  --ink-3: #868b95;
  --line: #e4e1d8;
  --accent: #ff5b2e;
  --accent-ink: #ffffff;
  --accent-soft: #ffe7de;
  --dark: #0f1115;
  --dark-2: #191c22;
  --dark-line: #2a2e36;
  --radius: 22px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 16px/1 var(--sans);
  border: 1.5px solid var(--accent);
  cursor: pointer;
  user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-small { padding: 11px 18px; font-size: 15px; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #ec4a1d; border-color: #ec4a1d; }
  .btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 20px; }
.logo-mark { width: 34px; height: 34px; display: block; }
.nav-links { display: flex; gap: 32px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-links a { transition: color 150ms ease; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
h1 { font-size: clamp(42px, 6.4vw, 78px); }
h1 em { color: var(--accent); }
.lead { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 540px; }
.lead strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 15px; color: var(--ink-2);
}
.hero-proof li { position: relative; }
.hero-proof li + li::before { content: ""; position: absolute; left: -15px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.hero-proof strong { color: var(--ink); }

/* Phones */
.phone {
  position: relative;
  border-radius: 38px;
  padding: 7px;
  background: #0b0c0f;
  box-shadow: 0 1px 0 1px #2b2e35 inset, 0 30px 60px -20px rgba(15,17,21,.35), 0 12px 24px -12px rgba(15,17,21,.25);
}
.phone img { border-radius: 31px; width: 100%; }
.hero-phones { position: relative; height: 600px; }
.hero-phones .phone { position: absolute; width: 250px; top: 50%; left: 50%; }
.phone-front { z-index: 3; transform: translate(-50%, -50%); }
.phone-back-left { z-index: 1; transform: translate(-108%, -46%) rotate(-7deg) scale(0.88); }
.phone-back-right { z-index: 2; transform: translate(8%, -44%) rotate(7deg) scale(0.88); }

/* Strip */
.strip { background: var(--ink); color: #d6d8dd; padding: 18px 0; overflow: hidden; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.strip-inner span::before { content: "✦"; color: var(--accent); margin-right: 10px; font-size: 11px; }

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: #efece4; }
.section-dark { background: var(--dark); color: #eceef2; }
.section-dark .eyebrow, .section-dark .section-sub { color: #9aa0ab; }
.section-head { max-width: 720px; margin-bottom: 64px; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h2 em { color: var(--accent); }
.section-sub { margin-top: 18px; font-size: 18px; color: var(--ink-2); }

/* Projects */
.project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 56px;
  margin-bottom: 24px;
}
.project-reverse .project-media { order: 2; }
.project-media {
  display: flex; justify-content: center; gap: 20px;
  padding: 36px 20px;
  border-radius: 24px;
  background: radial-gradient(120% 80% at 50% 0%, #fff4ee 0%, #f3efe6 70%);
}
.project-media .phone { width: 220px; }
.phone-offset { margin-top: 48px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px;
  background: #f1efe9; color: var(--ink-2);
}
.tag-live { background: #dcfce7; color: #166534; }
.project h3 { font-size: 40px; }
.project-pitch { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.features li { position: relative; padding-left: 28px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23ff5b2e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.link { display: inline-flex; gap: 6px; margin-top: 28px; font-weight: 700; color: var(--accent); }
.link span { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover span { transform: translateX(4px); } }

.project-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-small { grid-template-columns: 1fr; gap: 32px; padding: 40px; margin-bottom: 0; align-items: start; }
.project-small .project-media .phone { width: 200px; }
.project-small h3 { font-size: 32px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 28px;
  padding: 36px 32px;
}
.plan h3 { font-size: 24px; }
.plan-for { margin-top: 8px; color: #9aa0ab; font-size: 15.5px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 28px 0; }
.amount { font-size: 54px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.per, .from { color: #9aa0ab; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; font-size: 15.5px; color: #d3d6dc; flex: 1; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn-ghost { color: #eceef2; border-color: var(--dark-line); }
@media (hover: hover) and (pointer: fine) { .plan .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; } }
.plan-featured { background: #fff; color: var(--ink); border-color: #fff; }
.plan-featured .plan-for, .plan-featured .per { color: var(--ink-3); }
.plan-featured ul { color: var(--ink-2); }
.plan-badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.plans-note { margin-top: 28px; text-align: center; font-size: 14px; color: #7d838f; }

/* Included */
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.inc { background: var(--surface); padding: 36px 32px; }
.inc-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 20px; font-weight: 700; margin-bottom: 20px;
}
.inc h3 { font-size: 20px; letter-spacing: -0.01em; }
.inc p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 20px; margin-top: 16px; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--line); font-weight: 500; font-size: 20px;
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 56px 26px 0; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }
.contact-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 16px;
  border: 1px solid var(--dark-line); font-weight: 700;
  transition: border-color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { border-color: #fff; background: var(--dark-2); } }
.c-label { color: #9aa0ab; font-weight: 600; font-size: 14px; }
.form { background: #fff; color: var(--ink); border-radius: 28px; padding: 36px; display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink);
  padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--dark); color: #7d838f; border-top: 1px solid var(--dark-line); padding: 36px 0; font-size: 14px; }
.footer .logo { color: #eceef2; }

.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms ease; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 520px; }
  .project, .project-duo { grid-template-columns: 1fr; }
  .project-reverse .project-media { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .included { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-inner { height: 64px; }
  .hero { padding: 32px 0 56px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-proof { flex-direction: column; gap: 6px; }
  .hero-proof li + li::before { display: none; }
  .hero-phones { height: 420px; }
  .hero-phones .phone { width: 180px; border-radius: 30px; padding: 5px; }
  .hero-phones .phone img { border-radius: 25px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .project, .project-small { padding: 20px; border-radius: 24px; gap: 28px; }
  .project-body { padding: 0 8px 12px; }
  .project-media { padding: 24px 12px; gap: 12px; }
  .project-media .phone, .project-small .project-media .phone { width: 46%; max-width: 200px; border-radius: 26px; padding: 5px; }
  .project-media .phone img { border-radius: 21px; }
  .project-media .phone:only-child { width: 58%; }
  .phone-offset { margin-top: 32px; }
  .project h3 { font-size: 32px; }
  .included { grid-template-columns: 1fr; }
  .inc { padding: 28px 24px; }
  .steps { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .form { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}


/* Snipy : site + appli */
.media-combo { position: relative; display: block; padding: 28px 28px 120px; }
.browser { border-radius: 12px; overflow: hidden; background: #0b1020; box-shadow: 0 30px 60px -24px rgba(15,17,21,.4), 0 0 0 1px rgba(15,17,21,.08); width: 92%; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1a1f2e; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #0f1320; color: #9aa3b8; font-size: 11px; font-weight: 600; }
.media-combo .phone { position: absolute; right: 20px; bottom: 20px; width: 25%; max-width: 150px; border-radius: 26px; padding: 5px; }
.media-combo .phone img { border-radius: 21px; }
@media (max-width: 720px) {
  .media-combo { padding: 16px 12px 110px; }
  .browser { width: 100%; }
  .media-combo .phone, .media-combo .phone:only-child { width: 28%; right: 12px; bottom: 12px; }
}
.price { white-space: nowrap; }
.amount sup { font-size: 0.45em; vertical-align: 0.95em; letter-spacing: -0.02em; margin-left: 1px; }

/* Offre restaurants */
.resto { background: #f1ebdf; }
.resto-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.resto-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.resto-visual .phone { width: 250px; }
.resto-card {
  position: absolute; right: 2%; bottom: 6%; width: 150px;
  background: #1f3a2e; color: #f7f1e6; border-radius: 18px; padding: 16px 14px; text-align: center;
  transform: rotate(-4deg); box-shadow: 0 24px 40px -18px rgba(31,58,46,.6);
}
.resto-card small { display: block; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #d9c9a8; }
.resto-card p { font-family: var(--serif); font-size: 19px; line-height: 1.1; margin-top: 6px; }
.resto-qr { background: #fff; border-radius: 10px; padding: 8px; margin: 10px auto 8px; width: 96px; }
.resto-qr img { width: 100%; }
.resto-card span { display: block; font-size: 10.5px; font-weight: 700; color: #f0c27a; line-height: 1.3; }
.resto-features { margin-top: 24px; }
.resto-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.rp { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.rp-hot { border: 2px solid var(--accent); }
.rp-name { font-weight: 800; font-size: 16px; }
.rp-price { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-top: 6px; white-space: nowrap; }
.rp-price sup { font-size: 0.45em; vertical-align: 0.95em; }
.rp-price span { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.rp-for { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.resto-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 1000px) {
  .resto-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .resto-visual .phone { width: 58%; max-width: 220px; border-radius: 26px; padding: 5px; }
  .resto-visual .phone img { border-radius: 21px; }
  .resto-card { width: 120px; right: 0; padding: 12px 10px; }
  .resto-card p { font-size: 15px; }
  .resto-qr { width: 76px; padding: 6px; }
  .resto-plans { grid-template-columns: 1fr; }
}
.form-note { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.form-note a, .footer a:not(.logo) { text-decoration: underline; text-underline-offset: 2px; }
