/* ============================================================
   SAM — Détecteur IA vs Humain
   Design : Paul Bacard
   CSS : Claude AI
   ============================================================ */

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

:root {
  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --surface: #fafafa;
  --white: #ffffff;
  --black: #111111;
  --dark: #2a2a2a;
  --dark-2: #282828;
  --gray-dark: #444444;
  --gray: #6b6b6b;
  --gray-light: #999999;
  --border: rgba(42, 42, 42, 0.1);
  --border-2: rgba(42, 42, 42, 0.18);
  --green: #3d6b4f;
  --red: #8b3a3a;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dark);
}
.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--dark);
  flex-shrink: 0;
}
.logo-text {
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.beta-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border-2);
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-link:hover {
  color: var(--dark);
  background: var(--bg-2);
}
.nav-btn-coffee {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.83rem;
  padding: 7px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.nav-btn-coffee:hover {
  background: var(--black);
  transform: translateY(-1px);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  color: var(--dark);
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border-2);
  color: var(--gray);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: transparent;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  color: var(--black);
}
.hero-title-accent {
  color: var(--gray-dark);
}

.hero-subtitle {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  color: var(--gray-light);
  font-weight: 500;
  margin-top: 3px;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-2);
}

.hero-cta {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.hero-cta:hover {
  background: var(--black);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .nav-btn-coffee {
    display: none;
  }
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 40px;
    padding: 100px 20px 60px;
    text-align: center;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-cta {
    width: 100%;
    text-align: center;
  }
  .hero-visual {
    display: none;
  }
}

/* Abstract rings — light theme */
.hero-visual {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.abstract-rings {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-2);
}
.ring-1 {
  width: 220px;
  height: 220px;
  animation: spin 24s linear infinite;
}
.ring-2 {
  width: 160px;
  height: 160px;
  animation: spin 16s linear infinite reverse;
  border-color: rgba(22, 20, 15, 0.15);
}
.ring-3 {
  width: 100px;
  height: 100px;
  animation: spin 10s linear infinite;
  border-color: rgba(22, 20, 15, 0.25);
}
.ring-core {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
  animation: pulse-subtle 4s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse-subtle {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* ── STATUS BAR ──────────────────────────────────────────────── */
.status-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 9px 24px;
  text-align: center;
}
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.loading {
  background: #b8860b;
  animation: blink 1.2s ease-in-out infinite;
}
.status-dot.ready {
  background: var(--green);
}
.status-dot.error {
  background: var(--red);
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ── SECTION COMMONS ─────────────────────────────────────────── */
.analyzer-section {
  padding: 80px 0;
  background: var(--bg);
}
.research-section {
  padding: 80px 0;
  background: var(--bg-2);
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: var(--black);
}
.section-subtitle {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── ANALYZER ────────────────────────────────────────────────── */
.analyzer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.analyzer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .analyzer-layout {
    grid-template-columns: 1fr;
  }
}

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.input-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-dark);
}
.char-count {
  font-size: 0.76rem;
  color: var(--gray-light);
}

.text-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.65;
  padding: 14px 16px;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.text-input:focus {
  border-color: var(--border-2);
  box-shadow: 0 0 0 3px rgba(22, 20, 15, 0.05);
  background: var(--white);
}
.text-input::placeholder {
  color: var(--gray-light);
}

.input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 16px;
}
.scope-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--gray-light);
}
.scope-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--border);
  border-radius: 50%;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--gray);
  flex-shrink: 0;
}
.btn-analyze {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 22px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-analyze:hover:not(:disabled) {
  background: var(--black);
  transform: translateY(-1px);
}
.btn-analyze:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.btn-arrow {
  transition: transform 0.15s;
}
.btn-analyze:hover .btn-arrow {
  transform: translateX(3px);
}

/* Mode tabs */
.mode-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.mode-tab {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.81rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.15s;
}
.mode-tab.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.mode-tab:hover:not(.active) {
  border-color: var(--border-2);
  color: var(--dark);
}
.sam-hint {
  font-size: 0.74rem;
  color: var(--gray-light);
  margin-top: 8px;
}
.sam-hint code {
  background: var(--bg-2);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.71rem;
}

/* Verdict */
.verdict-card {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.verdict-card.human {
  background: rgba(61, 107, 79, 0.07);
  border-color: rgba(61, 107, 79, 0.25);
}
.verdict-card.ai {
  background: rgba(139, 58, 58, 0.07);
  border-color: rgba(139, 58, 58, 0.25);
}
.verdict-label {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.verdict-card.human .verdict-label {
  color: var(--green);
}
.verdict-card.ai .verdict-label {
  color: var(--red);
}
.verdict-sublabel {
  font-size: 0.81rem;
  color: var(--gray);
  margin-top: 3px;
}

/* Gauge */
.gauge-container {
  margin-bottom: 20px;
}
.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.gauge-label-human {
  color: var(--green);
}
.gauge-label-ai {
  color: var(--red);
}
.gauge-track {
  height: 6px;
  background: var(--bg-2);
  border-radius: 100px;
  position: relative;
}
.gauge-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 100px;
  transition:
    width 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s;
}
.gauge-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 1px 6px rgba(22, 20, 15, 0.15);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-top: 5px;
}

/* Result panel */
.result-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 360px;
}
.result-placeholder {
  text-align: center;
  color: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 312px;
}
.placeholder-icon {
  font-size: 2.6rem;
  font-weight: 900;
  opacity: 0.15;
  margin-bottom: 10px;
  color: var(--dark);
}

