/**
 * favicons.fr — Plateforme de création et d’analyse de favicons
 *
 * Fichier : favicons.fr/assets/css/app.css
 * Version fichier : 2.18 – Date : 2026-10-19 – Auteur : Wilfried Marie — assistance IA
 *
 * Dépôt officiel de favicons.fr : n°15063
 * Déposé le : 14 octobre 2026 à 18 h 30
 * Déposant : Wilfried MARIE
 * Prestation réalisée via Datasure (Prestataire européen de services de confiance)
 * Lien du certificat de favicons.fr : https://www.copyright.info/copyright/IPSO20261014153034ONU/
 */

/* ==========================================================================
   01. Reset & base
========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 12%, rgba(109, 77, 246, 0.16), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(255, 122, 50, 0.13), transparent 34rem),
    radial-gradient(circle at 52% 88%, rgba(37, 99, 235, 0.09), transparent 30rem),
    var(--color-bg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

.site-main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(116, 123, 165, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 123, 165, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.ui-icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none;
}

.page-glow-primary {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -120px;
  background: rgba(109, 77, 246, 0.16);
}

.page-glow-accent {
  width: 420px;
  height: 420px;
  top: 80px;
  right: -160px;
  background: rgba(255, 122, 50, 0.12);
}

/* ==========================================================================
   02. Header
========================================================================== */

.site-header {
  width: min(var(--container), calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 10px 24px rgba(109, 77, 246, 0.25));
}

.brand strong {
  display: block;
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 40px;
  color: var(--color-text);
  font-weight: 550;
  font-size: 1rem;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  opacity: 0.86;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -17px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-pink));
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  opacity: 1;
  color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-actions > .button {
  padding-inline: 16px;
}

.language-switch {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
}

.language-switch a {
  padding: 7px 2px;
  color: inherit;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a.is-active {
  color: var(--color-primary);
}

.language-switch a.is-active {
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
}

/* ==========================================================================
   03. Buttons
========================================================================== */

.button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 550;
  font-size: 1rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  color: var(--color-primary);
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.button-support {
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-primary));
  box-shadow: 0 16px 38px rgba(109, 77, 246, 0.24);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  box-shadow: 0 18px 42px rgba(109, 77, 246, 0.26);
}

.button-premium {
  color: #ffffff;
  background: #168363;
  box-shadow: 0 18px 36px rgba(22, 131, 99, 0.24);
}

.button-blue {
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.button-full {
  width: 100%;
}

/* ==========================================================================
   04. Theme switch
========================================================================== */

.theme-switch {
  width: 90px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(116, 123, 165, 0.22);
  border-radius: 999px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  color: var(--color-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    0 14px 34px rgba(43, 51, 105, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(116, 123, 165, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.theme-switch-track {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
}

.theme-switch-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #fff7ea);
  box-shadow:
    0 8px 18px rgba(255, 153, 0, 0.18),
    0 4px 12px rgba(43, 51, 105, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    background 180ms ease,
    box-shadow 180ms ease;
}

.theme-switch-option {
  position: absolute;
  top: 0;
  width: 43px;
  height: 43px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.theme-switch-sun {
  left: 0;
  color: #f59e0b;
}

.theme-switch-moon {
  right: 0;
  color: #2563eb;
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-switch-sun .theme-icon circle {
  fill: currentColor;
}

.theme-switch-sun .theme-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.theme-switch-moon .theme-icon path {
  fill: currentColor;
}

.theme-switch:hover {
  border-color: rgba(109, 77, 246, 0.30);
  box-shadow:
    0 18px 38px rgba(43, 51, 105, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(116, 123, 165, 0.12);
}

.theme-switch:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(109, 77, 246, 0.16),
    0 18px 38px rgba(43, 51, 105, 0.14);
}

html[data-theme="light"] .theme-switch-sun {
  opacity: 1;
}

html[data-theme="light"] .theme-switch-moon {
  opacity: 0.82;
}

html[data-theme="dark"] .theme-switch {
  border-color: rgba(211, 217, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(24, 28, 56, 0.94), rgba(13, 16, 35, 0.88)),
    rgba(20, 23, 47, 0.88);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .theme-switch-track::before {
  transform: translateX(44px);
  background:
    radial-gradient(circle at 65% 32%, rgba(255, 255, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 68%, rgba(255, 255, 255, 0.28) 0 1.5px, transparent 2.5px),
    linear-gradient(180deg, #3146d8, #1d2a78);
  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.30),
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .theme-switch-sun {
  opacity: 0.45;
}

html[data-theme="dark"] .theme-switch-moon {
  color: #ffffff;
  opacity: 1;
}

/* ==========================================================================
   05. Hero left
========================================================================== */

.hero-section {
  width: min(var(--container), calc(100% - 72px));
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}

.hero-copy {
  padding-top: 18px;
}

.innovation-badge {
  width: fit-content;
  margin-bottom: 32px;
  padding: 9px 14px 9px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.09);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(109, 77, 246, 0.10);
}

.innovation-badge strong {
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-pink));
  text-transform: uppercase;
  font-size: 0.68rem;
}

.innovation-badge em {
  font-style: normal;
  opacity: 0.56;
}

.ai-engine-option .ai-engine-new-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  margin-left: 0;
  padding: 0.12rem 0.35rem;
  border-radius: 0.25rem;
  background: #ff8738;
  color: #ffffff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.12em;
  white-space: nowrap;
}

h1,
.hero-title {
  max-width: 610px;
  margin: 0;
  font-size: clamp(3.15rem, 4.15vw, 4.45rem);
  line-height: 1.03;
  letter-spacing: -0.068em;
}

h1 span,
.hero-title span {
  color: var(--color-primary);
}

.gradient-text,
.hero-title .gradient-text {
  display: inline-block;
  padding-right: 0.05em;
  background: linear-gradient(90deg, var(--color-pink), var(--color-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-normal {
  color: var(--color-text);
  display: inline;
}

.hero-lead {
  max-width: 575px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.trust-list {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  color: var(--color-text);
  font-weight: 700;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-list span {
  width: 23px;
  height: 23px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--color-green);
  background: rgba(34, 160, 107, 0.11);
}

/* ==========================================================================
   06. Hero right / previews
========================================================================== */

.hero-visual,
.hero-visual-v2 {
  position: relative;
  min-height: 505px;
}

/* Browser */

.browser-preview,
.browser-preview-v2 {
  position: absolute;
  top: 0;
  left: 32px;
  width: min(650px, 76%);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.58)),
    var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow:
    0 28px 80px rgba(43, 51, 105, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.76);
  backdrop-filter: blur(20px);
}

html[data-theme="dark"] .browser-preview,
html[data-theme="dark"] .browser-preview-v2 {
  background:
    linear-gradient(180deg, rgba(36, 40, 74, 0.92), rgba(18, 22, 44, 0.84)),
    var(--color-surface);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.browser-topbar {
  height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(226, 231, 246, 0.82), rgba(214, 220, 238, 0.68));
}

html[data-theme="dark"] .browser-topbar {
  background:
    linear-gradient(180deg, rgba(83, 88, 114, 0.88), rgba(53, 58, 84, 0.84));
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: var(--color-red); }
.yellow { background: var(--color-yellow); }
.green { background: #28c840; }

.browser-tab {
  height: 42px;
  min-width: 210px;
  margin-left: 14px;
  padding: 0 18px;
  border-radius: 18px 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  background: var(--color-surface-solid);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.6),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

html[data-theme="dark"] .browser-tab {
  color: #d7dcff;
  background: #151936;
}

.browser-plus {
  color: var(--color-muted);
  font-size: 1.35rem;
}

.browser-address {
  height: 48px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--color-muted);
  background: color-mix(in srgb, var(--color-surface-solid) 92%, transparent);
}

.browser-control {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-weight: 700;
}

.browser-address strong {
  flex: 1;
  height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  color: var(--color-muted);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.84), rgba(245,247,255,0.78)),
    var(--color-surface-soft);
  font-size: 0.92rem;
  font-weight: 560;
}

html[data-theme="dark"] .browser-address strong {
  background: rgba(255,255,255,0.08);
}

.browser-art,
.browser-art-v2 {
  position: relative;
  height: 245px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #5f7cff 0%, #7289ff 38%, #c7c9ff 100%);
}

html[data-theme="dark"] .browser-art,
html[data-theme="dark"] .browser-art-v2 {
  background:
    linear-gradient(135deg, #526cff 0%, #6378ee 42%, #878fe0 100%);
}

.sky-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.sky-glow-one {
  width: 320px;
  height: 320px;
  right: -120px;
  top: -125px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(14px);
}

.sky-glow-two {
  width: 260px;
  height: 260px;
  left: 30%;
  bottom: -170px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(20px);
}

.sun-v2,
.sun {
  position: absolute;
  top: 58px;
  right: 155px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 34%, #fff2d1, #ffdda5 62%, #ffc980);
  box-shadow:
    0 0 0 14px rgba(255, 224, 170, 0.08),
    0 18px 42px rgba(255, 196, 128, 0.22);
}

.mountain {
  display: none;
}

.mountain-v2 {
  position: absolute;
  bottom: -8px;
  display: block;
  pointer-events: none;
}

.mountain-back {
  right: -12px;
  width: 420px;
  height: 182px;
  opacity: 0.58;
  background: linear-gradient(135deg, rgba(87, 98, 202, 0.46), rgba(255, 255, 255, 0.22));
  clip-path: polygon(0 100%, 16% 70%, 34% 42%, 50% 28%, 64% 46%, 78% 72%, 100% 100%);
}

.mountain-mid {
  left: 182px;
  width: 390px;
  height: 192px;
  opacity: 0.62;
  background: linear-gradient(135deg, rgba(60, 86, 220, 0.52), rgba(255,255,255,0.16));
  clip-path: polygon(0 100%, 18% 76%, 36% 45%, 52% 28%, 67% 52%, 82% 80%, 100% 100%);
}

.mountain-front {
  left: 42px;
  width: 390px;
  height: 215px;
  background:
    linear-gradient(135deg, rgba(45, 91, 230, 0.98), rgba(82, 63, 215, 0.90));
  clip-path: polygon(0 100%, 12% 82%, 28% 55%, 45% 22%, 56% 10%, 70% 38%, 84% 74%, 100% 100%);
}

.mountain-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.18), transparent 44%),
    linear-gradient(245deg, rgba(0,0,0,0.08), transparent 52%);
}

.valley-haze {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 76px;
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,0.24));
  filter: blur(4px);
}

html[data-theme="dark"] .valley-haze {
  background:
    linear-gradient(180deg, transparent, rgba(20, 23, 47, 0.18));
}

/* Phone */

.phone-preview,
.phone-preview-v2 {
  position: absolute;
  top: 62px;
  right: 112px;
  width: 172px;
  height: 314px;
  padding: 27px 18px 20px;
  border: 9px solid rgba(255, 255, 255, 0.82);
  border-radius: 36px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 19%, rgba(255,255,255,0.18), transparent 24%),
    radial-gradient(circle at 60% 55%, rgba(109,77,246,0.32), transparent 34%),
    linear-gradient(180deg, #4869f1 0%, #283fae 46%, #16296e 100%);
  box-shadow:
    0 26px 70px rgba(43, 51, 105, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.24);
  z-index: 2;
}

html[data-theme="dark"] .phone-preview,
html[data-theme="dark"] .phone-preview-v2 {
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.phone-speaker {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(-50%);
  opacity: 0.72;
}

.phone-preview time,
.phone-preview-v2 time {
  display: block;
  margin-bottom: 18px;
  font-size: 1.08rem;
  font-weight: 520;
}

.phone-main-app {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.92);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.phone-main-app img,
.phone-preview img,
.phone-preview-v2 img {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 13px;
  box-shadow: none;
}

.phone-preview small,
.phone-preview-v2 small {
  margin-top: 8px;
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: 0.67rem;
  font-weight: 650;
}

.phone-icons,
.phone-icons-v2 {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 34px);
  justify-content: center;
  gap: 10px;
}

.phone-icons span,
.phone-icons-v2 span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.86);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.16));
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 18px rgba(0,0,0,0.10);
  backdrop-filter: blur(12px);
}

.phone-icons .ui-icon,
.phone-icons-v2 .ui-icon {
  width: 17px;
  height: 17px;
}

/* Hand note */

.hand-note,
.hand-note-v2 {
  position: absolute;
  top: 184px;
  right: 0;
  margin: 0;
  color: #162060;
  font-family:
    "Segoe Print",
    "Bradley Hand",
    "Comic Sans MS",
    cursive;
  font-size: 1.48rem;
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.045em;
  white-space: nowrap;
  z-index: 6;
  transform: rotate(-7deg);
  text-shadow: 0 8px 20px rgba(22, 32, 96, 0.11);
  pointer-events: none;
}

.hand-note span,
.hand-note-v2 span {
  display: block;
}

.hand-note-two-lines {
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.08;
}

.hand-note::after,
.hand-note-v2::after {
  content: "";
  display: block;
  width: 74px;
  height: 24px;
  margin: 4px 0 0 12px;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 90% 80%;
  transform: rotate(-8deg);
  opacity: 0.72;
}

html[data-theme="dark"] .hand-note,
html[data-theme="dark"] .hand-note-v2 {
  color: #f1edff;
  text-shadow: 0 8px 24px rgba(0,0,0,0.24);
}

/* Platform card */

.platform-card {
  position: absolute;
  left: 210px;
  right: 28px;
  bottom: 60px;
  min-height: 132px;
  padding: 20px 26px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  z-index: 5;
}

.platform-card article {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
}

.platform-card article b {
  font-size: 0.9rem;
  font-weight: 700;
}

.platform-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)),
    rgba(109, 77, 246, 0.10);
  border: 1px solid var(--color-border);
  box-shadow:
    0 12px 28px rgba(43, 51, 105, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .platform-icon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(139, 114, 255, 0.12);
}

.platform-icon .ui-icon {
  width: 30px;
  height: 30px;
}

.platform-icon.purple { color: var(--color-primary); }
.platform-icon.orange { color: var(--color-orange); }
.platform-icon.green { color: var(--color-green); }
.platform-icon.blue { color: var(--color-blue); }

/* ==========================================================================
   07. Workspace cards
========================================================================== */

.workspace-grid {
  width: min(var(--container), calc(100% - 72px));
  margin: -45px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.96fr 1.56fr;
  gap: 18px;
  align-items: stretch;
}

.panel,
.value-card,
.audience-strip,
.mini-features,
.download-card {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.panel {
  min-height: 350px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.panel-header p {
  margin: 0 0 18px;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 880;
  letter-spacing: -0.02em;
}

.segmented-control {
  padding: 5px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  background: var(--color-surface-soft);
}

.segmented-control button,
.segmented-control .segmented-link {
  position: relative;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  color: var(--color-muted);
  background: transparent;
  font-weight: 820;
  cursor: pointer;
  text-decoration: none;
}

.segmented-control .segmented-link {
  color: var(--color-text);
}

.segmented-control button.is-selected,
.segmented-control .segmented-link.is-selected {
  color: var(--color-primary);
  background: var(--color-surface-solid);
  box-shadow: var(--shadow-soft);
}

.segmented-control em {
  position: absolute;
  top: 5px;
  right: 8px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #070a25;
  background: var(--color-orange);
  font-size: 0.52rem;
  font-style: normal;
  text-transform: uppercase;
}

.native-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.native-file-input:focus-visible + .dropzone {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 4px;
}

.dropzone {
  cursor: pointer;
}

.dropzone,
.dropzone * {
  cursor: pointer;
}

.dropzone:hover {
  border-color: color-mix(in srgb, var(--accent) 62%, transparent);
  background: color-mix(in srgb, var(--accent-soft) 42%, transparent);
}

.dropzone {
  margin: 18px 0 16px;
  padding: 22px;
  border: 2px dashed rgba(109, 77, 246, 0.30);
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(109, 77, 246, 0.035);
}

.dropzone strong,
.dropzone small {
  display: block;
}

.dropzone strong {
  font-size: 1rem;
}

.dropzone small {
  margin-top: 5px;
  color: var(--color-muted);
}

.dropzone.has-file {
  border-color: color-mix(in srgb, var(--accent) 72%, transparent);
  background: color-mix(in srgb, var(--accent-soft) 56%, transparent);
}

.dropzone.has-file small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-inline-size: 100%;
  margin-top: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 82%, transparent);
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone.has-file small::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 82%, transparent);
  font-size: 11px;
  font-weight: 900;
}

.dropzone a,
.dropzone span:not(.dropzone-picture):not(.dropzone-plus) {
  margin-top: 3px;
  color: var(--color-primary);
  font-weight: 780;
}

.dropzone-visual {
  position: relative;
  width: 72px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dropzone-picture {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(235,229,255,0.84)),
    rgba(109, 77, 246, 0.10);
  box-shadow:
    0 14px 30px rgba(109, 77, 246, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.82);
  transform: rotate(-5deg);
}

html[data-theme="dark"] .dropzone-picture {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(139,114,255,0.15)),
    rgba(139, 114, 255, 0.10);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.dropzone-picture-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.dropzone-picture-icon path:first-child {
  fill: currentColor;
  opacity: 0.16;
}

