/* =====================================================
   PABLO MARUK — styles.css
   Paleta: azul-elétrico / laranja / verde
   Tipografia: Space Grotesk + IBM Plex Sans/Mono
   ===================================================== */

/* ===== TOKENS ===== */
:root {
  --ink:          #0F1729;
  --ink-soft:     #1A2740;
  --paper:        #F7F5F0;
  --paper-dim:    #ECE9E1;
  --blue:         #5B8DEF;
  --orange:       #FF6B35;
  --green:        #10B981;
  --muted:        #8B96AC;
  --border:       rgba(15, 23, 41, 0.09);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); }

/* ===== ACESSIBILIDADE ===== */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 12px 20px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 16px; top: 16px; }
*:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 16px;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text       { color: var(--ink); }
.logo-text span  { color: var(--blue); }

/* Avatar na nav */
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--blue);
  flex-shrink: 0;
}

/* Links de navegação */
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a         { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover   { color: var(--blue); }
.nav-links a.active  { color: var(--blue); }

/* Ações (botões) da nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }

.nav-login {
  border: 1.5px solid rgba(15, 23, 41, 0.22);
  color: var(--ink);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.nav-login:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
  line-height: 1;
}

/* Menu mobile */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 8px 0 12px;
}
.mobile-menu.open  { display: flex; }
.mobile-menu a     { display: block; padding: 12px 24px; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s, background 0.2s; }
.mobile-menu a:hover { color: var(--blue); background: var(--paper-dim); }

/* ===== EYEBROW ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== BOTÕES ===== */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid rgba(15, 23, 41, 0.25);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ===== HIGHLIGHT ===== */
.highlight        { color: var(--blue); }
.highlight-orange { color: var(--orange); }

/* ===== HERO (index.html) ===== */
.hero { padding: 100px 24px 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 22px; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FLOW CARD ===== */
.flow-card { background: var(--ink); border-radius: 20px; padding: 36px 28px; position: relative; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(15,23,41,0.35); }
.flow-card::before { content: ''; position: absolute; top: -40%; right: -30%; width: 70%; height: 70%; background: radial-gradient(circle, rgba(91,141,239,0.25), transparent 70%); pointer-events: none; }
.flow-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 20px; }
.flow-step { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 16px; opacity: 0; animation: fadeInStep 0.6s ease forwards; }
.flow-step:nth-child(2) { animation-delay: 0.2s; }
.flow-step:nth-child(4) { animation-delay: 0.5s; }
.flow-step:nth-child(6) { animation-delay: 0.8s; }
@keyframes fadeInStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.flow-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.flow-icon.trigger { background: rgba(91,141,239,0.18); color: var(--blue); }
.flow-icon.action  { background: rgba(255,107,53,0.18);  color: var(--orange); }
.flow-icon.result  { background: rgba(16,185,129,0.18);  color: var(--green); }
.flow-text { color: var(--paper); font-size: 0.88rem; font-weight: 500; }
.flow-text small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 400; margin-top: 2px; }
.flow-connector { display: flex; justify-content: center; padding: 6px 0; }
.flow-connector svg { opacity: 0.3; }

/* ===== SECTIONS ===== */
.section     { padding: 88px 24px; }
.section-alt { background: var(--ink); color: var(--paper); }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head .eyebrow              { color: var(--orange); }
.section-alt .section-head .eyebrow { color: var(--blue); }
.section-alt .eyebrow::before       { background: var(--orange); }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p              { color: var(--ink-soft); font-size: 1.02rem; }
.section-alt .section-head p { color: var(--muted); }

/* ===== EXPERTISE GRID ===== */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.expertise-card { background: #fff; border: 1px solid rgba(15,23,41,0.07); border-radius: 16px; padding: 28px 24px; transition: transform 0.25s, box-shadow 0.25s; }
.expertise-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15,23,41,0.25); }
.expertise-card .tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; display: block; }
.expertise-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.expertise-card p  { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== PROOF CARDS ===== */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proof-card { background: var(--paper-dim); border-radius: 16px; padding: 30px; border-left: 3px solid var(--orange); }
.proof-card .metric { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.proof-card .metric-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; display: block; }
.proof-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid rgba(91,141,239,0.3); }
.timeline-item { position: relative; margin-bottom: 36px; padding-left: 24px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--ink); }
.timeline-item .period { font-family: var(--font-mono); font-size: 0.78rem; color: var(--orange); margin-bottom: 6px; display: block; }
.timeline-item h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--paper); margin-bottom: 6px; }
.timeline-item p  { color: var(--muted); font-size: 0.92rem; }

/* ===== VIDEO GRID ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(15,23,41,0.07); transition: transform 0.25s; display: block; }
.video-card:hover { transform: translateY(-4px); }
.video-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink), var(--ink-soft)); display: flex; align-items: center; justify-content: center; }
.play-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 1rem; padding-left: 3px; transition: background 0.2s, transform 0.15s; }
.video-card:hover .play-icon { background: var(--blue); color: #fff; transform: scale(1.1); }
.video-card-body    { padding: 18px 20px; }
.video-card-body h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.video-card-body p  { font-size: 0.86rem; color: var(--muted); }
.youtube-cta        { text-align: center; margin-top: 40px; }

/* ===== CONTACT / CTA FINAL ===== */
.contact-section { text-align: center; padding: 96px 24px; }
.contact-section h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; max-width: 700px; margin: 0 auto 20px; letter-spacing: -0.01em; }
.contact-section p  { color: var(--ink-soft); font-size: 1.05rem; max-width: 480px; margin: 0 auto 36px; }
.contact-ctas       { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== QUOTE ===== */
.quote-block { max-width: 560px; margin: 56px auto 0; text-align: center; font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--muted); padding-top: 32px; border-top: 1px solid rgba(15,23,41,0.1); }
.quote-block p    { margin-bottom: 12px; }
.quote-block cite { font-family: var(--font-mono); font-style: normal; font-size: 0.78rem; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== LOGIN PAGE ===== */
body.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-main     { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-card     { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 48px 44px; width: 100%; max-width: 420px; box-shadow: 0 24px 60px -20px rgba(15,23,41,0.12); }
.login-header   { margin-bottom: 36px; }
.login-header h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.login-header p  { color: var(--muted); font-size: 0.95rem; }
.login-form      { display: flex; flex-direction: column; gap: 20px; }
.field           { display: flex; flex-direction: column; gap: 7px; }
.field label     { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input     { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(15,23,41,0.18); border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: var(--paper); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,141,239,0.15); }
.password-wrap       { position: relative; }
.password-wrap input { padding-right: 48px; }
.toggle-pw           { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 0; display: flex; align-items: center; transition: color 0.2s; }
.toggle-pw:hover     { color: var(--blue); }
.login-submit        { width: 100%; justify-content: center; margin-top: 4px; padding: 15px 28px; font-size: 1rem; }

/* ===== FOOTER ===== */
footer { background: var(--ink); color: var(--muted); padding: 40px 24px; text-align: center; font-size: 0.86rem; }
footer a        { color: var(--blue); transition: color 0.2s; }
footer a:hover  { color: var(--orange); }
.footer-links   { display: flex; gap: 24px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .video-grid     { grid-template-columns: 1fr; }
  .proof-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links     { display: none; }
  .mobile-toggle { display: block; }
}
@media (max-width: 480px) {
  .login-card { padding: 36px 24px; }
}
