/* =======================================================
   ALLFAWISE — STYLE.CSS
   Paleta: laranja (--orange), branco, preto/cinza escuro (--dark)
   ======================================================= */

:root {
  --orange: #f97316;
  --orange-dark: #c2410c;
  --dark: #111827;
  --gray: #4b5563;
  --light: #f9fafb;
  --white: #ffffff;
  --line: #e5e7eb;
  --soft-orange: #fff7ed;
  --green: #16a34a;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.10);
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- TOPBAR ---------- */
.topbar { background: var(--dark); color: var(--white); font-size: 0.9rem; }
.topbar .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar span { color: #fed7aa; font-weight: 800; }

/* ---------- HEADER / NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: -0.04em; font-size: 1.45rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: white;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--gray); font-weight: 750; font-size: 0.95rem; }
.nav-links a:hover { color: var(--orange-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-weight: 850; cursor: pointer; border: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  font-size: 0.96rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 16px 30px rgba(249, 115, 22, 0.25); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--dark); border: 1px solid var(--line); }

.mobile-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); font-size: 1.3rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(249,115,22,0.18), transparent 32%),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 74%);
  padding: 88px 0 60px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--soft-orange); color: var(--orange-dark); border: 1px solid #fed7aa;
  font-weight: 900; font-size: 0.9rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: 0.95; letter-spacing: -0.075em; margin-bottom: 22px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.16rem; color: var(--gray); max-width: 640px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 660px; }
.trust-item {
  background: rgba(255,255,255,0.84); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px; box-shadow: 0 8px 24px rgba(17,24,39,0.05);
}
.trust-item strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.trust-item small { color: var(--gray); font-weight: 700; }

.hero-card { position: relative; background: var(--white); border-radius: 34px; box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); }
.talent-window {
  border-radius: 26px; overflow: hidden; background: linear-gradient(135deg, #111827, #374151);
  color: white; padding: 26px; min-height: 440px; display: grid; align-content: space-between; position: relative;
}
.talent-window::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 999px;
  background: rgba(249, 115, 22, 0.35); filter: blur(4px); top: -80px; right: -80px;
}
.window-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 8px 12px; font-weight: 850; font-size: 0.85rem;
}
.dot { width: 9px; height: 9px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,0.18); }
.profile-stack { position: relative; display: grid; gap: 12px; z-index: 2; }
.profile-card {
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; padding: 12px; backdrop-filter: blur(12px);
}
.avatar {
  width: 48px; height: 48px; border-radius: 16px;
  background: linear-gradient(135deg, #fb923c, #fed7aa); display: grid; place-items: center;
  font-weight: 950; color: #7c2d12;
}
.profile-card h4 { font-size: 0.98rem; }
.profile-card p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.85rem; }
.metric-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.16); border-radius: 20px; padding: 16px; }
.metric strong { display: block; font-size: 1.45rem; letter-spacing: -0.04em; }
.metric span { color: rgba(255,255,255,0.74); font-weight: 700; font-size: 0.86rem; }

/* ---------- SEÇÕES GERAIS ---------- */
section { padding: 86px 0; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1; letter-spacing: -0.06em; margin-bottom: 16px; }
.section-head p { color: var(--gray); font-size: 1.08rem; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icon-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 10px 28px rgba(17,24,39,0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--soft-orange); color: var(--orange-dark); font-size: 1.5rem; margin-bottom: 18px;
}
.icon-card h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -0.03em; }
.icon-card p { color: var(--gray); font-size: 0.96rem; margin-bottom: 18px; }
.card-link { color: var(--orange-dark); font-weight: 900; }

/* ---------- QUEM SOMOS / FUNDADOR ---------- */
.about, #fundador { background: var(--light); }
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 42px; align-items: center; }
.split.alt { grid-template-columns: 1.05fr 0.95fr; }
.big-panel {
  background: var(--dark); color: var(--white); border-radius: 34px; padding: 34px; min-height: 390px;
  display: grid; align-content: space-between; box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.big-panel::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 999px;
  background: rgba(249,115,22,0.28); bottom: -110px; right: -90px;
}
.big-panel h3 { font-size: 2.2rem; line-height: 1; letter-spacing: -0.06em; position: relative; z-index: 1; }
.big-panel p { color: rgba(255,255,255,0.72); position: relative; z-index: 1; }

.founder-panel { justify-items: center; text-align: center; gap: 18px; }
.founder-photo {
  width: 96px; height: 96px; border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #fed7aa);
  color: #7c2d12; font-weight: 950; font-size: 1.6rem;
  display: grid; place-items: center; position: relative; z-index: 1;
}
.founder-panel h3 { font-size: 1.4rem; position: relative; z-index: 1; }

.check-list { display: grid; gap: 14px; margin-top: 22px; }
.check { display: flex; align-items: flex-start; gap: 12px; color: var(--gray); }
.check b { color: var(--dark); }
.check-mark {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 999px;
  background: var(--soft-orange); color: var(--orange-dark); display: grid; place-items: center; font-weight: 950;
}

