/* =========================================================
   Cardinal Impulsivo — styles2.0.css
   Nova paleta: Ink #0E1220 | Azure #2563EB | Cyan #38BDF8 | Âmbar #F59E0B
   Codificação: AI Prompt=Cyan · Digital HR=Azure · Broadcast=Âmbar
   ========================================================= */

:root {
  --ink:      #0E1220;
  --ink-2:    #151929;
  --ink-3:    #1c2235;
  --azure:    #2563EB;
  --azure-d:  #1a4fc4;
  --cyan:     #38BDF8;
  --cyan-d:   #0ea5e9;
  --amber:    #F59E0B;
  --amber-d:  #d97706;
  --white:    #F4F7FB;
  --slate:    #8A97A8;
  --slate-2:  #4a5568;
  --line:     rgba(248, 250, 252, 0.08);
  --line-s:   rgba(248, 250, 252, 0.14);
  --shadow:   0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-sm:0 8px 28px -10px rgba(0, 0, 0, 0.45);
  --radius:   18px;
  --radius-sm:12px;
  --maxw:     1140px;
  --ease:     cubic-bezier(.16, .84, .44, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--white);
  background: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
.lead { font-size: 1.08rem; color: var(--slate); max-width: 60ch; }

/* ---------- Texto justificado (parágrafos corridos) ---------- */
.hero-sub,
.lead,
.card p,
.area-card > p,
.method-card p,
.cap p,
.cta-text > p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(56,189,248,.4); background: var(--cyan-d); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-s); }
.btn-ghost:hover { background: var(--ink-3); transform: translateY(-2px); border-color: var(--cyan); color: var(--cyan); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 18, 32, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 112px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 92px; width: auto; display: block; transition: transform .3s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--slate); transition: color .2s; }
.nav a:hover { color: var(--cyan); }
.nav .nav-cta {
  background: var(--cyan); color: var(--ink); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--cyan-d); box-shadow: 0 0 18px rgba(56,189,248,.35); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(56,189,248,.12) 0%, transparent 65%),
    radial-gradient(600px 400px at -5% 100%, rgba(37,99,235,.1) 0%, transparent 65%),
    radial-gradient(400px 300px at 50% 50%, rgba(245,158,11,.04) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); background: rgba(56,189,248,.1); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
  border: 1px solid rgba(56,189,248,.2);
}
.hero-title { font-size: clamp(2.1rem, 5.6vw, 4rem); margin-bottom: 1.1rem; color: var(--white); }
.hero-title .hl { color: var(--cyan); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--slate); max-width: 64ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-badges li {
  font-size: .85rem; font-weight: 600; color: var(--white);
  background: var(--ink-3); border: 1px solid var(--line-s); padding: .45rem .9rem; border-radius: 999px;
}
/* badge de cor por área */
.hero-badges li:nth-child(1),
.hero-badges li:nth-child(2),
.hero-badges li:nth-child(3) { border-color: rgba(56,189,248,.3); color: var(--cyan); }
.hero-badges li:nth-child(4) { border-color: rgba(37,99,235,.35); color: #7eb3ff; }
.hero-badges li:nth-child(5) { border-color: rgba(245,158,11,.35); color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--ink-2); }
.section-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.section-head.light h2, .section-head.light .lead { color: var(--white); }

.kicker {
  display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .7rem;
}
.section-head h2 { margin-bottom: .7rem; color: var(--white); }
.section-head .lead { margin: 0 auto; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards genéricos ---------- */
.card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-s); }
.card-ico {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(56,189,248,.1); border-radius: 14px; margin-bottom: 1rem;
  border: 1px solid rgba(56,189,248,.2);
}
.card h3 { margin-bottom: .5rem; color: var(--white); }
.card p { color: var(--slate); font-size: .98rem; }

