/*
Theme Name: Le Sac Amarré — Bientôt
Theme URI: https://example.invalid/
Author: Le Sac Amarré
Description: Thème WordPress minimaliste de pré-lancement pour Le Sac Amarré. Une seule page d'accueil, sans information sur le projet, avec contact par e-mail.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: le-sac-amarre
*/

:root {
  --lsa-sea: #6f9eae;
  --lsa-deep: #264d59;
  --lsa-ink: #183b45;
  --lsa-sand: #f7efdc;
  --lsa-cream: #fff9e9;
  --lsa-white: #ffffff;
  --lsa-shadow: 0 24px 80px rgba(30, 65, 76, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--lsa-ink);
  background: var(--lsa-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.lsa-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.36) 46%, rgba(255,255,255,.05) 100%),
    url("assets/images/dune.jpg") center bottom / cover no-repeat;
}

.lsa-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 22%, rgba(111,158,174,.14), transparent 30%),
    radial-gradient(circle at 12% 16%, rgba(247,239,220,.8), transparent 32%);
  pointer-events: none;
}

.lsa-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
}

.lsa-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lsa-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lsa-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lsa-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lsa-sea);
  box-shadow: 0 0 0 7px rgba(111,158,174,.12);
}

.lsa-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(38,77,89,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--lsa-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lsa-hero {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
  padding: 12px 0 34px;
}

.lsa-copy {
  max-width: 760px;
}

.lsa-kicker {
  margin: 0 0 16px;
  color: var(--lsa-sea);
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lsa-title {
  margin: 0;
  max-width: 760px;
  color: var(--lsa-deep);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-size: clamp(64px, 9vw, 132px);
  line-height: .83;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lsa-title span {
  display: block;
  color: var(--lsa-sea);
}

.lsa-subtitle {
  max-width: 620px;
  margin: clamp(24px, 3vw, 34px) 0 0;
  color: rgba(24,59,69,.82);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.35;
  font-weight: 560;
  letter-spacing: -.02em;
}

.lsa-subtitle strong {
  color: var(--lsa-deep);
  font-weight: 820;
}

.lsa-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.lsa-orbit {
  position: absolute;
  width: min(36vw, 410px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(111,158,174,.24);
  background: rgba(255,249,233,.72);
  box-shadow: var(--lsa-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lsa-orbit::before,
.lsa-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111,158,174,.2);
}

.lsa-orbit::before { inset: 7%; }
.lsa-orbit::after { inset: 16%; border-style: dashed; }

.lsa-mascot {
  position: relative;
  z-index: 2;
  width: min(31vw, 340px);
  height: auto;
  filter: drop-shadow(0 28px 32px rgba(38,77,89,.16));
  transform-origin: 50% 55%;
  animation: lsa-float 5.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes lsa-float {
  0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50% { transform: translate3d(0,-12px,0) rotate(1deg); }
}

.lsa-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}

.lsa-note {
  margin: 0;
  color: rgba(24,59,69,.58);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lsa-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--lsa-deep);
  box-shadow: 0 16px 34px rgba(38,77,89,.2);
  color: var(--lsa-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lsa-contact:hover,
.lsa-contact:focus-visible {
  background: #1e444f;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(38,77,89,.26);
}

.lsa-contact svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 860px) {
  .lsa-page {
    background-position: 58% bottom;
  }

  .lsa-shell {
    width: min(100% - 28px, 720px);
    padding-top: 22px;
  }

  .lsa-hero {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 8px;
  }

  .lsa-copy { text-align: center; }
  .lsa-title { margin-inline: auto; font-size: clamp(58px, 18vw, 100px); }
  .lsa-subtitle { margin-inline: auto; font-size: clamp(18px, 5vw, 24px); }

  .lsa-visual {
    min-height: 280px;
    margin-top: -10px;
  }

  .lsa-orbit { width: min(70vw, 320px); }
  .lsa-mascot { width: min(57vw, 270px); }

  .lsa-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }

  .lsa-contact { justify-content: center; width: 100%; }
}

@media (max-width: 520px) {
  .lsa-topbar { justify-content: center; }
  .lsa-wordmark { display: none; }
  .lsa-badge { min-height: 34px; padding-inline: 14px; }
  .lsa-shell { padding-bottom: 18px; gap: 16px; }
  .lsa-hero { padding-bottom: 10px; }
  .lsa-title { font-size: clamp(52px, 18vw, 82px); }
  .lsa-visual { min-height: 230px; }
  .lsa-note { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .lsa-mascot { animation: none; }
  .lsa-contact { transition: none; }
}
