/* =========================================================
   RESET
========================================================= */

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

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; margin: 0; }

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

a { color: inherit; text-decoration: none; }

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

/* =========================================================
   TOKENS
========================================================= */

:root {
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #111111;
  --ink-soft: #55524c;
  --ink-faint: #8a877e;

  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.16);

  --blue-light: rgb(232, 245, 255);
  --accent: #F4512A;
  --accent-2: #ff7756;
  --accent-glow: rgba(244, 81, 42, 0.16);
  --accent-tint: #fdece6;
  --danger: #e0483a;

  --font: monospace;

  --max: 1180px;
  --gutter: clamp(24px, 6vw, 96px);
}

/* =========================================================
   BASE
========================================================= */

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 2000;
  font-size: 0.85rem;
}
.skip-link:focus { left: 16px; top: 16px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================
   BACKGROUND EFFECTS — quadrillage + halo orange
========================================================= */

.grid {
  background-image:
    linear-gradient(to right, var(--blue-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blue-light) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
}

.glow-orange,
.glow-orange-second {
  position: relative;
  isolation: isolate;
}
.glow-orange::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 42%, var(--accent-glow), transparent 42%);
  pointer-events: none;
}
.glow-orange-second::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 70% 62%, var(--accent-glow), transparent 32%);
  pointer-events: none;
}

.dark { background-color: #fff5f2; }

/* =========================================================
   TYPE HELPERS
========================================================= */

.tag {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.accent-word,
.animated-word {
  color: var(--accent);
  font-weight: 800;
  font-style: italic;
}

section > header h2,
#probleme h2,
.section-header h2,
.solution-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 auto;
}

.solution-header h2 { max-width: 1080px; text-align: center; }
.solution-header p { margin-top: 1rem; color: var(--ink-soft); font-size: 0.95rem; text-align: center; }

/* =========================================================
   NAVBAR
========================================================= */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  font-size: 14px;
}

.wordmark {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 1.1rem;
  transition: background 160ms ease, transform 160ms ease;
}
.nav-cta:hover { background: var(--ink); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
}

/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter) 80px;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.title .line-break { height: 10px; }

.animated-word { display: inline-flex; }
.animated-word > span {
  display: inline-block;
  animation: letterWave 3s ease-in-out infinite;
}
.animated-word > span:nth-child(2)  { animation-delay: 0.05s; }
.animated-word > span:nth-child(3)  { animation-delay: 0.10s; }
.animated-word > span:nth-child(4)  { animation-delay: 0.15s; }
.animated-word > span:nth-child(5)  { animation-delay: 0.20s; }
.animated-word > span:nth-child(6)  { animation-delay: 0.25s; }
.animated-word > span:nth-child(7)  { animation-delay: 0.30s; }
.animated-word > span:nth-child(8)  { animation-delay: 0.35s; }
.animated-word > span:nth-child(9)  { animation-delay: 0.40s; }
.animated-word > span:nth-child(10) { animation-delay: 0.45s; }
.animated-word > span:nth-child(11) { animation-delay: 0.50s; }
.animated-word > span:nth-child(12) { animation-delay: 0.55s; }

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

