/* Awaytap — site public v3. Sobre, éditorial, textuel. Noir sur blanc cassé.
   Polices hébergées sur le site : Source Serif 4 (titres et textes longs), Geist (interface). */
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF; }

:root {
  --bg: #f5f5ee; --paper: #fff; --ink: #000; --ink-2: #2b2b2b; --mute: #6b6b66; --faint: #a8a8a0; --line: #dcdcd2; --line-2: #c8c8bc;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: Avenir, "Avenir Next", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background-color: var(--bg); background-image: radial-gradient(circle, rgba(0,0,0,.055) 1px, transparent 1px); background-size: 26px 26px; color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
::selection { background: #000; color: var(--bg); }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 640px; margin: 0 auto; }
.serif { font-family: var(--serif); }
em, .it { font-style: italic; }
.mute { color: var(--mute); }

/* ---------- Navigation (centrée autour du logo) ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(245,245,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.nav-l, .nav-r { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-l { justify-content: flex-end; padding-right: 30px; }
.nav-r { justify-content: flex-start; padding-left: 30px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: #000; }
.nav a.on { color: #000; font-weight: 600; }
.nav a.btn, .nav a.btn:hover { color: var(--bg); }
.mark { width: 20px; height: 20px; display: inline-block; flex: none; background: currentColor; color: var(--ink, #141413);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.4' cy='12.9' r='5.4' fill='none' stroke='black' stroke-width='3.4'/%3E%3Crect x='15.6' y='5.8' width='3.4' height='14.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.4' cy='12.9' r='5.4' fill='none' stroke='black' stroke-width='3.4'/%3E%3Crect x='15.6' y='5.8' width='3.4' height='14.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.mark i { display: none; }
.nav-end { position: absolute; right: 32px; display: flex; gap: 14px; align-items: center; }
.nav .wrap { position: relative; }
@media (max-width: 860px) { .nav-l, .nav-r { display: none; } .nav .wrap { grid-template-columns: auto 1fr; } .nav-end { right: 20px; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; font: 500 14px var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid #000; background: #000; color: var(--bg); transition: transform .12s var(--ease-out), background .15s ease; }
.btn:hover { background: #222; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: #000; }
.btn.ghost:hover { background: rgba(0,0,0,.05); }
.btn.lg { height: 44px; padding: 0 22px; font-size: 15px; }
.btn.it { font-style: italic; font-family: var(--serif); font-size: 15px; }
.btn:disabled { opacity: .5; cursor: progress; }
.link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link:hover { border-bottom-color: transparent; }

/* ---------- Héros ---------- */
.hero { padding: 120px 0 70px; text-align: center; background-image: radial-gradient(ellipse 100% 90% at 50% -20%, rgba(220,90,0,.055) 0%, transparent 65%); }
.hero h1 { font: 400 clamp(44px, 6.4vw, 76px)/1.08 var(--serif); letter-spacing: -.015em; }
.hero-cta { margin-top: 40px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Figures avec légende ---------- */
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
figure { margin: 0; }
figure .cap-t { font: italic 16px var(--serif); text-align: center; margin-bottom: 10px; }
figure .frame { border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.06); aspect-ratio: 4 / 3; position: relative; }
figure figcaption { font-size: 13px; color: var(--mute); text-align: center; margin-top: 10px; }
.term { background: #0d0d0d; color: #d6d6d0; font: 13.5px/1.8 ui-monospace, "SF Mono", Menlo, monospace; padding: 26px 26px; height: 100%; }
.term .d { color: #7d7d76; } .term .w { color: #fff; }
.term .box { margin: 12px 0; border: 1px solid #3a3a36; border-radius: 6px; padding: 12px 14px; }
.term .ok { display: inline-block; background: #fff; color: #000; padding: 0 8px; border-radius: 3px; }
.band-photo { height: 100%; display: grid; place-items: center; background: linear-gradient(180deg, #ececE4, #dcdcd2); }
.band-photo > div { width: 118%; transform: rotate(-8deg); }

/* Watch mockup */
.watch-frame { height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, #161614, #0a0a09); }
.watch-outer {
  width: 148px; height: 178px; background: #111; border-radius: 44px / 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px #2c2c2a, 0 0 0 6px #0e0e0e, 0 0 0 7px #2c2c2a, 0 24px 60px rgba(0,0,0,.85);
}
.watch-screen {
  width: 122px; height: 150px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 9px; padding: 14px 10px;
}
.ws-status { display: flex; align-items: center; gap: 7px; }
.ws-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff9500; flex-shrink: 0; animation: wpulse 2.5s ease-in-out infinite; }
@keyframes wpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,149,0,.5); } 50% { box-shadow: 0 0 0 5px rgba(255,149,0,0); } }
.ws-label { font: 700 13px var(--sans); color: #ff9500; white-space: nowrap; }
.ws-cmd { font: 13px ui-monospace, "SF Mono", Menlo, monospace; color: #555; text-align: center; }
.ws-hint { font: 400 11px var(--sans); color: #333; text-align: center; letter-spacing: .02em; }
.ws-row { display: flex; gap: 8px; margin-top: 2px; }
.ws-btn { width: 50px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font: 600 12px var(--sans); }
.ws-no { background: rgba(255,69,58,.18); color: #ff453a; }
.ws-yes { background: rgba(48,209,88,.18); color: #30d158; }
@media (max-width: 760px) { .figs { grid-template-columns: 1fr; } }

/* ---------- Liste « fonctionne avec » ---------- */
.names { position: relative; height: 330px; overflow: hidden; margin: 90px auto 0; text-align: center;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.names ul { list-style: none; transition: transform .6s var(--ease-out); }
.names li { font: 400 32px/66px var(--serif); color: #d0d0c6; transition: color .4s ease; display: flex; align-items: center; justify-content: center; gap: 16px; }
.names li.on { color: #000; }
.names li .tool-logo { width: 26px; height: 26px; opacity: .18; transition: opacity .4s ease; }
.names li.on .tool-logo { opacity: .7; }
.names-cap { text-align: center; margin-top: 8px; }

/* ---------- Texte long ---------- */
.prose { padding: 110px 0 40px; }
.prose p { font: 400 20px/1.6 var(--serif); color: var(--ink); }
.prose p + p { margin-top: 22px; }
.prose .drop::first-letter { float: left; font-size: 74px; line-height: .86; padding: 6px 10px 0 0; font-weight: 500; }

/* ---------- Sections ---------- */
.sec { padding: 90px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { font: 400 clamp(32px, 4vw, 44px)/1.12 var(--serif); letter-spacing: -.01em; text-align: center; }
.sec .lead { text-align: center; color: var(--mute); max-width: 34em; margin: 14px auto 0; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: italic 400 44px/1 var(--serif); margin-bottom: 14px; }
.steps h3 { font: 600 17px var(--sans); }
.steps p { color: var(--ink-2); margin-top: 6px; font-size: 15.5px; }
code { font: 13px ui-monospace, "SF Mono", Menlo, monospace; background: #e9e9e0; padding: 2px 6px; border-radius: 3px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border-top: 1px solid #000; }
.facts div { padding: 20px 16px 0 0; }
.facts b { display: block; font: 400 42px/1.1 var(--serif); }
.facts span { color: var(--mute); font-size: 14px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; row-gap: 24px; } }

/* ---------- Tarifs ---------- */
.toggle { display: flex; justify-content: center; gap: 4px; margin-top: 30px; font-size: 14px; }
.toggle button { background: none; border: 1px solid transparent; border-radius: 999px; padding: 6px 14px; cursor: pointer; font: inherit; color: var(--mute); }
.toggle button.on { border-color: #000; color: #000; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border: 1px solid #000; background: var(--paper); }
.plan { padding: 30px 28px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid #000; }
.plan h3 { font: 600 15px var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.plan .price { font: 400 46px/1.1 var(--serif); margin-top: 16px; }
.plan .price small { font: 400 14px var(--sans); color: var(--mute); margin-left: 4px; }
.plan .sub { color: var(--mute); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plan li::before { content: "— "; color: var(--faint); }
.plan.pick { background: #000; color: var(--bg); }
.plan.pick .sub, .plan.pick .price small { color: #a8a8a0; }
.plan.pick .btn { background: var(--bg); color: #000; border-color: var(--bg); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid #000; } }
.band-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; border: 1px solid #000; background: var(--paper); padding: 34px; }
.band-row .pic { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--bg); overflow: hidden; }
.band-row .pic > div { width: 120%; transform: rotate(-8deg); }
@media (max-width: 860px) { .band-row { grid-template-columns: 1fr; } }
table.cmp { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
.cmp th, .cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { font-weight: 600; border-bottom: 1px solid #000; }
.cmp .g td { font: italic 17px var(--serif); padding-top: 28px; border-bottom-color: #000; }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 46px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 400 19px var(--serif); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--mute); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* ---------- Inscription ---------- */
.join { text-align: center; }
.wl { display: flex; gap: 8px; max-width: 440px; margin: 30px auto 0; }
.wl input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 0 18px; font: 15px var(--sans); }
.wl input:focus { outline: none; border-color: #000; }
.form-msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 520px) { .wl { flex-direction: column; } }

/* ---------- Défilé de logos (bas de page) ---------- */
.ticker { border-top: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .track { display: flex; align-items: center; width: max-content; animation: tick 60s linear infinite; white-space: nowrap; }
.ticker .track span { display: inline-flex; align-items: center; gap: 9px; padding: 0 36px; font: 400 15px/1 var(--sans); letter-spacing: .01em; color: var(--mute); }
.ticker .track span + span { border-left: 1px solid var(--line); }
.ticker .tool-logo { width: 18px; height: 18px; opacity: .45; flex-shrink: 0; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 40px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 30px; }
.foot h4 { font: 600 13px var(--sans); margin-bottom: 10px; }
.foot a { display: block; text-decoration: none; color: var(--ink-2); padding: 3px 0; }
.foot a:hover { text-decoration: underline; }
.foot p { color: var(--mute); max-width: 22em; margin-top: 10px; }
.legal { margin-top: 40px; color: var(--mute); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }

/* Apparition unique au chargement */
.in { animation: in .6s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .in { animation-name: fade; } @keyframes fade { from { opacity: 0; } }
  .ticker .track { animation: none; }
  .names ul { transition: none; }
}
@media (max-width: 560px) { .wrap { padding: 0 20px; } .hero { padding-top: 80px; } .prose p { font-size: 18px; } }

/* ---------- Pages légales (confidentialité, mentions) ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #000; color: var(--bg); padding: 8px 14px; border-radius: 6px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
.doc-head { padding: 90px 0 40px; text-align: center; }
.doc-head h1 { font: 400 clamp(40px, 5.6vw, 64px)/1.08 var(--serif); letter-spacing: -.015em; }
.doc-head .meta { margin-top: 14px; font: italic 16px var(--serif); color: var(--mute); }
.doc-head .meta a { color: inherit; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 64px; justify-content: center; padding-bottom: 100px; }
.toc { position: sticky; top: 84px; align-self: start; font-size: 13.5px; }
.toc p { font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 6px; counter-reset: t; }
.toc a { text-decoration: none; color: var(--mute); display: block; }
.toc a:hover, .toc a.on { color: #000; }
.doc article { font: 400 18px/1.65 var(--serif); }
.doc article h2 { font: 400 28px/1.2 var(--serif); margin: 54px 0 14px; scroll-margin-top: 80px; position: relative; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { font: 600 15px var(--sans); margin: 28px 0 8px; }
.doc article p + p, .doc article p + ul, .doc article ul + p { margin-top: 14px; }
.doc article ul { padding-left: 20px; display: grid; gap: 8px; }
.doc article li::marker { color: var(--faint); }
.doc article code { font-size: 14px; }
.doc .anchor { position: absolute; left: -26px; top: 2px; font: 400 20px var(--sans); color: var(--faint); text-decoration: none; opacity: 0; transition: opacity .15s ease; }
.doc h2:hover .anchor, .doc .anchor:focus { opacity: 1; }
.doc .anchor.copied::after { content: "Lien copié"; position: absolute; left: 30px; top: 4px; font-size: 12px; white-space: nowrap; color: var(--mute); }
.short { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 22px 26px; }
.short ul { padding-left: 18px; }
.todo { background: #fff3c4; border-bottom: 1px dashed #000; padding: 0 3px; font-family: var(--sans); font-size: .85em; }
table.ret { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--sans); margin-top: 14px; }
.ret th, .ret td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ret th { font-weight: 600; border-bottom-color: #000; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 30px; } .toc { position: static; } .doc .anchor { display: none; } }
@media print {
  .nav, .footer, .ticker, .toc, .skip { display: none !important; }
  body { background: #fff; } .doc { display: block; } .doc article { font-size: 12pt; }
  .doc article a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}

/* ---------- Accueil : annonce, avant/après, Apple Watch, nouveautés ---------- */
.announce { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 5px 15px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--paper); color: var(--ink-2); font-size: 13.5px; text-decoration: none; transition: border-color .15s ease; }
.announce:hover { border-color: #000; color: #000; }
.announce b { background: #000; color: var(--bg); border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.hero-meta { margin-top: 18px; font-size: 13.5px; color: var(--mute); }

/* Without / With */
.vs { max-width: 900px; margin: 46px auto 0; border-top: 1px solid #000; }
.vs .r { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 30px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.vs .r.h { padding: 14px 0; font: 600 13px var(--sans); }
.vs .r.h span:nth-child(2) { color: var(--mute); }
.vs .k { font-size: 14px; color: var(--mute); }
.vs .no { font: 400 19px/1.45 var(--serif); color: #9b9b93; }
.vs .yes { font: 400 19px/1.45 var(--serif); color: var(--ink); }
@media (max-width: 760px) { .vs .r { grid-template-columns: 1fr; gap: 6px; } .vs .r.h { display: none; } .vs .no::before { content: "Without: "; font: 13px var(--sans); } .vs .yes::before { content: "With Awaytap: "; font: 600 13px var(--sans); } }

/* Apple Watch */
.watch2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.watch2 h2, .watch2 .lead { text-align: left; margin-left: 0; }
.watch2 .hero-cta { justify-content: flex-start; }
.mini-steps { list-style: none; counter-reset: m; margin: 26px 0 0; display: grid; gap: 14px; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 32px 1fr; font-size: 15.5px; color: var(--ink-2); }
.mini-steps li::before { content: counter(m); font: italic 24px/1 var(--serif); color: var(--ink); }
.watch2 figure .frame { aspect-ratio: 1 / 1; }
@media (max-width: 860px) { .watch2 { grid-template-columns: 1fr; gap: 36px; } }

/* What's new */
.news { list-style: none; max-width: 780px; margin: 42px auto 0; border-top: 1px solid #000; }
.news li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news time { font-size: 13.5px; color: var(--mute); padding-top: 4px; }
.news b { display: block; font: 400 20px/1.3 var(--serif); }
.news span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: 4px; } }

