/* BIVUSU CONNECT — site teasing, feuille de style autonome */

:root {
  --ink: #182625;
  --ink-soft: #45564f;
  --paper: #fbf8f2;
  --sand: #f0e8d8;
  --sand-line: #ddceac;
  --teal: #123b3c;
  --teal-deep: #0b2a2b;
  --marigold: #e7a33e;
  --marigold-deep: #b9791f;
  --clay: #be4b2c;
  --leaf: #2e7d53;
  --white: #ffffff;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 4px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2 { font-weight: 700; }
h3 { font-weight: 500; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.knot { display: inline-block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- construction banner ---------- */

.build-banner {
  background: var(--teal-deep);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
}

.build-banner strong { color: var(--marigold); }

/* ---------- header ---------- */

.site-header { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--sand-line); position: sticky; top: 0; z-index: 20; }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-deep);
  white-space: nowrap;
}

.brand svg { width: 26px; height: 26px; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }

.main-nav { display: flex; gap: 1.4rem; }

.main-nav a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.main-nav a:hover { color: var(--teal-deep); }

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary { background: var(--marigold); color: var(--teal-deep); }
.btn-primary:hover { background: var(--marigold-deep); }

.btn-ghost { background: transparent; color: var(--teal-deep); border: 1px solid rgba(18,59,60,0.35); }
.btn-ghost:hover { border-color: var(--teal-deep); }

.btn-outline { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ---------- hero ---------- */

.hero { background: var(--paper); color: var(--ink); padding: 3.5rem 0 4rem; position: relative; overflow: hidden; }

.hero-inner { max-width: var(--max); text-align: left; }

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 340px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: flex-start;
  padding: 1.6rem;
  border: 1px solid var(--sand-line);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(251,248,242,0.97) 0%, rgba(251,248,242,0.82) 34%, rgba(251,248,242,0.1) 65%);
}

.hero-logo { position: relative; z-index: 1; width: 340px; max-width: 65%; }

.hero-banner-credit {
  position: absolute;
  right: 0.8rem;
  bottom: 0.6rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white);
  background: rgba(11,42,43,0.55);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  text-decoration: none;
}

.hero-banner-credit:hover { background: rgba(11,42,43,0.8); }

.hero .eyebrow { color: var(--marigold-deep); }

.hero h1 {
  color: var(--teal-deep);
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  margin: 0.7rem 0 1rem;
  line-height: 1.08;
  max-width: 680px;
}

.hero p.lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 58ch; margin-bottom: 2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-knot-bg {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.08;
}

/* ---------- sections ---------- */

.section { padding: 4rem 0; }
.section-alt { background: var(--sand); }
.section-head { margin: 0 auto 2.2rem; text-align: center; }
.section-head h2 { font-size: 1.7rem; margin-top: 0.5rem; }
.section-head p { color: var(--ink-soft); margin: 0.6rem auto 0; max-width: 640px; }

.problem-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.problem-list li {
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.problem-list li::before { content: "—"; color: var(--clay); font-weight: 700; flex-shrink: 0; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  text-align: center;
}

.value-card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--marigold-deep);
  letter-spacing: 0.06em;
}

.value-card h3 { font-size: 1rem; margin: 0.5rem 0 0.4rem; }
.value-card p { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

.audience-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.6rem; }

.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--sand-line);
  color: var(--teal);
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.photo-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.photo-card figcaption a { color: var(--teal); text-decoration: underline; }
.photo-card figcaption a:hover { color: var(--teal-deep); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.trust-card {
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-left: 3px solid var(--leaf);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.trust-card h3 { font-size: 0.98rem; margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---------- waitlist ---------- */

.waitlist { background: var(--teal-deep); color: var(--white); padding: 4rem 0; text-align: center; }

.waitlist .eyebrow { color: var(--marigold); }
.waitlist h2 { color: var(--white); font-size: 1.8rem; margin: 0.6rem 0 0.8rem; }
.waitlist p { color: #cfe3df; max-width: 54ch; margin: 0 auto 1.8rem; }

.waitlist-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.waitlist-form input {
  flex: 1;
  border: none;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}

.waitlist-form input:focus { outline: none; }

.waitlist-form button {
  border: none;
  background: var(--marigold);
  color: var(--teal-deep);
  font-weight: 700;
  padding: 0 1.4rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.waitlist-note { font-family: var(--font-mono); font-size: 0.72rem; color: #9fc1ba; margin-top: 1rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--sand); color: var(--ink-soft); border-top: 1px solid var(--sand-line); padding: 2.5rem 0 1.5rem; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-grid .brand { color: var(--teal-deep); margin-bottom: 0.5rem; }
.footer-grid p { max-width: 34ch; margin: 0; }

.footer-bottom {
  border-top: 1px solid var(--sand-line);
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .problem-list { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .hero-banner { min-height: 260px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { padding: 0.9rem; }
}