.subtitle {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.hero-note svg { color: var(--accent); flex-shrink: 0; }

.btn-primary,
button[type="submit"] {
  display: block;
  margin: auto;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 1.6rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.btn-primary:hover,
button[type="submit"]:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

/* =========================================================
   SECTIONS (shared)
========================================================= */

section { padding: 96px var(--gutter); }

section > header,
.section-header,
.solution-header {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

/* =========================================================
   PROBLÈME
========================================================= */

.probleme-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.problem-top {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.problem-top .text {
  flex: 1 1 320px;
  max-width: 500px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.task-tags {
  flex: 1 1 260px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.6rem;
}
.task-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 0.45rem 0.95rem;
}

@media (max-width: 700px) {
  .problem-top { flex-direction: column; gap: 1.5rem; }
  .problem-top .text { max-width: none; }
  .task-tags { flex-basis: auto; }
}

/* =========================================================
   CALCULATOR (problème)
========================================================= */

.loss {
  margin-top: 3rem;
  padding-top: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.loss-calculator {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.calculator-field { width: 100%; }

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.slider-label { font-size: 0.85rem; color: var(--ink-soft); }

.slider-value {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.money-slider {
  --progress: 20%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
}

.money-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--progress),
    var(--line-strong) var(--progress),
    var(--line-strong) 100%
  );
}
.money-slider::-moz-range-track { height: 8px; background: var(--line-strong); }
.money-slider::-moz-range-progress { height: 8px; background: var(--accent); }

.money-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 3px solid var(--accent);
  background: #fff;
  transition: transform 150ms ease;
}
.money-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid var(--accent);
  background: #fff;
}
.money-slider:active::-webkit-slider-thumb { transform: scale(1.15); }

.loss-result {
  text-align: center;
  border-left: 1px solid var(--line-strong);
  padding-left: 3rem;
}

.loss-amount {
  display: block;
  font-weight: 800;
  color: var(--danger);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-size: 3rem;
  transition: font-size 200ms ease;
}

.loss-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.loss-result small {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--ink-faint);
}

@media (max-width: 800px) {
  .loss { grid-template-columns: 1fr; gap: 2rem; }
  .loss-result { border-left: none; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 2rem; }
}

/* =========================================================
   FEATURES GRID (cartes fonctionnalités)
========================================================= */

.features-grid {
  margin-top: 3rem;
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.feature-card {
  background: var(--card);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: background 180ms ease;
}
.feature-card:hover { background: var(--accent-tint); }

.feature-icon { color: var(--accent); margin-top: 0.15rem; }

.feature-card h3 { font-size: 0.95rem; font-weight: 700; }

.feature-card p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MÉTHODE / PROCESS
========================================================= */

.process {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.process-marker {
  width: 48px;
  height: 48px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.process-num {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: bold;
}

.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}
@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
}

/* =========================================================
   CASE STUDY
========================================================= */

.case-study { max-width: var(--max); margin: 0 auto; }

.case-study h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
}

.case-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.case-intro-text p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 1rem;
}

.case-shot {
  border: 1px solid var(--line-strong);
  background: var(--card);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(244, 81, 42, 0.25), 0 12px 28px -18px rgba(17, 17, 17, 0.15);
}
.case-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .case-intro { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
}

/* --- avant / après table --- */

.fct-wrap { overflow-x: auto; padding: 3rem 0; }

.fct-table {
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(244, 81, 42, 0.25), 0 12px 28px -18px rgba(17, 17, 17, 0.15);
}

.fct-header {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  border-bottom: 1px solid var(--line-strong);
}