.result-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 312px;
}

.result-content {
  width: 100%;
  display: block;
}

/* Features */
.features-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  margin-bottom: 10px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.feature-bar-track {
  flex: 1;
  height: 3px;
  background: var(--bg-2);
  border-radius: 100px;
  overflow: hidden;
}
.feature-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.5s ease;
}
.feature-bar-fill.positive {
  background: var(--red);
}
.feature-bar-fill.negative {
  background: var(--green);
}
.feature-name {
  font-size: 0.75rem;
  color: var(--gray);
  min-width: 155px;
}
.feature-value {
  font-size: 0.72rem;
  color: var(--gray-light);
  min-width: 46px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.features-note {
  font-weight: 400;
  font-size: 0.69rem;
  color: var(--gray-light);
  text-transform: none;
  letter-spacing: 0;
}
.vote-human {
  color: var(--green) !important;
}
.vote-ai {
  color: var(--red) !important;
}

.extracted-section {
  margin-bottom: 20px;
}
.extracted-question {
  font-size: 0.84rem;
  color: var(--dark);
  font-weight: 600;
  margin-top: 4px;
  font-style: italic;
}
.extracted-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.extracted-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--dark);
  border-left: 2px solid var(--border-2);
  padding-left: 12px;
  line-height: 1.55;
}
.pos-badge {
  flex-shrink: 0;
  min-width: 28px;
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--gray-light);
  font-variant-numeric: tabular-nums;
}
.phrase-text {
  line-height: 1.55;
}

/* Question utilisateur */
.user-question {
  margin-bottom: 16px;
}
.autonomy-context {
  font-size: 0.79rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 12px;
  border-left: 2px solid var(--border-2);
  padding-left: 10px;
}
.question-text {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.5;
}
.question-buttons {
  display: flex;
  gap: 10px;
}
.btn-oui,
.btn-non {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 100px;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s,
    opacity 0.15s;
}
.btn-oui {
  background: var(--red);
  color: var(--white);
}
.btn-non {
  background: var(--dark);
  color: var(--white);
}
.btn-oui:hover,
.btn-non:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

/* Tooltip */
.tooltip-word {
  border-bottom: 1px dashed var(--gray-light);
  cursor: help;
  position: relative;
}
.tooltip-bubble {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  width: 220px;
  white-space: normal;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  pointer-events: none;
}
.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--dark);
}
.tooltip-word:hover .tooltip-bubble,
.tooltip-word:focus .tooltip-bubble {
  display: block;
}

.signal-section {
  margin-bottom: 4px;
}

.meta-section {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.meta-warning {
  color: #7a5c00;
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.25);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.74rem;
  line-height: 1.5;
}

/* Loading */
.result-loading {
  text-align: center;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-2);
  border-top-color: var(--dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 14px;
}
.loading-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}
.loading-sub {
  font-size: 0.77rem;
  color: var(--gray-light);
  margin-top: 5px;
}

/* ── RESEARCH ─────────────────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.research-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.research-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.research-card-icon {
  font-size: 1.4rem;
  color: var(--gray-dark);
  margin-bottom: 14px;
}
.research-card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.research-card p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
}
.metric-chip {
  display: inline-block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--gray-dark);
  font-size: 0.69rem;
  font-family: monospace;
  padding: 3px 9px;
  border-radius: 5px;
}
.domain-table {
  margin-top: 8px;
}
.domain-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.81rem;
  color: var(--gray);
}
.auc {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.auc.perfect {
  color: var(--green);
}
.auc.good {
  color: var(--gray-dark);
}

/* ── COFFEE ──────────────────────────────────────────────────── */
.coffee-section {
  padding: 80px 0;
  background: #f4f4f4;
}
.coffee-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 64px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .coffee-card {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }
}

.coffee-visual {
  flex: 0 0 140px;
}
.coffee-svg {
  width: 120px;
  height: 140px;
  overflow: visible;
}

/* Steam animation */
.steam {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: steam-rise 2.4s ease-in-out infinite;
}
.steam-1 {
  animation-delay: 0s;
}
.steam-2 {
  animation-delay: 0.8s;
}
.steam-3 {
  animation-delay: 1.6s;
}
@keyframes steam-rise {
  0% {
    stroke-dashoffset: 60;
    opacity: 0;
    transform: translateY(0) scaleX(1);
  }
  20% {
    opacity: 0.9;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    stroke-dashoffset: -60;
    opacity: 0;
    transform: translateY(-12px) scaleX(1.3);
  }
}

.coffee-text {
  flex: 1;
}
.coffee-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.coffee-subtitle {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 440px;
}
.btn-paypal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 13px 28px;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn-paypal:hover {
  background: var(--black);
  transform: translateY(-2px);
}
.coffee-note {
  font-size: 0.72rem;
  color: var(--gray-light);
  margin-top: 12px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: #fafafa;
  color: var(--dark);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  margin-bottom: 6px;
}
.logo-icon-sm {
  width: 18px;
  height: 18px;
  color: var(--gray);
  flex-shrink: 0;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--gray-light);
}

.footer-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .footer-body {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.footer-col p {
  font-size: 0.81rem;
  color: var(--gray);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.footer-links a {
  font-size: 0.81rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--dark);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-bottom p {
  font-size: 0.74rem;
  color: var(--gray-light);
  line-height: 1.7;
}
