/* Unpile — site officiel.
   Feuille de style unique : aucune police, aucun script ni service tiers.
   Jetons repris de la charte (store/brand/BRAND.md) et du panneau de l'extension. */

/* ------------------------------------------------------------------ */
/* Jetons                                                              */
/* ------------------------------------------------------------------ */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-subtle: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #f0f3f4;
  --border: #e2e7ea;
  --border-strong: #cdd5da;
  --text: #121a1f;
  --text-2: #56636d;

  --brand: #0d7a6f;
  --brand-hover: #0a695f;
  --brand-soft: #e3f4f1;
  --brand-softer: #f2faf8;
  --brand-text: #0b6a60;
  --on-brand: #ffffff;
  --brand-gradient: linear-gradient(135deg, #1fbfa9, #0a6a60);

  --danger: #c7372f;
  --danger-soft: #fdeceb;
  --success: #1c8a4a;

  --focus: #0d7a6f;
  --dot: rgba(13, 122, 111, 0.13);
  --glow: rgba(31, 191, 169, 0.2);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 4px 14px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 28px 60px -18px rgba(16, 24, 40, 0.28), 0 10px 24px -12px rgba(16, 24, 40, 0.14);

  /* Bande « confidentialité » et appel final : sombres dans les deux thèmes. */
  --band-bg: #062c28;
  --band-bg-2: #0a3d37;
  --band-text: #eaf6f4;
  --band-text-2: #b5d8d2;
  --band-accent: #6fe0d1;
  --band-line: rgba(255, 255, 255, 0.16);
  --band-card: rgba(255, 255, 255, 0.06);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111618;
    --bg-subtle: #0d1113;
    --surface: #182023;
    --surface-2: #1f282c;
    --border: #2a3439;
    --border-strong: #3a464c;
    --text: #e8eef0;
    --text-2: #a3b0b7;

    --brand: #2bb7a6;
    --brand-hover: #3cc6b5;
    --brand-soft: rgba(43, 183, 166, 0.16);
    --brand-softer: rgba(43, 183, 166, 0.07);
    --brand-text: #5fd3c4;
    --on-brand: #04201c;

    --danger: #f0685f;
    --danger-soft: rgba(240, 104, 95, 0.14);
    --success: #4cc47e;

    --focus: #5fd3c4;
    --dot: rgba(95, 211, 196, 0.1);
    --glow: rgba(43, 183, 166, 0.16);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 28px 60px -18px rgba(0, 0, 0, 0.7), 0 10px 24px -12px rgba(0, 0, 0, 0.5);

    --band-bg: #0a1f1d;
    --band-bg-2: #0e2b28;
  }
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--brand-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus {
  outline: none;
}

