/* ===================================================================
   EU SOU MISSÃO — landing do adesivo · estilos
   Paleta preto & dourado. Tipografia Bebas Neue (display) + Barlow.
=================================================================== */

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

:root {
  --gold: #D4A017;
  --gold-light: #F5C842;
  --black: #0A0A0A;
  --off-white: #F5F0E8;
  --mid: #1A1A1A;
  --text-muted: #888;
  --card-bg: #141414;
  --danger: #E5534B;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================================================
   NAV — barra fixa com os três logos centralizados
=================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  grid-column: 2;
  justify-self: center;
}

.nav-logo-img {
  display: block;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-logo-img:hover { opacity: 1; }

.nav-logo-missao { height: 25px; }
.nav-logo-kim    { height: 70px; }
.nav-logo-rm     { height: 30px; }

.nav-logo-sep {
  width: 1px;
  height: 22px;
  background: rgba(245, 240, 232, 0.2);
}

@media (max-width: 480px) {
  .nav-logos { gap: 0.5rem; }
  .nav-logo-missao { height: 22px; }
  .nav-logo-kim    { height: 50px; }
  .nav-logo-rm     { height: 20px; }
  .nav-logo-sep    { height: 18px; }
}

/* ---------- Botão hamburger ---------- */
.menu-toggle {
  grid-column: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 10px;
  background: rgba(212, 160, 23, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.menu-toggle:hover { background: rgba(212, 160, 23, 0.16); border-color: var(--gold); }
.menu-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 480px) {
  .menu-toggle { width: 34px; height: 34px; }
}

/* ---------- Overlay + painel: outros portais ---------- */
.portals-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 4, 0.6);
  backdrop-filter: blur(2px);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.portals-overlay.is-visible { opacity: 1; }

.portals-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--mid);
  border-left: 1px solid rgba(212, 160, 23, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  z-index: 195;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.portals-panel.is-open { transform: translateX(0); }

.portals-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
}
.portals-panel-title {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--gold-light);
}
.portals-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(212, 160, 23, 0.25);
  background: transparent;
  color: var(--off-white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.portals-close:hover { background: rgba(212, 160, 23, 0.12); border-color: var(--gold); }

.portals-list { list-style: none; padding: 10px 12px; }
.portals-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.portals-link:hover { background: rgba(212, 160, 23, 0.1); }
.portals-link-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--off-white);
}
.portals-link-url { font-size: 0.78rem; color: var(--text-muted); font-family: 'Barlow', sans-serif; }
.portals-link-tag {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Barlow', sans-serif;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 2px 8px;
  border-radius: 999px;
}
.portals-link.is-current .portals-link-name { color: var(--gold-light); }

body.portals-open { overflow: hidden; }

/* ===================================================================
   HERO
=================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(212,160,23,0.03) 60px, rgba(212,160,23,0.03) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(212,160,23,0.03) 60px, rgba(212,160,23,0.03) 61px);
  pointer-events: none;
}

.hero-city {
  position: absolute;
  inset: 0;
  background: url("assets/sp-skyline.jpg") center / cover no-repeat;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0.04) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
  filter: brightness(0.35) saturate(0.4);
  mix-blend-mode: luminosity;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.hero-title .eu-sou {
  display: block;
  color: var(--off-white);
  font-size: 0.45em;
  letter-spacing: 0.1em;
  margin-bottom: -0.1em;
}

.hero-title .missao {
  display: inline-block;
  width: 100%;
  color: var(--gold); /* fallback estável */
  font-size: clamp(1.2em, 15vw, 1.4em);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1px;
  line-height: 1.1;
  padding-top: 3px;
  position: relative;
  z-index: 1;
  /* Brilho metálico espelhado aplicado só no corpo das letras */
  background: linear-gradient(135deg, #805408 0%, var(--gold) 25%, #FFF8D0 45%, #FFFFFF 50%, var(--gold-light) 55%, var(--gold) 80%, #4a3204 100%);
  background-size: 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 4px 15px rgba(214, 160, 23, 0.35));
  animation: shineEffect 1.2s ease-out;
}

@keyframes shineEffect {
  0%   { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.65);
  max-width: 480px;
  margin: 1.5rem auto 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-sub strong { color: var(--off-white); font-weight: 700; }

.hero-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.hero-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.35);
}

.hero-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================================================
   SEÇÕES GENÉRICAS
=================================================================== */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.section-body {
  color: rgba(245, 240, 232, 0.65);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.3), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* ===================================================================
   PREVIEW DO ADESIVO
=================================================================== */
.sticker-section {
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--mid);
  position: relative;
}

.sticker-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.sticker-section .section-body { margin-bottom: 3rem; }
.sticker-section .section-note {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.45);
}

