/* ============ Tokens ============ */
:root {
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --mist: #E9F3ED;
  --mist-deep: #D3E9DD;
  --sky: #E3EEF7;
  --honey-tint: #FBF3D9;
  --sage: #8FC1AB;
  --sage-btn: #A7D4C0;
  --sage-btn-hover: #93C8B0;
  --honey: #EBCB7A;
  --ink: #34443F;
  --ink-soft: #5E6F69;
  --ink-link: #2A6B57;
  --on-sage: #1F4A3C;
  --line: #DFE6DE;

  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' viewBox='0 0 56 16'%3E%3Cpath d='M8 1 L15 8 L8 15 L1 8 Z' fill='none' stroke='%238FC1AB' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='8' r='1.5' fill='%23EBCB7A'/%3E%3Cpath d='M24 12 L28 4 L32 12 M34 12 L38 4 L42 12' fill='none' stroke='%23EBCB7A' stroke-width='1.2'/%3E%3Ccircle cx='50' cy='8' r='1.6' fill='%238FC1AB'/%3E%3C/svg%3E");

  --font-head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--ink-link); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink-link); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 92px 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-sky { background: var(--sky); }
.bg-honey { background: var(--honey-tint); }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.band { height: 16px; background-image: var(--band); background-repeat: repeat-x; background-position: 0 center; animation: drift 9s linear infinite; }
@keyframes drift { to { background-position: 56px center; } }

.ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 6px; background: var(--mist); color: var(--on-sage); flex: none; }
.ico svg { display: block; }

/* ============ Buttons ============ */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; text-align: center; padding: 13px 22px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.btn-primary { background: var(--sage-btn); color: var(--on-sage); }
.btn-primary:hover { background: var(--sage-btn-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--on-sage); border-color: var(--sage); }
.btn-ghost:hover { background: var(--mist); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-text { color: var(--ink-link); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sage); padding: 13px 4px; display: inline-block; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(52,68,63,.25); }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--sage); transform: scaleX(0); transform-origin: left; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
/* Emplacement du logo : placez votre <img> ou <svg> dans .logo-slot (36 x 36 px) ; le nom « Replyer » s'affiche à côté */
.logo-slot { display: block; width: 36px; height: 36px; flex: none; }
.logo-slot img, .logo-slot svg { display: block; height: 100%; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--sage); }
.bar-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.lang button { font: inherit; font-size: .82rem; font-weight: 600; padding: 6px 10px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--mist); color: var(--on-sage); }
.menu-btn { display: none; font: inherit; font-size: .9rem; font-weight: 500; background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 6px 12px; color: var(--ink); cursor: pointer; }