.dropzone-picture-icon path:nth-child(2) {
  fill: currentColor;
  opacity: 0.88;
}

.dropzone-picture-icon circle {
  fill: currentColor;
  opacity: 0.42;
}

.dropzone-plus {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  box-shadow:
    0 12px 24px rgba(109, 77, 246, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.28);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.36rem;
  font-weight: 520;
  line-height: 1;
  text-align: center;
  padding: 0 0 5px 0;
}

.pack-result-anchor {
  scroll-margin-top: 120px;
}

.button-download-pack {
  margin-top: 16px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #ff7a3d 0%, #c94dff 48%, #6d4df6 100%);
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button-download-pack:hover {
  transform: translateY(-1px);
  box-shadow:
    0 24px 54px color-mix(in srgb, var(--accent) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.button-download-pack:focus-visible {
  outline: 3px solid color-mix(in srgb, #c94dff 70%, transparent);
  outline-offset: 4px;
}

.pack-formats {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-soft) 42%, transparent);
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pack-formats summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 800;
}

.pack-formats p {
  margin: 9px 0 0;
}

.pack-expiry-note {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.pack-expiry-note::before {
  content: "⏱ ";
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.input-row,
.audit-form {
  display: flex;
  gap: 10px;
}

.input-row input,
.audit-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  color: var(--color-text);
  background: var(--color-surface-solid);
  outline: 0;
}

.input-row input:focus,
.audit-form input:focus {
  border-color: rgba(109, 77, 246, 0.52);
  box-shadow: 0 0 0 4px rgba(109, 77, 246, 0.10);
}

.input-row button {
  width: 48px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  color: var(--color-primary);
  background: var(--color-surface-solid);
}

.input-row-single {
  grid-template-columns: 1fr;
}

.input-row-single input {
  width: 100%;
}

.premium-generation-options {
  display: grid;
  gap: 12px;
  margin: 28px 0 4px;
  padding: 16px 14px 14px;
  border: 1px solid rgba(22, 131, 99, 0.48);
  border-radius: 14px;
  background: rgba(22, 131, 99, 0.07);
}

.premium-generation-options legend {
  margin-left: 10px;
  padding: 0 8px;
  color: #168363;
  font-weight: 800;
}

.premium-generation-options p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.premium-option-field {
  display: grid;
  gap: 5px;
}

.premium-option-field[hidden] {
  display: none;
}

.premium-option-field label {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.premium-option-field.is-disabled {
  opacity: 0.58;
}

.premium-option-notice {
  margin: 2px 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.premium-generation-options select,
.premium-color-control input[type="text"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-solid);
  color: var(--color-text);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 8px 10px;
}

.premium-generation-options select:focus,
.premium-color-control input[type="text"]:focus,
.premium-color-control input[type="color"]:focus-visible {
  border-color: #168363;
  box-shadow: 0 0 0 3px rgba(22, 131, 99, 0.14);
  outline: 0;
}

.premium-color-control {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
}

.premium-color-control input[type="color"] {
  width: 52px;
  height: 42px;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface-solid);
}

.premium-color-control input:disabled {
  cursor: not-allowed;
}

.create-panel .button-full {
  margin-top: 16px;
}

.micro-copy {
  margin: 14px 0 0;
  color: var(--color-subtle);
  font-size: 0.78rem;
  text-align: center;
}

/* ==========================================================================
   08. Audit score
========================================================================== */

.audit-panel {
  padding: 22px 24px;
}

.audit-panel h2 {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 850;
}

.audit-form {
  margin-bottom: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.audit-form input {
  min-width: 0;
}

.audit-form .button {
  padding-inline: 17px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.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;
}

.audit-form-message {
  margin: -8px 0 16px;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.audit-retention-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.audit-form-message {
  color: #b84040;
  font-weight: 700;
}

.audit-comparison-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -8px 0 16px;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.audit-online-access-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  color: var(--color-text);
  cursor: pointer;
}

.premium-audit-online-options {
  margin: 1rem 0 1.25rem;
  padding: 13px 14px;
  border: 1px solid rgba(22, 131, 99, 0.52);
  border-radius: 14px;
  background: rgba(22, 131, 99, 0.07);
}

.premium-audit-online-options legend {
  margin-left: 10px;
  padding: 0 8px;
  color: #168363;
  font-weight: 800;
}

.audit-online-access-option input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.18rem 0 0;
}

.premium-audit-online-options input {
  accent-color: #168363;
}

.audit-online-access-option strong,
.audit-online-access-option small {
  display: block;
}

.audit-online-access-option small {
  margin-top: 0.18rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.audit-comparison-confirmation input {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
}

.audit-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.audit-checklist {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  color: var(--color-muted);
  font-weight: 720;
  font-size: 0.84rem;
}

.audit-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.25;
}

.audit-checklist span {
  width: 19px;
  height: 19px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--color-blue);
  background: rgba(37, 99, 235, 0.10);
  font-size: 0.72rem;
}

.audit-report-preview {
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  display: grid;
  gap: 8px;
  justify-items: center;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.audit-report-preview figcaption {
  width: 100%;
  color: var(--color-blue);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: left;
}

.audit-preview-heading,
.audit-preview-lines {
  width: 100%;
  display: flex;
  gap: 5px;
}

.audit-preview-heading span {
  height: 5px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
}

.audit-preview-heading span:first-child {
  width: 58%;
}

.audit-preview-heading span:last-child {
  width: 28%;
  margin-left: auto;
}

.audit-preview-score {
  width: 100%;
  min-height: 46px;
  padding: 7px 10px;
  border-radius: 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-blue);
}

.audit-preview-score strong {
  font-size: 1.8rem;
  line-height: 1;
}

.audit-preview-score span {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.audit-preview-lines {
  display: grid;
  gap: 5px;
}

.audit-preview-lines span {
  height: 5px;
  border-radius: 999px;
  background: rgba(102, 112, 138, 0.14);
}

.audit-preview-lines span:nth-child(2) {
  width: 76%;
}

.audit-preview-lines span:nth-child(3) {
  width: 48%;
}

.audit-report-preview p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
}

html[data-theme="dark"] .audit-report-preview {
  border-color: rgba(157, 139, 255, 0.42);
  background:
    linear-gradient(155deg, rgba(44, 45, 90, 0.98), rgba(20, 23, 53, 0.98));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .audit-report-preview figcaption {
  color: #b2a4ff;
}

html[data-theme="dark"] .audit-preview-heading span {
  background: rgba(185, 176, 255, 0.34);
}

html[data-theme="dark"] .audit-preview-score {
  color: #9ecbff;
  background: rgba(104, 88, 244, 0.26);
}

html[data-theme="dark"] .audit-preview-score span,
html[data-theme="dark"] .audit-report-preview p,
html[data-theme="dark"] .audit-retention-note {
  color: #d6daf0;
}

html[data-theme="dark"] .audit-preview-lines span {
  background: rgba(224, 229, 255, 0.23);
}

.text-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 820;
  font-size: 0.9rem;
}

/* ==========================================================================
   09. Mini features
========================================================================== */

.side-stack {
  display: grid;
  gap: 14px;
}

.mini-features {
  min-height: 104px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.mini-features article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 3px;
  align-content: start;
}

.feature-icon {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.feature-icon .ui-icon {
  width: 23px;
  height: 23px;
}

.feature-icon.yellow {
  color: #b7791f;
  background: rgba(255, 189, 46, 0.18);
}

.feature-icon.purple {
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.14);
}

.feature-icon.purple-soft {
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.09);
}

.feature-icon.blue {
  color: var(--color-blue);
  background: rgba(37, 99, 235, 0.12);
}

.mini-features strong {
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.mini-features small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.32;
}

/* ==========================================================================
   10. Download card
========================================================================== */

.download-card {
  position: relative;
  min-height: 166px;
  padding: 28px 34px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 44%, rgba(109, 77, 246, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(109, 77, 246, 0.08), rgba(255, 255, 255, 0.02)),
    var(--color-surface);
}

.download-copy {
  max-width: 480px;
  align-self: center;
}

.download-card h2 {
  margin: 0 0 8px;
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.download-card p {
  max-width: 520px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.download-visual {
  position: relative;
  width: 210px;
  height: 110px;
  justify-self: end;
}

.download-folder {
  position: absolute;
  top: -8px;
  right: 60px;
  width: 93px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  padding-bottom: 5px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #a884ff);
  box-shadow:
    0 20px 48px rgba(109, 77, 246, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.download-folder .ui-icon {
  width: 48px;
  height: 48px;
}

.download-mini-icons {
  position: absolute;
  left: 5px;
  bottom: 8px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.download-mini-icons span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.download-mini-icons .ui-icon {
  width: 16px;
  height: 16px;
}

.download-action,
.download-visual button.download-action {
  position: absolute;
  right: 4px;
  bottom: 3px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, #8c63ff, #d94df0);
  box-shadow:
    0 18px 36px rgba(109, 77, 246, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.26);
  z-index: 5;
}

.download-action svg {
  width: 25px;
  height: 25px;
  display: block;
}

.download-action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-action:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 42px rgba(109, 77, 246, 0.36),
    inset 0 1px 0 rgba(255,255,255,0.30);
}

/* ==========================================================================
   11. Value cards
========================================================================== */

.value-grid {
  width: min(var(--container), calc(100% - 72px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr 1.15fr;
  gap: 18px;
}

.value-card {
  min-height: 118px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.value-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.12);
  font-size: 1rem;
}

.value-icon .ui-icon {
  width: 30px;
  height: 30px;
}

.value-icon.purple {
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.12);
}

.value-icon.green {
  color: var(--color-green);
  background: rgba(34, 160, 107, 0.13);
}

.value-icon.orange {
  color: var(--color-orange);
  background: rgba(255, 122, 50, 0.15);
}

.value-card h3,
.value-card p {
  margin: 0;
}

.value-card h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.value-card p {
  color: var(--color-muted);
  font-size: 0.87rem;
  line-height: 1.42;
}

.value-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-primary);
  font-weight: 820;
  font-size: 0.88rem;
  text-decoration: none;
}

.stat-card strong {
  display: block;
  color: var(--color-green);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.premium-card {
  background:
    radial-gradient(circle at left, rgba(255, 122, 50, 0.16), transparent 46%),
    var(--color-surface);
}

/* ==========================================================================
   12. Audience strip / trust
========================================================================== */

.audience-strip {
  width: min(var(--container), calc(100% - 72px));
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.18fr repeat(6, minmax(0, 1fr)) 1.32fr;
  gap: 12px;
  align-items: center;
}

.audience-strip > strong {
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.07);
  font-size: 0.86rem;
  font-weight: 780;
}

.audience-strip article:not(.trust-card-enhanced) {
  min-height: 52px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  align-content: center;
  font-size: 0.88rem;
}

.audience-strip article:not(.trust-card-enhanced) span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.11);
}

.audience-strip article:not(.trust-card-enhanced) span .ui-icon {
  width: 21px;
  height: 21px;
}

.audience-strip b {
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 680;
  line-height: 1;
}

.audience-strip small {
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 460;
  line-height: 1;
}

.trust-card-enhanced {
  min-height: 68px;
  padding-left: 16px;
  border-left: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 7px;
  min-width: 170px;
}

.trust-card-enhanced b {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-text);
  white-space: nowrap;
}

.trust-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 8px;
  min-height: 20px;
}

.trust-line small {
  align-self: center;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.12;
  white-space: nowrap;
}

.flag-fr {
  justify-self: center;
  align-self: center;
  width: 19px;
  height: 13px;
  min-width: 19px;
  margin: 0;
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: none;
  color: inherit;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 4px 9px rgba(43, 51, 105, 0.08);
}

.flag-fr i {
  display: block;
  width: 100%;
  height: 100%;
}

