/* ============================================================
   FEED THE TRIBE — page satellite (octobre 2026)
   Terre sombre · beige · vert olive · fil arc-en-ciel de l'étoile
   ============================================================ */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --earth: #141210;
  --earth-deep: #0d0c0a;
  --earth-card: #211c17;
  --beige: #d6cdbb;
  --beige-soft: #b7ad9b;
  --muted: #9a9183;
  --olive: #8fac5d;
  --olive-soft: #a9bd85;
  --line: rgba(143, 172, 93, 0.22);
  --rainbow: linear-gradient(90deg, #7b3fbf, #3f6fd8, #2fa6a0, #6bb24a, #e3c23a, #e8892f, #d8443a);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(143, 172, 93, 0.08), transparent 60%),
    var(--earth);
  color: var(--beige);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--beige);
  color: var(--earth);
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----------  En-tête  ---------- */

.topbar {
  display: flex;
  justify-content: center;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beige);
}
.brand img { width: 2rem; height: 2rem; }

/* ----------  Héros  ---------- */

.hero {
  min-height: min(calc(90vh - 5rem), 48rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

.star {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
  margin-bottom: 2.2rem;
}
.star::before {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 172, 93, 0.22), transparent 65%);
  animation: heartbeat 1.6s ease-in-out infinite;
}
.star img {
  position: relative;
  width: 100%;
  height: 100%;
  animation: breathe 1.6s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  14% { transform: scale(1.06); opacity: 1; }
  28% { transform: scale(0.97); opacity: 0.7; }
  42% { transform: scale(1.03); opacity: 0.9; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.025); }
  42% { transform: scale(1.012); }
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 8.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ece4d3;
}

.tagline {
  margin: 1.3rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  color: var(--olive-soft);
}

.lead {
  max-width: 36rem;
  margin: 1.6rem auto 0;
  color: var(--beige-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-olive { background: var(--olive); color: var(--earth-deep); }
.btn-olive:hover { background: var(--olive-soft); }
.btn-line { border: 1px solid rgba(143, 172, 93, 0.4); color: var(--olive-soft); }
.btn-line:hover { background: rgba(143, 172, 93, 0.1); }

/* Fil arc-en-ciel, repris de l'étoile */
.thread {
  width: min(22rem, 70%);
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: var(--rainbow);
  opacity: 0.55;
}

/* ----------  Sections  ---------- */

section { padding: 5rem 0; }

.eyebrow {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
}

h2 {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.95rem, 4.6vw, 2.9rem);
  line-height: 1.15;
  color: #ece4d3;
}

.intro {
  max-width: 38rem;
  margin: 1.3rem auto 0;
  text-align: center;
  color: var(--beige-soft);
}

/* Citation */

.quote {
  padding: 4.5rem 0;
}
.quote blockquote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1.45;
  color: #ece4d3;
}

/* Trois gestes */

.gestures {
  list-style: none;
  margin: 3.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.1rem;
}
.gestures li {
  position: relative;
  padding: 2.1rem 1.8rem 1.9rem;
  border-radius: 1.2rem;
  background: var(--earth-card);
  overflow: hidden;
}
.gestures li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--rainbow);
  opacity: 0.7;
}
.gestures h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: #ece4d3;
}
.gestures p { margin: 0; color: var(--beige-soft); }

/* Ce qui germe */

.seeds {
  list-style: none;
  max-width: 40rem;
  margin: 3rem auto 0;
  padding: 0 0 0 2.2rem;
  border-left: 1px solid var(--line);
}
.seeds li {
  position: relative;
  padding: 0 0 2.2rem;
}
.seeds li:last-child { padding-bottom: 0; }
.seeds li::before {
  content: "";
  position: absolute;
  left: calc(-2.2rem - 5px);
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px rgba(143, 172, 93, 0.15);
}
.seeds h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: #ece4d3;
}
.seeds p { margin: 0; color: var(--beige-soft); }

/* Aujourd'hui, chez Virgile Health & Co */

.doors {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.1rem;
}
.door {
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.8rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.door:hover {
  border-color: var(--olive);
  background: rgba(143, 172, 93, 0.05);
  transform: translateY(-2px);
}
.door small {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.door strong {
  margin: 0.55rem 0 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #ece4d3;
}
.door span { flex: 1; font-size: 0.97rem; color: var(--beige-soft); }
.door em {
  margin-top: 1.1rem;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--olive-soft);
}

.signature {
  margin: 2.6rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--beige-soft);
}
.signature b { font-style: normal; font-weight: 600; color: #ece4d3; }

.notify { text-align: center; }

/* ----------  Pied de page  ---------- */

footer {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid rgba(143, 172, 93, 0.14);
  background: var(--earth-deep);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
footer p { margin: 0.35rem 0; }
footer a { color: var(--beige-soft); }

details.legal {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  text-align: left;
}
details.legal summary {
  cursor: pointer;
  text-align: center;
  color: var(--beige-soft);
  list-style-position: inside;
}
details.legal div {
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(143, 172, 93, 0.16);
  border-radius: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.6;
}
details.legal h3 {
  margin: 0.8rem 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--olive);
}
details.legal h3:first-child { margin-top: 0; }
details.legal p { margin: 0; }

/* ----------  404  ---------- */

.lost {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .star::before, .star img { animation: none; }
  .door, .btn { transition: none; }
  .door:hover { transform: none; }
}
