/* ============================================================
   Applied Intelligence — Identidade visual oficial
   Paleta e tipografia conforme Manual de Identidade Visual v1.0
   ============================================================ */

:root {
  /* Paleta oficial */
  --petroleo:    #0F2B46;  /* base institucional, fundos, títulos */
  --petroleo-2:  #0b2138;  /* variação mais escura p/ profundidade */
  --logo-navy:   #02172F;  /* navy do fundo embutido nos logos oficiais (p/ encaixe sem emenda) */
  --grafite:     #1D2430;  /* texto escuro */
  --azul-ia:     #0A84FF;  /* destaques, links, ícones, CTA */
  --azul-ia-2:   #3b9dff;  /* hover do azul IA */
  --cinza-gelo:  #E6EBF1;  /* planos suaves, fundos de seção */
  --branco:      #FFFFFF;
  --cinza-texto: #6B7280;  /* notas, rodapés, texto secundário */
  --borda:       #d8e0ea;

  --fonte: 'Inter', 'Aptos', Arial, system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(15, 43, 70, 0.08);
  --shadow-hover: 0 14px 40px rgba(15, 43, 70, 0.14);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.7;
  color: var(--grafite);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--azul-ia); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--azul-ia-2); }

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

.section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azul-ia);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--petroleo);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-intro {
  max-width: 720px;
  font-size: 1.08rem;
  color: #33465a;
  margin-bottom: 48px;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul-ia);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.35);
}
.btn-primary:hover { background: var(--azul-ia-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10,132,255,.45); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-outline {
  background: transparent;
  color: var(--petroleo);
  border-color: var(--borda);
}
.btn-outline:hover { border-color: var(--azul-ia); color: var(--azul-ia); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 23, 47, 0.92);  /* casa com o navy do logo oficial */
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: .96rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 20px; font-size: .95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(10,132,255,0.28), transparent 60%),
    linear-gradient(150deg, var(--logo-navy) 0%, #0b2338 42%, var(--petroleo) 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 110px;
}
/* grafismo de pixels sutil (elemento secundário do manual) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.10) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(1000px 520px at 78% 12%, #000 0%, transparent 70%);
          mask-image: radial-gradient(1000px 520px at 78% 12%, #000 0%, transparent 70%);
  opacity: .55;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 820px; }
.hero-logo { width: min(440px, 78%); margin-bottom: 34px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--azul-ia-2); }
.hero-sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 14px;
}
.hero-signature {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 38px;
}
.hero-signature b { color: var(--azul-ia-2); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   O QUE FAZEMOS — pilares + frentes
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pillar-num {
  font-size: .82rem;
  font-weight: 700;
  color: var(--azul-ia);
  letter-spacing: .08em;
}
.pillar h3 { font-size: 1.2rem; color: var(--petroleo); margin: 10px 0 8px; }
.pillar p { font-size: .96rem; color: #4a5b6e; }

.frentes-wrap {
  background: var(--cinza-gelo);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.frentes-wrap h3 {
  font-size: 1.05rem;
  color: var(--petroleo);
  margin-bottom: 20px;
}
.frentes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 32px;
}
.frentes li {
  position: relative;
  padding-left: 26px;
  font-size: .98rem;
  color: var(--grafite);
}
.frentes li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 9px;
  background: var(--azul-ia);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ============================================================
   SOLUÇÕES
   ============================================================ */
.section-solucoes { background: var(--cinza-gelo); }
.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solucao {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.solucao:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.solucao-tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--azul-ia);
  margin-bottom: 12px;
}
.solucao h3 {
  font-size: 1.32rem;
  color: var(--petroleo);
  line-height: 1.25;
  margin-bottom: 10px;
}
.solucao-resumo {
  font-size: 1rem;
  color: #4a5b6e;
  margin-bottom: 20px;
}
.solucao ul { list-style: none; margin-top: auto; }
.solucao ul li {
  position: relative;
  padding-left: 26px;
  font-size: .95rem;
  color: var(--grafite);
  margin-bottom: 10px;
}
.solucao ul li:last-child { margin-bottom: 0; }
.solucao ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--azul-ia);
  box-shadow: 0 0 0 4px rgba(10,132,255,.14);
}

/* ============================================================
   ABORDAGEM
   ============================================================ */
.abordagem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.abordagem-text p { color: #33465a; margin-bottom: 18px; }
.abordagem-text p:last-child { margin-bottom: 0; }
.abordagem-quote {
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(10,132,255,0.22), transparent 60%),
    linear-gradient(160deg, var(--petroleo) 0%, var(--petroleo-2) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}
.abordagem-quote::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1.3px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(400px 300px at 85% 10%, #000, transparent 70%);
          mask-image: radial-gradient(400px 300px at 85% 10%, #000, transparent 70%);
  opacity: .5;
}
.abordagem-quote p { position: relative; z-index: 1; }
.abordagem-quote .q-mark { font-size: 2.6rem; color: var(--azul-ia-2); line-height: 1; margin-bottom: 8px; font-weight: 700; }
.abordagem-quote .q-text { font-size: 1.3rem; font-weight: 600; line-height: 1.4; margin-bottom: 18px; }
.abordagem-quote .q-sign { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ============================================================
   CONTATO / CTA
   ============================================================ */
.cta {
  background:
    radial-gradient(900px 500px at 15% 120%, rgba(10,132,255,0.30), transparent 55%),
    linear-gradient(160deg, var(--petroleo-2) 0%, var(--petroleo) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1.3px, transparent 1.5px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(700px 400px at 20% 100%, #000, transparent 70%);
          mask-image: radial-gradient(700px 400px at 20% 100%, #000, transparent 70%);
  opacity: .5;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.cta p { color: rgba(255,255,255,0.82); font-size: 1.12rem; max-width: 620px; margin: 0 auto 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-email { margin-top: 26px; font-size: .98rem; color: rgba(255,255,255,0.7); }
.cta-email a { color: var(--azul-ia-2); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--logo-navy);  /* casa com o navy do logo oficial */
  color: rgba(255,255,255,0.62);
  padding: 56px 0 34px;
  font-size: .92rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-logo img { height: 46px; margin-bottom: 16px; }
.footer-signature { color: rgba(255,255,255,0.55); letter-spacing: .06em; font-size: .82rem; text-transform: uppercase; }
.footer-signature b { color: var(--azul-ia-2); }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; letter-spacing: .02em; }
.footer-col p { line-height: 1.7; }
.footer-col a { color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   PÁGINA — Política de Privacidade
   ============================================================ */
.page-header {
  background: linear-gradient(160deg, var(--petroleo) 0%, var(--petroleo-2) 100%);
  color: #fff;
  padding: 60px 0;
}
.page-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; margin-bottom: 4px; }
.page-header p { color: rgba(255,255,255,0.72); }
.page-header .home-link { color: var(--azul-ia-2); font-weight: 600; }

.legal { padding: 64px 0 80px; }
.legal .container { max-width: 820px; }
.legal p { margin-bottom: 16px; color: #33465a; }
.legal h2 {
  font-size: 1.25rem;
  color: var(--petroleo);
  margin: 38px 0 12px;
  padding-top: 6px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 6px; color: #33465a; }
.legal .back-link { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .frentes { grid-template-columns: repeat(2, 1fr); }
  .abordagem-grid { grid-template-columns: 1fr; gap: 32px; }
  .solucoes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--petroleo);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-links .nav-cta { margin-top: 8px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .frentes { grid-template-columns: 1fr; }
  .frentes-wrap { padding: 28px 22px; }
  .solucao { padding: 26px; }
  .footer-top { flex-direction: column; gap: 28px; }
}

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