::selection {
  background: rgba(31, 191, 169, 0.28);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.num {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Lien d'évitement */

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------------ */
/* Boutons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.0625rem;
  border-radius: 16px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
  border-radius: 11px;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12), 0 8px 20px -8px rgba(13, 122, 111, 0.55);
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn .icon-soon {
  display: none;
}

/* État « bientôt disponible » posé par js/main.js tant que storeUrl est vide. */
.btn.is-soon {
  background: var(--brand-soft);
  color: var(--brand-text);
  border: 1px dashed var(--brand);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.btn.is-soon .icon-soon {
  display: inline-block;
}

.btn.is-soon .icon-go {
  display: none;
}

/* ------------------------------------------------------------------ */
/* En-tête                                                             */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(17, 22, 24, 0.84);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.lang-switch:hover {
  background: var(--surface-2);
}

.lang-switch .icon {
  width: 16px;
  height: 16px;
  color: var(--text-2);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -18px rgba(16, 24, 40, 0.35);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .js .site-nav ul a {
    min-height: 48px;
    font-size: 1.0625rem;
    color: var(--text);
  }

  .js .nav-extra {
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .js .nav-extra .btn {
    flex: 1;
  }

  /* Sans JavaScript, la navigation reste visible et passe à la ligne. */
  .no-js .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
  }
}

/* ------------------------------------------------------------------ */
/* Titres de section                                                   */
/* ------------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-text);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 16px;
  height: 16px;
}

.section {
  padding-block: clamp(72px, 10vw, 120px);
}

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

.section-cta {
  padding-top: clamp(48px, 7vw, 80px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head h2,
.h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 2.875rem);
  letter-spacing: -0.03em;
}

.section-head > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.125rem;
}

/* ------------------------------------------------------------------ */
/* Accueil — héros                                                     */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 88px) clamp(64px, 9vw, 112px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 22%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 22%, #000 15%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  width: 1100px;
  height: 900px;
  margin-left: -550px;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}

.hero-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 17px;
  box-shadow: 0 14px 30px -12px rgba(10, 106, 96, 0.6);
}

.hero .eyebrow {
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  text-align: center;
  background: var(--brand-soft);
  letter-spacing: 0.06em;
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 1.45rem + 3.9vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

:lang(fr) .hero h1 {
  max-width: 19ch;
  font-size: clamp(2.05rem, 1.3rem + 3.5vw, 3.875rem);
}

.hero .lead {
  max-width: 36em;
  margin-top: 22px;
  color: var(--text-2);
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .actions {
  justify-content: center;
}

.hero-meta {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.browser-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 34em;
  text-align: left;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.browser-note[hidden] {
  display: none;
}

.browser-note .icon {
  margin-top: 1px;
  color: var(--brand-text);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 34px;
  list-style: none;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9875rem;
  font-weight: 650;
}

.trust .icon-wrap {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.trust .icon {
  width: 18px;
  height: 18px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: clamp(48px, 7vw, 80px) 0 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 3% -5% 5%;
  border-radius: var(--radius-xl);
  background: var(--brand-gradient);
  opacity: 0.85;
  transform: rotate(2deg);
}

@media (prefers-color-scheme: dark) {
  .hero-visual::before {
    opacity: 0.55;
  }
}

/* ------------------------------------------------------------------ */
/* Captures d'écran (avec remplacement élégant tant qu'elles manquent) */
/* ------------------------------------------------------------------ */

.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 1280 / 800;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot.is-missing .shot-img {
  display: none;
}

.shot-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8%;
  text-align: center;
  background:
    radial-gradient(var(--dot) 1.2px, transparent 1.2px) 0 0 / 18px 18px,
    radial-gradient(120% 90% at 100% 0%, var(--brand-soft), transparent 60%),
    linear-gradient(160deg, var(--brand-softer), var(--bg-subtle));
}

.shot-ph img {
  width: clamp(44px, 9%, 72px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 12px 26px -12px rgba(10, 106, 96, 0.7);
}

.shot-ph span {
  max-width: 20em;
  color: var(--text);
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero .shot {
  border-radius: var(--radius-xl);
}

/* ------------------------------------------------------------------ */
/* Accueil — comment ça marche                                         */
/* ------------------------------------------------------------------ */

.steps {
  display: grid;
  gap: clamp(64px, 9vw, 112px);
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.step:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.step:nth-child(even) .step-text {
  order: 2;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 22px -10px rgba(10, 106, 96, 0.8);
}

.step-num .icon {
  width: 22px;
  height: 22px;
}

.step-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-text);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step h3 {
  font-size: clamp(1.625rem, 1.25rem + 1.3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.step-text > p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.125rem;
}

.presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  list-style: none;
}

.presets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  line-height: 1.3;
}

.presets .icon-wrap {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.presets .icon {
  width: 18px;
  height: 18px;
}

.presets strong {
  display: block;
  font-size: 0.9375rem;
}

.presets small {
  display: block;
  color: var(--text-2);
  font-size: 0.8125rem;
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.checks .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
  stroke-width: 2.4;
}

.step-undo .step-num {
  background: var(--surface);
  color: var(--brand-text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.danger-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--text);
  font-size: 0.9875rem;
}

.danger-note .icon {
  margin-top: 2px;
  color: var(--danger);
}

/* ------------------------------------------------------------------ */
/* Accueil — fonctionnalités                                           */
/* ------------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.feature-icon .icon {
  width: 23px;
  height: 23px;
}

.feature h3 {
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.feature p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 1rem;
}

/* ------------------------------------------------------------------ */
/* Bande sombre (confidentialité)                                      */
/* ------------------------------------------------------------------ */

.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(31, 191, 169, 0.3), transparent 62%),
    radial-gradient(700px 420px at -5% 105%, rgba(31, 191, 169, 0.14), transparent 60%),
    linear-gradient(165deg, var(--band-bg-2), var(--band-bg));
  color: var(--band-text);
}

.band .eyebrow {
  color: var(--band-accent);
}

.band .section-head > p:not(.eyebrow) {
  color: var(--band-text-2);
}

.band a {
  color: var(--band-accent);
}

.band :focus-visible {
  outline-color: var(--band-accent);
}

.flow-figure {
  margin: 0;
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "you link google"
    ". drop ."
    ". ghost .";
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 20px;
  border: 1px solid var(--band-line);
  border-radius: var(--radius-lg);
  background: var(--band-card);
  text-align: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.flow-you {
  grid-area: you;
}

.flow-google {
  grid-area: google;
}

.flow-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: #ffffff;
  color: #0d7a6f;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}

.flow-badge img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.flow-badge .icon {
  width: 28px;
  height: 28px;
}

.flow-node strong {
  font-size: 1.0625rem;
}

.flow-node > span:not(.flow-badge) {
  color: var(--band-text-2);
  font-size: 0.9375rem;
}

.flow-link {
  grid-area: link;
  position: relative;
  align-self: stretch;
  min-height: 120px;
}

.flow-line {
  position: absolute;
  top: 50%;
  left: 6px;
  right: 6px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--band-accent) 0 10px, transparent 10px 18px);
  background-size: 36px 3px;
}

.flow-line::before,
.flow-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-top: 3px solid var(--band-accent);
  border-right: 3px solid var(--band-accent);
  border-radius: 2px;
}

.flow-line::before {
  left: -2px;
  transform: rotate(-135deg);
}

.flow-line::after {
  right: -2px;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .flow-line {
    animation: flow-dash 1.4s linear infinite;
  }
}

@keyframes flow-dash {
  to {
    background-position: 36px 0;
  }
}

.flow-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(50% + 14px);
  padding-inline: 8px;
  color: var(--band-text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.flow-label .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 4px;
  vertical-align: -2px;
  color: var(--band-accent);
}

/* Tirets verticaux entre la liaison et le serveur fantôme. */
.flow-link::after {
  content: "";
  position: absolute;
  top: calc(50% + 10px);
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--band-line);
}

.flow-drop {
  grid-area: drop;
  position: relative;
  display: grid;
  place-items: center;
  height: 64px;
}

.flow-drop::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--band-line);
}

