/* Fyri DS pour le site — valeurs : fyri-dev/marketing/notes_style.md */
:root {
  --forest: #1d3a2c;
  --forest-2: #2c5240;
  --moss: #5d7a52;
  --sage: #a9bf9c;
  --cream: #f6f2e8;
  --cream-2: #efe9d9;
  --white: #fffdf7;
  --bark: #6b5238;
  --amber: #c9842f;
  --amber-deep: #b06d1e;
  --ink: #21271f;
  --ink-soft: #54614c;
  --line: #dcd5c3;
  --danger: #a8442f;

  --active-bg: #eef4ea;
  --active-fg: #2c5240;
  --active-bd: #cfe0c6;
  --callout-2: #e4ecdc;

  --fer-red-bg: #f5d8cc;
  --fer-red-fg: #a8442f;
  --fer-blue-bg: #dde5ec;
  --fer-blue-fg: #3a6587;
  --fer-orange-bg: #f6e8d2;
  --fer-orange-fg: #8a5b10;
  --fer-purple-bg: #f3e8f7;
  --fer-purple-fg: #7c3a8e;

  --encart-amber-bg: #f7f0db;
  --encart-amber-bg-2: #f3eccd;
  --encart-amber-bd: #e7d6a7;
  --encart-fg: #6a4d18;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Outfit', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;

  --radius-card: 16px;
  --radius-button: 11px;
  --radius-pill: 10px;
  --radius-badge: 8px;

  --shadow-float: 0 14px 30px -14px rgba(29, 58, 44, 0.35);
  --shadow-capture: 0 24px 60px -28px rgba(29, 58, 44, 0.45);
  --shadow-button: 0 8px 20px -12px rgba(29, 58, 44, 0.7);

  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body {
    font-size: 18px;
  }
}

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

a {
  color: var(--forest-2);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--forest);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-button);
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lead {
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms var(--ease-standard), box-shadow 140ms var(--ease-standard);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest-2), var(--forest));
  color: var(--cream);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  color: var(--cream);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--white);
  box-shadow: 0 8px 20px -12px rgba(176, 100, 20, 0.7);
}

.btn-amber:hover {
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--forest-2);
  border-color: var(--line);
}

.btn .mdi {
  font-size: 19px;
}

.text-link {
  font-weight: 600;
  color: var(--forest-2);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
}

.text-link:hover {
  border-bottom-color: var(--forest-2);
}

/* Pastille numérotée : le motif des points d'observation de l'app */
.po {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 999px;
  background: var(--forest-2);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 0 3px var(--white), 0 3px 6px rgba(29, 58, 44, 0.3);
}

.po-amber {
  background: var(--white);
  color: var(--amber-deep);
  box-shadow: 0 0 0 3px var(--amber), 0 3px 6px rgba(29, 58, 44, 0.2);
}

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