/* ---------- Áreas de mercado ---------- */
.areas { align-items: stretch; }
.area-card {
  position: relative; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* Área 1 — AI Prompt → Cyan */
.area-card.featured {
  border: 1.5px solid rgba(56,189,248,.4);
  background: linear-gradient(160deg, rgba(56,189,248,.06) 0%, var(--ink-3) 60%);
}
.area-card.featured:hover { border-color: rgba(56,189,248,.7); box-shadow: 0 0 40px rgba(56,189,248,.12); }
.area-tag {
  position: absolute; top: -12px; left: 1.8rem; z-index: 3;
  background: var(--cyan); color: var(--ink); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px;
}
/* O cartão em destaque já tem borda cyan própria — sem traço de topo (evita linha por trás do badge) */
.area-card.featured::after { display: none; }
.area-num {
  font-family: "Caveat", cursive; font-size: 2.6rem; line-height: 1; margin-bottom: .3rem; font-weight: 700;
}
/* Numeração por cor de área */
.area-card:nth-child(1) .area-num { color: var(--cyan); }
.area-card:nth-child(2) .area-num { color: var(--azure); }
.area-card:nth-child(3) .area-num { color: var(--amber); }

.area-card h3 { font-size: 1.32rem; margin-bottom: .6rem; color: var(--white); }
.area-card > p { color: var(--slate); font-size: .98rem; margin-bottom: 1.1rem; }

.ticks { list-style: none; margin-top: auto; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .94rem; font-weight: 500; color: var(--white); }

/* Ticks por cor de área */
.area-card:nth-child(1) .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.area-card:nth-child(2) .ticks li::before { content: "✓"; position: absolute; left: 0; color: #7eb3ff; font-weight: 800; }
.area-card:nth-child(3) .ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 800; }

/* Linha de destaque no topo de cada área */
.area-card:nth-child(1)::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: var(--cyan); border-radius: var(--radius) var(--radius) 0 0; }
.area-card:nth-child(2)::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: var(--azure); border-radius: var(--radius) var(--radius) 0 0; }
.area-card:nth-child(3)::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: var(--amber); border-radius: var(--radius) var(--radius) 0 0; }

/* Hover com glow por cor */
.area-card:nth-child(2):hover { border-color: rgba(37,99,235,.5); box-shadow: 0 0 40px rgba(37,99,235,.1); }
.area-card:nth-child(3):hover { border-color: rgba(245,158,11,.4); box-shadow: 0 0 40px rgba(245,158,11,.1); }

/* ---------- Método ---------- */
.method-card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s;
}
.method-card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.3); }
.method-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(56,189,248,.12); color: var(--cyan); font-weight: 800; font-size: 1.2rem;
  margin-bottom: 1rem; border: 1px solid rgba(56,189,248,.25);
}
.method-card h3 { font-size: 1.05rem; margin-bottom: .45rem; color: var(--white); }
.method-card p { color: var(--slate); font-size: .92rem; }

/* ---------- Capacidades ---------- */
.section-dark { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark .kicker { color: var(--cyan); }
.caps { gap: 1.2rem; }
.cap {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.cap:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.35); background: rgba(56,189,248,.05); }
.cap h3 { color: var(--white); margin-bottom: .4rem; }
.cap p { color: var(--slate); font-size: .96rem; }

/* ---------- CTA / Contacto ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%);
  border-top: 1px solid rgba(56,189,248,.15);
}
.cta-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: center;
  background: var(--ink-3); border: 1px solid var(--line-s); border-radius: 26px;
  padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.cta-wrap > * { min-width: 0; }
.cta-text .kicker { color: var(--cyan); }
.cta-text h2 { margin-bottom: .7rem; color: var(--white); }
.cta-text > p { color: var(--slate); margin-bottom: 1.4rem; }
.contact-list { list-style: none; display: grid; gap: .8rem; }
.contact-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--white); }
.contact-list .ci {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.2); flex-shrink: 0;
}
.contact-list a:hover { color: var(--cyan); }

/* Formulário */
.contact-form {
  display: grid; gap: 1rem; background: var(--ink-2);
  border: 1px solid var(--line-s); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-size: .85rem; font-weight: 700; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--white); padding: .75rem .85rem;
  width: 100%; min-width: 0; max-width: 100%;
  border: 1.5px solid var(--line-s); border-radius: 12px;
  background: var(--ink-3); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field select option { background: var(--ink-3); color: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.15); background: var(--ink-2);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; font-weight: 600; text-align: center; padding: .4rem; border-radius: 10px; }
.form-note.ok { color: var(--cyan); background: rgba(56,189,248,.1); }
.form-note.err { color: #f87171; background: rgba(248,113,113,.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--white); padding: 3rem 0 1.6rem; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-logo { height: 74px; width: auto; display: block; margin-bottom: 1rem; }
.footer-brand p { color: var(--slate); font-size: .95rem; max-width: 34ch; }

.footer-col h4 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.footer-col a, .footer-col span { display: block; color: var(--slate); font-size: .95rem; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--white); }

/* Links de rodapé por área */
.footer-col a.ai-link { color: rgba(56,189,248,.75); }
.footer-col a.ai-link:hover { color: var(--cyan); }
.footer-col a.hr-link { color: rgba(126,179,255,.75); }
.footer-col a.hr-link:hover { color: #7eb3ff; }
.footer-col a.av-link { color: rgba(245,158,11,.75); }
.footer-col a.av-link:hover { color: var(--amber); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; font-size: .85rem; color: var(--slate); flex-wrap: wrap; gap: .6rem; }
.to-top:hover { color: var(--cyan); }

/* ---------- Dot de status no footer ---------- */
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-right: .4rem; box-shadow: 0 0 6px var(--cyan); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:.35; } }

/* ---------- Animações reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 112px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: .6rem 24px 1.2rem; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: .6rem; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .status-dot { animation: none; }
}