/* ---------- OPORTUNIDADES ---------- */
.opportunities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.job-card {
  border: 1px solid var(--line); border-radius: 26px; padding: 26px; background: var(--white);
  box-shadow: 0 12px 34px rgba(17,24,39,0.04); display: grid; gap: 14px;
}
.job-card .tag {
  width: fit-content; padding: 6px 11px; border-radius: 999px;
  background: var(--soft-orange); color: var(--orange-dark); font-size: 0.8rem; font-weight: 950;
}
.job-card h3 { font-size: 1.35rem; letter-spacing: -0.035em; }
.job-card p { color: var(--gray); }

/* ---------- LIVE SELLER ---------- */
.live-section { background: linear-gradient(180deg, var(--dark), #1f2937); color: var(--white); overflow: hidden; position: relative; }
.live-section::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 999px;
  background: rgba(249,115,22,0.20); top: 10%; right: -160px;
}
.live-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 42px; align-items: start; position: relative; z-index: 1; }
.live-section .section-head p, .live-section .check { color: rgba(255,255,255,0.72); }
.live-section .check b { color: var(--white); }
.timeline { display: grid; gap: 16px; margin-top: 28px; }
.timeline-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 20px; }
.timeline-item strong { display: block; color: #fed7aa; margin-bottom: 6px; font-size: 0.9rem; }
.timeline-item h4 { margin-bottom: 4px; font-size: 1.08rem; }
.timeline-item p { color: rgba(255,255,255,0.70); font-size: 0.95rem; }

/* ---------- FORMULÁRIO ---------- */
.form-box { background: var(--white); color: var(--dark); border-radius: 32px; padding: 30px; box-shadow: var(--shadow); position: sticky; top: 104px; }
.form-box h3 { font-size: 1.55rem; letter-spacing: -0.04em; margin-bottom: 8px; }
.form-box > p { color: var(--gray); margin-bottom: 22px; }
.lead-form { display: grid; gap: 15px; }
.lead-form label { display: grid; gap: 7px; font-weight: 850; font-size: 0.93rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 15px; min-height: 50px;
  padding: 12px 14px; font: inherit; outline: none; background: var(--white);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 4px rgba(249,115,22,0.12);
}
.lead-form button { width: 100%; margin-top: 4px; }
.form-note { color: var(--gray); font-size: 0.86rem; text-align: center; }

/* ---------- EMPRESAS ---------- */
.companies { background: var(--soft-orange); }
.company-card {
  background: var(--white); border-radius: 34px; border: 1px solid #fed7aa; padding: 36px;
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 34px; align-items: center; box-shadow: var(--shadow);
}
.contact-box { background: var(--dark); color: var(--white); border-radius: 24px; padding: 26px; display: grid; gap: 14px; }
.contact-line { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 14px; }
.contact-line small { display: block; color: rgba(255,255,255,0.60); margin-bottom: 3px; font-weight: 700; }
.contact-line strong { font-size: 1.02rem; }

/* ---------- LINKEDIN + SITE ---------- */
.content-plan { background: var(--white); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { border: 1px solid var(--line); border-radius: 24px; padding: 24px; background: var(--light); }
.plan-card strong { color: var(--orange-dark); font-size: 0.86rem; display: block; margin-bottom: 8px; }
.plan-card h3 { margin-bottom: 8px; letter-spacing: -0.03em; }
.plan-card p { color: var(--gray); font-size: 0.95rem; }

/* ---------- CTA FINAL ---------- */
.cta { padding: 80px 0; background: var(--dark); color: var(--white); text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.07em; max-width: 820px; margin: 0 auto 18px; }
.cta p { color: rgba(255,255,255,0.72); max-width: 680px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- RODAPÉ ---------- */
footer { background: #0b1220; color: rgba(255,255,255,0.72); padding: 36px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer b { color: white; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--orange); }

/* ---------- RESPONSIVIDADE ---------- */
@media (max-width: 980px) {
  .mobile-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; left: 20px; right: 20px; top: 88px; background: white;
    border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 18px;
    display: none; flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .live-grid, .company-card { grid-template-columns: 1fr; }
  .cards-4, .cards-3, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .form-box { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .topbar .container { flex-direction: column; justify-content: center; padding: 10px 0; text-align: center; }
  .hero { padding-top: 54px; }
  .hero-actions, .footer-grid { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .trust-row, .cards-4, .cards-3, .opportunities-grid, .plan-grid, .metric-row { grid-template-columns: 1fr; }
  .talent-window { min-height: 360px; }
  section { padding: 64px 0; }
}


/* ---------- FORMULÁRIO: MELHORIAS SELECT / TEXTAREA / MENSAGENS (adicionado) ---------- */
.lead-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%),
    linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}

.lead-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #9ca3af;
}

.form-note {
  transition: color 0.2s ease;
}

.form-note.success {
  color: var(--orange-dark);
  font-weight: 600;
}

.form-note.error {
  color: #b91c1c;
  font-weight: 600;
}

@media (max-width: 680px) {
  .lead-form select {
    background-position: calc(100% - 16px) calc(1em + 2px), calc(100% - 11px) calc(1em + 2px);
  }
}