.fct-head-cell {
  padding: 0.9rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.fct-head-before,
.fct-head-after {
  text-align: center;
  border-left: 1px solid var(--line);
}
.fct-head-before { color: rgba(196, 68, 56, 0.65); }
.fct-head-after { color: var(--accent); background: var(--accent-tint); }

.fct-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease;
}
.fct-row:last-child { border-bottom: none; }
.fct-row:hover { background: #fafaf8; }

.fct-problem {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 1.5rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.fct-problem-icon { flex-shrink: 0; display: inline-flex; color: var(--accent); }

.fct-cell {
  padding: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  text-align: center;
}
.fct-cell p { max-width: 280px; font-size: 0.74rem; line-height: 1.5; }
.fct-before p { color: var(--ink-faint); }
.fct-after { background: var(--accent-tint); }
.fct-after p { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .fct-table { min-width: 680px; }
  .fct-problem { padding: 1.1rem 1.25rem; }
  .fct-cell { padding: 1.1rem 1rem; }
}

/* --- valeur créée --- */

.case-result { text-align: center; padding: 2rem 0 0; }
.case-result .tag { display: block; }

.result-amount {
  display: block;
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.result-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.result-sub { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-faint); }

/* =========================================================
   CONTACT
========================================================= */

#contact header { max-width: 860px; margin: 0 auto 2.5rem; text-align: center; }
#contact header p { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.95rem; }

.contact-grid {
  max-width: 560px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label { font-size: 0.75rem; color: var(--ink-soft); }

.form-field input,
.form-field textarea {
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 160ms ease;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }

.form-note { margin-top: 0.85rem; font-size: 0.72rem; color: var(--ink-faint); text-align: center; }

/* =========================================================
   FOOTER
========================================================= */

footer {
  background-color: var(--ink);
  color: #fff;
  padding: 3rem var(--gutter) 1.75rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-top .wordmark { color: #fff; }
.footer-tagline {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.footer-links a { color: rgba(255, 255, 255, 0.75); }
.footer-links a:hover { color: var(--accent-2); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.footer-contact a { color: rgba(255, 255, 255, 0.75); }
.footer-contact a:hover { color: var(--accent-2); }
.footer-contact span { color: rgba(255, 255, 255, 0.5); }

.footer-copy {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* =========================================================
   DASHBOARD MOCKUP (illustration)
========================================================= */

.dashboard-mockup {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.mockup-window {
  width: 100%;
  max-width: 1080px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 40px 70px -35px rgba(244, 81, 42, 0.28), 0 16px 32px -20px rgba(17, 17, 17, 0.18);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line-strong);
  background: #fafaf8;
}

.mockup-dots { display: flex; gap: 0.4rem; }
.mockup-dots span { width: 12px; height: 12px; background: var(--line-strong); border-radius: 50%; }
.mockup-dots span:first-child { background: #E4675C; }
.mockup-dots span:nth-child(2){ background: #F4BF4F; }
.mockup-dots span:last-child { background: #61C554; }

.mockup-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  color: var(--ink-faint);
}

.mockup-sidebar {
  display: none;
  width: 164px;
  flex-shrink: 0;
  border-right: 1px solid var(--line-strong);
  background: #fafaf8;
  padding: 1rem 0.7rem;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 500px;
}
@media (min-width: 640px) { .mockup-sidebar { display: flex; } }

.mockup-logo {
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  padding: 0 0.3rem;
}

.mockup-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  font-size: 0.68rem;
  color: var(--ink-faint);
}
.mockup-sidebar nav a.active {
  background: var(--accent-tint);
  color: var(--ink);
  font-weight: 700;
}
.mockup-sidebar nav a.active svg { color: var(--accent); }

.mockup-body {
  display: flex;
  text-align: left;
}

.mockup-main {
  flex: 1;
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-stats {
  display: grid;
  gap: 0.55rem;
}
.mockup-stats-4 { grid-template-columns: repeat(4, 1fr); }

.stat {
  border: 1px solid var(--line-strong);
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat-label { font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); }
.stat-value { font-size: 0.92rem; font-weight: 800; white-space: nowrap; }
.stat-delta { font-size: 0.58rem; color: var(--accent); font-weight: 700; }

.mockup-columns {
  display: grid;
  gap: 0.85rem;
}

.mockup-appointments,
.mockup-chart {
  border: 1px solid var(--line-strong);
  padding: 0.8rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}

.appointment-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
}
.appointment-row:last-child { border-bottom: none; }
.appointment-time { color: var(--ink-faint); flex-shrink: 0; width: 38px; }
.appointment-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 60px;
}
.chart-bars div { flex: 1; background: linear-gradient(to top, var(--accent), var(--accent-2)); }

.pill {
  font-size: 0.56rem;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.pill-auto { background: var(--accent-tint); color: var(--accent); }
.pill-neutral { background: #f0efec; color: var(--ink-soft); }

.mockup-caption { font-size: 0.75rem; color: var(--ink-faint); text-align: center; }

@media (max-width: 640px) {
  .mockup-stats-4 { grid-template-columns: repeat(2, 1fr); }
  .mockup-columns { grid-template-columns: 1fr; }
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note-error { color: var(--danger); }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem;
}
.form-success svg { color: var(--accent); }
.form-success h3 { font-size: 1.1rem; font-weight: 800; }
.form-success p { font-size: 0.85rem; color: var(--ink-soft); max-width: 380px; }
.form-success[hidden] {
    display: none;
}