/* ==========================================================
   Canton Tech Web — feuille de style principale
   ========================================================== */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #14161c;
  --ink-2: #2a2e38;
  --paper: #f6f3ec;
  --paper-2: #ede8dc;
  --white: #fffdf8;
  --muted: #5e6371;
  --line: #ddd7c9;
  --accent: #ff5a36;
  --accent-ink: #e2431f;
  --accent-soft: #ffe1d7;
  --lime: #d6f25c;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(20,22,28,.06), 0 12px 32px -12px rgba(20,22,28,.18);
  --shadow-lg: 0 2px 4px rgba(20,22,28,.06), 0 30px 60px -20px rgba(20,22,28,.35);
  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.hl { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin-bottom: 1.1em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.eyebrow-light { color: var(--lime); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 1.05em 1.6em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s, box-shadow .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(255,90,54,.8); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-small { padding: .75em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; white-space: nowrap; }
.link-arrow:hover { color: var(--accent-ink); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; color: var(--ink); }
.brand-text { font-family: var(--display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand-text b { font-weight: 800; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; padding: .4em 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-price {
  display: inline-flex; align-items: center; gap: .8rem; margin: .6rem 0 2rem;
  padding: .9rem 1.4rem .9rem 1.2rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-price .from { font-size: .85rem; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .05em; }
.hero-price .amount { font: 800 3.1rem/1 var(--display); letter-spacing: -0.04em; }
.hero-price .per { font-size: .95rem; line-height: 1.3; color: var(--muted); }
.hero-price .per b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-visual { position: relative; min-height: 460px; }
.float-browser {
  position: absolute; background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(20,22,28,.08);
}
.float-browser img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.fb-1 { width: 88%; right: 0; top: 10px; transform: rotate(2deg); z-index: 1; animation: floaty 9s ease-in-out infinite; }
.fb-2 { width: 62%; left: 0; top: 210px; transform: rotate(-4deg); z-index: 2; animation: floaty 11s ease-in-out infinite reverse; }
.fb-3 { width: 48%; right: 4%; top: 300px; transform: rotate(5deg); z-index: 3; animation: floaty 10s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }

.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: #efeae0; border-bottom: 1px solid rgba(20,22,28,.07);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d1c1; }
.browser-bar i:first-child { background: #ff7b5c; }
.browser-bar i:nth-child(2) { background: #f5c451; }
.browser-bar i:nth-child(3) { background: #8fd36a; }
.browser-bar span {
  flex: 1; margin-left: 10px; max-width: 70%; height: 20px; border-radius: 6px; background: var(--white);
  font-size: .72rem; line-height: 20px; padding: 0 10px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Maquette CSS affichée tant qu'aucune réalisation n'est en ligne */
.mock-page { padding: 18px; display: grid; gap: 16px; background: var(--white); }
.mock-nav { display: flex; gap: 10px; align-items: center; }
.mock-nav b { width: 70px; height: 14px; border-radius: 4px; background: var(--ink); margin-right: auto; }
.mock-nav i { width: 42px; height: 8px; border-radius: 4px; background: var(--paper-2); }
.mock-hero { display: grid; gap: 10px; padding: 26px 22px; border-radius: 12px; background: linear-gradient(135deg, #1e2230, #3a2f4a); }
.mock-hero b { height: 18px; width: 80%; border-radius: 5px; background: #fff; }
.mock-hero b.short { width: 52%; }
.mock-hero span { margin-top: 8px; width: 110px; height: 28px; border-radius: 999px; background: var(--accent); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards.col { grid-template-columns: 1fr; }
.mock-cards i { height: 70px; border-radius: 10px; background: var(--paper-2); }
.mock-cards i:nth-child(2) { background: var(--accent-soft); }
.mock-phone { width: 34%; left: 4%; top: 170px; border-radius: 26px; border: 6px solid var(--ink); }
.mock-phone .mock-hero { padding: 20px 14px; }

.sticker {
  position: absolute; z-index: 5; right: -6px; bottom: 30px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--lime); color: var(--ink); display: grid; place-content: center; text-align: center;
  transform: rotate(-12deg); box-shadow: var(--shadow); animation: spin-in 1s cubic-bezier(.2,.9,.3,1.3) both .3s;
}
.sticker span { font: 800 2.2rem/1 var(--display); letter-spacing: -0.04em; }
.sticker small { font-size: .78rem; font-weight: 700; line-height: 1.15; }
@keyframes spin-in { from { transform: rotate(-80deg) scale(.4); opacity: 0; } }

.ticker { margin-top: clamp(48px, 7vw, 90px); background: var(--ink); color: var(--white); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font: 700 1.15rem var(--display); padding: 0 1.6rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.6rem; }
.ticker span::after { content: "✳"; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-tight { padding-top: 20px; }
.section-dark { background: var(--ink); color: var(--white); }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-note { max-width: 30em; color: #b9bcc6; margin: 0; }

.page-hero { padding: clamp(50px, 7vw, 90px) 0 40px; }
.page-hero h1 { max-width: 14em; }

/* ---------- Réalisations ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card.is-hidden { display: none; }
.work-shot { display: block; position: relative; text-decoration: none; overflow: hidden; background: var(--paper-2); }
.work-shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.work-card:hover .work-shot img { transform: scale(1.04); }
.work-visit {
  position: absolute; right: 14px; bottom: 14px; padding: .55em 1em; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700;
  opacity: 0; transform: translateY(8px); transition: .25s ease;
}
.work-card:hover .work-visit, .work-shot:focus-visible .work-visit { opacity: 1; transform: none; }
.shot-placeholder { aspect-ratio: 16/10; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, var(--paper) 12px 24px); }
.shot-placeholder span { font: 800 3rem var(--display); color: var(--muted); }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { margin: .5em 0 .35em; }
.work-body p { color: var(--muted); font-size: .96rem; margin-bottom: 1em; }
.work-url { margin-top: auto; font-size: .9rem; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.work-url::after { content: " ↗"; }
.work-url:hover { text-decoration: underline; }
.tag {
  align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35em .8em; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  font: 500 .95rem var(--body); cursor: pointer; padding: .6em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: .18s;
}
.chip span { font-size: .8em; color: var(--muted); margin-left: .25em; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip.is-active span { color: var(--lime); }

.empty {
  text-align: center; padding: 60px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--white);
}
.empty p { color: var(--muted); font-size: 1.1rem; }
.empty b { color: var(--ink); }

/* ---------- Ce qui est inclus ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #2c303b; border: 1px solid #2c303b; border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--ink); padding: 30px 26px; transition: background .25s; }
.feature:hover { background: #1b1e26; }
.feature svg { width: 34px; height: 34px; color: var(--lime); margin-bottom: 18px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: #a9adb8; font-size: .95rem; margin: 0; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-top: 3px solid var(--ink); }
.steps li:hover .step-n { color: var(--accent); }
.step-n { display: block; font: 800 3.2rem/1 var(--display); color: var(--line); margin-bottom: 18px; transition: color .25s; letter-spacing: -0.04em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Tarifs ---------- */
.price-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.price-card, .plan {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.price-name { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--muted); margin-bottom: .4em; }
.price-amount { font: 800 3.4rem/1 var(--display); letter-spacing: -0.04em; margin-bottom: .5em; }
.price-amount small { display: block; font: 500 .95rem var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: .4em; }
.price-amount span { font: 500 1.1rem var(--body); letter-spacing: 0; color: var(--muted); }
.price-card ul, .plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: .75em; }
.price-card li, .plan li { padding-left: 1.9em; position: relative; }
.price-card li::before, .plan li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25em; height: 1.25em; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23e2431f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.plans { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.plan-main { position: relative; border: 2px solid var(--ink); }
.plan-badge { position: absolute; top: -14px; left: 32px; background: var(--lime); padding: .35em .9em; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.plan-desc { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 700 1.12rem var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Contact (présent sur toutes les pages) ---------- */
.contact { background: var(--ink); color: var(--white); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -200px; top: -260px;
  background: radial-gradient(circle, rgba(255,90,54,.35), transparent 65%); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); position: relative; }
.lead-light { color: #b9bcc6; font-size: 1.1rem; }
.contact-points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: .8em; }
.contact-points span { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .8em; font-weight: 800; margin-right: .5em; }
.contact-direct { display: flex; flex-direction: column; gap: .4em; }
.contact-direct a { font: 700 1.2rem var(--display); text-decoration: none; color: var(--white); border-bottom: 2px solid var(--accent); align-self: flex-start; }

.contact-form { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .85em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255,90,54,.18); }
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-img { border-radius: 12px; border: 1.5px solid var(--line); height: 56px; width: auto; user-select: none; -webkit-user-drag: none; }
.captcha-refresh {
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: .2s;
}
.captcha-refresh:hover { border-color: var(--ink); }
.captcha-refresh.spin svg { animation: spin .5s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
.captcha-row input { flex: 1; min-width: 140px; font-family: ui-monospace, Menlo, monospace; font-size: 1.25rem; letter-spacing: .35em; text-transform: uppercase; font-weight: 700; }
.consent { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); margin: 4px 0 22px; cursor: pointer; align-items: flex-start; }
.consent input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: #e6f6dc; color: #245c12; border: 1px solid #b9e3a1; }
.alert-err { background: #ffe9e3; color: #9a2a10; border: 1px solid #ffc2b3; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0c0d11; color: #a9adb8; padding: 56px 0 28px; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid #23262f; }
.footer-inner > div { max-width: 26em; }
.brand-footer .brand-text { color: var(--white); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; }
.footer-inner nav a, .footer-bottom a { text-decoration: none; }
.footer-inner nav a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: .86rem; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 12px;
    background: var(--ink); border: 0; cursor: pointer; z-index: 60;
  }
  .nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 12px 24px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(20,22,28,.25);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; padding: 1em; font-size: 1rem; }

  .hero-grid, .price-band, .contact-grid, .faq-wrap, .plans { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / .78; max-width: 560px; width: 100%; margin: 0 auto; }
  .fb-2 { top: 44%; } .fb-3 { top: 58%; } .mock-phone { top: 36%; }
  .sticker { width: 104px; height: 104px; right: 0; bottom: 0; }
  .sticker span { font-size: 1.8rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .work-grid, .features, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-price .amount { font-size: 2.6rem; }
  .section-head { margin-bottom: 32px; }
  .price-card, .plan { padding: 26px; }
  .price-amount { font-size: 2.8rem; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .captcha-img { height: 52px; }
}

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