.flow-cut {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--band-bg);
  border: 2px solid #f0857d;
  color: #f0857d;
}

.flow-cut .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

.flow-ghost {
  grid-area: ghost;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px dashed var(--band-line);
  border-radius: var(--radius-lg);
  color: var(--band-text-2);
}

.flow-ghost .icon {
  width: 30px;
  height: 30px;
  opacity: 0.75;
}

.flow-ghost strong {
  display: block;
  color: var(--band-text);
  text-decoration: line-through;
  text-decoration-color: #f0857d;
  text-decoration-thickness: 2px;
}

.flow-ghost span {
  display: block;
  font-size: 0.9375rem;
}

.flow-caption {
  max-width: 40em;
  margin: 28px auto 0;
  color: var(--band-text-2);
  font-size: 0.9375rem;
  text-align: center;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(48px, 7vw, 72px);
  list-style: none;
}

.privacy-points li {
  padding: 26px;
  border: 1px solid var(--band-line);
  border-radius: var(--radius-lg);
  background: var(--band-card);
}

.privacy-points h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.privacy-points h3 .icon {
  color: var(--band-accent);
}

.privacy-points p {
  margin-top: 10px;
  color: var(--band-text-2);
  font-size: 1rem;
}

.band-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--band-line);
}

.band-foot p {
  max-width: 44em;
  color: var(--band-text-2);
  font-size: 0.875rem;
}

.band .btn-band {
  background: #ffffff;
  color: #0a4f48;
  text-decoration: none;
}

.band .btn-band:hover {
  background: #e8f7f4;
}

.band .btn-band:focus-visible {
  outline-color: #ffffff;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-intro > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--text-2);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary:hover {
  color: var(--brand-text);
}

.faq-list summary .icon {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-2);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}