.sticker-scene {
  perspective: 800px;
  margin-bottom: 3rem;
}

.sticker-preview {
  display: inline-block;
  position: relative;
  border-radius: 12px;
  transform: rotate(-2deg) rotateX(4deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow:
    0 2px 0 1px rgba(255,255,255,0.15),
    0 4px 0 2px rgba(0,0,0,0.3),
    0 8px 0 3px rgba(0,0,0,0.2),
    0 16px 40px rgba(0,0,0,0.6),
    0 30px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  cursor: pointer;
}

.sticker-preview:hover {
  transform: rotate(0deg) rotateX(0deg) scale(1.03) translateY(-6px);
  box-shadow:
    0 2px 0 1px rgba(255,255,255,0.2),
    0 6px 0 3px rgba(0,0,0,0.25),
    0 12px 0 5px rgba(0,0,0,0.15),
    0 30px 70px rgba(0,0,0,0.7),
    0 50px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}

.sticker-img {
  display: block;
  width: min(580px, 90vw);
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* ===================================================================
   POR QUE PEDIR
=================================================================== */
.why-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-section .section-title,
.why-section .section-label { text-align: center; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid rgba(212, 160, 23, 0.15);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.why-card:hover {
  border-color: rgba(212, 160, 23, 0.4);
  transform: translateY(-3px);
}

.why-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-card h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--off-white);
}

.why-card p {
  color: rgba(245, 240, 232, 0.55);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================================================
   FORMULÁRIO
=================================================================== */
.form-section {
  padding: 6rem 2rem;
  max-width: 620px;
  margin: 0 auto;
}

.form-section .section-label,
.form-section .section-title,
.form-section .section-body { text-align: center; }

.form-section .section-body { margin-bottom: 3rem; }

.form-box {
  background: var(--card-bg);
  border: 1px solid rgba(212, 160, 23, 0.2);
  padding: 2.5rem;
}

.form-row { margin-bottom: 1.3rem; }

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.2);
  color: var(--off-white);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.05);
}

.form-row input[readonly] {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 240, 232, 0.75);
  cursor: default;
}

.form-row input::placeholder { color: rgba(245, 240, 232, 0.25); }

.form-row input.invalid,
.form-row select.invalid { border-color: var(--danger); }

.field-error {
  display: block;
  min-height: 1em;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--danger);
}

.cep-status {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  min-height: 1em;
}
.cep-status.loading { color: var(--gold); }
.cep-status.ok      { color: #5CC96B; }
.cep-status.err     { color: var(--danger); }

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-check label {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form-check label a { color: var(--gold); text-decoration: none; }
.form-check label a:hover { text-decoration: underline; }

.submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, 0.3);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.vagas-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

/* Campos de endereço ocultos até o CEP ser preenchido */
.campos-ocultos {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.campos-ocultos.mostrar {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Honeypot anti-bot: invisível para humanos */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ===================================================================
   TELEFONE (prefixo +55)
=================================================================== */
.phone-wrap {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-right: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.phone-prefix.focused {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.05);
}

.phone-flag { font-size: 1.1rem; line-height: 1; }

.phone-code {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.03em;
}

.phone-wrap input {
  border-left: none;
  flex: 1;
  min-width: 0;
}

.phone-wrap input:focus {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.05);
}

/* ===================================================================
   ESTADOS DE SUCESSO / AVISO
=================================================================== */
.feedback-box {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.feedback-box.visible { display: block; }

.feedback-icon { font-size: 3rem; margin-bottom: 1rem; }

.feedback-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.feedback-box p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 1rem;
  max-width: 380px;
  margin: 0 auto;
}

.warning-box h3 { color: var(--gold-light); }
.warning-box .retry-btn {
  margin-top: 1.5rem;
  width: auto;
  padding: 0.9rem 2rem;
}

/* ===================================================================
   FOOTER
=================================================================== */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  display: block;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 1; }

.footer-logo-missao { height: 45px; }
.footer-logo-kim    { height: 60px; }
.footer-logo-rm     { height: 40px; }

.footer-logo-sep {
  width: 1px;
  height: 28px;
  background: rgba(245, 240, 232, 0.2);
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ===================================================================
   ANIMAÇÕES DE ENTRADA DO HERO
=================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.6s ease both; }
.hero-title   { animation: fadeUp 0.7s 0.1s ease both; }
.hero-sub     { animation: fadeUp 0.7s 0.2s ease both; }
.hero-btn     { animation: fadeUp 0.7s 0.3s ease both; }
.hero-note    { animation: fadeUp 0.7s 0.4s ease both; }

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

@media (max-width: 600px) {
  .site-nav { padding: 1rem 1.2rem; }
  .form-two-col { grid-template-columns: 1fr; }
  .form-box { padding: 1.5rem; }
}
