/* Absyt : feuille de styles commune à toutes les pages.
   Fond blanc, texte presque noir, la couleur vient des captures et des icônes des apps.
   Le HTML des pages produit est écrit par ~/Documents/absyt/web/gabarit_absyt.py. */

:root {
  --bg: #ffffff;
  --soft: #f5f5f6;
  --soft-2: #ededef;
  --line: rgba(23, 23, 23, .08);
  --line-strong: rgba(23, 23, 23, .14);
  --text: #171717;
  --text-2: #525252;
  --text-3: #737373;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
::selection { background: rgba(23, 23, 23, .12); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav__in { height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { font-size: 18px; font-weight: 600; }
.nav__crumb { margin-left: -16px; padding-left: 16px; border-left: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; line-height: 20px; color: var(--text-3); white-space: nowrap; transition: color .15s var(--ease); }
a.nav__crumb:hover { color: var(--text); }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--text-2); white-space: nowrap; transition: color .15s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__links + .nav__right { margin-left: 0; }

.lang { position: relative; }
.lang summary { list-style: none; height: 36px; padding: 0 8px 0 12px; display: flex; align-items: center; gap: 4px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::marker { content: ""; }
.lang summary:hover, .lang[open] summary { background: var(--soft); color: var(--text); }
.lang summary .i { width: 14px; height: 14px; transition: transform .15s var(--ease); }
.lang[open] summary .i { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 176px; padding: 4px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.lang__menu a { height: 36px; padding: 0 12px; display: flex; align-items: center; border-radius: 8px; font-size: 14px; color: var(--text-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.lang__menu a:hover { background: var(--soft); color: var(--text); }
.lang__menu a[aria-current] { color: var(--text); font-weight: 500; }

.btn { height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--text); color: #ffffff; }
.btn--primary:hover { background: #333333; }
.btn--secondary { background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); }
.btn--secondary:hover { background: var(--soft); }
.btn--sm { height: 36px; padding: 0 16px; border-radius: 8px; font-size: 14px; }
.btn .i { color: var(--text-3); }
.btn--primary .i { color: #ffffff; }
.btn--store { height: 56px; padding: 0 22px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.15; }
.btn--store small { font-size: 11px; font-weight: 400; opacity: .72; }
.btn--store strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
span.btn--store { cursor: default; color: var(--text-2); }

/* Hero de l'accueil : le texte à gauche, la vitrine des apps à droite */
.hero { min-height: min(calc(100svh - 120px), 720px); display: flex; align-items: center; padding: 96px 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.4vw, 60px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.hero__sub { margin: 24px 0 0; max-width: 34rem; font-size: 19px; line-height: 1.58; color: var(--text-2); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Vitrine : chaque app passe à tour de rôle avec sa vraie capture */
.showcase { width: 100%; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 4.6s linear; }
.slide.is-active img { transform: scale(1); }
.slide--contain img { object-fit: contain; }
.slide--phones { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 5% 6%; background: #1a0e21; }
.slide--phones img { width: auto; height: 100%; object-fit: contain; }
.tabs { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tab { appearance: none; border: 0; background: none; padding: 8px 4px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font: inherit; color: var(--text-3); cursor: pointer; transition: color .15s var(--ease); }
.tab img { width: 44px; height: 44px; border-radius: 23%; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .08); opacity: .55; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.tab span { font-size: 13px; font-weight: 500; line-height: 1.2; }
.tab:hover { color: var(--text-2); }
.tab:hover img { opacity: .85; }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"] img { opacity: 1; transform: translateY(-2px); }
.tab__bar { width: 100%; max-width: 88px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tab__bar i { display: block; width: 100%; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; }
.tab[aria-selected="true"] .tab__bar i { transform: scaleX(1); }
.showcase.is-playing .tab[aria-selected="true"] .tab__bar i { animation: fill 4s linear both; }
.showcase.is-paused .tab[aria-selected="true"] .tab__bar i { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__in { min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--text-3); }
.facts__in span:not(:last-child)::after { content: "·"; margin-left: 16px; }

/* Sections */
.section { padding-top: 128px; }
section[id] { scroll-margin-top: 64px; }
.kicker { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--text-3); }
h2 { margin: 0; max-width: 760px; font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; }
.lead { margin: 16px 0 0; max-width: 36rem; font-size: 18px; line-height: 1.58; color: var(--text-2); }

.principles { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.illu { display: block; width: 160px; height: 120px; margin-bottom: 24px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principles .num { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.principles h3 { margin: 8px 0 8px; font-size: 18px; line-height: 1.3; font-weight: 500; }
.principles p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

.projects { margin-top: 80px; display: flex; flex-direction: column; gap: 112px; }
.project { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.project--flip { grid-template-columns: 7fr 5fr; }
.project--flip .project__media { order: -1; }
.project__head { display: flex; align-items: center; gap: 16px; }
.project__head img { width: 48px; height: 48px; border-radius: 23%; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .08); }
.project h3 { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; }
.project__meta { margin: 4px 0 0; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.project__desc { margin: 24px 0 0; max-width: 30rem; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.project__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.local { margin: 20px 0 0; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.local .i { width: 14px; height: 14px; }
.link { margin-top: 28px; padding-bottom: 4px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; transition: border-color .15s var(--ease); }
.link .i { color: var(--text-3); transition: transform .15s var(--ease), color .15s var(--ease); }
.link:hover { border-color: var(--text); }
.link:hover .i { color: var(--text); transform: translateX(2px); }
.link--out:hover .i { transform: translate(2px, -2px); }

.phones { display: flex; justify-content: center; gap: 24px; padding: 40px 32px; border-radius: 16px; background: var(--soft); }
.phones img { width: calc(50% - 12px); max-width: 260px; border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 32px rgba(0, 0, 0, .16); }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.frame video { width: 100%; }
.media { margin: 56px 0 0; }
.caption { margin: 12px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-3); }

.manifesto { padding: 128px 0 0; }
.credo { margin: 48px 0 0; padding: 0; list-style: none; }
.credo li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.credo li:last-child { border-bottom: 1px solid var(--line); }
.credo .num { padding-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.credo p { margin: 0; max-width: 50rem; font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.credo p span { color: var(--text-3); }
.credo__sign { margin: 32px 0 0; font-size: 14px; color: var(--text-3); }

.contact { padding: 128px 0; }
.contact__btn { margin-top: 32px; }
.contact__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__mail { margin: 20px 0 0; font-size: 14px; color: var(--text-3); }
.contact__mail a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color .15s var(--ease); }
.contact__mail a:hover { color: var(--text); }

/* Pages produit : en-tête */
.phero { padding: 80px 0 96px; }
.phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.app-id { margin-bottom: 32px; display: flex; align-items: center; gap: 16px; }
.app-id img { width: 56px; height: 56px; border-radius: 23%; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .08); }
.app-id__name { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 600; }
.app-id__status { margin: 2px 0 0; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.phero h1 { margin: 0; font-size: clamp(40px, 4.4vw, 60px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.phero h1 span { color: var(--text-3); }
.phero__meta { margin: 32px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--text-3); }
.phero__note { margin: 16px 0 0; font-size: 15px; }
.phero__note a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

/* Pages produit : briques */
.items { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.items li { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.items h3 { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 500; }
.items p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

.cards { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card { height: 100%; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
.card__top { min-height: 24px; margin-bottom: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.card h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 500; }
.card p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.card--link:hover { border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); transform: translateY(-2px); }
.badge { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
kbd { min-width: 24px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--bg); font-family: var(--font); font-size: 13px; font-weight: 500; line-height: 1; color: var(--text-2); }
.keys { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--text-3); }
.keys kbd:first-of-type { margin-left: 4px; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature--flip { grid-template-columns: 7fr 5fr; }
.feature--flip .feature__media { order: -1; }
.feature__title { margin: 0; font-size: 36px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.feature__title span { color: var(--text-3); }
.feature__desc { margin: 20px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }

.points { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px 48px; }
.points--1 { margin-top: 28px; grid-template-columns: 1fr; gap: 16px; }
.points li { position: relative; padding-left: 20px; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--text); }
.points strong { display: block; font-size: 16px; line-height: 1.45; font-weight: 500; }
.points span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.points strong + span { margin-top: 4px; }
.points li > span:first-child { margin-top: 0; }

.panel { padding: 64px; border-radius: 24px; background: var(--soft); }
.panel .points li::before { background: var(--text-2); }

.plans { margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: stretch; }
.plans--solo { max-width: 640px; grid-template-columns: 1fr; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--bg); }
.plan__name { margin: 0; font-size: 14px; font-weight: 500; color: var(--text-3); }
.plan__price { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan__price strong { font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.plan__price span { font-size: 15px; color: var(--text-3); }
.plan__sub { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.pill { margin: 16px 0 0; align-self: flex-start; min-height: 28px; padding: 4px 12px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.4; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.checks .i { margin-top: 3px; color: var(--text); }
.plan--pro { background: var(--text); border-color: var(--text); color: #ffffff; }
.plan--pro .plan__name, .plan--pro .plan__price span { color: rgba(255, 255, 255, .6); }
.plan--pro .plan__sub, .plan--pro .checks li { color: rgba(255, 255, 255, .78); }
.plan--pro .checks .i { color: #ffffff; }
.plan--pro .pill { border-color: rgba(255, 255, 255, .28); }
.note { margin: 24px 0 0; max-width: 46rem; font-size: 15px; line-height: 1.65; color: var(--text-3); }

.faq { margin: 48px 0 0; max-width: 54rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 18px; line-height: 1.4; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary .i { width: 18px; height: 18px; color: var(--text-3); transition: transform .2s var(--ease), color .15s var(--ease); }
.faq summary:hover .i { color: var(--text); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > p { margin: 0; padding: 0 48px 24px 0; font-size: 16px; line-height: 1.7; color: var(--text-2); }

.quote { padding: 128px 0 0; }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; max-width: 52rem; font-size: 36px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.quote figcaption { margin-top: 24px; font-size: 14px; color: var(--text-3); }

.gallery { margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); cursor: zoom-in; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.gallery a:hover { border-color: var(--line-strong); box-shadow: 0 12px 32px rgba(0, 0, 0, .1); }
.gallery img { width: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 300; padding: clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .96); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; border-radius: 12px; box-shadow: 0 24px 64px rgba(0, 0, 0, .18); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer; }
.lightbox button .i { width: 18px; height: 18px; }

.strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.strip__nav { display: flex; gap: 8px; }
.strip__nav button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer; transition: background-color .15s var(--ease); }
.strip__nav button:hover { background: var(--soft); }
.strip { --marge: max(24px, calc((100vw - 1152px) / 2)); margin-top: 48px; padding: 8px var(--marge) 40px; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 auto; width: clamp(200px, 62vw, 280px); aspect-ratio: 644 / 1400; border-radius: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 32px rgba(0, 0, 0, .16); scroll-snap-align: start; }
@media (hover: none) { .strip__nav { display: none; } }

/* Pages d'assistance et pages légales */
.doc { padding: 96px 0 128px; }
.doc__wrap { max-width: 868px; }
.doc__head h1 { margin: 0; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.doc__head h1 span { color: var(--text-3); }
.doc__meta { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--text-3); }
.doc__intro { margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.doc__intro strong { font-weight: 500; color: var(--text); }
.doc__body { margin-top: 64px; }
.doc__sec { padding: 40px 0; display: grid; grid-template-columns: 56px 1fr; gap: 16px; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.doc__sec .num { padding-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.doc__sec h2 { max-width: none; font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.doc__sec h3 { margin: 28px 0 0; font-size: 17px; line-height: 1.4; font-weight: 500; }
.doc__sec p { margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.doc__sec strong { font-weight: 600; color: var(--text); }
.doc__list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.doc__list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.doc__list li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
.doc__actions { padding-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); }
.doc__lang { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* Liens dans le texte courant */
.lead a, .note a, .faq p a, .points a, .feature__desc a, .doc__intro a, .doc__sec a:not(.btn) {
  color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color .15s var(--ease);
}
.lead a:hover, .note a:hover, .faq p a:hover, .points a:hover, .feature__desc a:hover, .doc__intro a:hover, .doc__sec a:not(.btn):hover { text-decoration-color: var(--text); }

/* Pied de page */
.footer { overflow: hidden; background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer__mark { margin: 0 0 56px; font-size: clamp(88px, 15vw, 200px); line-height: .9; font-weight: 600; letter-spacing: -0.04em; color: #e6e6e8; white-space: nowrap; user-select: none; }
.footer__mark--long { font-size: clamp(56px, 13vw, 176px); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid--produit { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.footer__about { margin: 12px 0 0; max-width: 18rem; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.footer__col p { margin: 0 0 16px; font-size: 13px; font-weight: 500; color: var(--text-3); }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--text-2); transition: color .15s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-3); }
.footer__bottom a { color: var(--text-2); transition: color .15s var(--ease); }
.footer__bottom a:hover { color: var(--text); }

/* Une seule entrée au chargement */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero h1, .hero__sub, .hero__actions, .showcase, .phero .app-id, .phero h1, .phero__media { animation: rise .45s var(--ease) both; }
.phero h1 { animation-delay: .03s; }
.hero__sub { animation-delay: .05s; }
.hero__actions { animation-delay: .1s; }
.showcase, .phero__media { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__grid, .phero__grid { grid-template-columns: 1fr; gap: 56px; }
  .project, .project--flip, .feature, .feature--flip { grid-template-columns: 1fr; gap: 40px; }
  .project--flip .project__media, .feature--flip .feature__media { order: 0; }
  .principles { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid, .footer__grid--produit { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__right, .nav__links + .nav__right { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 64px; }
  .phero { padding: 48px 0 64px; }
  .hero h1, .phero h1 { font-size: 40px; line-height: 1.06; letter-spacing: -0.02em; }
  .hero__sub { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .btn--store { align-items: flex-start; }
  .tab img { width: 36px; height: 36px; }
  .tab span { font-size: 12px; }
  .section, .manifesto, .quote { padding-top: 80px; }
  .contact { padding: 80px 0; }
  h2 { font-size: 32px; line-height: 1.12; }
  .project h3, .feature__title { font-size: 30px; }
  .credo li { grid-template-columns: 32px 1fr; gap: 12px; padding: 20px 0; }
  .credo .num { padding-top: 5px; }
  .credo p { font-size: 20px; }
  .projects { gap: 80px; margin-top: 56px; }
  .principles { margin-top: 48px; }
  .panel { padding: 32px 20px; border-radius: 16px; }
  .quote blockquote { font-size: 26px; }
  .faq summary { font-size: 17px; }
  .faq details > p { padding-right: 0; }
  .phones { padding: 24px 16px; gap: 12px; }
  .phones img { width: calc(50% - 6px); }
  .doc { padding: 56px 0 80px; }
  .doc__body { margin-top: 40px; }
  .doc__sec { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .doc__sec .num { padding-top: 0; }
  .doc__sec h2 { font-size: 22px; }
}
@media (max-width: 420px) {
  .nav__crumb { display: none; }
}

/* Page Contact */
.contact-page { padding: 96px 0 128px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-page h1 { margin: 0; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.tips { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tips li { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--text-2); }
.form { position: relative; padding: 32px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea { width: 100%; height: 44px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { height: auto; min-height: 168px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(23, 23, 23, .08); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.form__note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.form__status[data-etat="ok"] { color: #15803d; }
.form__status[data-etat="erreur"] { color: #dc2626; }
.form button[disabled] { opacity: .6; cursor: progress; }
.merci { padding: 128px 0; }
.merci h1 { margin: 0; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.merci .btn { margin-top: 32px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .contact-page { padding: 56px 0 80px; }
  .form { padding: 20px; }
  .merci { padding: 80px 0; }
}

/* Image d'en-tête des pages produit : pas de marge au-dessus */
.media--hero { margin: 0; }
/* Les pages produit ont plus de liens dans la barre : ils disparaissent plus tôt */
@media (max-width: 1100px) { .nav__crumb ~ .nav__links { display: none; } .nav__crumb ~ .nav__links + .nav__right { margin-left: auto; } }

/* Page de suppression de compte Squadd : une partie par langue, étapes numérotées */
.doc__part { padding-top: 80px; scroll-margin-top: 64px; }
.doc__part > h2 { font-size: 32px; line-height: 1.15; }
.doc__part > .doc__intro { margin-top: 16px; font-size: 17px; }
.doc__part .doc__body { margin-top: 40px; }
.doc__steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: etape; display: flex; flex-direction: column; gap: 12px; }
.doc__steps li { position: relative; padding-left: 36px; font-size: 16px; line-height: 1.65; color: var(--text-2); counter-increment: etape; }
.doc__steps li::before { content: counter(etape); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--mono); font-size: 12px; line-height: 22px; text-align: center; color: var(--text-2); }
.doc__actions--seul { margin-top: 40px; padding-top: 0; border-top: 0; }
.kbds { display: inline-flex; gap: 4px; }
