/* ─────────────────────────────────────────
   STARTSOLLUTION — DARK GOLD TECH SITE
   Automação · Áudio · Vídeo
   ───────────────────────────────────────── */

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

:root {
  --gold:        #c07117;
  --gold-mid:    #a85f10;
  --gold-light:  #d4882a;
  --gold-glow:   rgba(192,113,23,0.18);
  --gold-border: rgba(192,113,23,0.22);
  --gold-hover:  rgba(192,113,23,0.16);
  --bg:          #0a0a0a;
  --bg2:         #111111;
  --card:        rgba(255,255,255,0.04);
  --card-hover:  rgba(255,255,255,0.07);
  --white:       #ffffff;
  --off-white:   rgba(255,255,255,0.90);
  --dim-white:   rgba(255,255,255,0.45);
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── DEEP BG ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(192,113,23,.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(192,113,23,.05) 0%, transparent 60%),
    linear-gradient(180deg, #111111 0%, #080808 100%);
  z-index: 0;
  pointer-events: none;
}

/* ── NOISE GRAIN ── */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── WARM GLOW TOP ── */
.bg-glow {
  pointer-events: none;
  position: fixed;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(192,113,23,.12) 0%, transparent 70%);
  z-index: 1;
}

/* ── LAYOUT ── */
main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  padding: 56px 28px 44px;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
header {
  text-align: center;
  margin-bottom: 28px;
  animation: rise 0.65s cubic-bezier(.22,.68,0,1.15) both;
}

.logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #141414;
  border-radius: 16px;
  padding: 22px 36px;
  margin-bottom: 22px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.5),
    0 8px 32px rgba(0,0,0,.6),
    0 0 0 1px rgba(192,113,23,.15),
    0 0 60px rgba(192,113,23,.04);
}

.logo-plate img {
  display: block;
  width: 200px;
  height: auto;
}

.subtitle {
  font-family: 'Syne', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dim-white);
}

/* ── RULE ── */
.rule {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 auto 30px;
  border-radius: 2px;
  animation: rise 0.6s .08s cubic-bezier(.22,.68,0,1.15) both;
}

/* ── BUTTONS ── */
nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
  position: relative;
  overflow: hidden;
}

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

/* PRIMARY — gold pill (WhatsApp) */
.btn--primary {
  background: var(--gold);
  box-shadow:
    0 2px 8px rgba(192,113,23,.3),
    0 6px 24px rgba(192,113,23,.2);
  animation: rise 0.55s .14s cubic-bezier(.22,.68,0,1.15) both;
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 8px 28px rgba(192,113,23,.4), 0 2px 8px rgba(192,113,23,.25);
}

.btn--primary .btn__icon  { color: #fff; }
.btn--primary .btn__label { color: #fff; font-weight: 600; }
.btn--primary .btn__arrow { color: rgba(255,255,255,.7); }

/* GHOST — dark glass card */
.btn--ghost {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.btn--ghost:hover {
  background: var(--card-hover);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(192,113,23,.1);
}

.btn--ghost .btn__icon  { color: var(--gold); }
.btn--ghost .btn__label { color: var(--off-white); }
.btn--ghost .btn__arrow { color: rgba(255,255,255,.3); }

/* stagger */
nav .btn:nth-child(1) { animation-delay: .14s; }
nav .btn:nth-child(2) { animation-delay: .21s; }
nav .btn:nth-child(3) { animation-delay: .28s; }
nav .btn:nth-child(4) { animation-delay: .35s; }

/* INTERNALS */
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,0,0,.15);
  transition: transform 0.16s ease;
}

.btn--ghost .btn__icon {
  background: rgba(192,113,23,.1);
}

.btn--primary .btn__icon {
  background: rgba(0,0,0,.12);
}

.btn:hover .btn__icon {
  transform: scale(1.07);
}

.btn__label {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .1px;
}

.btn__arrow {
  font-size: 17px;
  font-weight: 300;
  transition: transform 0.16s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ── FOOTER ── */
footer {
  text-align: center;
  animation: rise 0.5s .44s ease both;
}

.footer-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: rgba(255,255,255,.5);
}

/* ── KEYFRAMES ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 400px) {
  main { padding: 40px 20px 32px; }
  .logo-plate { padding: 16px 24px; }
  .logo-plate img { width: 168px; }
  .btn__label { font-size: 13.5px; }
}


/* ─────────────────────────────────────────
   CONTATO PAGE — FORM
   ───────────────────────────────────────── */

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.form-intro {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.55;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-family: 'Syne', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
}

.field input::placeholder {
  color: rgba(255,255,255,.2);
}

.field input:focus {
  border-color: rgba(192,113,23,.5);
  background: rgba(192,113,23,.05);
}

.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  margin-top: 4px;
  background: var(--gold);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(192,113,23,.3), 0 6px 20px rgba(192,113,23,.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-send:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192,113,23,.4);
}

.btn-send:active {
  transform: scale(0.983);
}

.erro-msg {
  text-align: center;
  font-size: 13px;
  color: rgba(255,120,120,.9);
  background: rgba(255,0,0,.07);
  border: 1px solid rgba(255,80,80,.15);
  border-radius: 8px;
  padding: 10px 14px;
}

.back-link {
  display: block;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.18s ease;
}

.back-link:hover {
  color: rgba(255,255,255,.7);
}

/* ── SUCESSO MSG ── */
.sucesso-msg {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #4ade80;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 8px;
  padding: 14px 16px;
  line-height: 1.5;
}