.faq-list details[open] summary .icon {
  transform: rotate(180deg);
  background: var(--brand-soft);
  color: var(--brand-text);
}

.faq-answer {
  padding: 0 4px 24px;
  color: var(--text-2);
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-answer .expert {
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ */
/* Appel final                                                         */
/* ------------------------------------------------------------------ */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(111, 224, 209, 0.22), transparent 60%),
    linear-gradient(140deg, #0b6a61, #053a35);
  color: #ffffff;
  text-align: center;
}

.cta-final img {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 19px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.6);
}

.cta-final h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3rem);
  letter-spacing: -0.03em;
}

.cta-final p {
  margin-top: 14px;
  color: #dcf3ef;
  font-size: 1.125rem;
}

.cta-final .actions {
  justify-content: center;
}

.cta-final .btn-primary {
  background: #ffffff;
  color: #0a4f48;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}

.cta-final .btn-primary:hover {
  background: #e8f7f4;
}

.cta-final .btn.is-soon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-final :focus-visible {
  outline-color: #ffffff;
}

.cta-final .cta-meta {
  margin-top: 18px;
  color: #cdebe6;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ */
/* Pied de page                                                        */
/* ------------------------------------------------------------------ */

.site-footer {
  padding-block: 64px 36px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand p {
  max-width: 24em;
  margin-top: 14px;
  color: var(--text-2);
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  color: var(--text-2);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--brand-text);
  text-decoration: underline;
}

.footer-col a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------ */
/* Pages de documents (confidentialité, conditions, aide…)             */
/* ------------------------------------------------------------------ */

.doc-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 80px) clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--brand-softer), var(--bg));
}

.doc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%);
  pointer-events: none;
}

.doc-hero .container {
  position: relative;
}

.doc-hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem);
  letter-spacing: -0.03em;
}

.doc-hero .lead {
  max-width: 40em;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.1875rem;
}

.doc-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.doc-meta .icon {
  width: 17px;
  height: 17px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(40px, 6vw, 64px) clamp(72px, 10vw, 112px);
}

.doc-layout.no-toc {
  grid-template-columns: minmax(0, 1fr);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 56px);
  overflow: auto;
  font-size: 0.9375rem;
}

.toc h2 {
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 2px;
  list-style: none;
  border-left: 2px solid var(--border);
}

.toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 12px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand-text);
  border-left-color: var(--brand);
}

.prose {
  max-width: 44rem;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 2.4em;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  letter-spacing: -0.02em;
}

.prose > h2:first-child,
.prose > .callout:first-child + h2 {
  margin-top: 0;
}

.prose > .callout:first-child + h2 {
  margin-top: 2.4em;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.1875rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--brand-text);
}

.prose ol > li::marker {
  font-weight: 700;
}

.prose address {
  font-style: normal;
}

.ui {
  display: inline-block;
  padding: 0 7px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
  color: var(--text);
  font-size: 0.92em;
  font-weight: 650;
  line-height: 1.55;
  white-space: nowrap;
}

.msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-inline: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  font-weight: 600;
}

.msg .icon {
  margin-top: 3px;
  color: var(--brand-text);
}

.callout {
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--brand-softer);
}

.callout h2,
.callout .callout-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.callout .callout-title .icon {
  color: var(--brand-text);
}

.callout ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.callout li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.callout li + li {
  margin-top: 0;
}

.callout li .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--brand-text);
  stroke-width: 2.2;
}

.callout-danger {
  background: var(--danger-soft);
  border-color: transparent;
}

.callout-danger .callout-title .icon {
  color: var(--danger);
}

.limited-use {
  margin-block: 1.4em;
  padding: 20px 24px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
  font-weight: 600;
}

.limited-use p + p {
  margin-top: 10px;
}

