/* ============================================
   Règles Subscription LP — Base / Design Tokens
   ============================================ */

:root {
  /* ---- Colour Palette ---- */
  --bg: #f7f5f0;
  --bg-alt: #eef2ed;
  --card-bg: #ffffff;
  --border: #d4d0c8;
  --border-subtle: #e8e5de;

  --text: #1a2e1a;
  --text-secondary: #4a5a48;
  --muted: #5a5f58;

  --primary: #2d5a3d;
  --primary-light: #3d7a52;
  --primary-dark: #1e3d2a;

  --secondary: #a67c52;
  --secondary-light: #c49a6c;

  --cta: #c45d3e;
  --cta-hover: #a84d32;

  /* ---- Shadows ---- */
  --shadow-sm: 0 2px 8px rgba(26, 46, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 46, 26, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 46, 26, 0.12);

  /* ---- Transitions ---- */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ---- Radii ---- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* ---- Typography Scale ---- */
  --font-hero: clamp(1.75rem, 5vw, 3rem);
  --font-section: clamp(1.5rem, 3.5vw, 2.25rem);
  --font-card-title: clamp(1.1rem, 2.5vw, 1.4rem);
  --font-body: 1rem;
  --font-small: 0.875rem;
  --font-xs: 0.75rem;

  /* ---- Layout ---- */
  --max-width: 1200px;
  --content-width: 720px;
}

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

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family:
    "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.04em;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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