/* ============ Reveal (JS) ============ */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 80ms); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ============ Hero ============ */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 22px; max-width: 15ch; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.demo { position: relative; }
.motif { position: absolute; top: -52px; right: -56px; width: 230px; height: 230px; z-index: 0; pointer-events: none; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { position: absolute; z-index: 2; background: var(--white); border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; font-size: .85rem; font-weight: 500; animation: bob 5.5s ease-in-out infinite; }
.f1 { left: -40px; top: 22%; }
.f2 { right: -26px; bottom: 24%; background: var(--honey-tint); animation-delay: -2s; }
.f3 { left: -22px; bottom: 5%; background: var(--sky); animation-delay: -3.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.chat { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.chat-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--white); scrollbar-width: none; }
.chat-tabs::-webkit-scrollbar { display: none; }
.chat-tab { font: inherit; font-size: .85rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); border-radius: 4px; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease; }
.chat-tab[aria-selected="true"] { background: var(--mist); color: var(--on-sage); border-color: var(--sage); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--mist); border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mist-deep); overflow: hidden; flex: none; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chat-name { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.chat-status { font-size: .8rem; color: var(--ink-soft); }
.chat-body { padding: 18px; background: #F5F8F4; display: flex; flex-direction: column; gap: 10px; height: 330px; overflow: hidden; justify-content: flex-start; }
.msg { max-width: 84%; padding: 10px 14px; font-size: .95rem; line-height: 1.5; border-radius: 6px; }
.msg-in { align-self: flex-start; background: var(--white); border: 1px solid var(--line); }
.msg-out { align-self: flex-end; background: var(--mist-deep); }
.chat-body .msg, .chat-body .typing { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing { align-self: flex-end; display: flex; gap: 5px; background: var(--mist-deep); padding: 13px 14px; border-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); opacity: .4; animation: blink 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ============ Marquee ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.marquee-item::after { content: ""; width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid var(--sage); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Section heads ============ */
.head { margin-bottom: 48px; max-width: 26ch; }
.head-wide { max-width: 34ch; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 44px; }
.head-row .head { margin-bottom: 0; }

/* ============ Problem ============ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.problem-item { padding: 4px 32px; border-left: 1px solid var(--line); }
.problem-item:first-child { padding-left: 0; border-left: 0; }
.problem-item .ico { margin-bottom: 18px; }
.problem-item h3 { margin-bottom: 10px; }
.problem-item p { color: var(--ink-soft); }

/* ============ Capabilities ============ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--sage); border-radius: 6px; padding: 24px 22px 26px; transition: transform .25s ease, border-color .25s ease; }
.cap:nth-child(2) { border-top-color: var(--honey); }
.cap:nth-child(3) { border-top-color: #A9C9E4; }
.cap:hover { transform: translateY(-4px); }
.cap .ico { margin-bottom: 18px; }
.cap:nth-child(2) .ico { background: var(--honey-tint); }
.cap:nth-child(3) .ico { background: var(--sky); }
.cap h3 { margin-bottom: 8px; }
.cap p { color: var(--ink-soft); font-size: .97rem; }

/* ============ Simulator ============ */
.sim-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.sim-grid .lead { margin-top: 16px; }
.sim { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px; }
.sim-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sim-row label { font-weight: 600; font-size: .95rem; }
.sim-row output { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--ink-link); }
.sim input[type=range] { width: 100%; margin: 0 0 26px; accent-color: #6FAE97; height: 24px; }
.sim-result { border-top: 1px solid var(--line); padding-top: 24px; }
.sim-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 8vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.sim-big small { font-size: .45em; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-left: 6px; }
.sim-result p { color: var(--ink-soft); margin-top: 8px; }
.sim-result .btn { margin-top: 22px; }

/* ============ Steps teaser ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
.step-n { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--sage); display: block; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--sage); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); }

/* ============ CTA band ============ */
.cta { text-align: left; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: 84px 0; }
.cta h2 { max-width: 22ch; }
.cta p { color: var(--ink-soft); margin-top: 12px; max-width: 46ch; }

/* ============ Inner pages ============ */
.page-hero { position: relative; padding: 76px 0 64px; overflow: hidden; }
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; font-size: clamp(2.1rem, 5vw, 3.3rem); }
.page-hero .motif { top: -40px; right: -30px; width: 260px; height: 260px; opacity: .8; }

/* Features */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.feat:first-child { border-top: 0; padding-top: 24px; }
.feat:nth-child(even) .feat-text { order: 2; }
.feat-text .ico { margin-bottom: 18px; }
.feat-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.feat-text p { color: var(--ink-soft); max-width: 46ch; }
.feat-text ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feat-text li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.feat-text li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--sage); }
.mini { border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; justify-content: center; }
.mini.t-mist { background: var(--mist); }
.mini.t-sky { background: var(--sky); }
.mini.t-honey { background: var(--honey-tint); }
html.js .mini .msg { opacity: 0; }
html.js .mini.in .msg { animation: pop .4s ease forwards; animation-delay: calc(var(--k, 0) * .9s + .3s); }
.mini .msg-out { background: var(--white); border: 1px solid var(--line); }
.mini.t-mist .msg-out { background: var(--mist-deep); border: 0; }
.checks { display: grid; gap: 12px; }
.checks div { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-weight: 500; }
.checks svg { color: var(--ink-link); flex: none; }

/* Timeline */
.timeline { position: relative; padding-left: 64px; max-width: 760px; }
.tl-track { position: absolute; left: 19px; top: 6px; bottom: 60px; width: 2px; background: var(--line); }
.tl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--sage); }
.tl-step { position: relative; padding-bottom: 56px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -64px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.tl-step.active .tl-dot { background: var(--sage-btn); border-color: var(--sage); color: var(--on-sage); }
.tl-step h3 { font-size: 1.4rem; margin: 4px 0 10px; }
.tl-step p { color: var(--ink-soft); max-width: 52ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { border: 1px solid var(--line); border-radius: 6px; padding: 30px; background: var(--white); }
.split-card h3 { margin-bottom: 18px; }
.split-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.split-card li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.split-card li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--sage); }
.split-card.t-honey { background: var(--honey-tint); }
.split-card.t-sky { background: var(--sky); }