.limited-use .translation {
  color: var(--text-2);
  font-weight: 500;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  border-bottom: 2px solid var(--border-strong);
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tbody th {
  width: 45%;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.table-wrap .data-table tr:last-child th,
.table-wrap .data-table tr:last-child td {
  border-bottom: 0;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2.4em;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-card p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
}

.contact-card .icon-wrap {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.install-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Page 404 */

.error-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding-block: 64px;
  text-align: center;
}

.error-page img {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 21px;
}

.error-page h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.error-page p {
  margin-top: 12px;
  color: var(--text-2);
}

.error-page .actions {
  justify-content: center;
}

/* ------------------------------------------------------------------ */
/* Adaptation aux écrans                                               */
/* ------------------------------------------------------------------ */

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .step,
  .step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .step:nth-child(even) .step-text {
    order: 0;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-intro {
    position: static;
  }

  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
    max-height: none;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
  }
}

@media (max-width: 720px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "you"
      "link"
      "google"
      "ghost";
    max-width: 420px;
  }

  .flow-link {
    min-height: 96px;
  }

  .flow-line {
    top: 8px;
    bottom: 8px;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    margin: 0 0 0 -1.5px;
    background: repeating-linear-gradient(180deg, var(--band-accent) 0 10px, transparent 10px 18px);
    background-size: 3px 36px;
  }

  .flow-line::before {
    top: -2px;
    left: 50%;
    margin: 0 0 0 -5.5px;
    transform: rotate(-45deg);
  }

  .flow-line::after {
    top: auto;
    bottom: -2px;
    right: auto;
    left: 50%;
    margin: 0 0 0 -5.5px;
    transform: rotate(135deg);
  }

  @keyframes flow-dash {
    to {
      background-position: 0 36px;
    }
  }

  .flow-label {
    top: 50%;
    bottom: auto;
    left: calc(50% + 16px);
    right: 0;
    transform: translateY(-50%);
    text-align: left;
  }

  .flow-link::after,
  .flow-drop {
    display: none;
  }

  .flow-ghost {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 1rem;
  }

  .actions .btn {
    width: 100%;
  }

  .btn-lg {
    min-height: 54px;
    padding: 10px 20px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .trust {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
  }

  .feature {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .feature-icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .feature p {
    margin-top: 6px;
  }

  .presets {
    grid-template-columns: minmax(0, 1fr);
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tbody th {
    width: 100%;
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .data-table td {
    padding-top: 0;
    color: var(--text-2);
  }

  .shot-ph {
    gap: 10px;
  }

  .ui {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero .eyebrow {
    font-size: 0.71875rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 400px) {
  .brand span {
    font-size: 1.125rem;
  }

  .nav-toggle-label {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Mouvement réduit                                                    */
/* ------------------------------------------------------------------ */

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

  .feature:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Impression                                                          */
/* ------------------------------------------------------------------ */

@media print {
  .site-header,
  .skip-link,
  .toc,
  .cta-final,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .doc-layout {
    display: block;
  }
}

/* ==========================================================================
   Formulaire de contact
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 64px) clamp(72px, 10vw, 112px);
}

.contact-form,
.form-success {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form[hidden],
.form-success[hidden] {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 650;
}

.form-optional {
  color: var(--text-2);
  font-weight: 400;
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:hover {
  border-color: var(--text-2);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-input[readonly] {
  background: var(--surface-2);
  color: var(--text-2);
}

textarea.form-input {
  min-height: 180px;
  resize: vertical;
  line-height: 1.55;
}

select.form-input {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2387939b' stroke-width='2' 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 13px center;
  background-size: 18px;
  cursor: pointer;
}

.form-input:user-invalid {
  border-color: var(--danger);
}

.form-tech {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  cursor: pointer;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.form-tech:has(.form-check input:not(:checked)) .form-grid {
  opacity: 0.45;
}

/* Pot de miel : hors écran pour les humains, visible pour les robots. */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  display: flex;
  gap: 10px;
  margin: 0;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-note .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--brand-text);
}

.form-actions {
  display: flex;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9375rem;
}

.form-status.is-info {
  background: var(--brand-soft);
  color: var(--brand-text);
}

.form-status.is-error {
  background: var(--danger-soft);
  color: var(--danger);
}

.form-success {
  align-items: flex-start;
}

.form-success:focus {
  outline: none;
}

.form-success h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.form-success p {
  margin: 0;
  color: var(--text-2);
}

.form-success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
}

.form-success-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  padding: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.aside-card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 1rem;
}

.aside-card h2 .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-text);
}

.aside-card ul {
  margin: 0;
  padding-left: 18px;
}

.aside-card li + li {
  margin-top: 6px;
}

.aside-card p {
  margin: 0;
  color: var(--text-2);
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    position: static;
  }
}
