/* ─────────────────────────────────────────
   RS BROKER — GREEN BG PROFESSIONAL SITE
   ───────────────────────────────────────── */

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

:root {
  --green:        #7cba1f;
  --green-mid:    #5a9210;
  --green-dark:   #3d6010;
  --green-deep:   #253a09;
  --green-bg:     #4a8012;
  --green-bg2:    #3a6609;
  --green-light:  rgba(255,255,255,0.13);
  --green-hover:  rgba(255,255,255,0.18);
  --white:        #ffffff;
  --off-white:    rgba(255,255,255,0.92);
  --dim-white:    rgba(255,255,255,0.55);
}

html, body {
  height: 100%;
}

body {
  background: var(--green-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 RADIAL GRADIENT BG ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #6aad18 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, #2d5508 0%, transparent 60%),
    linear-gradient(160deg, #4a8012 0%, #2e5209 100%);
  z-index: 0;
  pointer-events: none;
}

/* ── NOISE GRAIN ── */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .06;
  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;
}

/* ── SUBTLE GLOW ── */
.bg-glow {
  pointer-events: none;
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(160,230,60,.18) 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: #1a1a1a;
  border-radius: 14px;
  padding: 20px 34px;
  margin-bottom: 22px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.2),
    0 8px 24px rgba(0,0,0,.3),
    0 0 0 1px rgba(255,255,255,.06);
}

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

.subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--dim-white);
}

/* ── RULE ── */
.rule {
  width: 36px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  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: 12px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
  position: relative;
  overflow: hidden;
}

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

/* PRIMARY — bright white pill */
.btn--primary {
  background: var(--white);
  box-shadow:
    0 2px 8px rgba(0,0,0,.15),
    0 6px 20px rgba(0,0,0,.12);
  animation: rise 0.55s .14s cubic-bezier(.22,.68,0,1.15) both;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.12);
}

.btn--primary .btn__icon { color: var(--green-mid); }
.btn--primary .btn__label { color: var(--green-dark); }
.btn--primary .btn__arrow { color: var(--green-mid); }

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

.btn--ghost:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

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

/* 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: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,0,0,.05);
  transition: transform 0.16s ease;
}

.btn--ghost .btn__icon {
  background: rgba(255,255,255,.1);
}

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

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

.btn__arrow {
  font-size: 17px;
  font-weight: 300;
  transition: transform 0.16s ease, opacity 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,.3);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── 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: 13px; }
}

/* ─────────────────────────────────────────

/* ─────────────────────────────────────────
   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,.6);
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.55;
}

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

.field label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,.18);
  border: 1.5px solid rgba(255,255,255,.15);
  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,.25);
}

.field input:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(0,0,0,.25);
}

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

.btn-send svg {
  color: var(--green-mid);
  flex-shrink: 0;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}

.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,.1);
  border: 1px solid rgba(255,80,80,.2);
  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,.45);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.18s ease;
}

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