/* Use cases */
.filter { position: relative; max-width: 460px; margin-bottom: 36px; }
.filter input { font: inherit; width: 100%; padding: 14px 16px 14px 46px; border: 1px solid #CBD6CE; background: var(--white); border-radius: 4px; color: var(--ink); }
.filter input:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.filter .ico { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; background: transparent; color: var(--ink-soft); }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px; transition: transform .25s ease, border-color .25s ease; }
.sector:hover { transform: translateY(-4px); border-color: var(--sage); }
.sector .ico { margin-bottom: 16px; }
.sector:nth-child(3n+2) .ico { background: var(--honey-tint); }
.sector:nth-child(3n+3) .ico { background: var(--sky); }
.sector h3 { margin-bottom: 12px; font-size: 1.12rem; }
.sector ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sector li { font-size: .93rem; color: var(--ink-soft); padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.sector.more { background: var(--mist); border-style: dashed; border-color: var(--sage); display: flex; flex-direction: column; justify-content: center; }
.sector.more p { color: var(--ink-soft); margin-bottom: 18px; }
.no-result { padding: 28px; border: 1px dashed var(--sage); border-radius: 6px; background: var(--mist); color: var(--ink-soft); display: none; }
.no-result.show { display: block; }

/* Pricing */
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.factor { border-top: 3px solid var(--sage); padding-top: 20px; }
.factor:nth-child(2) { border-top-color: var(--honey); }
.factor:nth-child(3) { border-top-color: #A9C9E4; }
.factor h3 { margin-bottom: 8px; }
.factor p { color: var(--ink-soft); }
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.included li { display: flex; gap: 12px; align-items: flex-start; }
.included svg { color: var(--ink-link); flex: none; margin-top: 3px; }
.vol-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.vol { position: relative; }
.vol input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vol-card { display: block; height: 100%; background: var(--white); border: 2px solid var(--line); border-radius: 6px; padding: 22px; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.vol-card strong { display: block; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.vol-card span { color: var(--ink-soft); font-size: .93rem; }
.vol input:checked + .vol-card { border-color: var(--sage); background: var(--mist); transform: translateY(-3px); }
.vol input:focus-visible + .vol-card { outline: 2px solid var(--ink-link); outline-offset: 3px; }
.vol-panel { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.vol-panel p { max-width: 52ch; }
.vol-panel p.fade { animation: pop .4s ease both; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); background: none; border: 0; padding: 22px 44px 22px 0; cursor: pointer; position: relative; }
.faq-q::before, .faq-q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--ink-link); transition: transform .3s ease; }
.faq-q::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"]::after { transform: rotate(0); }
.faq-a { overflow: hidden; height: 0; transition: height .35s ease; }
.faq-a p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }
html:not(.js) .faq-a { height: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.next { list-style: none; margin: 32px 0 28px; padding: 0; display: grid; gap: 20px; counter-reset: n; }
.next li { position: relative; padding-left: 52px; counter-increment: n; color: var(--ink-soft); }
.next li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--mist-deep); color: var(--on-sage); font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #CBD6CE; border-radius: 4px; padding: 12px; width: 100%; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
.form-ok, .form-err { display: none; padding: 18px; border-radius: 4px; font-weight: 500; }
.form-ok { background: var(--mist); border: 1px solid var(--sage); color: var(--on-sage); align-items: center; gap: 14px; }
.form-ok.show { display: flex; }
.form-err { background: #FBEDE6; border: 1px solid #E9B9A3; color: #7A3A22; }
.form-err.show { display: block; }
.form.sent .field, .form.sent > button { display: none; }
.check-draw path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .1s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ============ Footer ============ */
.foot { background: var(--white); border-top: 1px solid var(--line); }
.foot-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 56px; }
.foot-brand p { color: var(--ink-soft); margin: 16px 0 22px; max-width: 34ch; }
.foot h4 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin: 0 0 16px; color: var(--ink); letter-spacing: -0.01em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.foot ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0 26px; font-size: .88rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* ============ Responsive ============ */
@media (max-width: 1060px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .bar-cta { display: none; }
}
@media (max-width: 900px) {
  .sec { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .page-hero { padding: 48px 0 40px; }
  .hero-grid, .sim-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .motif { width: 150px; height: 150px; top: -34px; right: -20px; }
  .page-hero .motif { width: 160px; height: 160px; top: -30px; right: -40px; }
  .float { display: none; }
  .problem-grid, .steps, .factors { grid-template-columns: 1fr; gap: 28px; }
  .problem-item { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  .problem-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feat:nth-child(even) .feat-text { order: 0; }
  .split, .included, .vol-cards { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { padding: 76px 0; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 0 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .chat-body { height: 310px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .cap-grid, .sector-grid { grid-template-columns: 1fr; }
  .sim, .form { padding: 22px; }
  .hero-actions .btn-primary, .cta .btn { width: 100%; }
  .foot-main { grid-template-columns: 1fr; }
  .timeline { padding-left: 54px; }
  .tl-dot { left: -54px; width: 36px; height: 36px; }
  .tl-track { left: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band, .motif, .float, .marquee-track { animation: none !important; }
  * { transition: none !important; }
}
