/* CNC — página pública “em breve” */

:root {
  --ink: #0f1c1a;
  --ink-soft: #3d524e;
  --paper: #f3f7f6;
  --teal: #0a6b62;
  --teal-deep: #064f48;
  --accent: #c4a35a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.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;
}

.soon {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
}

.soon__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(18, 138, 126, 0.18), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(196, 163, 90, 0.12), transparent 40%),
    linear-gradient(160deg, #e8f2ef 0%, var(--paper) 45%, #d5e8e3 100%);
}

.soon__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.soon__content {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  text-align: center;
  animation: rise 0.85s var(--ease) both;
}

.soon__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 16vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

.soon__fullname {
  margin: 0.4rem 0 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.soon__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
}

.soon__text {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.soon__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.soon__form input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(15, 28, 26, 0.14);
  border-radius: 0.35rem;
}

.soon__form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 107, 98, 0.16);
}

.soon__form button {
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0.35rem;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.soon__form button:hover {
  background: #d4b56a;
  transform: translateY(-1px);
}

.soon__status {
  margin: 0.85rem 0 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--teal-deep);
}

.soon__status.is-error {
  color: #9b2c2c;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soon__content {
    animation: none;
  }
}
