/* ==========================================================================
   10nastie Chatin — feuille de style du site vitrine
   ========================================================================== */

/* ---- Polices (latin + latin-ext) ---- */
@font-face {
  font-family: 'Anybody'; font-style: normal; font-weight: 400 900; font-stretch: 50% 150%; font-display: swap;
  src: url('../fonts/anybody-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Anybody'; font-style: normal; font-weight: 400 900; font-stretch: 50% 150%; font-display: swap;
  src: url('../fonts/anybody-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/public-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/public-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Jetons ---- */
:root {
  --bg: #EEF1EC;
  --surface: #FFFFFF;
  --surface-soft: #F4F8F5;
  --ink: #14231C;
  --muted: #3E4F47;
  --subtle: #56655D;
  --green: #0E5A43;
  --green-dark: #093D2D;
  --green-tint: #DCEBE2;
  --green-ink: #0B4A37;
  --accent: #F0A320;
  --accent-tint: #FCE7BF;
  --accent-ink: #6B4200;
  --line: #DCE3DD;
  --line-soft: #E1E7E2;
  --track: #E3EAE5;
  --read: #34B7F1;
  --header-h: 84px;
  --display: 'Anybody', 'Public Sans', sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: 'Public Sans', 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; }
img, svg { display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }

.display { font-family: var(--display); font-variation-settings: 'wdth' 112; font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---- Boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 17px; border-radius: 12px; padding: 16px 28px; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; box-shadow: 0 10px 24px -12px rgba(14, 90, 67, .7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); padding: 14px 26px; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

/* ==========================================================================
   En-tête collant
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(238, 241, 236, 0); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(238, 241, 236, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(20, 35, 28, .45); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: height .3s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { width: 36px; height: 36px; transition: transform .3s var(--ease-out); }
.site-header.is-scrolled .brand__logo { transform: scale(.9); }
.brand__name { font-family: var(--display); font-variation-settings: 'wdth' 115; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.site-nav__link { position: relative; text-decoration: none; color: var(--ink); padding: 10px 14px; border-radius: 8px; transition: color .2s, background-color .2s; }
.site-nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.site-nav__link:hover { color: var(--green); }
.site-nav__link:hover::after, .site-nav__link.is-active::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link.is-active, .site-nav__link[aria-current="page"] { color: var(--green); }
.site-nav__cta { margin-left: 12px; text-decoration: none; background: var(--green); color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 600; transition: background-color .2s, transform .2s var(--ease-out); }
.site-nav__cta:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.menu-open .nav-toggle__bars { background: transparent; }
.menu-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: 48px; padding-bottom: 104px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: 64px; line-height: 1.02; letter-spacing: -0.015em; }
.hero__text { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { flex-shrink: 0; }

/* ---- Démo boîte de réception animée ---- */
.hero__visual { position: relative; }
.hero__visual::before { content: ''; position: absolute; inset: 8% -6% -6% 10%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 60% 40%, rgba(14, 90, 67, .18), transparent 70%); filter: blur(10px); }

.inbox { background: var(--surface); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(14, 90, 67, .45), 0 1px 0 rgba(20, 35, 28, .04); overflow: hidden; }
.inbox__head { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
.inbox__title { display: block; font-weight: 700; font-size: 17px; }
.inbox__sub { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--subtle); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: live-ping 2s ease-out infinite; }
@keyframes live-ping { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }

.team { display: flex; }
.team__member { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; transition: transform .3s var(--ease-out), box-shadow .3s; }
.team__member + .team__member { margin-left: -8px; }
.team__member.is-busy { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--green); z-index: 1; }

.inbox__list { list-style: none; padding: 0; margin: 0; }
.convo { overflow: hidden; border-bottom: 1px solid var(--line-soft); transition: background-color .5s; }
.convo:last-child { border-bottom: 0; }
.convo.is-active { background: var(--surface-soft); }
.convo__inner { position: relative; padding: 16px 24px; display: flex; gap: 14px; align-items: flex-start; }
.convo.is-active .convo__inner::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); }
.avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--av, #D6E4DC); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.convo__body { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.convo__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.convo__name { font-weight: 700; font-size: 15px; }
.convo__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--subtle); }
.unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #25D366; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; animation: pop .4s var(--ease-out); }
.convo__msg { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo__msg > span { overflow: hidden; text-overflow: ellipsis; }
.convo__msg.is-swapping { animation: msg-swap .45s var(--ease-out); }
.ticks { flex-shrink: 0; width: 18px; height: 12px; color: #8FA197; transition: color .4s; }
.ticks.is-read { color: var(--read); }
.ticks .tick-2 { opacity: 0; transition: opacity .25s; }
.ticks.is-delivered .tick-2, .ticks.is-read .tick-2 { opacity: 1; }

.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; transition: background-color .35s, color .35s; }
.tag--agent { background: var(--green-tint); color: var(--green-ink); }
.tag--wait { background: var(--accent-tint); color: var(--accent-ink); }
.tag--done { background: #E8ECEA; color: var(--muted); }
.tag--new { background: var(--accent); color: #2E1C00; }
.tag.is-swapping { animation: pop .4s var(--ease-out); }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .35; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes pop { 0% { transform: scale(.8); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes msg-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.composer { padding: 16px 24px 20px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; }
.composer__label { font-size: 13px; font-weight: 600; color: var(--muted); transition: opacity .25s; }
.composer__row { display: flex; gap: 10px; }
.composer__input { flex-grow: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; font-size: 14px; padding: 10px 14px; border: 1px solid #C9D3CC; border-radius: 10px; color: var(--ink); background: #fff; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.composer.is-typing .composer__input { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 90, 67, .12); }
.composer__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer__text:empty::before { content: 'Écrire une réponse…'; color: #8FA197; }
.caret { flex-shrink: 0; width: 2px; height: 18px; margin-left: 1px; background: var(--green); opacity: 0; }
.composer.is-typing .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer__send { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: var(--green); color: #fff; border-radius: 10px; padding: 0 18px; min-height: 44px; transition: transform .15s, background-color .2s; }
.composer__send.is-pressed { transform: scale(.93); background: var(--green-dark); }

/* Notification flottante */
.toast { position: absolute; top: -22px; right: -28px; z-index: 2; width: 270px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(20, 35, 28, .45); opacity: 0; transform: translateY(-10px) scale(.96); pointer-events: none; transition: opacity .35s, transform .45s var(--ease-out); }
.toast.is-visible { opacity: 1; transform: none; }
.toast__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: #25D366; display: flex; align-items: center; justify-content: center; }
.toast__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.toast__app { font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--subtle); }
.toast__title { font-weight: 700; }
.toast__text { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Badge de délai de réponse */
.speed { position: absolute; left: -32px; bottom: 96px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 14px; font-size: 13px; box-shadow: 0 20px 40px -18px rgba(20, 35, 28, .7); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); }
.speed.is-visible { opacity: 1; transform: none; }
.speed strong { font-family: var(--display); font-variation-settings: 'wdth' 120; font-size: 18px; color: var(--accent); }

/* Entrée du hero */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > *, .js .hero__visual { opacity: 0; transform: translateY(18px); }
  .js.is-ready .hero__copy > *, .js.is-ready .hero__visual { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
  .js.is-ready .hero__copy > :nth-child(2) { transition-delay: .08s; }
  .js.is-ready .hero__copy > :nth-child(3) { transition-delay: .16s; }
  .js.is-ready .hero__copy > :nth-child(4) { transition-delay: .24s; }
  .js.is-ready .hero__visual { transition-delay: .2s; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.pillars { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars__grid { padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar { display: flex; flex-direction: column; gap: 8px; padding: 0 40px; border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar h2 { font-size: 19px; font-weight: 700; }
.pillar p { font-size: 16px; line-height: 1.55; color: var(--muted); }

.features { padding-top: 112px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 96px; }
.features > h2 { font-size: 48px; max-width: 720px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature__copy { display: flex; flex-direction: column; gap: 16px; }
.feature__copy h3 { font-size: 30px; font-weight: 700; line-height: 1.2; }
.feature__copy p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 480px; }
.feature__copy a { font-size: 17px; font-weight: 600; }
.card { background: var(--surface); border-radius: 20px; padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }

.bar-row { display: flex; align-items: center; gap: 16px; }
.bar-row__name { width: 84px; font-weight: 600; }
.bar-row__value { width: 32px; text-align: right; font-weight: 600; }
.track { flex-grow: 1; height: 14px; background: var(--track); border-radius: 7px; overflow: hidden; }
.track > span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.track--thin { height: 12px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.days > div { display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.days > div > span:first-child { width: 100%; height: 40px; border-radius: 8px; }

.bubble { max-width: 82%; border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.bubble--out { align-self: flex-end; background: var(--green-tint); border-radius: 16px 16px 4px 16px; }
.bubble--in { align-self: flex-start; max-width: 70%; background: var(--bg); border-radius: 16px 16px 16px 4px; }

.steps { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.steps > h2 { font-size: 48px; }
.steps ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--ink); padding-top: 24px; }
.steps__num { font-family: var(--display); font-variation-settings: 'wdth' 130; font-weight: 800; font-size: 40px; color: var(--green); line-height: 1; }
.steps__title { font-size: 21px; font-weight: 700; }
.steps__text { font-size: 17px; line-height: 1.55; color: var(--muted); }
.steps > p { font-size: 17px; color: var(--muted); }

/* Tarifs */
.pricing { background: var(--green); color: #fff; }
.pricing__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.pricing__intro { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.pricing__intro h2 { font-size: 52px; line-height: 1.04; }
.pricing__intro p { font-size: 19px; line-height: 1.55; color: #E2EEE8; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.plan { background: #fff; color: var(--ink); border-radius: 18px; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.plan--accent { background: var(--accent); }
.plan--dark { background: var(--ink); color: #fff; }
.plan__head { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.plan__head h3 { font-size: 22px; font-weight: 700; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__amount { font-family: var(--display); font-variation-settings: 'wdth' 120; font-weight: 800; font-size: 46px; letter-spacing: -0.02em; line-height: 1.1; }
.plan__unit { font-size: 16px; font-weight: 600; }
.plan__for { font-size: 15px; color: var(--muted); }
.plan--accent .plan__for { color: #2E2A1A; }
.plan--dark .plan__for { color: #C9D6CF; }
.plan__cut { position: relative; margin: 0 20px; border-top: 2px dashed #C9D3CC; }
.plan--accent .plan__cut { border-top-color: rgba(20, 35, 28, .35); }
.plan--dark .plan__cut { border-top-color: rgba(255, 255, 255, .3); }
.plan__cut::before, .plan__cut::after { content: ''; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); }
.plan__cut::before { left: -34px; }
.plan__cut::after { right: -34px; }
.plan ul { list-style: none; margin: 0; padding: 28px 32px 8px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; flex-grow: 1; }
.plan__foot { padding: 20px 32px 32px; }
.plan__foot a { display: block; text-align: center; text-decoration: none; padding: 14px 20px; border-radius: 10px; font-weight: 600; background: var(--green); color: #fff; transition: filter .2s; }
.plan--accent .plan__foot a { background: var(--ink); }
.plan--dark .plan__foot a { background: #fff; color: var(--ink); }
.plan__foot a:hover { filter: brightness(1.15); }
.pricing__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 8px; font-size: 16px; line-height: 1.55; color: #E2EEE8; }
.pricing__notes strong { color: #fff; }

/* Documents */
.papers { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.papers__copy { display: flex; flex-direction: column; gap: 20px; }
.papers__copy h2 { font-size: 44px; line-height: 1.06; }
.table-card { background: var(--surface); border-radius: 16px; overflow: hidden; }
.papers table { width: 100%; border-collapse: collapse; font-size: 16px; }
.papers__caption { font-size: 15px; font-weight: 600; color: var(--subtle); margin-bottom: 12px; }
.papers th, .papers td { text-align: left; padding: 16px 20px; }
.papers thead tr { background: var(--track); }
.papers thead th { font-weight: 700; }
.papers tbody tr { border-top: 1px solid var(--line-soft); }
.papers tbody th { font-weight: 600; }

/* API */
.api { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.api__inner { padding-top: 112px; padding-bottom: 112px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.api__copy { display: flex; flex-direction: column; gap: 24px; }
.api__copy h2 { font-size: 44px; line-height: 1.06; }
.api__links { display: flex; gap: 12px; flex-wrap: wrap; }
.api__links .btn { font-size: 16px; padding: 12px 20px; }
.api__links .btn--ghost { padding: 10px 18px; }
.code { margin: 0; background: var(--ink); color: #E2EEE8; border-radius: 16px; padding: 28px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; line-height: 1.7; overflow-x: auto; }
.code .c-verb { color: var(--accent); }
.code .c-key { color: #9FD6BE; }
.code .c-str { color: #F6DDB0; }
.api__note { font-size: 16px; color: var(--muted); }
.offers { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.offer { padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.offer + .offer { border-top: 1px solid var(--line); }
.offer:nth-child(2) { background: var(--surface-soft); }
.offer__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer h3 { font-size: 20px; font-weight: 700; }
.offer__price { font-weight: 700; font-size: 18px; }
.offer p { font-size: 16px; color: var(--muted); }
.offers__warn { padding: 24px 28px; border-top: 1px solid var(--line); background: #FDF3DD; display: flex; gap: 14px; align-items: flex-start; }
.offers__warn svg { flex-shrink: 0; margin-top: 2px; }
.offers__warn p { font-size: 15px; line-height: 1.55; color: #3D2A00; }

/* FAQ */
.faq { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.faq > h2 { font-size: 48px; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; row-gap: 40px; }
.faq__item { display: flex; flex-direction: column; gap: 10px; }
.faq__item h3 { font-size: 20px; font-weight: 700; }
.faq__item p { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Appel final */
.cta { background: var(--accent); }
.cta__inner { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.cta__copy { display: flex; flex-direction: column; gap: 16px; }
.cta__copy h2 { font-size: 50px; line-height: 1.04; }
.cta__copy p { font-size: 19px; line-height: 1.55; color: #2E2A1A; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; }
.cta__actions .btn { font-size: 18px; padding: 18px 28px; }
.cta__actions .btn--ghost { padding: 16px 26px; }

/* Pied de page */
.site-footer { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; font-size: 15px; color: var(--muted); }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--subtle); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 120px; }
.legal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.legal-tabs a { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.legal-tabs a:hover { border-color: var(--green); color: var(--green); }
.legal-tabs a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.legal h1 { font-size: 52px; margin-bottom: 12px; }
.legal__updated { font-size: 15px; color: var(--subtle); margin-bottom: 32px; }
.legal__intro { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.legal h2 { font-size: 24px; font-weight: 700; margin: 48px 0 14px; line-height: 1.25; }
.legal h3 { font-size: 19px; font-weight: 700; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.legal strong { color: var(--ink); }
.legal .table-card { margin: 16px 0; border: 1px solid var(--line); overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 18px; line-height: 1.5; }
.legal thead tr { background: var(--track); }
.legal tbody tr { border-top: 1px solid var(--line-soft); }
.legal tbody th { font-weight: 600; white-space: nowrap; }
.legal td { color: var(--muted); }
.legal .callout { margin-top: 24px; padding: 20px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .hero__title { font-size: 56px; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .toast { right: -12px; }
  .speed { left: -12px; }
  .site-nav__link { padding: 10px 10px; }
  .site-nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .site-header.is-scrolled .site-header__inner { height: 64px; }

  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 24px 24px; background: rgba(238, 241, 236, .98); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(20, 35, 28, .5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .menu-open.site-header { background: rgba(238, 241, 236, .98); border-bottom-color: var(--line); }
  .site-nav__link { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .site-nav__link::after { display: none; }
  .site-nav__cta { margin: 12px 0 0; text-align: center; padding: 14px 22px; }

  .features, .steps, .papers, .faq { padding-top: 80px; padding-bottom: 80px; }
  .pricing__inner, .api__inner { padding-top: 80px; padding-bottom: 80px; }
  .features { gap: 64px; }
  .feature, .papers, .api__inner, .cta__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature--reverse .feature__copy { order: -1; }
  .pillars__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pillar, .pillar:first-child, .pillar:last-child { padding: 0; border-left: 0; }
  .pillar + .pillar { padding-top: 24px; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .pricing__notes, .steps ol, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero { padding-top: 24px; padding-bottom: 72px; gap: 56px; }
  .hero__title { font-size: 40px; }
  .hero__text { font-size: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .features > h2, .steps > h2, .faq > h2 { font-size: 34px; }
  .pricing__intro h2, .cta__copy h2 { font-size: 36px; }
  .papers__copy h2, .api__copy h2 { font-size: 32px; }
  .feature__copy h3 { font-size: 24px; }
  .card { padding: 22px; }
  .inbox__head, .convo__inner, .composer { padding-left: 16px; padding-right: 16px; }
  .toast { width: 240px; right: 8px; top: -30px; }
  .speed { left: 8px; bottom: 90px; }
  .papers th, .papers td { padding: 12px 12px; font-size: 14px; }
  .legal h1 { font-size: 36px; }
  .legal tbody th { white-space: normal; }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