.flag-fr i:nth-child(1) { background: #244aa5; }
.flag-fr i:nth-child(2) { background: #ffffff; }
.flag-fr i:nth-child(3) { background: #ef4135; }

.trust-check {
  justify-self: center;
  align-self: center;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 1px 0;
  color: #ffffff;
  background: var(--color-green);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 6px 14px rgba(34, 160, 107, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* ==========================================================================
   13. Footer
========================================================================== */

.site-footer {
  width: min(var(--container), calc(100% - 72px));
  margin: 18px auto 0;
  padding: 24px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   14. Responsive provisoire
   Cette section sera reprise dans le fil tablette / mobile.
========================================================================== */

@media (max-width: 1280px) {
  .site-header,
  .hero-section,
  .workspace-grid,
  .value-grid,
  .audience-strip,
  .site-footer {
    width: min(100% - 42px, var(--container));
  }

  h1,
  .hero-title {
    max-width: 520px;
    font-size: clamp(2.9rem, 5.2vw, 4rem);
    line-height: 1.02;
  }

  .hero-section {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 32px;
  }

  .browser-preview,
  .browser-preview-v2 {
    left: 0;
    width: 74%;
  }

  .phone-preview,
  .phone-preview-v2 {
    right: 66px;
  }

  .platform-card {
    left: 110px;
    right: 0;
    bottom: 24px;
  }

  .workspace-grid {
    grid-template-columns: 1fr 1fr;
  }

  .side-stack {
    grid-column: 1 / -1;
  }

  .value-grid {
    grid-template-columns: 1fr 1.1fr 1fr 1.15fr;
  }

  .audience-strip {
    grid-template-columns: 1.15fr repeat(6, minmax(0, 1fr)) 1.35fr;
  }

  .audience-strip article:not(.trust-card-enhanced) span {
    width: 34px;
    height: 34px;
  }

  .audience-strip b {
    font-size: 0.76rem;
  }

  .audience-strip small {
    font-size: 0.68rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-top: 20px;
  }

  .brand small {
    white-space: normal;
  }

  .mobile-menu-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    background: var(--color-surface);
    font-weight: 800;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.is-open,
  .header-actions.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 12px;
  }

  .main-nav.is-open {
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
  }

  .header-actions.is-open {
    grid-template-columns: 1fr;
  }

  .header-actions.is-open .language-switch {
    justify-self: end;
  }

  .hero-section {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1,
  .hero-title {
    max-width: none;
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.065em;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .trust-list {
    gap: 12px;
  }

  .hero-visual,
  .hero-visual-v2 {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .browser-preview,
  .browser-preview-v2,
  .phone-preview,
  .phone-preview-v2,
  .platform-card,
  .hand-note,
  .hand-note-v2 {
    position: static;
    width: 100%;
  }

  .browser-art,
  .browser-art-v2 {
    height: 210px;
  }

  .phone-preview,
  .phone-preview-v2 {
    justify-self: center;
    width: 170px;
  }

  .hand-note,
  .hand-note-v2 {
    text-align: center;
    transform: none;
  }

  .hand-note::after,
  .hand-note-v2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .platform-card {
    padding: 22px;
    grid-template-columns: repeat(3, 1fr);
  }

  .workspace-grid,
  .value-grid {
    margin-top: 22px;
    grid-template-columns: 1fr;
  }

  .audit-form {
    display: flex;
  }

  .audit-form .button {
    width: auto;
  }

  .audit-content {
    grid-template-columns: 1fr;
  }

  .mini-features {
    grid-template-columns: 1fr 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .download-visual {
    justify-self: start;
  }

  .value-card {
    min-height: auto;
    padding: 22px;
  }

  .audience-strip {
    grid-template-columns: 1fr 1fr;
  }

  .audience-strip > strong {
    grid-column: 1 / -1;
  }

  .trust-card-enhanced {
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-section,
  .workspace-grid,
  .value-grid,
  .audience-strip,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  h1,
  .hero-title {
    font-size: clamp(2.45rem, 13vw, 3.45rem);
    line-height: 1.01;
    letter-spacing: -0.05em;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .innovation-badge {
    align-items: flex-start;
    border-radius: 18px;
  }

  .browser-art,
  .browser-art-v2 {
    height: 184px;
  }

  .platform-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-icon {
    width: 52px;
    height: 52px;
  }

  .platform-icon .ui-icon {
    width: 27px;
    height: 27px;
  }

  .segmented-control,
  .dropzone,
  .audit-content {
    grid-template-columns: 1fr;
  }

  .audit-form,
  .input-row {
    flex-direction: column;
  }

  .audit-form .button,
  .input-row button {
    width: 100%;
  }

  .audit-report-preview {
    justify-self: center;
  }

  .mini-features,
  .audience-strip {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 26px;
  }

  .download-visual {
    width: 150px;
    height: 130px;
  }

  .value-card {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

/* ===========================================================================
   Pages éditoriales : guides et ressources
============================================================================ */

/* ===========================================================================
   Soutenir favicons.fr
============================================================================ */

.support-page {
  width: min(var(--container), calc(100% - 72px));
  margin: 52px auto 72px;
}

.support-page-header {
  max-width: 800px;
  margin-bottom: 38px;
}

.support-page h1,
.support-page h2,
.support-page h3 {
  color: var(--color-ink);
}

.support-page h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.support-page-header > p:not(.information-eyebrow) {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.support-record {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 42px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.support-record-figure {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.support-record-figure img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.support-record-figure strong {
  color: var(--color-primary);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 0.92;
}

.support-record-figure span {
  max-width: 180px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.4;
}

.support-record h2,
.support-impact h2,
.support-clarity h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.16;
}

.support-record p:not(.information-eyebrow),
.support-impact p:not(.information-eyebrow),
.support-clarity p:not(.information-eyebrow) {
  color: var(--color-muted);
  line-height: 1.62;
}

.support-record p:not(.information-eyebrow) {
  margin: 0 0 10px;
}

.support-record p:last-child {
  margin-bottom: 0;
}

.support-impact {
  margin-top: 48px;
}

.support-impact > header {
  max-width: 660px;
}

.support-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
}

.support-impact-grid article {
  min-height: 180px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--color-primary);
}

.support-impact-grid article:nth-child(2) {
  border-left-color: #169578;
}

.support-impact-grid article:nth-child(3) {
  border-left-color: #e57c54;
}

.support-impact-grid h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.support-impact-grid p {
  margin: 0;
}

.support-clarity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 48px;
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.support-clarity > div {
  max-width: 760px;
}

.support-clarity p:not(.information-eyebrow) {
  margin: 0;
}

.support-contribution-form {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 20px;
}

.support-contribution-form fieldset {
  margin: 0;
}

html[data-theme="dark"] .support-page h1,
html[data-theme="dark"] .support-page h2,
html[data-theme="dark"] .support-page h3 {
  color: var(--color-text);
}

.editorial-page {
  width: min(var(--container), calc(100% - 72px));
  margin: 52px auto 64px;
}

.editorial-page-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.editorial-page h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.editorial-page-header > p:not(.information-eyebrow):not(.editorial-meta) {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.editorial-meta {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.editorial-guide-back {
  margin: 18px 0 0;
}

.editorial-guide-back a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.editorial-guide-back a:hover,
.editorial-guide-back a:focus-visible {
  text-decoration: underline;
}

.editorial-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.editorial-guide-card {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(41, 41, 85, 0.05);
}

.editorial-guide-card-featured {
  border-color: rgba(109, 77, 246, 0.35);
  background: linear-gradient(140deg, rgba(109, 77, 246, 0.1), rgba(255, 255, 255, 0.88));
}

.editorial-card-number,
.resource-index {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(109, 77, 246, 0.1);
  font-size: 0.82rem;
  font-weight: 850;
}

.editorial-guide-card h2,
.editorial-callout h2,
.editorial-article-content h2,
.resource-item h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.18rem;
  line-height: 1.28;
}

.editorial-guide-card > p:not(.editorial-card-number),
.editorial-callout p:not(.information-eyebrow),
.editorial-article-content p,
.resource-item p {
  color: var(--color-muted);
  line-height: 1.62;
}

.editorial-guide-card > p:not(.editorial-card-number) {
  margin: 12px 0 22px;
}

.editorial-link {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.editorial-link:hover,
.editorial-link:focus-visible {
  text-decoration: underline;
}

.editorial-link span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 160ms ease;
}

.editorial-link:hover span,
.editorial-link:focus-visible span {
  transform: translateX(3px);
}

.editorial-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.76);
}

.editorial-callout .information-eyebrow,
.editorial-next-step .information-eyebrow {
  margin-bottom: 8px;
}

.editorial-callout p:not(.information-eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
}

.not-found-page .editorial-page-header,
.not-found-page .editorial-callout p:not(.information-eyebrow) {
  max-width: none;
}

.not-found-page .editorial-callout > div {
  min-width: 0;
  flex: 1;
}

.editorial-team-opinion {
  margin-top: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.editorial-engine-evolution {
  margin: 28px 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.editorial-engine-evolution a {
  color: var(--color-primary);
  font-weight: 750;
}

.editorial-team-opinion-header {
  max-width: 960px;
}

.editorial-team-opinion h2,
.editorial-team-opinion h3 {
  margin: 0;
  color: var(--color-ink);
}

.editorial-team-opinion h2 {
  font-size: 1.55rem;
}

.editorial-team-opinion h3 {
  font-size: 1.04rem;
}

.editorial-team-opinion-header > p:not(.information-eyebrow),
.editorial-team-opinion-grid p,
.editorial-team-opinion-note {
  color: var(--color-muted);
  line-height: 1.62;
}

.editorial-team-opinion-header > p:not(.information-eyebrow) {
  margin: 12px 0 0;
}

.editorial-team-opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.editorial-team-opinion-grid article {
  min-width: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(109, 77, 246, 0.26);
}

.editorial-team-opinion-grid p {
  margin: 10px 0 0;
}

.editorial-team-opinion-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0 0;
  padding: 24px 28px 25px 32px;
  border: 1px solid rgba(109, 77, 246, 0.44);
  border-left: 6px solid var(--color-primary);
  background: rgba(109, 77, 246, 0.12);
  box-shadow: 0 12px 30px rgba(50, 38, 126, 0.11);
}

.editorial-team-opinion-note p:last-child {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.65;
}

.editorial-team-opinion-note strong {
  color: var(--color-primary);
}

.editorial-team-opinion-symbol {
  display: block;
  width: 48px;
  min-width: 48px;
  height: 48px;
  margin-top: 1px;
}

.editorial-article-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: 48px;
  align-items: start;
}

.editorial-aside {
  position: sticky;
  top: 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(109, 77, 246, 0.22);
}

.editorial-aside > p {
  margin: 0;
  color: var(--color-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.editorial-aside ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.editorial-aside a {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.editorial-aside a:hover,
.editorial-aside a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
}

.editorial-article-content {
  min-width: 0;
}

.editorial-article-content section {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}

.editorial-article-content h2 {
  font-size: clamp(1.32rem, 2vw, 1.6rem);
}

.editorial-article-content p {
  margin: 14px 0 0;
}

.editorial-article-content code,
.resource-item code {
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--color-ink);
  background: rgba(109, 77, 246, 0.09);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.editorial-article-content pre {
  margin: 18px 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #15182c;
}

.editorial-article-content pre code {
  padding: 0;
  color: #f6f2ff;
  background: transparent;
  font-size: 0.86rem;
  line-height: 1.65;
}

.editorial-article-content .editorial-next-step {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(109, 77, 246, 0.05);
}

.editorial-next-step p:not(.information-eyebrow) {
  margin-bottom: 18px;
}

.resource-list {
  border-top: 1px solid var(--color-border);
}

.resource-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid var(--color-border);
}

.resource-index {
  width: 38px;
  height: 38px;
  margin: 0;
}

.resource-item p {
  max-width: 760px;
  margin: 9px 0 0;
}

.resource-item .editorial-link {
  margin: 6px 0 0;
  white-space: nowrap;
}

html[data-theme="dark"] .editorial-page h1,
html[data-theme="dark"] .editorial-guide-card h2,
html[data-theme="dark"] .editorial-callout h2,
html[data-theme="dark"] .editorial-team-opinion h2,
html[data-theme="dark"] .editorial-team-opinion h3,
html[data-theme="dark"] .editorial-article-content h2,
html[data-theme="dark"] .resource-item h2,
html[data-theme="dark"] .editorial-aside > p,
html[data-theme="dark"] .editorial-article-content code,
html[data-theme="dark"] .resource-item code {
  color: var(--color-text);
}

html[data-theme="dark"] .editorial-guide-card,
html[data-theme="dark"] .editorial-callout,
html[data-theme="dark"] .editorial-team-opinion-note,
html[data-theme="dark"] .editorial-article-content .editorial-next-step {
  border-color: rgba(211, 217, 255, 0.16);
  background: rgba(20, 23, 47, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .editorial-guide-card-featured {
  border-color: rgba(158, 137, 255, 0.42);
  background: linear-gradient(140deg, rgba(109, 77, 246, 0.22), rgba(20, 23, 47, 0.94));
}

html[data-theme="dark"] .editorial-article-content section,
html[data-theme="dark"] .resource-list,
html[data-theme="dark"] .resource-item {
  border-color: rgba(211, 217, 255, 0.16);
}

@media (max-width: 900px) {
  .support-record,
  .support-impact-grid {
    grid-template-columns: 1fr;
  }

  .support-record {
    gap: 28px;
  }

  .support-impact-grid article {
    min-height: 0;
  }

  .support-clarity {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-team-opinion-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .editorial-guide-card:last-child {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .editorial-article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .support-page {
    width: min(100% - 28px, var(--container));
    margin: 30px auto 46px;
  }

  .support-record,
  .support-clarity {
    margin-top: 30px;
  }

  .support-impact {
    margin-top: 34px;
  }

  .editorial-page {
    width: min(100% - 28px, var(--container));
    margin: 30px auto 46px;
  }

  .editorial-guide-grid {
    grid-template-columns: 1fr;
  }

  .editorial-guide-card,
  .editorial-guide-card:last-child {
    min-height: 0;
    grid-column: auto;
    padding: 22px;
  }

  .editorial-callout {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .editorial-callout .button {
    width: 100%;
  }

  .editorial-article-content .editorial-next-step {
    padding: 22px;
  }

  .resource-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  .resource-item .editorial-link {
    grid-column: 2;
    margin-top: 0;
  }
}

/* ===========================================================================
   Pages d'information : confidentialité, mentions légales et contact
============================================================================ */

.information-page {
  width: min(var(--container), calc(100% - 72px));
  margin: 52px auto 64px;
}

.information-page-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.information-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.information-page h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.information-page-header > p:not(.information-eyebrow):not(.information-updated) {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.information-updated {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.information-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.information-card,
.contact-panel {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(41, 41, 85, 0.05);
}

.information-card {
  padding: 26px;
}

.information-card-wide {
  grid-column: 1 / -1;
}

.information-card h2,
.contact-panel h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.05rem;
  line-height: 1.3;
}

.information-card p,
.information-card address {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-style: normal;
  line-height: 1.62;
}

.information-card a,
.information-definition-list a {
  color: var(--color-primary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.information-definition-list {
  margin: 16px 0 0;
}

.information-definition-list div {
  display: grid;
  grid-template-columns: minmax(118px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--color-border);
}

.information-definition-list dt {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.information-definition-list dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 650;
  line-height: 1.45;
}

.information-definition-list dd.legal-address {
  font-weight: 400;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: 28px;
}

.contact-panel p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.contact-email {
  flex: 0 0 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.protected-contact-button {
  display: inline-flex;
  margin-top: 16px;
}

html[data-theme="dark"] .information-card,
html[data-theme="dark"] .contact-panel {
  background: rgba(20, 23, 47, 0.92);
  border-color: rgba(211, 217, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .information-page h1,
html[data-theme="dark"] .information-card h2,
html[data-theme="dark"] .contact-panel h2,
html[data-theme="dark"] .information-definition-list dd {
  color: var(--color-text);
}

html[data-theme="dark"] .information-card p,
html[data-theme="dark"] .information-card address,
html[data-theme="dark"] .contact-panel p {
  color: var(--color-muted);
}

.contact-information-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 840px) {
  .information-page {
    width: min(100% - 42px, var(--container));
    margin-top: 38px;
  }
}

@media (max-width: 640px) {
  .information-page {
    width: min(100% - 28px, var(--container));
    margin: 30px auto 46px;
  }

  .information-layout,
  .contact-information-layout {
    grid-template-columns: 1fr;
  }

  .information-card-wide {
    grid-column: auto;
  }

  .information-card,
  .contact-panel {
    padding: 20px;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-email {
    width: 100%;
    text-align: center;
  }

  .information-definition-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ===========================================================================
   27. Ajout de fichier - icone stable selon le navigateur v1.29
========================================================================== */

.dropzone-visual {
  width: 72px;
  height: 72px;
}

.dropzone-picture {
  position: absolute;
  top: 4px;
  left: 4px;
}

.dropzone-plus {
  right: 0;
  bottom: 0;
  padding: 0;
  font-size: 0;
}

.dropzone-plus::before,
.dropzone-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.dropzone-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 560px) {
  .dropzone {
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .dropzone > div:last-child {
    width: 100%;
  }
}

/* ===========================================================================
   26. Navigation compacte - positionnement stable du controle v1.28
========================================================================== */

@media (max-width: 1120px) {
  .site-header > .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .mobile-menu-button {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .main-nav.is-open {
    grid-row: 2;
  }

  .header-actions.is-open {
    grid-row: 3;
  }

  .mobile-menu-button .menu-icon span {
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   15. Responsive tablette v1.14 — iPad / BlackBerry PlayBook
   Base : app.css v1.13
========================================================================== */

@media (max-width: 860px) and (min-width: 561px) {
  /* -----------------------------------------------------------------------
     Header tablette + bouton menu icône
  ----------------------------------------------------------------------- */

  .site-header {
    width: min(100% - 44px, var(--container));
    padding-top: 22px;
    padding-bottom: 18px;
    align-items: center;
  }

  .mobile-menu-button {
    width: 54px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--color-text);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)),
      var(--color-surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  html[data-theme="dark"] .mobile-menu-button {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
      var(--color-surface);
  }

  .menu-icon {
    width: 24px;
    height: 18px;
    display: grid;
    gap: 5px;
  }

  .menu-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  /* -----------------------------------------------------------------------
     Menu déroulé : soulignement moins bas
  ----------------------------------------------------------------------- */

  .main-nav.is-open {
    padding: 20px 22px;
    gap: 18px;
  }

  .main-nav.is-open a {
    width: fit-content;
    line-height: 1.35;
  }

  .main-nav.is-open a::after {
    bottom: -5px;
    height: 2px;
  }

  .main-nav.is-open a.is-active::after,
  .main-nav.is-open a:hover::after {
    width: 100%;
  }

  /* -----------------------------------------------------------------------
     Hero tablette
  ----------------------------------------------------------------------- */

  .hero-section {
    width: min(100% - 44px, var(--container));
    margin-top: 28px;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .innovation-badge {
    margin-bottom: 28px;
  }

  .hero-title,
  h1 {
    max-width: 720px;
    font-size: clamp(3.35rem, 8.2vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
  }

  .hero-lead {
    max-width: 690px;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .trust-list {
    margin-top: 22px;
    gap: 18px;
  }

  /* -----------------------------------------------------------------------
     Browser preview : hauteur moins écrasée, proche d’un ratio 16/9
  ----------------------------------------------------------------------- */

  .hero-visual,
  .hero-visual-v2 {
    gap: 20px;
  }

  .browser-preview,
  .browser-preview-v2 {
    width: 100%;
    border-radius: 28px;
  }

  .browser-topbar {
    height: 58px;
    padding-inline: 18px;
  }

  .browser-tab {
    min-width: 210px;
    height: 41px;
  }

  .browser-address {
    height: 48px;
  }

  .browser-art,
  .browser-art-v2 {
    height: auto;
    min-height: 300px;
    aspect-ratio: 16 / 9;
  }

  .sun,
  .sun-v2 {
    width: 76px;
    height: 76px;
    top: 72px;
    right: 132px;
  }

  .mountain-front {
    left: 70px;
    width: 520px;
    height: 285px;
  }

  .mountain-mid {
    left: 260px;
    width: 470px;
    height: 245px;
  }

  .mountain-back {
    right: -24px;
    width: 480px;
    height: 225px;
  }

  /* -----------------------------------------------------------------------
     Téléphone tablette : plus crédible, mieux détaillé
  ----------------------------------------------------------------------- */

  .phone-preview,
  .phone-preview-v2 {
    width: 188px;
    height: 350px;
    padding: 34px 20px 22px;
    border-width: 9px;
    border-radius: 38px;
  }

  .phone-speaker {
    top: 12px;
    width: 54px;
    height: 5px;
    background: rgba(255,255,255,0.58);
  }

  .phone-preview time,
  .phone-preview-v2 time {
    margin-bottom: 20px;
    font-size: 1.18rem;
    font-weight: 650;
  }

  .phone-main-app {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .phone-main-app img,
  .phone-preview img,
  .phone-preview-v2 img {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .phone-preview small,
  .phone-preview-v2 small {
    margin-top: 9px;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .phone-icons,
  .phone-icons-v2 {
    margin-top: 26px;
    grid-template-columns: repeat(3, 38px);
    gap: 11px;
  }

  .phone-icons span,
  .phone-icons-v2 span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .phone-icons .ui-icon,
  .phone-icons-v2 .ui-icon {
    width: 18px;
    height: 18px;
  }

  .hand-note,
  .hand-note-v2 {
    margin-top: -4px;
    font-size: 1.48rem;
  }

  /* -----------------------------------------------------------------------
     Plateformes : bloc déjà correct, seulement respiration
  ----------------------------------------------------------------------- */

  .platform-card {
    margin-top: 4px;
    padding: 24px;
    border-radius: 26px;
    gap: 18px;
  }

  .platform-icon {
    width: 58px;
    height: 58px;
  }

  /* -----------------------------------------------------------------------
     Télécharger le pack complet
  ----------------------------------------------------------------------- */

  .download-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 34px 34px;
  }

  .download-copy {
    max-width: none;
  }

  .download-card h2 {
    max-width: 520px;
    margin-bottom: 10px;
  }

  .download-card p {
    max-width: none;
    line-height: 1.55;
  }

  .download-visual {
    justify-self: center;
    width: 220px;
    height: 128px;
    margin-top: 6px;
  }

  .download-folder {
    top: 0;
    left: 50%;
    right: auto;
    width: 104px;
    height: 82px;
    transform: translateX(-50%);
  }

  .download-mini-icons {
    left: 50%;
    bottom: 8px;
    transform: translateX(-62%);
  }

  .download-action,
  .download-visual button.download-action {
    right: -7px;
    bottom: 2px;
  }
}

/* ==========================================================================
   16. Responsive téléphone v1.15 — iPhone / Galaxy
   Base : app.css v1.13a + tablette v1.14
========================================================================== */

@media (max-width: 860px) {
  /* -----------------------------------------------------------------------
     Menu : icône hamburger visible
  ----------------------------------------------------------------------- */

  .mobile-menu-button {
    width: 48px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--color-text);
  }

  .menu-icon {
    width: 23px;
    height: 17px;
    display: grid;
    gap: 5px;
  }

  .menu-icon span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.95;
  }

  html[data-theme="dark"] .mobile-menu-button {
    color: #ffffff;
  }

  /* -----------------------------------------------------------------------
     Téléphone : trait supérieur au-dessus de 9:41
  ----------------------------------------------------------------------- */

  .phone-preview,
  .phone-preview-v2 {
    position: relative;
  }

  .phone-speaker {
    display: block;
    top: 12px;
    left: 50%;
    width: 52px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    transform: translateX(-50%);
    z-index: 3;
  }

  .phone-preview time,
  .phone-preview-v2 time {
    margin-top: 4px;
  }

  /* -----------------------------------------------------------------------
     Audit : centrer le lien rapport complet
  ----------------------------------------------------------------------- */

  .audit-panel .text-link {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    text-align: center;
  }

  /* -----------------------------------------------------------------------
     Télécharger : centrer le groupe dossier / icônes / téléchargement
  ----------------------------------------------------------------------- */

  .download-card {
    text-align: left;
  }

  .download-visual {
    position: relative;
    width: 220px;
    height: 156px;
    margin: 10px auto 0;
    justify-self: center;
    display: grid;
    justify-items: center;
  }

  .download-folder {
    position: static;
    width: 104px;
    height: 82px;
    transform: none;
  }

  .download-mini-icons {
    position: static;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    transform: none;
  }

  .download-mini-icons span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .download-action,
  .download-visual button.download-action {
    position: static;
    width: 54px;
    height: 54px;
    margin-top: 10px;
    transform: none;
  }

  /* -----------------------------------------------------------------------
     Pied de page : centrer les liens secondaires
  ----------------------------------------------------------------------- */

  .site-footer {
    text-align: center;
    align-items: center;
  }

  .site-footer nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   17. Responsive téléphone v1.16 — corrections menu, téléphone, download, footer
   Base : app.css v1.13a + v1.14 + v1.15
========================================================================== */

@media (max-width: 860px) {
  /* -----------------------------------------------------------------------
     1. Menu ouvert : soulignement actif moins intrusif
  ----------------------------------------------------------------------- */

  .main-nav.is-open {
    gap: 14px;
    padding: 18px 22px;
  }

  .main-nav.is-open a {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 5px;
    line-height: 1.25;
  }

  .main-nav.is-open a::after {
    bottom: 0;
    height: 2px;
  }

  .main-nav.is-open a.is-active::after,
  .main-nav.is-open a:hover::after {
    width: 100%;
  }

  /* -----------------------------------------------------------------------
     2. Téléphone : centrage + séparation avec "Parfait partout"
  ----------------------------------------------------------------------- */

  .hero-visual,
  .hero-visual-v2 {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .browser-preview,
  .browser-preview-v2 {
    justify-self: stretch;
  }

  .phone-preview,
  .phone-preview-v2 {
    position: relative;
    justify-self: center;
    margin: 12px auto 12px;
    width: 176px;
    height: 324px;
    z-index: 2;
  }

  .phone-speaker {
    display: block;
    top: 12px;
    left: 50%;
    width: 52px;
    height: 5px;
    transform: translateX(-50%);
    z-index: 4;
  }

  .hand-note,
  .hand-note-v2 {
    position: static;
    justify-self: center;
    width: fit-content;
    margin: 10px auto 6px;
    text-align: center;
    transform: rotate(-7deg);
    z-index: 1;
  }

  .hand-note::after,
  .hand-note-v2::after {
    margin-left: auto;
    margin-right: auto;
  }

  /* -----------------------------------------------------------------------
     3. Téléchargement : bouton à droite des petites icônes, pas dessous
  ----------------------------------------------------------------------- */

  .download-visual {
    position: relative;
    width: 196px;
    height: 138px;
    margin: 10px auto 0;
    justify-self: center;
    display: block;
  }

  .download-folder {
    position: absolute;
    top: 20px;
    left: 50%;
    right: auto;
    bottom: 12px;
    width: 93px;
    height: 76px;
    transform: translateX(-50%);
  }

  .download-mini-icons {
    position: absolute;
    left: 0;
    bottom: 8px;
    display: flex;
    justify-content: flex-start;
    gap: 7px;
    margin: 0;
    transform: none;
  }

  .download-mini-icons span {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .download-mini-icons .ui-icon {
    width: 15px;
    height: 15px;
  }

  .download-action,
  .download-visual button.download-action {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 50px;
    height: 50px;
    margin: 0;
    transform: none;
  }

  .download-action svg {
    width: 23px;
    height: 23px;
  }

  /* -----------------------------------------------------------------------
     4. Footer : copyright et liens centrés proprement
  ----------------------------------------------------------------------- */

  .site-footer {
    padding-top: 22px;
    padding-bottom: 34px;
    gap: 14px;
    text-align: center;
    align-items: center;
  }

  .site-footer p {
    width: 100%;
    margin: 0 auto;
    font-size: 0.72rem;
    line-height: 1.35;
    white-space: nowrap;
    text-align: center;
  }

  .site-footer nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.74rem;
  }
}

/* Très petits écrans : éviter tout débordement du copyright */
@media (max-width: 360px) {
  .site-footer p {
    max-width: 260px;
    white-space: normal;
  }

  .site-footer nav {
    gap: 12px;
  }
}

/* ==========================================================================
   18. Correctif centrage téléphone v1.17
   Base : app.css v1.13b
========================================================================== */

@media (max-width: 860px) {
  .phone-preview,
  .phone-preview-v2 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tablette uniquement : conserve le format plus grand, mais recentré */
@media (max-width: 860px) and (min-width: 561px) {
  .phone-preview,
  .phone-preview-v2 {
    width: 188px;
    height: 350px;
    margin-top: 28px;
    margin-bottom: 14px;
  }
}

/* Téléphone uniquement : recentrage strict */
@media (max-width: 560px) {
  .phone-preview,
  .phone-preview-v2 {
    width: 176px;
    height: 324px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .hand-note,
  .hand-note-v2 {
    margin-top: 8px;
  }
}

/* ==========================================================================
   19. Icône dossier premium v1.18
   Bloc : Téléchargez votre pack complet
========================================================================== */

.download-folder-premium {
  overflow: visible;
}

.download-folder-premium .download-folder-icon {
  width: 77px;
  height: 65px;
  display: block;
  overflow: visible;
  transform: translateY(1px);
}

.download-folder-premium .folder-front,
.download-folder-premium .folder-back,
.download-folder-premium .folder-lip {
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.download-card:hover .download-folder-premium .folder-front {
  transform: translateY(-1px);
}

.download-card:hover .download-folder-premium .folder-lip {
  transform: translateY(-2px);
}

html[data-theme="dark"] .download-folder-premium .folder-front {
  opacity: 0.96;
}

html[data-theme="dark"] .download-folder-premium .folder-back {
  opacity: 0.92;
}

html[data-theme="dark"] .download-folder-premium .folder-zip {
  opacity: 0.92;
}

/* ==========================================================================
   20. Robustesse zoom & accessibilité v1.14a
   Base : app.css v1.13d
   Objectif : éviter les chevauchements à 120–133 % de zoom Firefox
========================================================================== */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   A. Desktop réduit / zoom navigateur
   Cette zone vise les écrans encore desktop, mais dont la largeur CSS
   devient plus faible sous l'effet du zoom navigateur.
-------------------------------------------------------------------------- */

@media (max-width: 1280px) and (min-width: 861px) {
  .hero-section {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 34px;
    align-items: start;
  }

  .hero-visual,
  .hero-visual-v2 {
    min-height: 600px;
  }

  .browser-preview,
  .browser-preview-v2 {
    left: 0;
    width: min(620px, 74%);
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 54px;
    right: 54px;
    width: 166px;
    height: 304px;
    z-index: 4;
  }

  .hand-note,
  .hand-note-v2 {
    top: 202px;
    right: -2px;
    z-index: 6;
    font-size: 1.34rem;
    pointer-events: none;
  }

  .platform-card {
    left: 116px;
    right: 8px;
    bottom: 86px;
    min-height: 118px;
    padding: 17px 18px;
    gap: 10px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: visible;
  }

  .platform-card article {
    min-width: 0;
    gap: 9px;
  }

  .platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .platform-icon .ui-icon {
    width: 25px;
    height: 25px;
  }

  .platform-card article b {
    max-width: 100%;
    font-size: 0.76rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .workspace-grid {
    margin-top: 24px;
  }
}

/* Variante plus contrainte : zoom fort ou fenêtre desktop étroite */
@media (max-width: 1120px) and (min-width: 861px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual,
  .hero-visual-v2 {
    min-height: 560px;
  }

  .browser-preview,
  .browser-preview-v2 {
    width: 72%;
    left: 0;
  }

  .phone-preview,
  .phone-preview-v2 {
    right: 74px;
  }

  .platform-card {
    left: 140px;
    right: 28px;
    bottom: 52px;
  }

  .workspace-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .side-stack {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   B. Protection spécifique du bloc plateformes
   Empêche la dernière icône Windows de sortir du cadre.
-------------------------------------------------------------------------- */

.platform-card,
.platform-card * {
  min-width: 0;
}

.platform-card {
  box-sizing: border-box;
}

.platform-card article {
  overflow: visible;
}

.platform-card article b {
  text-align: center;
}

/* --------------------------------------------------------------------------
   C. Lisibilité et accessibilité clavier
-------------------------------------------------------------------------- */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-primary) 72%, white);
  outline-offset: 4px;
  box-shadow:
    0 0 0 7px rgba(109, 77, 246, 0.18);
}

html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] button:focus-visible,
html[data-theme="dark"] input:focus-visible,
html[data-theme="dark"] [tabindex]:focus-visible {
  outline-color: #bfa7ff;
  box-shadow:
    0 0 0 7px rgba(191, 167, 255, 0.20);
}

/* Les zones cliquables importantes gardent une hauteur confortable */
.button,
.theme-switch,
.mobile-menu-button,
.segmented-control button,
.download-action {
  min-height: 42px;
}

/* --------------------------------------------------------------------------
   D. Utilisateurs sensibles aux animations
-------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .button:hover,
  .download-action:hover,
  .download-card:hover .download-folder-premium .folder-front,
  .download-card:hover .download-folder-premium .folder-lip {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   E. Préférence de contraste renforcé
-------------------------------------------------------------------------- */

@media (prefers-contrast: more) {
  :root {
    --color-border: rgba(90, 98, 130, 0.42);
    --color-border-strong: rgba(90, 98, 130, 0.58);
  }

  .hero-lead,
  .download-card p,
  .value-card p,
  .mini-features small,
  .audience-strip small,
  .site-footer {
    color: color-mix(in srgb, var(--color-text) 72%, var(--color-muted));
  }

  .button-ghost,
  .panel,
  .value-card,
  .audience-strip,
  .mini-features,
  .download-card,
  .platform-card {
    border-color: var(--color-border-strong);
  }
}

/* --------------------------------------------------------------------------
   F. Mode contraste forcé Windows / navigateurs compatibles
-------------------------------------------------------------------------- */

@media (forced-colors: active) {
  body,
  .panel,
  .value-card,
  .audience-strip,
  .mini-features,
  .download-card,
  .platform-card,
  .browser-preview,
  .phone-preview {
    forced-color-adjust: auto;
  }

  a,
  button {
    color: LinkText;
  }

  .button,
  .theme-switch,
  .mobile-menu-button,
  .download-action {
    border: 1px solid ButtonText;
  }

  .platform-icon,
  .feature-icon,
  .value-icon,
  .download-mini-icons span {
    border: 1px solid ButtonText;
  }
}

/* ==========================================================================
   21. Robustesse zoom v1.14b — Firefox 120 / 133 / 150 %
   Base : app.css v1.13d
   Objectif : stabiliser la zone hero et basculer en navigation compacte
========================================================================== */


/* --------------------------------------------------------------------------
   A. Navigation compacte plus tôt
   À fort zoom, la largeur CSS disponible chute : on évite donc de couper
   les boutons à droite.
-------------------------------------------------------------------------- */

@media (max-width: 1120px) and (min-width: 861px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
    width: min(100% - 44px, var(--container));
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-button {
    width: 54px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--color-text);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)),
      var(--color-surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  html[data-theme="dark"] .mobile-menu-button {
    color: #ffffff;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
      var(--color-surface);
  }

  .menu-icon {
    width: 23px;
    height: 17px;
    display: grid;
    gap: 5px;
  }

  .menu-icon span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .main-nav.is-open,
  .header-actions.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
  }

  .main-nav.is-open {
    padding: 18px 22px;
    gap: 14px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
  }

  .main-nav.is-open a {
    width: fit-content;
    padding-bottom: 5px;
    line-height: 1.25;
  }

  .main-nav.is-open a::after {
    bottom: 0;
    height: 2px;
  }

  .header-actions.is-open {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* --------------------------------------------------------------------------
   B. Hero desktop compact
   On sort progressivement du positionnement absolu fragile pour le bloc
   plateformes. Le téléphone reste superposé à l'écran, mais la carte
   plateformes repasse dans le flux : elle ne peut plus recouvrir Tester.
-------------------------------------------------------------------------- */

@media (max-width: 1120px) and (min-width: 861px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(100% - 44px, var(--container));
  }

  .hero-copy {
    max-width: 780px;
    padding-top: 0;
  }

  .hero-title,
  h1 {
    max-width: 780px;
    font-size: clamp(3.6rem, 7.2vw, 5.1rem);
    line-height: 1.02;
  }

  .hero-lead {
    max-width: 760px;
  }

  .hero-visual,
  .hero-visual-v2 {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: stretch;
  }

  .browser-preview,
  .browser-preview-v2 {
    position: relative;
    top: auto;
    left: auto;
    width: min(760px, 74vw);
    justify-self: start;
    z-index: 1;
  }

  .browser-art,
  .browser-art-v2 {
    height: 250px;
  }

  .phone-preview,
  .phone-preview-v2 {
    position: absolute;
    top: 74px;
    right: min(7vw, 86px);
    width: 166px;
    height: 304px;
    z-index: 4;
  }

  .hand-note,
  .hand-note-v2 {
    position: relative;
    top: auto;
    right: auto;
    justify-self: end;
    width: fit-content;
    margin: -18px min(6vw, 72px) 12px 0;
    z-index: 5;
    font-size: 1.34rem;
    transform: rotate(-7deg);
    pointer-events: none;
  }

  .platform-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(780px, 86vw);
    min-height: 118px;
    margin: -8px 0 0 auto;
    padding: 18px 20px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    z-index: 3;
    overflow: visible;
  }

  .platform-card article {
    min-width: 0;
    gap: 9px;
  }

  .platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .platform-icon .ui-icon {
    width: 26px;
    height: 26px;
  }

  .platform-card article b {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.05;
    white-space: nowrap;
    text-align: center;
  }

  .workspace-grid {
    margin-top: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .side-stack {
    grid-column: 1 / -1;
  }
}


/* --------------------------------------------------------------------------
   C. Zone 133 % environ : équilibre visuel
   On garde la carte plateformes proche du visuel, sans créer de grand vide.
-------------------------------------------------------------------------- */

@media (max-width: 1020px) and (min-width: 861px) {
  .browser-preview,
  .browser-preview-v2 {
    width: min(720px, 78vw);
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 72px;
    right: min(4vw, 42px);
  }

  .hand-note,
  .hand-note-v2 {
    margin-top: -8px;
    margin-right: 24px;
  }

  .platform-card {
    width: min(740px, 90vw);
    margin-top: 4px;
  }

  .workspace-grid {
    margin-top: 20px;
  }
}


/* --------------------------------------------------------------------------
   D. Zone 150 % environ : mise en page assumée et stable
   Le téléphone ne cherche plus à rester collé à droite de l'écran si la
   place devient insuffisante.
-------------------------------------------------------------------------- */

@media (max-width: 940px) and (min-width: 861px) {
  .hero-title,
  h1 {
    font-size: clamp(3.2rem, 7.8vw, 4.4rem);
  }

  .browser-preview,
  .browser-preview-v2 {
    width: 100%;
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 96px;
    right: 28px;
    width: 154px;
    height: 286px;
  }

  .phone-main-app {
    width: 58px;
    height: 58px;
  }

  .phone-main-app img,
  .phone-preview img,
  .phone-preview-v2 img {
    width: 44px;
    height: 44px;
  }

  .phone-icons,
  .phone-icons-v2 {
    grid-template-columns: repeat(3, 32px);
    gap: 8px;
  }

  .phone-icons span,
  .phone-icons-v2 span {
    width: 32px;
    height: 32px;
  }

  .hand-note,
  .hand-note-v2 {
    justify-self: center;
    margin: 12px auto 10px;
  }

  .platform-card {
    width: 100%;
    margin-top: 8px;
    padding: 18px;
    gap: 10px;
  }

  .platform-icon {
    width: 48px;
    height: 48px;
  }

  .platform-icon .ui-icon {
    width: 24px;
    height: 24px;
  }

  .workspace-grid {
    margin-top: 22px;
  }
}

/* ==========================================================================
   22. Robustesse zoom v1.14c — équilibre 133 % / 150 %
   Base : app.css v1.13d
   Objectif :
   - téléphone plus superposé à l'écran
   - réduction de l'espace entre Onglet et Tester mon site
   - conservation du menu compact à fort zoom
========================================================================== */


/* --------------------------------------------------------------------------
   A. Zoom intermédiaire sur grands écrans : env. 120–133 %
   On conserve l'esprit desktop, mais on réduit la hauteur artificielle
   et on rapproche le téléphone de l'écran.
-------------------------------------------------------------------------- */

@media (max-width: 1500px) and (min-width: 1281px) {
  .hero-visual,
  .hero-visual-v2 {
    min-height: 520px;
  }

  .browser-preview,
  .browser-preview-v2 {
    width: min(650px, 75%);
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 52px;
    right: clamp(86px, 8vw, 126px);
    z-index: 5;
  }

  .hand-note,
  .hand-note-v2 {
    top: 210px;
    right: 2px;
    z-index: 6;
    pointer-events: none;
  }

  .platform-card {
    left: 150px;
    right: 12px;
    bottom: 24px;
    min-height: 124px;
    padding: 18px 22px;
    gap: 14px;
  }

  .platform-icon {
    width: 54px;
    height: 54px;
  }

  .platform-icon .ui-icon {
    width: 27px;
    height: 27px;
  }

  .platform-card article b {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .workspace-grid {
    margin-top: 0;
  }
}


/* --------------------------------------------------------------------------
   B. Zone 133 % fréquente : largeur desktop réduite
   Ici on garde une composition compacte, mais sans vaste espace vertical.
-------------------------------------------------------------------------- */

@media (max-width: 1280px) and (min-width: 861px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .hero-copy {
    max-width: 820px;
    padding-top: 0;
  }

  .hero-title,
  h1 {
    max-width: 900px;
    font-size: clamp(3.35rem, 6.4vw, 4.9rem);
    line-height: 1.02;
  }

  .hero-lead {
    max-width: 820px;
  }

  .hero-visual,
  .hero-visual-v2 {
    position: relative;
    min-height: 0;
    display: block;
  }

  .browser-preview,
  .browser-preview-v2 {
    position: relative;
    top: auto;
    left: auto;
    width: min(860px, 78vw);
    z-index: 1;
  }

  .browser-art,
  .browser-art-v2 {
    height: 250px;
  }

  .phone-preview,
  .phone-preview-v2 {
    position: absolute;
    top: 65px;
    right: clamp(90px, 35vw, 160px);
    width: 166px;
    height: 304px;
    z-index: 5;
  }

  .hand-note,
  .hand-note-v2 {
    position: absolute;
    top: 238px;
    right: 32px;
    width: max-content;
    margin: 0;
    z-index: 6;
    font-size: 1.34rem;
    transform: rotate(-7deg);
    pointer-events: none;
  }

  .platform-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(900px, 88vw);
    min-height: 122px;
    margin: 18px 0 0 auto;
    padding: 18px 22px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    z-index: 3;
  }

  .platform-card article {
    min-width: 0;
    gap: 9px;
  }

  .platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .platform-icon .ui-icon {
    width: 26px;
    height: 26px;
  }

  .platform-card article b {
    font-size: 0.8rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .workspace-grid {
    margin-top: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .side-stack {
    grid-column: 1 / -1;
  }
}


/* --------------------------------------------------------------------------
   C. Zone 150 % : menu compact conservé, visuel stabilisé
   Le téléphone recouvre davantage l'écran au lieu de se détacher.
-------------------------------------------------------------------------- */

@media (max-width: 1120px) and (min-width: 861px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-button {
    width: 54px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--color-text);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.54)),
      var(--color-surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  html[data-theme="dark"] .mobile-menu-button {
    color: #ffffff;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
      var(--color-surface);
  }

  .menu-icon {
    width: 23px;
    height: 17px;
    display: grid;
    gap: 5px;
  }

  .menu-icon span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .main-nav.is-open,
  .header-actions.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
  }

  .main-nav.is-open {
    padding: 18px 22px;
    gap: 14px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-surface);
  }

  .main-nav.is-open a {
    width: fit-content;
    padding-bottom: 5px;
    line-height: 1.25;
  }

  .main-nav.is-open a::after {
    bottom: 0;
    height: 2px;
  }

  .header-actions.is-open {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .browser-preview,
  .browser-preview-v2 {
    width: min(760px, 78vw);
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 72px;
    right: clamp(110px, 13vw, 190px);
    width: 160px;
    height: 296px;
  }

  .hand-note,
  .hand-note-v2 {
    top: 250px;
    right: 20px;
    font-size: 1.28rem;
  }

  .platform-card {
    width: min(920px, 86vw);
    margin-top: 18px;
  }

  .workspace-grid {
    margin-top: 22px;
  }
}


/* --------------------------------------------------------------------------
   D. Très forte réduction de largeur desktop zoomée
   On évite le décrochage téléphone / écran.
-------------------------------------------------------------------------- */

@media (max-width: 980px) and (min-width: 861px) {
  .browser-preview,
  .browser-preview-v2 {
    width: 100%;
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 76px;
    right: clamp(96px, 10vw, 130px);
    width: 154px;
    height: 286px;
  }

  .hand-note,
  .hand-note-v2 {
    top: 258px;
    right: 18px;
    font-size: 1.22rem;
  }

  .platform-card {
    width: 100%;
    margin-top: 18px;
  }

  .workspace-grid {
    margin-top: 22px;
  }
}

/* ==========================================================================
   23. Ajustements finaux paysage tablette / mobile large v1.13f
   Base : app.css v1.13e
   Objectif :
   - étendre le bloc plateformes en paysage tablette
   - corriger "Parfait partout" sur iPhone 16+ / fenêtre étroite paysage
========================================================================== */


/* --------------------------------------------------------------------------
   A. Tablettes et petits écrans larges en paysage
   Le bloc plateformes reprend toute la largeur disponible.
-------------------------------------------------------------------------- */

@media (min-width: 861px) and (max-width: 1180px) and (max-height: 820px) {
  .platform-card {
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .platform-card {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .platform-card article {
    min-width: 0;
  }
}


/* --------------------------------------------------------------------------
   B. iPhone 16+ paysage / fenêtres réduites de type paysage
   Le téléphone reste superposé, mais la note manuscrite sort du conflit
   écran + téléphone.
-------------------------------------------------------------------------- */

@media (min-width: 861px) and (max-width: 980px) and (max-height: 620px) {
  .hero-visual,
  .hero-visual-v2 {
    display: block;
  }

  .browser-preview,
  .browser-preview-v2 {
    width: 100%;
  }

  .phone-preview,
  .phone-preview-v2 {
    top: 86px;
    right: 34px;
    width: 146px;
    height: 272px;
    z-index: 5;
  }

  .phone-speaker {
    top: 10px;
    width: 48px;
    height: 5px;
  }

  .phone-preview time,
  .phone-preview-v2 time {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .phone-main-app {
    width: 54px;
    height: 54px;
    border-radius: 17px;
  }

  .phone-main-app img,
  .phone-preview img,
  .phone-preview-v2 img {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }

  .phone-icons,
  .phone-icons-v2 {
    margin-top: 22px;
    grid-template-columns: repeat(3, 30px);
    gap: 8px;
  }

  .phone-icons span,
  .phone-icons-v2 span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .phone-icons .ui-icon,
  .phone-icons-v2 .ui-icon {
    width: 15px;
    height: 15px;
  }

  .hand-note,
  .hand-note-v2 {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    margin: 10px 54px 10px auto;
    font-size: 1.08rem;
    line-height: 1.02;
    z-index: 6;
    transform: rotate(-7deg);
  }

  .hand-note::after,
  .hand-note-v2::after {
    width: 60px;
    height: 18px;
    margin-top: 2px;
  }

  .platform-card {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    gap: 10px;
  }

  .platform-icon {
    width: 46px;
    height: 46px;
  }

  .platform-icon .ui-icon {
    width: 23px;
    height: 23px;
  }

  .platform-card article b {
    font-size: 0.76rem;
  }
}


/* --------------------------------------------------------------------------
   C. Cas paysage encore plus contraint
   Si la hauteur est vraiment faible, la note est légèrement réduite pour
   éviter de perturber la composition.
-------------------------------------------------------------------------- */

@media (min-width: 861px) and (max-width: 940px) and (max-height: 520px) {
  .hand-note,
  .hand-note-v2 {
    margin-right: 42px;
    font-size: 0.98rem;
  }

  .phone-preview,
  .phone-preview-v2 {
    right: 24px;
    width: 140px;
    height: 262px;
  }

  .platform-card {
    margin-top: 8px;
  }
}

/* ==========================================================================
   24. Correctif final paysage mobile / fenêtre intermédiaire v1.13g
   Base : app.css v1.13f
   Objectif :
   - stabiliser iPhone 16+ paysage
   - éviter que “Parfait partout” chevauche le téléphone
   - conserver iPad / BlackBerry paysage validés
========================================================================== */


/* --------------------------------------------------------------------------
   A. Téléphones larges en paysage : iPhone 16+ et équivalents
   On limite volontairement à une hauteur faible pour ne pas toucher
   iPad / BlackBerry PlayBook paysage.
-------------------------------------------------------------------------- */

@media (min-width: 861px) and (max-width: 1040px) and (max-height: 560px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-visual,
  .hero-visual-v2 {
    position: relative;
    display: block;
    min-height: 0;
  }

  .browser-preview,
  .browser-preview-v2 {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 192px);
    max-width: none;
    z-index: 1;
  }

  .browser-art,
  .browser-art-v2 {
    height: clamp(210px, 42vh, 245px);
  }

  .phone-preview,
  .phone-preview-v2 {
    position: absolute;
    top: 62px;
    right: 112px;
    width: 142px;
    height: 264px;
    padding: 30px 16px 18px;
    border-width: 8px;
    border-radius: 34px;
    z-index: 5;
  }

  .phone-speaker {
    top: 10px;
    width: 46px;
    height: 5px;
  }

  .phone-preview time,
  .phone-preview-v2 time {
    margin-top: 2px;
    margin-bottom: 15px;
    font-size: 0.98rem;
    font-weight: 650;
  }

  .phone-main-app {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .phone-main-app img,
  .phone-preview img,
  .phone-preview-v2 img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .phone-preview small,
  .phone-preview-v2 small {
    margin-top: 7px;
    font-size: 0.62rem;
  }

  .phone-icons,
  .phone-icons-v2 {
    margin-top: 21px;
    grid-template-columns: repeat(3, 30px);
    gap: 7px;
  }

  .phone-icons span,
  .phone-icons-v2 span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .phone-icons .ui-icon,
  .phone-icons-v2 .ui-icon {
    width: 15px;
    height: 15px;
  }

  .hand-note,
  .hand-note-v2 {
    position: absolute;
    top: 214px;
    right: 12px;
    width: max-content;
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.02;
    z-index: 6;
    transform: rotate(-7deg);
    pointer-events: none;
  }

  .hand-note::after,
  .hand-note-v2::after {
    width: 58px;
    height: 17px;
    margin-top: 2px;
  }

  .platform-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-height: 104px;
    margin: 14px 0 0;
    padding: 16px 18px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    z-index: 3;
  }

  .platform-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .platform-icon .ui-icon {
    width: 23px;
    height: 23px;
  }

  .platform-card article {
    gap: 8px;
  }

  .platform-card article b {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .workspace-grid {
    margin-top: 18px;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .value-card {
    min-height: 134px;
    padding: 20px 22px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .stat-card strong {
    font-size: 1.78rem;
  }

  .audience-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .audience-strip > strong,
  .audience-strip article:not(.trust-card-enhanced) {
    min-height: 58px;
  }

  .audience-strip article:not(.trust-card-enhanced) {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 9px;
  }

  .audience-strip article:not(.trust-card-enhanced) span {
    width: 34px;
    height: 34px;
  }

  .trust-card-enhanced {
    min-width: 0;
    min-height: 58px;
    padding-left: 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .trust-line {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 7px;
  }

  .trust-line small {
    white-space: normal;
  }

  .audience-strip b,
  .audience-strip small {
    line-height: 1.12;
  }
}


/* --------------------------------------------------------------------------
   B. Fenêtre intermédiaire paysage, un peu plus haute que l’iPhone
   On évite la composition “entre deux” sans modifier les tablettes validées.
-------------------------------------------------------------------------- */

@media (min-width: 861px) and (max-width: 1100px) and (min-height: 561px) and (max-height: 720px) {
  .hero-visual,
  .hero-visual-v2 {
    min-height: 0;
    display: block;
  }

  .browser-preview,
  .browser-preview-v2 {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 190px);
    max-width: none;
  }

  .phone-preview,
  .phone-preview-v2 {
    position: absolute;
    top: 64px;
    right: 110px;
    width: 154px;
    height: 286px;
    z-index: 5;
  }

  .hand-note,
  .hand-note-v2 {
    position: absolute;
    top: 236px;
    right: 12px;
    width: max-content;
    margin: 0;
    font-size: 1.16rem;
    z-index: 6;
    transform: rotate(-7deg);
  }

  .platform-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 16px 0 0;
  }

  .workspace-grid {
    margin-top: 20px;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .value-card {
    min-height: 134px;
    padding: 20px 22px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .stat-card strong {
    font-size: 1.78rem;
  }

  .audience-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .audience-strip > strong,
  .audience-strip article:not(.trust-card-enhanced),
  .trust-card-enhanced {
    min-width: 0;
    min-height: 58px;
  }

  .audience-strip > strong {
    display: flex;
    align-items: center;
  }

  .audience-strip article:not(.trust-card-enhanced) {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 9px;
    align-content: center;
  }

  .audience-strip article:not(.trust-card-enhanced) span {
    width: 34px;
    height: 34px;
  }

  .audience-strip article:not(.trust-card-enhanced) span .ui-icon {
    width: 19px;
    height: 19px;
  }

  .trust-card-enhanced {
    padding-left: 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .trust-line {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 7px;
  }

  .trust-line small {
    white-space: normal;
  }

  .audience-strip b,
  .audience-strip small {
    line-height: 1.12;
  }
}

/* --------------------------------------------------------------------------
   C. Tablette paysage 1024 × 768
   Correction ciblée des blocs bas sur iPad paysage.
   On ne touche pas au hero ni aux blocs déjà validés.
-------------------------------------------------------------------------- */

@media (min-width: 861px) and (max-width: 1100px) and (min-height: 721px) and (max-height: 820px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .value-card {
    min-height: 134px;
    padding: 20px 22px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .stat-card strong {
    font-size: 1.78rem;
  }

  .audience-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .audience-strip > strong,
  .audience-strip article:not(.trust-card-enhanced),
  .trust-card-enhanced {
    min-width: 0;
    min-height: 58px;
  }

  .audience-strip > strong {
    display: flex;
    align-items: center;
  }

  .audience-strip article:not(.trust-card-enhanced) {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 9px;
    align-content: center;
  }

  .audience-strip article:not(.trust-card-enhanced) span {
    width: 34px;
    height: 34px;
  }

  .audience-strip article:not(.trust-card-enhanced) span .ui-icon {
    width: 19px;
    height: 19px;
  }

  .trust-card-enhanced {
    padding-left: 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .trust-line {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 7px;
  }

  .trust-line small {
    white-space: normal;
  }

  .audience-strip b,
  .audience-strip small {
    line-height: 1.12;
  }
}

/* ==========================================================================
   25. Animation Création Pack favicons
========================================================================== */

.generation-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(109, 77, 246, 0.24), transparent 34%),
    rgba(8, 14, 26, 0.76);
  backdrop-filter: blur(12px);
}

.generation-overlay[hidden] {
  display: none;
}

.generation-panel {
  width: min(560px, 100%);
  padding: 34px 34px 30px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 30px 90px rgba(15, 23, 42, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.75);
  text-align: center;
  color: #172033;
}

.generation-logo {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.generation-ring {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    conic-gradient(
      from 0deg,
      #2563eb,
      #6d4df6,
      #d946ef,
      #2563eb
    );
  animation: generation-spin 1.25s linear infinite;
}

.generation-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 25px;
  background: #ffffff;
}

@keyframes generation-spin {
  to {
    transform: rotate(360deg);
  }
}

.generation-logo-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.generation-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #172033;
}

.generation-step-label {
  margin: 0 0 18px;
  color: #445066;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
}

.generation-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebf1;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.generation-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #6d4df6, #d946ef);
  transition: width 0.55s ease;
}

.generation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.generation-steps li {
  min-height: 48px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  line-height: 1.15 !important;
  font-weight: 650 !important;
  color: #536178;
  background: #f2f5f9;
  border: 1px solid #e4e9f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.70);

  white-space: normal;
}

.generation-steps li.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #6d4df6);
  box-shadow:
    0 10px 22px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.generation-steps li.is-done {
  color: #166534;
  border-color: #bbf7d0;
  background: #dcfce7;
}

.generation-note {
  max-width: 420px;
  margin: 22px auto 0;
  color: #43516a;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  .generation-panel {
    background: rgba(17, 24, 39, 0.97);
    color: #f8fafc;
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.46),
      0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .generation-panel h2 {
    color: #f8fafc;
  }

  .generation-ring::after {
    background: #111827;
  }

  .generation-step-label,
  .generation-note {
    color: #cbd5e1;
  }

  .generation-progress {
    background: #2d3748;
  }

  .generation-steps li {
    color: #cbd5e1;
    background: #1f2937;
    border-color: #334155;
  }

  .generation-steps li.is-done {
    color: #bbf7d0;
    background: #14532d;
    border-color: #166534;
  }
}

@media (prefers-reduced-motion: reduce) {
  .generation-ring {
    animation: none;
  }

  .ai-preview.is-processing .ai-preview-canvas,
  .ai-preview.is-processing .ai-preview-logo {
    animation: none;
  }
}

@media (max-width: 560px) {
  .generation-panel {
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .generation-logo {
    width: 92px;
    height: 92px;
  }

  .generation-logo-image {
    width: 68px;
    height: 68px;
  }

  .generation-steps {
    grid-template-columns: 1fr 1fr;
  }

  .generation-steps li {
    min-height: 44px;
    font-size: 0.84rem;
  }
}

/* ===========================================================================
   28. Apercu hero - reliefs et controles macOS coherents v1.30
   Les reliefs sont des plans opaques : le soleil reste derriere eux.
========================================================================== */

.browser-topbar .dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.browser-art-v2 .sky-glow {
  z-index: 0;
}

.browser-art-v2 .sun-v2 {
  z-index: 3;
  width: clamp(52px, 13%, 72px);
  height: auto;
  aspect-ratio: 1;
}

.browser-art-v2 .mountain-back {
  z-index: 1;
  right: -2%;
  width: 68%;
  height: 74%;
  opacity: 1;
  background: linear-gradient(135deg, #697be0, #aab8f4);
}

.browser-art-v2 .mountain-mid {
  z-index: 2;
  left: 28%;
  width: 64%;
  height: 78%;
  opacity: 1;
  background: linear-gradient(135deg, #526de0, #94a7f0);
}

.browser-art-v2 .mountain-front {
  z-index: 4;
  left: 6%;
  width: 70%;
  height: 88%;
  background: linear-gradient(135deg, #2d5be6, #523fd7);
}

.browser-art-v2 .valley-haze {
  z-index: 5;
}

/* ===========================================================================
   29. Apercu hero - soleil visible sur petits ecrans v1.31
========================================================================== */

@media (max-width: 560px) {
  .browser-art-v2 .sun-v2 {
    top: 32px;
  }

  .browser-art-v2 .mountain-front {
    height: 164px;
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  .browser-art-v2 .sun-v2 {
    top: 52px;
  }

  .browser-art-v2 .mountain-front {
    height: 235px;
  }
}

/* ===========================================================================
   30. Apercu hero - course solaire synchronisee avec l'heure locale v1.63
========================================================================== */

.browser-art-v2[data-hero-sky] {
  filter: brightness(var(--hero-sky-brightness, 1));
  transition: filter 700ms ease;
}

.browser-art-v2 .sun-v2[data-hero-sun] {
  top: var(--hero-sun-top, 32%);
  right: auto;
  left: var(--hero-sun-left, 52%);
  transform: translate(-50%, -50%);
  transition: top 700ms ease, left 700ms ease;
}

/* ===========================================================================
   31. Rapport d'audit verifiable
========================================================================== */

/* ===========================================================================
   31. Espace membre
========================================================================== */

.member-offer-comparison {
  width: min(1120px, calc(100% - 40px));
  margin: 58px auto 0;
}

.member-offer-comparison-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.member-offer-comparison-heading h2 {
  margin: 8px 0 10px;
  color: var(--color-text);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.08;
}

.member-offer-comparison-heading > p:last-child {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.member-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.member-offer-card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 14px 30px rgba(46, 43, 94, 0.07);
}

.member-offer-card-featured {
  border-color: rgba(109, 77, 246, 0.45);
}

.member-offer-card-premium {
  border-color: rgba(18, 148, 117, 0.42);
}

.member-offer-tier {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.member-offer-card-premium .member-offer-tier {
  color: #168363;
}

.member-offer-card h3 {
  margin: 8px 0 12px;
  color: var(--color-text);
  font-size: 1.4rem;
}

.member-offer-price {
  margin: 0;
  color: var(--color-text);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1.1;
}

.member-offer-price span,
.member-offer-tax,
.member-offer-note {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.member-offer-tax {
  min-height: 1.2em;
  margin: 6px 0 0;
}

.member-offer-purpose {
  min-height: 2.8em;
  margin: 12px 0 0;
  padding-left: 11px;
  border-left: 3px solid #1caf7a;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.member-offer-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  color: var(--color-muted);
  line-height: 1.45;
  list-style: none;
}

.member-offer-card li {
  position: relative;
  padding-left: 18px;
}

.member-offer-card li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.member-offer-card-premium li::before {
  background: #168363;
}

.member-offer-card .button {
  margin-top: auto;
}

.member-offer-note {
  margin: 12px 0 0;
  line-height: 1.45;
}

.member-offer-common {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 34px;
  margin: 0 0 30px;
  padding: 0 0 30px;
  border-top: 0;
  border-bottom: 1px solid var(--color-border);
}

.member-offer-common h3 {
  max-width: 360px;
  margin: 8px 0 0;
  color: var(--color-text);
  font-size: 1.25rem;
  line-height: 1.3;
}

.member-offer-common ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-offer-common li {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.member-offer-common strong,
.member-offer-common span {
  display: block;
}

.member-offer-common strong {
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 0.94rem;
}

.member-common-platform strong {
  color: #2563eb;
}

.member-common-formats strong {
  color: #168363;
}

.member-common-install strong {
  color: #a85521;
}

.member-common-privacy strong {
  color: var(--color-primary);
}

.member-offer-common code {
  color: inherit;
  font-family: var(--font-mono, monospace);
  font-size: 0.88em;
}

.member-access-shell {
  width: min(var(--container), calc(100% - 72px));
  min-height: min(calc(100vh - 230px), 760px);
  margin: 52px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.member-access-shell-registration {
  min-height: 0;
  margin-top: 46px;
  align-items: start;
}

.member-access-shell-registration .member-access-copy {
  padding-top: 28px;
}

.member-access-copy h1 {
  max-width: 560px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.member-access-copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.member-access-benefits {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-text);
  font-weight: 700;
}

.member-access-benefits li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.member-access-benefits li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 0.47em;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(109, 77, 246, 0.12);
}

.member-access-panel {
  padding: 34px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-solid);
  box-shadow: 0 22px 50px rgba(27, 35, 72, 0.10);
}

.member-access-panel form {
  display: grid;
  gap: 10px;
}

.member-recraft-recharge-form {
  margin-top: 16px;
}

.member-premium-actions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.member-premium-actions form {
  margin: 0;
}

.member-premium-actions .member-form-note {
  margin: 0 0 10px;
}

.member-access-panel label {
  margin-top: 8px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 750;
}

.member-access-panel input[type="email"],
.member-access-panel input[type="password"],
.member-access-panel input[type="text"] {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: 7px;
  color: var(--color-text);
  background: var(--color-surface);
}

.member-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 20px;
  padding: 0 0 4px;
  border: 0;
}

.member-fieldset legend {
  width: 100%;
  padding: 0 0 10px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 750;
}

.member-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 600 !important;
}

.member-choice input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-primary);
}

.member-access-panel label span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.member-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-form-grid > div {
  display: grid;
  gap: 10px;
}

.member-business-fields {
  display: grid;
  min-inline-size: 0;
  gap: 16px;
  margin: 8px 0 4px;
  padding: 18px 0 4px;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.member-business-fields legend {
  padding: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 750;
}

.member-business-fields > div:not(.member-form-grid) {
  display: grid;
  gap: 10px;
}

.member-access-panel input:focus-visible {
  outline: 3px solid rgba(109, 77, 246, 0.22);
  outline-offset: 1px;
}

.member-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.4;
}

.member-check input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--color-primary);
}

.member-form-note {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Separate an explanatory note from the action that immediately follows it. */
.member-access-panel > .member-form-note + form,
.member-access-panel > .member-form-note + .button {
  margin-top: 14px;
}

.member-openai-recharge-form {
  margin-top: 12px;
}

.member-status {
  margin: 0 0 22px;
  padding: 16px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-muted);
  line-height: 1.55;
  background: rgba(109, 77, 246, 0.06);
}

.member-status-subtle {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.member-access-switch {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.member-access-switch a {
  color: var(--color-primary);
  font-weight: 750;
}

.member-dashboard {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 104px;
}

.member-dashboard-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.member-dashboard-heading h1 {
  margin: 7px 0 8px;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.member-dashboard-heading > div > p:last-child {
  margin: 0;
  color: var(--color-muted);
}

.member-plan {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  font-weight: 800;
}

.member-plan-gratuit {
  background: #5274bd;
}

.member-dashboard-top-action,
.member-long-page-footer {
  display: flex;
  justify-content: flex-end;
}

.member-dashboard-top-action {
  margin: 0 0 18px;
}

.member-dashboard-top-action .member-logout-form {
  margin: 0;
}

.member-report-list a,
.member-dashboard-archive-link {
  color: var(--color-primary);
  font-weight: 700;
}

.member-dashboard-archive-link {
  display: inline-block;
  margin-top: 18px;
}

.member-audit-archive {
  width: min(100% - 48px, 1020px);
  margin: 52px auto 76px;
}

.member-audit-archive h1 {
  margin: 7px 0 10px;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.member-long-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.member-audit-archive .member-long-page-heading {
  margin-bottom: 28px;
}

.member-audit-archive-intro {
  margin: 0;
  color: var(--color-muted);
}

.member-audit-archive-notice,
.member-audit-archive-note {
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  background: var(--color-surface);
}

.member-audit-archive-list {
  display: grid;
  gap: 12px;
}

.member-audit-archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 12px 28px rgba(46, 43, 94, 0.06);
}

.member-audit-archive-item h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.member-audit-archive-item h2 a {
  color: var(--color-text);
}

.member-audit-archive-item p {
  margin: 0;
  color: var(--color-muted);
}

.member-audit-archive-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.member-audit-archive-actions form {
  margin: 0;
}

.member-audit-delete-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #be6a78;
  border-radius: 8px;
  color: #b33b52;
  background: transparent;
  cursor: pointer;
}

.member-audit-delete-button:hover {
  border-color: #9d2940;
  color: #9d2940;
  background: rgba(179, 59, 82, 0.08);
}

.member-audit-delete-button:focus-visible {
  outline: 3px solid rgba(124, 92, 255, 0.42);
  outline-offset: 3px;
}

.member-audit-delete-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.member-audit-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.member-audit-pagination span {
  color: var(--color-muted);
  font-weight: 700;
}

.member-long-page-footer {
  margin-top: 32px;
}

.member-payment-history {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 104px;
}

.member-payment-history-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.member-payment-history-heading > .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.member-payment-history-heading h1 {
  margin: 7px 0 10px;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.member-payment-history-heading p:last-child,
.member-payment-history-empty {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.member-payment-history-list {
  border-top: 1px solid var(--color-border);
}

.member-payment-history-row {
  display: grid;
  grid-template-columns: 110px minmax(220px, 1fr) 130px 72px auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.member-payment-history-row time,
.member-payment-history-row div span {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.member-payment-history-row div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.member-payment-history-row div span {
  overflow-wrap: anywhere;
}

.member-payment-history-amount {
  color: var(--color-text);
  font-weight: 800;
  text-align: right;
}

.member-payment-history-status {
  color: #168363;
  font-size: 0.88rem;
  font-weight: 800;
}

.member-payment-history-row .button {
  margin: 0;
}

.member-payment-history-link {
  width: min(100%, 270px);
  justify-content: center;
  padding-right: 14px;
  padding-left: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .member-payment-history-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-payment-history-heading > .button {
    align-self: flex-end;
  }
}

@media (max-width: 760px) {
  .member-audit-archive {
    width: min(100% - 28px, 680px);
    margin-top: 32px;
  }

  .member-audit-archive-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .member-audit-archive-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .member-audit-pagination {
    flex-wrap: wrap;
  }

  .member-long-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-long-page-heading > .button {
    align-self: flex-end;
    white-space: nowrap;
  }

  .member-payment-history-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
  }

  .member-payment-history-row time,
  .member-payment-history-row div {
    grid-column: 1;
  }

  .member-payment-history-amount,
  .member-payment-history-status,
  .member-payment-history-row .button {
    grid-column: 2;
  }

  .member-payment-history-amount {
    grid-row: 1;
  }
}

.member-dashboard--premium .member-plan {
  background: #168363;
}

.member-dashboard--premium .member-dashboard-card {
  border-color: rgba(22, 131, 99, 0.42);
  background: color-mix(in srgb, var(--color-surface) 96%, #168363 4%);
}

.member-dashboard--premium .section-kicker,
.member-dashboard--premium .member-figure,
.member-dashboard--premium .member-production-guide-link {
  color: #168363;
}

.member-dashboard--premium .member-production-zone {
  border-color: rgba(22, 131, 99, 0.58);
  background: color-mix(in srgb, var(--color-surface) 88%, #168363 12%);
  box-shadow: inset 4px 0 0 #168363, 0 16px 34px rgba(22, 131, 99, 0.12);
}

.member-dashboard--premium .member-production-actions .button-primary {
  background: #168363;
  box-shadow: 0 18px 36px rgba(22, 131, 99, 0.24);
}

.member-dashboard--premium .member-production-actions .button-secondary,
.member-dashboard--premium .member-recharge-actions .button {
  color: #168363;
  border-color: rgba(22, 131, 99, 0.56);
}

.member-dashboard--premium .member-production-actions .button-secondary:hover,
.member-dashboard--premium .member-recharge-actions .button:hover {
  border-color: #168363;
  box-shadow: 0 0 0 3px rgba(22, 131, 99, 0.14);
}

.member-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.member-dashboard-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 16px 34px rgba(46, 43, 94, 0.08);
}

.member-dashboard-card h2 {
  margin: 7px 0 14px;
  color: var(--color-text);
  font-size: 1.3rem;
}

.member-dashboard-card > p:not(.section-kicker):not(.member-figure):not(.member-dashboard-empty) {
  min-height: 76px;
  margin: 0 0 24px;
  color: var(--color-muted);
  line-height: 1.55;
}

.member-figure {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
}

.member-figure span {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.member-dashboard-empty {
  margin: 34px 0 0;
  color: var(--color-muted);
  font-style: italic;
}

.member-recharge-actions {
  display: grid;
  gap: 14px;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.member-quota-help {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1;
  cursor: help;
  vertical-align: 1px;
}

.member-quota-help::after {
  position: absolute;
  z-index: 10;
  right: -10px;
  bottom: calc(100% + 9px);
  width: min(260px, calc(100vw - 56px));
  padding: 9px 11px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  box-shadow: 0 10px 24px rgba(25, 25, 54, 0.18);
  color: var(--color-text);
  content: attr(data-tooltip);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.member-quota-help:hover::after,
.member-quota-help:focus-visible::after,
.member-quota-help:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.member-recharge-actions .button {
  width: 100%;
  margin: 0;
  font-size: 0.88rem;
}

.member-recharge-option {
  display: grid;
  gap: 5px;
}

.member-recharge-offer {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

.member-recharge-unavailable {
  opacity: 0.6;
  cursor: not-allowed;
}

.member-production-zone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin: 0 0 18px;
  padding: 26px 28px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-surface) 88%, var(--color-primary) 12%);
  box-shadow: inset 4px 0 0 var(--color-primary), 0 16px 34px rgba(46, 43, 94, 0.08);
}

.member-production-zone > img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.member-production-zone h2 {
  margin: 7px 0 8px;
  color: var(--color-text);
  font-size: 1.3rem;
}

.member-production-zone > div > p:last-child {
  max-width: 530px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.member-production-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 18px;
  min-width: 420px;
}

.member-production-actions--free {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 360px;
}

.member-production-actions .button {
  margin: 0;
  white-space: nowrap;
}

.member-production-guide-link {
  display: block;
  grid-column: 1 / -1;
  margin-top: 2px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.member-theme-preferences {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.member-theme-preferences legend {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 750;
}

.member-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.member-account-actions .button {
  margin: 0;
}

.member-support-summary {
  margin: 20px 0;
  padding: 11px 13px;
  border-left: 3px solid #d8a600;
  color: var(--color-text);
  background: color-mix(in srgb, #f4c542 10%, transparent);
  font-size: 0.92rem;
  line-height: 1.5;
}

.member-dashboard-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.member-dashboard-footer .member-logout-form {
  margin: 0;
}

.member-theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
}

.member-theme-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 8px;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.member-theme-options label + label {
  border-left: 1px solid var(--color-border-strong);
}

.member-theme-options input {
  position: absolute;
  opacity: 0;
}

.member-theme-options label:has(input:checked) {
  color: #fff;
  background: var(--color-primary);
}

.member-theme-options label:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--color-primary) 38%, transparent);
  outline-offset: -3px;
}

.member-support-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.member-support-zone h2 {
  margin: 7px 0 8px;
  color: var(--color-text);
  font-size: 1.35rem;
}

.member-support-zone > div > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .member-offer-comparison {
    width: min(100% - 40px, 680px);
    margin-top: 36px;
  }

  .member-offer-grid {
    grid-template-columns: 1fr;
  }

  .member-offer-card {
    min-height: 0;
  }

  .member-offer-common {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .member-access-shell {
    width: min(100% - 40px, 680px);
    min-height: 0;
    margin: 34px auto 54px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .member-access-panel {
    padding: 26px;
  }

  .member-offer-common ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .member-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .member-dashboard-card {
    min-height: 0;
  }

  .member-production-zone {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .member-production-actions {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .member-support-zone {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .member-offer-comparison {
    width: min(100% - 28px, 680px);
    margin-top: 28px;
  }

  .member-offer-card {
    padding: 22px;
  }
  .member-access-shell {
    width: min(100% - 28px, 680px);
    margin-top: 24px;
  }

  .member-access-copy h1 {
    font-size: 2.15rem;
  }

  .member-access-panel {
    padding: 20px;
  }

  .member-form-grid {
    grid-template-columns: 1fr;
  }

  .member-dashboard {
    width: min(100% - 28px, 1120px);
    padding: 46px 0 70px;
  }

  .member-dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .member-dashboard-card {
    padding: 23px;
  }


  .member-figure span {
    white-space: normal;
  }

  .member-production-zone {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 23px;
  }

  .member-production-zone > img {
    width: 56px;
    height: 56px;
  }

  .member-production-actions {
    grid-template-columns: 1fr;
  }
}

.audit-report-shell {
  width: min(100% - 40px, 1080px);
  margin: 42px auto 72px;
}

.audit-report-heading {
  margin-bottom: 28px;
}

.report-eyebrow {
  margin: 0 0 7px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-report-heading h1,
.audit-recommendations h2,
.audit-verification h2,
.audit-report-missing h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.14;
}

.report-site-url,
.report-date {
  margin: 10px 0 0;
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

.audit-favicon-preview {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -6px 0 24px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-solid);
  box-shadow: 0 14px 32px rgba(27, 35, 72, 0.05);
}

.audit-favicon-preview-icon {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.audit-favicon-preview-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.audit-favicon-preview-copy {
  min-width: 0;
}

.audit-favicon-preview-copy .report-eyebrow {
  margin-bottom: 4px;
}

.audit-favicon-preview-copy strong,
.audit-favicon-preview-copy span {
  display: block;
}

.audit-favicon-preview-copy strong {
  overflow-wrap: anywhere;
}

.audit-favicon-preview-copy span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.audit-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 16px;
  margin-bottom: 32px;
}

.audit-report-score,
.audit-report-potential,
.audit-report-facts,
.audit-recommendations,
.audit-verification,
.audit-report-missing {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-solid);
  box-shadow: 0 18px 40px rgba(27, 35, 72, 0.06);
}

.audit-report-score,
.audit-report-potential,
.audit-report-facts {
  min-height: 190px;
  padding: 22px;
}

.audit-report-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.audit-score-copy {
  min-width: 0;
}

.audit-report-score > p,
.audit-report-potential > p:first-child,
.audit-report-facts > p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.audit-report-potential strong span {
  margin-left: 3px;
  color: var(--color-muted);
  font-weight: 800;
}

.audit-report-score b,
.audit-report-score small {
  display: block;
  margin-top: 10px;
}

.audit-report-score b {
  color: var(--color-green);
}

.audit-report-score small {
  color: var(--color-muted);
  line-height: 1.35;
}

.audit-score-gauge {
  --gauge-size: 116px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--gauge-size);
  height: var(--gauge-size);
  flex: 0 0 var(--gauge-size);
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--score-color) calc(var(--score) * 1%),
    rgba(102, 112, 138, 0.14) 0
  );
}

.audit-score-gauge::before {
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: var(--color-surface-solid);
  content: "";
}

.audit-score-gauge span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--score-color);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.audit-score-breakdown-unavailable {
  color: var(--color-muted);
  font-weight: 700;
}

.audit-report-potential strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--color-blue);
  font-size: 2rem;
}

.audit-report-potential > p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.audit-report-facts dl {
  margin: 14px 0 0;
}

.audit-report-facts dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(102, 112, 138, 0.14);
}

.audit-report-facts dl div:last-child {
  border-bottom: 0;
}

.audit-report-facts dt,
.audit-report-facts dd {
  margin: 0;
}

.audit-report-facts dt {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.audit-report-facts dd {
  color: var(--color-text);
  font-weight: 800;
}

.audit-recommendations {
  padding: 26px;
}

.audit-score-details {
  margin: 0 0 20px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface-solid);
  box-shadow: 0 18px 40px rgba(27, 35, 72, 0.06);
}

.audit-score-details h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.audit-score-details > div > p:last-child {
  margin: 10px 0 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.audit-score-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.audit-score-breakdown li {
  padding: 14px;
  border: 1px solid rgba(102, 112, 138, 0.16);
  border-radius: 6px;
  background: rgba(109, 77, 246, 0.035);
}

.audit-score-breakdown-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.audit-score-breakdown-heading strong {
  color: var(--color-text);
  font-size: 0.9rem;
}

.audit-score-breakdown-heading span {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 850;
}

.audit-score-breakdown-bar {
  display: block;
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(109, 77, 246, 0.12);
}

.audit-score-breakdown-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.audit-score-breakdown p {
  margin: 9px 0 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.audit-recommendations > div {
  margin-bottom: 20px;
}

.audit-recommendation-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: recommendations;
}

.audit-recommendation-list li {
  position: relative;
  min-height: 68px;
  padding: 15px 16px 15px 54px;
  border-left: 3px solid var(--color-primary);
  background: rgba(109, 77, 246, 0.055);
}

.audit-recommendation-list li::before {
  content: counter(recommendations);
  counter-increment: recommendations;
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.audit-recommendation-list strong {
  color: var(--color-text);
}

.audit-recommendation-list p,
.audit-success-note {
  margin: 6px 0 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.audit-comparison-result {
  margin-top: 20px;
  padding: 24px 26px;
  border-left: 4px solid var(--color-green);
  background: rgba(34, 160, 107, 0.07);
}

.audit-comparison-result h2 {
  font-size: 1.15rem;
}

.audit-comparison-result > p:last-child {
  margin: 13px 0 0;
  color: var(--color-muted);
}

.comparison-delta {
  display: inline-block;
  margin-left: 9px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.comparison-delta.is-positive {
  color: #176d49;
  background: rgba(34, 160, 107, 0.13);
}

.comparison-delta.is-negative {
  color: #a13333;
  background: rgba(191, 65, 65, 0.12);
}

.audit-presenter {
  margin-top: 20px;
}

.audit-verification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  padding: 26px;
}

.audit-verification-copy {
  min-width: 0;
}

.audit-verification-qr {
  flex: 0 0 160px;
}

.audit-verification-copy > p:not(.report-eyebrow) {
  margin: 12px 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.audit-verification-copy a {
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.audit-qr-code {
  display: block;
  width: 160px;
  height: 160px;
  padding: 8px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.audit-report-privacy {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.audit-compare-button {
  margin: 0;
}

.audit-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.audit-report-missing {
  max-width: 640px;
  padding: 34px;
}

.audit-report-missing > p:not(.report-eyebrow) {
  margin: 14px 0 24px;
  color: var(--color-muted);
  line-height: 1.55;
}

@media (max-width: 840px) {
  .audit-report-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audit-report-facts {
    grid-column: 1 / -1;
  }

  .audit-score-breakdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .audit-report-shell {
    width: min(100% - 28px, 1080px);
    margin: 26px auto 50px;
  }

  .audit-report-grid {
    grid-template-columns: 1fr;
  }

  .audit-report-facts {
    grid-column: auto;
  }

  .audit-report-score,
  .audit-report-potential,
  .audit-report-facts,
  .audit-recommendations,
  .audit-verification,
  .audit-report-missing {
    padding: 20px;
  }

  .audit-report-score {
    align-items: flex-start;
  }

  .audit-favicon-preview {
    align-items: flex-start;
    padding: 16px;
  }

  .audit-score-gauge {
    --gauge-size: 108px;
  }

  .audit-verification {
    align-items: flex-start;
    flex-direction: column;
  }

  .audit-qr-code {
    width: 144px;
    height: 144px;
  }

.audit-report-actions .button {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Studio IA : page de conception guidée d’un favicon
   -------------------------------------------------------------------------- */

.ai-studio {
  width: min(var(--container), calc(100% - 72px));
  margin: 70px auto 96px;
}

.ai-studio-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.ai-studio-header h1 {
  margin: 10px 0 14px;
  color: var(--color-text);
  font-size: 3.15rem;
  line-height: 1.08;
}

.ai-studio-header > p:last-child {
  max-width: 670px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.ai-studio-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.ai-brief-form,
.ai-preview {
  padding: clamp(25px, 4vw, 48px);
}

.ai-brief-form {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 18px;
}

.ai-form-heading h2 {
  margin: 7px 0 0;
  color: var(--color-text);
  font-size: 1.35rem;
}

.ai-brief-form label,
.ai-choice-group legend {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 750;
}

.ai-brief-form label span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.ai-brief-form textarea,
.ai-brief-form input[type="text"],
.ai-brief-form select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  color: var(--color-text);
  background: var(--color-surface-solid);
  font: inherit;
}

.ai-brief-form textarea {
  min-height: 128px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.5;
}

.ai-brief-form input[type="text"],
.ai-brief-form select {
  height: 46px;
  padding: 0 12px;
}

.ai-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ai-choice-group {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  border: 0;
}

.ai-engine-choice {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ai-engine-choice legend {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.ai-engine-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
}

.ai-engine-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.ai-engine-option span {
  display: grid;
  gap: 3px;
}

.ai-engine-option strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--color-text);
  font-size: 0.9rem;
}
.ai-engine-option small { color: var(--color-muted); font-size: 0.78rem; line-height: 1.35; }
.ai-engine-option.is-unavailable { cursor: not-allowed; opacity: 0.52; }

.ai-studio--premium .information-eyebrow,
.ai-studio--premium .ai-engine-option:has(input:checked) strong {
  color: #168363;
}

.ai-studio--premium .ai-engine-option {
  border-color: rgba(22, 131, 99, 0.38);
  background: rgba(22, 131, 99, 0.035);
}

.ai-studio--premium .ai-engine-option:has(input:checked) {
  border-color: #168363;
  background: rgba(22, 131, 99, 0.09);
  box-shadow: inset 3px 0 0 #168363;
}

.ai-studio--premium .ai-engine-option input,
.ai-studio--premium .ai-choice-row input {
  accent-color: #168363;
}

.ai-studio--premium .ai-brief-note {
  border-left-color: #168363;
  background: rgba(22, 131, 99, 0.07);
}

.ai-studio--premium .ai-generate-button {
  background: #168363;
  box-shadow: 0 18px 36px rgba(22, 131, 99, 0.24);
}

.ai-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.ai-choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-muted);
  font-weight: 600;
}

.ai-choice-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

.ai-brief-note {
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-muted);
  background: color-mix(in srgb, var(--color-primary) 7%, transparent);
  font-size: 0.87rem;
  line-height: 1.5;
}

.ai-guide-link,
.member-dashboard-guide-link {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-guide-link a,
.member-dashboard-guide-link a {
  color: var(--color-primary);
  font-weight: 800;
}

.ai-generate-button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.ai-preview-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.ai-preview-actions form,
.ai-preview-actions .button {
  width: 100%;
}

.ai-approve-button {
  min-height: 52px;
}

.ai-form-notice {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-text);
  background: var(--color-surface-muted);
  line-height: 1.45;
}

.ai-form-notice-success {
  border-left-color: #35cb83;
}

.ai-form-notice-error {
  border-left-color: #e87870;
}

.ai-preview {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  color: var(--color-text);
  background: var(--color-surface-soft);
}

.ai-preview-with-actions {
  min-height: 0;
}

.ai-preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.ai-preview-topline strong {
  color: var(--color-text);
  font-size: 0.78rem;
}

.ai-preview-canvas {
  position: relative;
  display: grid;
  width: min(100%, 330px);
  aspect-ratio: 1;
  transition: opacity 180ms ease, transform 180ms ease;
  place-items: center;
  margin: 34px auto 28px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #5274ff, #3630a7);
}

.ai-preview-canvas:not(.ai-preview-canvas-image)::before,
.ai-preview-canvas:not(.ai-preview-canvas-image)::after {
  position: absolute;
  content: '';
  pointer-events: none;
}

.ai-preview-canvas[data-ai-preview-variant="1"] {
  background: linear-gradient(135deg, #526df0, #31268f);
}

.ai-preview-canvas[data-ai-preview-variant="1"]::before {
  inset: 15%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.ai-preview-canvas[data-ai-preview-variant="2"] {
  background: #0d5562;
}

.ai-preview-canvas[data-ai-preview-variant="2"]::before {
  width: 118%;
  height: 35%;
  right: -40%;
  top: 18%;
  border: 18px solid rgba(255, 208, 85, 0.9);
  border-left: 0;
  border-radius: 0 100% 100% 0;
  transform: rotate(-26deg);
}

.ai-preview-canvas[data-ai-preview-variant="3"] {
  background: linear-gradient(145deg, #005a8a, #173261);
}

.ai-preview-canvas[data-ai-preview-variant="3"]::before {
  width: 82%;
  height: 22%;
  left: 9%;
  bottom: 18%;
  border-radius: 50%;
  background: rgba(122, 235, 226, 0.84);
  transform: rotate(-18deg);
}

.ai-preview-canvas[data-ai-preview-variant="4"] {
  background: #74295c;
}

.ai-preview-canvas[data-ai-preview-variant="4"]::before {
  inset: 11%;
  border: 16px solid rgba(255, 171, 83, 0.78);
  border-radius: 18% 62% 34% 66%;
  transform: rotate(24deg);
}

.ai-preview-canvas[data-ai-preview-variant="5"] {
  background: linear-gradient(135deg, #166849, #163c46);
}

.ai-preview-canvas[data-ai-preview-variant="5"]::before {
  width: 74%;
  height: 74%;
  left: 13%;
  top: 13%;
  border: 15px dashed rgba(219, 238, 112, 0.82);
  border-radius: 50%;
}

.ai-preview-canvas[data-ai-preview-variant="2"] .ai-preview-shape-one {
  background: #ffbd4a;
  border-radius: 10% 90% 55% 45%;
  transform: rotate(47deg);
}

.ai-preview-canvas[data-ai-preview-variant="2"] .ai-preview-shape-two {
  background: #e87a4b;
  border-radius: 66% 34% 20% 80%;
}

.ai-preview-canvas[data-ai-preview-variant="3"] .ai-preview-shape-one {
  background: #89e2d0;
  border-radius: 50% 18% 50% 18%;
}

.ai-preview-canvas[data-ai-preview-variant="3"] .ai-preview-shape-two {
  background: #ff8666;
  border-radius: 18% 50% 18% 50%;
}

.ai-preview-canvas[data-ai-preview-variant="4"] .ai-preview-shape-one {
  background: #f56f8d;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.ai-preview-canvas[data-ai-preview-variant="4"] .ai-preview-shape-two {
  background: #7146cc;
  border-radius: 12% 88% 24% 76%;
  transform: rotate(34deg);
}

.ai-preview-canvas[data-ai-preview-variant="5"] .ai-preview-shape-one {
  background: #75c76e;
  border-radius: 72% 28% 48% 52%;
}

.ai-preview-canvas[data-ai-preview-variant="5"] .ai-preview-shape-two {
  background: #e6b047;
  border-radius: 28% 72% 52% 48%;
}

.ai-preview-canvas[data-ai-preview-variant="6"] { background: #1c3658; }
.ai-preview-canvas[data-ai-preview-variant="6"]::before {
  width: 78%; height: 78%; border: 13px solid rgba(255, 190, 83, 0.88);
  border-radius: 24% 64% 30% 58%; transform: rotate(45deg);
}
.ai-preview-canvas[data-ai-preview-variant="6"] .ai-preview-shape-one { background: #e85568; border-radius: 50% 12% 50% 12%; }
.ai-preview-canvas[data-ai-preview-variant="6"] .ai-preview-shape-two { background: #75d4c3; border-radius: 12% 50% 12% 50%; }

.ai-preview-canvas[data-ai-preview-variant="7"] { background: #6b3d2d; }
.ai-preview-canvas[data-ai-preview-variant="7"]::before {
  width: 88%; height: 26%; top: 37%; left: 6%; background: rgba(240, 224, 174, 0.72);
  border-radius: 50%; transform: rotate(-36deg);
}
.ai-preview-canvas[data-ai-preview-variant="7"] .ai-preview-shape-one { background: #f3a645; border-radius: 70% 30% 50% 50%; transform: rotate(24deg); }
.ai-preview-canvas[data-ai-preview-variant="7"] .ai-preview-shape-two { background: #47a59a; border-radius: 28% 72% 68% 32%; }

.ai-preview-canvas[data-ai-preview-variant="8"] { background: #29354d; }
.ai-preview-canvas[data-ai-preview-variant="8"]::before {
  inset: 13%; border: 12px dotted rgba(173, 207, 244, 0.72); border-radius: 50%;
}
.ai-preview-canvas[data-ai-preview-variant="8"] .ai-preview-shape-one { background: #db6b8a; border-radius: 18% 82% 28% 72%; }
.ai-preview-canvas[data-ai-preview-variant="8"] .ai-preview-shape-two { background: #d8bc55; border-radius: 78% 22% 56% 44%; transform: rotate(42deg); }

.ai-preview-canvas[data-ai-preview-variant="9"] { background: #0f655e; }
.ai-preview-canvas[data-ai-preview-variant="9"]::before {
  width: 70%; height: 70%; border: 16px solid rgba(255, 222, 131, 0.84); border-radius: 50% 18% 50% 18%; transform: rotate(28deg);
}
.ai-preview-canvas[data-ai-preview-variant="9"] .ai-preview-shape-one { background: #ed7056; border-radius: 50%; }
.ai-preview-canvas[data-ai-preview-variant="9"] .ai-preview-shape-two { background: #9bda92; border-radius: 8% 92% 32% 68%; }

.ai-preview-canvas[data-ai-preview-variant="10"] { background: #4b2e65; }
.ai-preview-canvas[data-ai-preview-variant="10"]::before {
  width: 84%; height: 18%; border-top: 14px solid rgba(255, 194, 107, 0.86); border-bottom: 14px solid rgba(111, 218, 196, 0.66); transform: rotate(51deg);
}
.ai-preview-canvas[data-ai-preview-variant="10"] .ai-preview-shape-one { background: #f4c85a; border-radius: 54% 46% 18% 82%; }
.ai-preview-canvas[data-ai-preview-variant="10"] .ai-preview-shape-two { background: #e6698e; border-radius: 18% 82% 54% 46%; }

.ai-preview-canvas[data-ai-preview-variant="11"] { background: #345051; }
.ai-preview-canvas[data-ai-preview-variant="11"]::before {
  inset: 12%; border: 11px solid rgba(242, 235, 202, 0.78); border-radius: 50% 50% 16% 50%; transform: rotate(-21deg);
}
.ai-preview-canvas[data-ai-preview-variant="11"] .ai-preview-shape-one { background: #e57652; border-radius: 65% 35% 65% 35%; }
.ai-preview-canvas[data-ai-preview-variant="11"] .ai-preview-shape-two { background: #9acb6c; border-radius: 35% 65% 35% 65%; }

.ai-preview-canvas[data-ai-preview-variant="12"] { background: #7a4854; }
.ai-preview-canvas[data-ai-preview-variant="12"]::before {
  width: 76%; height: 76%; border: 14px double rgba(255, 222, 165, 0.78); border-radius: 18% 62% 42% 58%; transform: rotate(18deg);
}
.ai-preview-canvas[data-ai-preview-variant="12"] .ai-preview-shape-one { background: #7ac7be; border-radius: 50% 50% 14% 50%; }
.ai-preview-canvas[data-ai-preview-variant="12"] .ai-preview-shape-two { background: #f0b24f; border-radius: 14% 50% 50% 50%; }

.ai-preview-canvas[data-ai-preview-variant="13"] { background: #38416e; }
.ai-preview-canvas[data-ai-preview-variant="13"]::before {
  width: 78%; height: 23%; background: rgba(247, 136, 114, 0.72); border-radius: 50%; transform: rotate(72deg);
}
.ai-preview-canvas[data-ai-preview-variant="13"] .ai-preview-shape-one { background: #eec55a; border-radius: 24% 76% 24% 76%; }
.ai-preview-canvas[data-ai-preview-variant="13"] .ai-preview-shape-two { background: #62c7b2; border-radius: 76% 24% 76% 24%; }

.ai-preview-canvas[data-ai-preview-variant="14"] { background: #1d5b45; }
.ai-preview-canvas[data-ai-preview-variant="14"]::before {
  inset: 16%; border: 13px solid rgba(245, 218, 108, 0.84); border-radius: 8% 78% 8% 78%; transform: rotate(-35deg);
}
.ai-preview-canvas[data-ai-preview-variant="14"] .ai-preview-shape-one { background: #e16963; border-radius: 50% 20% 80% 50%; }
.ai-preview-canvas[data-ai-preview-variant="14"] .ai-preview-shape-two { background: #7ad1ca; border-radius: 20% 50% 50% 80%; }

.ai-preview-canvas[data-ai-preview-variant="15"] { background: #62403a; }
.ai-preview-canvas[data-ai-preview-variant="15"]::before {
  width: 84%; height: 84%; border: 12px dashed rgba(210, 233, 195, 0.78); border-radius: 50%;
}
.ai-preview-canvas[data-ai-preview-variant="15"] .ai-preview-shape-one { background: #78b8ce; border-radius: 12% 88% 48% 52%; }
.ai-preview-canvas[data-ai-preview-variant="15"] .ai-preview-shape-two { background: #f5ae4c; border-radius: 88% 12% 52% 48%; }

.ai-preview-canvas[data-ai-preview-variant="16"] { background: #553a70; }
.ai-preview-canvas[data-ai-preview-variant="16"]::before {
  width: 80%; height: 80%; border: 12px solid rgba(135, 219, 199, 0.76); border-radius: 50% 50% 50% 12%; transform: rotate(39deg);
}
.ai-preview-canvas[data-ai-preview-variant="16"] .ai-preview-shape-one { background: #efc05d; border-radius: 50% 8% 50% 8%; }
.ai-preview-canvas[data-ai-preview-variant="16"] .ai-preview-shape-two { background: #e87976; border-radius: 8% 50% 8% 50%; }

.ai-preview-canvas[data-ai-preview-variant="17"] { background: #245c78; }
.ai-preview-canvas[data-ai-preview-variant="17"]::before {
  width: 90%; height: 32%; border: 14px solid rgba(246, 207, 111, 0.84); border-right: 0; border-radius: 100% 0 0 100%; transform: rotate(19deg);
}
.ai-preview-canvas[data-ai-preview-variant="17"] .ai-preview-shape-one { background: #d76d91; border-radius: 76% 24% 42% 58%; }
.ai-preview-canvas[data-ai-preview-variant="17"] .ai-preview-shape-two { background: #74d4a4; border-radius: 24% 76% 58% 42%; }

.ai-preview-canvas[data-ai-preview-variant="18"] { background: #5d4c2c; }
.ai-preview-canvas[data-ai-preview-variant="18"]::before {
  inset: 13%; border: 13px solid rgba(206, 224, 149, 0.8); border-radius: 50% 24% 50% 24%; transform: rotate(18deg);
}
.ai-preview-canvas[data-ai-preview-variant="18"] .ai-preview-shape-one { background: #e27b57; border-radius: 50% 50% 8% 50%; }
.ai-preview-canvas[data-ai-preview-variant="18"] .ai-preview-shape-two { background: #80bddd; border-radius: 50% 8% 50% 50%; }

.ai-preview-canvas[data-ai-preview-variant="19"] { background: #313d5f; }
.ai-preview-canvas[data-ai-preview-variant="19"]::before {
  width: 76%; height: 76%; border: 15px solid rgba(244, 130, 117, 0.72); border-radius: 22% 22% 72% 22%; transform: rotate(-24deg);
}
.ai-preview-canvas[data-ai-preview-variant="19"] .ai-preview-shape-one { background: #b8d86b; border-radius: 64% 36% 16% 84%; }
.ai-preview-canvas[data-ai-preview-variant="19"] .ai-preview-shape-two { background: #efb557; border-radius: 36% 64% 84% 16%; }

.ai-preview-canvas[data-ai-preview-variant="20"] { background: #235449; }
.ai-preview-canvas[data-ai-preview-variant="20"]::before {
  width: 82%; height: 82%; border: 12px double rgba(244, 220, 145, 0.82); border-radius: 50%; transform: rotate(14deg);
}
.ai-preview-canvas[data-ai-preview-variant="20"] .ai-preview-shape-one { background: #df7180; border-radius: 14% 86% 58% 42%; }
.ai-preview-canvas[data-ai-preview-variant="20"] .ai-preview-shape-two { background: #79c8c6; border-radius: 86% 14% 42% 58%; }

.ai-preview-canvas-image {
  background: #fff;
}

.ai-preview-canvas-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.ai-preview-canvas.is-resetting {
  opacity: 0;
  transform: scale(0.96);
}

.ai-preview.is-processing .ai-preview-canvas {
  animation: ai-preview-pulse 1.6s ease-in-out infinite;
}

.ai-preview.is-processing .ai-preview-logo {
  animation: ai-preview-spin 2.8s linear infinite;
}

.ai-pack-progress {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding: 14px;
  border-left: 3px solid var(--color-primary);
  background: rgba(132, 105, 255, 0.12);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
}

.ai-pack-progress[hidden] {
  display: none;
}

.ai-pack-progress img {
  display: block;
  width: 52px;
  height: 52px;
  animation: ai-preview-spin 2.8s linear infinite;
}

.ai-pack-result {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.ai-pack-result p {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.ai-download-button {
  width: 100%;
}

@keyframes ai-preview-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(132, 105, 255, 0.08); }
  50% { box-shadow: 0 0 0 18px rgba(132, 105, 255, 0.22); }
}

@keyframes ai-preview-spin {
  to { transform: rotate(360deg); }
}

.ai-preview-shape {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 34% 66% 60% 40%;
  opacity: 0.9;
}

.ai-preview-shape-one {
  top: -23%;
  left: -20%;
  background: #ef75dc;
  transform: rotate(28deg);
}

.ai-preview-shape-two {
  right: -27%;
  bottom: -22%;
  background: #ffb35f;
  transform: rotate(-24deg);
}

.ai-preview-letter {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52%;
  aspect-ratio: 1;
  place-items: center;
  border: 10px solid #fff;
  border-radius: 27%;
  color: #fff;
  background: #5b42e7;
  box-shadow: 0 12px 32px rgba(14, 16, 63, 0.35);
  font-size: 5rem;
  font-weight: 850;
  line-height: 1;
}

.ai-preview-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 52%;
  height: 52%;
  filter: drop-shadow(0 12px 24px rgba(14, 16, 63, 0.32));
}

.ai-preview-sizes {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 24px;
}

.ai-preview-sizes > div {
  display: grid;
  justify-items: center;
  gap: 9px;
}

.ai-preview-sizes strong {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.ai-favicon-sample {
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 28%;
  color: #fff;
  background: #704ff2;
  font-weight: 850;
  line-height: 1;
}

.ai-favicon-image-sample {
  display: block;
  object-fit: contain;
  background: #fff;
}

.ai-sample-16 { width: 20px; height: 20px; font-size: 0.72rem; }
.ai-sample-32 { width: 32px; height: 32px; font-size: 1.1rem; }
.ai-sample-64 { width: 52px; height: 52px; font-size: 1.85rem; }

.ai-preview > p {
  max-width: 360px;
  margin: 28px auto 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
}

.ai-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: var(--color-border-strong);
}

.ai-principles > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 20px;
  color: var(--color-text);
  background: var(--color-surface-solid);
  font-size: 0.88rem;
  font-weight: 700;
}

.ai-principles strong {
  color: var(--color-primary);
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .ai-studio-workbench { grid-template-columns: 1fr; }
  .ai-brief-form { grid-column: 1; grid-row: 2; }
  .ai-preview-actions { grid-column: 1; grid-row: 1; }
  .ai-preview { grid-column: 1; grid-row: 1; min-height: 480px; }
  .ai-principles { grid-template-columns: 1fr; }
  .ai-studio-header h1 { font-size: 2.6rem; }
  .ai-preview-letter { font-size: 4.4rem; }
}

@media (max-width: 600px) {
  .ai-studio { width: min(100% - 28px, var(--container)); margin: 38px auto 64px; }
  .ai-field-grid { grid-template-columns: 1fr; }
  .ai-preview { min-height: 430px; }
  .ai-preview-canvas { width: min(100%, 268px); margin-top: 26px; }
  .ai-preview-sizes { gap: 20px; }
  .ai-studio-header h1 { font-size: 2rem; }
  .ai-preview-letter { font-size: 3.5rem; }
}

/* Annotation du visuel principal : alignement sur l'onglet en écran large. */
@media (min-width: 1101px) {
  .hand-note,
  .hand-note-v2 {
    top: 18px;
  }
}

@media (min-width: 861px) {
  .hand-note-two-lines {
    transform: translateY(-14px) rotate(-7deg);
  }
}

/* Finitions visuelles validées après essai sur la bêta. */
.brand-tld {
  color: var(--color-primary);
}

.premium-card .value-icon {
  width: 64px;
  height: 64px;
  color: #ffffff;
  background: linear-gradient(145deg, #ff7a32 0%, #ee4f87 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 8px 18px rgba(238, 79, 135, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.premium-card .value-icon .ui-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(107, 32, 67, 0.14));
}

html[data-theme="dark"] .premium-card .value-icon {
  color: #ffffff;
  background: linear-gradient(145deg, #ff8c45 0%, #d94d91 100%);
  border-color: rgba(255, 255, 255, 0.24);
}

.premium-card {
  background:
    radial-gradient(circle at left, rgba(255, 122, 50, 0.08), transparent 40%),
    var(--color-surface);
}

html[data-theme="dark"] .premium-card {
  background:
    radial-gradient(circle at left, rgba(255, 122, 50, 0.05), transparent 38%),
    var(--color-surface);
}

.phone-preview {
  overflow: hidden;
  isolation: isolate;
  border-color: #e4e9ff;
  background:
    radial-gradient(circle at 28% 34%, #ffe091 0 10%, rgba(255, 191, 105, 0.44) 11%, transparent 25%),
    linear-gradient(180deg, #5878f5 0%, #7061ea 42%, #e673a1 69%, #f18b74 100%);
  background-clip: padding-box;
}

html[data-theme="dark"] .phone-preview {
  border-color: #34468c;
}

.phone-preview::before,
.phone-preview::after {
  content: "";
  position: absolute;
  inset: auto -18% 0;
  pointer-events: none;
}

.phone-preview::before {
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(46, 53, 139, 0.20) 0%, #25357e 100%);
  clip-path: none;
  opacity: 1;
  z-index: 0;
}

.phone-preview::after {
  display: none;
}

.phone-preview > * {
  position: relative;
  z-index: 1;
}

.phone-preview .phone-speaker {
  position: absolute;
}

.phone-status {
  min-height: 20px;
  margin: 0 -2px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.96);
}

.phone-preview .phone-status time {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1;
}

.phone-status-icons {
  position: absolute;
  top: -10px;
  right: -4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-signal {
  height: 10px;
  display: flex;
  align-items: flex-end;
  gap: 1px;
}

.phone-signal i {
  width: 2px;
  border-radius: 2px;
  background: currentColor;
}

.phone-signal i:nth-child(1) { height: 4px; }
.phone-signal i:nth-child(2) { height: 7px; }
.phone-signal i:nth-child(3) { height: 10px; }

.phone-wifi {
  width: 10px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.phone-wifi::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.phone-battery {
  width: 14px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
}

.phone-battery::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 1px;
  background: currentColor;
}

.phone-battery::after {
  content: "";
  position: absolute;
  top: 1px;
  right: -3px;
  width: 2px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}

.phone-main-app {
  box-shadow:
    0 16px 36px rgba(10, 20, 78, 0.30),
    0 0 30px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.phone-preview .phone-icons {
  margin-top: 17px;
}

/* Compteur public anonyme des audits, affiché à partir du seuil applicatif. */
.stat-card-item-primary strong {
  font-size: 1.65rem;
}

.stat-card-item-secondary {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(34, 160, 107, 0.18);
}

.stat-card-item-secondary strong {
  font-size: 1.35rem;
}

.stat-card-item-secondary p {
  color: var(--color-muted);
  font-size: 0.78rem;
}

html[data-theme="dark"] .stat-card-item-secondary {
  border-top-color: rgba(63, 211, 157, 0.22);
}
