:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --text: #0a0a0a;
  --text-muted: #6b7280;
  --border: rgba(60, 60, 67, 0.12);
  --accent: #111111;
  --accent-contrast: #ffffff;
  --accent-soft: rgba(17, 17, 17, 0.06);
  --accent-glow: rgba(17, 17, 17, 0.12);
  --hero-gradient: linear-gradient(165deg, #0a0a0a 0%, #1a1a1f 45%, #111111 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1140px;
  --header-h: 68px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme='dark'] {
  --bg: #000000;
  --bg-elevated: #161618;
  --text: #f5f5f7;
  --text-muted: rgba(235, 235, 245, 0.55);
  --border: rgba(84, 84, 88, 0.45);
  --accent: #ffffff;
  --accent-contrast: #0a0a0a;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-glow: rgba(255, 255, 255, 0.06);
  --shadow-sm: none;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Empêche display:flex/grid de réafficher les blocs data-lang masqués */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.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;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner,
.site-footer__inner,
.section__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section__inner--narrow {
  width: min(720px, calc(100% - 2rem));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

.lang-toggle {
  min-width: 0;
  padding-inline: 0.75rem;
}

.lang-toggle__codes {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-toggle__full {
  display: none;
}

.lang-toggle__code {
  opacity: 0.4;
  color: var(--text-muted);
}

.lang-toggle__code.is-active {
  opacity: 1;
  color: var(--text);
}

.lang-toggle__sep {
  opacity: 0.35;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), opacity 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--lg {
  min-height: 48px;
  padding: 0 1.4rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn--primary:hover {
  opacity: 0.92;
}

.btn--black {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn--black:hover {
  opacity: 0.9;
  background: #000;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--soft {
  background: var(--accent-soft);
  color: var(--text);
}

.btn--block {
  width: 100%;
  margin-top: 1.25rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: var(--accent-glow);
}

.icon-btn svg {
  display: block;
  margin: auto;
}

html[data-theme='light'] .icon-btn .icon-sun,
html[data-theme='dark'] .icon-btn .icon-moon {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background: var(--hero-gradient);
  color: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero__orb--1 {
  top: -10%;
  right: -5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.hero__orb--2 {
  bottom: -20%;
  left: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(120, 120, 140, 0.2) 0%, transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 1.1rem 0 0.85rem;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero p {
  margin: 0;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__cta .btn--primary {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__stats strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__stats span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.phone-frame::before {
  content: '';
  position: absolute;
  inset: 10% -15%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-shot {
  width: min(290px, 78vw);
  border-radius: 32px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Audience strip */
.audience {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.audience__label {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.audience__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience__pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.section__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.12;
}

.section__head p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Bento grid */
.bento {
  display: grid;
  gap: 1rem;
}

.bento__item {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.bento__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 18%, var(--border));
}

.bento__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
}

.bento__item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bento__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Screenshot showcase */
.screenshot-showcase {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.screenshot-showcase__preview {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.screenshot-showcase__preview img {
  width: min(300px, 85vw);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.3s var(--ease);
}

.screenshot-showcase__preview img.is-fading {
  opacity: 0;
}

.screenshot-showcase__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.screenshot-tab {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.screenshot-tab:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.screenshot-tab.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline__step:last-child {
  border-bottom: 0;
}

.timeline__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.timeline__step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.timeline__step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.price-card--pro {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow: var(--shadow);
}

.price-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.price-card__price {
  margin: 0.25rem 0 0.35rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.price-card__desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-card li {
  position: relative;
  padding-left: 1.35rem;
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
}

.price-card li + li {
  margin-top: 0.5rem;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  background: var(--bg-elevated);
  transition: border-color 0.2s;
}

.faq details:hover {
  border-color: color-mix(in srgb, var(--accent) 20%, var(--border));
}

.faq details + details {
  margin-top: 0.65rem;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq__more {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.faq__more a {
  color: var(--text-muted);
  font-weight: 500;
}

.faq__more a:hover {
  color: var(--text);
}

/* CTA banner */
.cta-banner {
  padding: 4.5rem 0;
  background: var(--hero-gradient);
  color: #ffffff;
}

.cta-banner__inner {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
}

.download__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.store-badge small {
  display: block;
  opacity: 0.75;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-badge strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand .footer-meta {
  margin-top: 0.85rem;
  max-width: 22rem;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Inner pages */
.page {
  padding: 3.5rem 0 5rem;
}

.page--guide {
  padding-top: 2.5rem;
}

.guide-layout {
  display: grid;
  gap: 2rem;
}

.guide-toc {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.guide-toc__title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guide-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guide-toc a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  border-left: 2px solid transparent;
  padding-inline-start: 0.65rem;
  transition: color 0.15s, border-color 0.15s;
}

.guide-toc a:hover,
.guide-toc a.is-active {
  color: var(--text);
  border-left-color: var(--accent);
}

.guide-body {
  min-width: 0;
}

.guide-body .lead {
  margin-bottom: 2rem;
}

.guide-body section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.guide-body section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.guide-body code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--accent-soft);
}

.guide-route {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.guide-objective {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 80%, var(--accent-soft));
  color: var(--text-muted);
  font-size: 0.95rem;
}

.guide-objective strong {
  color: var(--text);
}

.guide-fields-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.guide-fields {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.875rem;
}

.guide-fields th,
.guide-fields td {
  text-align: start;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.guide-fields tr:last-child th,
.guide-fields tr:last-child td {
  border-bottom: 0;
}

.guide-fields th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.guide-fields td:first-child {
  font-weight: 600;
  color: var(--text);
  min-width: 8.5rem;
}

.guide-fields td:nth-child(2) {
  white-space: nowrap;
}

.guide-type {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guide-search {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.guide-search input {
  flex: 1;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

.guide-search input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
}

.guide-body h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.guide-body h4 {
  margin: 1.15rem 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.guide-body section.is-filtered-out {
  display: none;
}

.site-nav--compact {
  display: none;
}

@media (min-width: 900px) {
  .guide-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 2.5rem;
  }

  .guide-toc {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow: auto;
  }
}

@media (min-width: 1100px) {
  .site-nav--compact {
    display: flex;
    gap: 0.25rem;
    align-items: center;
  }
}

.page__inner {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
}

.page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.page .lead {
  margin: 0 0 2.5rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--text-muted);
  line-height: 1.65;
}

.prose ul {
  padding-left: 1.2rem;
}

.support-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.support-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.support-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.support-card--guide h3,
.support-card--guide > p[data-i18n='support.guide.text'] {
  color: #111;
}

.support-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.support-card__cta {
  margin-top: 0.75rem;
}

.support-card a {
  color: var(--text);
  font-weight: 600;
}

.support-card a.btn--black {
  color: #fff;
  font-weight: 600;
}

/* Mobile nav */
.menu-toggle {
  display: inline-flex;
  flex-shrink: 0;
  z-index: 2;
}

.mobile-nav {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.35rem 0 1rem;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav__cta {
  display: flex !important;
  width: fit-content;
  min-width: 12rem;
  margin: 0.85rem auto 0;
  border-bottom: 0 !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff !important;
  font-weight: 600;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-frame {
    animation: none;
  }

  .btn,
  .bento__item,
  .price-card,
  .store-badge {
    transition: none;
  }
}

/* Responsive */
@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__item--wide {
    grid-column: span 2;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }

  .download__stores {
    justify-content: flex-end;
  }
}

@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero {
    padding: 6rem 0 5rem;
  }

  .screenshot-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .screenshot-showcase__nav {
    justify-content: flex-start;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .timeline__step {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  /* Nav + CTA uniquement dans le menu hamburger ; header = langue + thème */
  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .lang-toggle__full {
    display: inline;
  }

  .lang-toggle__codes {
    display: none;
  }

  .lang-toggle {
    padding-inline: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento__item--wide {
    grid-column: span 2;
  }
}
