/* ==========================================================
   RaiseAI Landing Page
   Minimal light theme: branco + preto + pastéis suaves
   Inspiracao: Linear, Vercel light, Arc, Cash App, Loops
   ========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-card: #ffffff;
  --bg-muted: #f5f5f5;
  --border: #eaeaea;
  --border-strong: #d4d4d4;
  --text: #0a0a0a;
  --text-muted: #666666;
  --text-dim: #999999;
  --accent: #0a0a0a;

  /* Pastéis modernos para bento grid */
  --pastel-lavender: #EDE7FF;
  --pastel-peach: #FFE7DC;
  --pastel-sage: #E2F0E4;
  --pastel-sky: #E0EEFF;
  --pastel-cream: #FAF3E4;
  --pastel-rose: #FCE4E4;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.logo img {
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s var(--ease);
}

.nav-links a:hover { color: var(--text); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s var(--ease);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-muted);
  border-color: var(--text);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ===== HERO ===== */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  color: var(--text);
}

.highlight {
  background: linear-gradient(90deg, #a78bfa 0%, #f472b6 50%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== TRUST ===== */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.trust-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-items span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

/* ===== SECTIONS ===== */
section { padding: 90px 0; }

.section-head { margin-bottom: 52px; text-align: center; }

.eyebrow {
  display: inline-block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ===== SOLUÇÕES (bento grid com pastéis) ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s var(--ease);
}

.solution-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.solution-visual {
  padding: 40px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Variants com pastéis modernos */
[data-variant="orange"] .solution-visual {
  background:
    radial-gradient(circle at 20% 30%, #FFE7DC 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, #FCE4E4 0%, transparent 60%),
    var(--pastel-peach);
}

[data-variant="blue"] .solution-visual {
  background:
    radial-gradient(circle at 25% 25%, #E0EEFF 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, #EDE7FF 0%, transparent 60%),
    var(--pastel-sky);
}

[data-variant="green"] .solution-visual {
  background:
    radial-gradient(circle at 30% 30%, #E2F0E4 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, #E0F5EC 0%, transparent 60%),
    var(--pastel-sage);
}

[data-variant="purple"] .solution-visual {
  background:
    radial-gradient(circle at 25% 30%, #EDE7FF 0%, transparent 60%),
    radial-gradient(circle at 75% 70%, #FCE4F2 0%, transparent 60%),
    var(--pastel-lavender);
}

/* Chat mock */
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.chat-them {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.chat-us {
  background: #0a0a0a;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* Big stat visual */
.big-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.big-stat strong {
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--text);
}

.big-stat span {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.75;
}

/* Solution body */
.solution-body {
  padding: 26px 32px 30px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.solution-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.solution-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.solution-body p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ===== CASES ===== */
.cases { background: var(--bg-soft); }

.cases-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.case {
  padding: 30px 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
}

.case:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.case-vertical {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.case strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.case p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ===== PROCESSO ===== */
.process {
  padding: 90px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.process-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.process-grid h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-grid p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-soft); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

details {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.15s var(--ease);
}

details:hover { border-color: var(--border-strong); }
details[open] {
  border-color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease);
  line-height: 0.5;
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--text);
}

summary::-webkit-details-marker { display: none; }

details p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== CTA FINAL ===== */
.cta-final {
  text-align: center;
  padding: 110px 0;
  background: var(--text);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background:
    radial-gradient(circle at 30% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(251, 146, 60, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-final > .container { position: relative; z-index: 1; }

.cta-final h2 {
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-final .btn-primary {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

.cta-final .btn-primary:hover {
  background: #f5f5f5;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  filter: invert(1);
}

.footer-brand span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s var(--ease);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--text-dim);
  font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .solutions-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .cases-row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 56px; }
}

@media (max-width: 500px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .trust-items { gap: 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ===== SELECTION ===== */
::selection {
  background: var(--text);
  color: #ffffff;
}
