/* assets/css/style.css */

:root {
  --color-white: #FFFFFF;
  --color-black: #050505;
  --color-graphite: #111827;
  --color-blue-brand: #1016B8;
  --color-blue-tech: #1E73D8;
  --color-gray-50: #F5F7FA;
  --color-gray-100: #EEF2F7;
  --color-gray-500: #6B7280;
  --color-gray-700: #374151;
  --color-border: rgba(17, 24, 39, 0.12);
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 20px 60px rgba(17, 24, 39, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.bg-light {
  background: var(--color-gray-50);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--color-gray-700);
}

.nav a:hover {
  color: var(--color-blue-brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-blue-brand);
  color: var(--color-white);
  box-shadow: 0 16px 40px rgba(16, 22, 184, 0.22);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue-brand);
  border-color: rgba(16, 22, 184, 0.18);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--color-graphite);
  margin: 5px auto;
}

.hero {
  padding: 110px 0 88px;
  background:
    radial-gradient(circle at 85% 15%, rgba(30, 115, 216, 0.14), transparent 32rem),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-blue-tech);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  margin: 24px 0 0;
  color: var(--color-gray-500);
  font-size: clamp(1rem, 2vw, 1.22rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.dashboard-card {
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #eef4ff);
  padding: 22px;
  border: 1px solid rgba(16, 22, 184, 0.10);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-blue-tech);
  opacity: 0.45;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.metric-card small {
  color: var(--color-gray-500);
}

.metric-card strong {
  display: block;
  color: var(--color-blue-brand);
  font-size: 2rem;
}

.chart {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.chart span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--color-blue-tech), var(--color-blue-brand));
}

.ai-panel {
  background: var(--color-graphite);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.ai-panel p {
  margin: 6px 0 0;
  color: #cbd5e1;
}

.section-header {
  max-width: 780px;
  margin-bottom: 40px;
}

.problem-grid,
.solutions-grid,
.cases-grid,
.expertise-grid {
  display: grid;
  gap: 18px;
}

.card,
.solution-card,
.case-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: 0.2s ease;
}

.card:hover,
.solution-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 22, 184, 0.25);
}

.card {
  font-weight: 800;
}

.solution-card p,
.case-card p {
  color: var(--color-gray-500);
}

.solution-card .btn {
  margin-top: 14px;
}

.method-grid {
  display: grid;
  gap: 16px;
}

.method-step {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid var(--color-border);
}

.method-step span {
  display: block;
  color: var(--color-blue-tech);
  font-weight: 900;
  margin-bottom: 10px;
}

.case-card strong {
  display: block;
  color: var(--color-blue-brand);
  font-size: 2rem;
  margin-bottom: 16px;
}

.founder {
  background: var(--color-graphite);
  color: var(--color-white);
}

.founder .lead {
  color: #cbd5e1;
}

.founder-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.expertise-grid span {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.diagnostic-box,
.final-cta {
  text-align: center;
}

.diagnostic-box {
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: clamp(32px, 7vw, 72px);
}

.diagnostic-box .btn,
.final-cta .btn {
  margin-top: 28px;
}

.final-cta {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--color-blue-brand), var(--color-blue-tech));
  color: var(--color-white);
}

.final-cta .btn-primary {
  background: var(--color-white);
  color: var(--color-blue-brand);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.35);
}

.mobile-cta {
  display: none;
}

.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-logo {
  height: 42px;
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: #cbd5e1;
}

.footer a {
  display: block;
  margin: 9px 0;
}

.footer h3 {
  margin-bottom: 14px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 36px;
  padding-top: 24px;
  color: #94a3b8;
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .method-grid,
  .solutions-grid,
  .cases-grid,
  .expertise-grid,
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .founder-grid,
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 72px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
  }

  .mobile-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--color-blue-brand);
    color: var(--color-white);
    font-weight: 800;
  }

  .whatsapp-float {
    bottom: 82px;
  }
}

/* Internal Pages */

.page-hero {
  padding: 120px 0 72px;
  background:
    radial-gradient(circle at 85% 10%, rgba(30, 115, 216, 0.13), transparent 34rem),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.page-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-kicker {
  color: var(--color-blue-tech);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 16px;
  display: inline-block;
}

.page-content {
  padding: 80px 0;
}

.content-grid {
  display: grid;
  gap: 24px;
}

.info-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.info-block p {
  color: var(--color-gray-500);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  list-style: none;
  padding: 16px 18px;
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-blue-tech);
  font-weight: 900;
}

.blog-grid {
  display: grid;
  gap: 24px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.blog-card span {
  color: var(--color-blue-tech);
  font-weight: 800;
  font-size: 0.82rem;
}

.post-body {
  max-width: 820px;
}

.post-body p {
  color: var(--color-gray-500);
  font-size: 1.08rem;
}

.contact-box {
  display: grid;
  gap: 18px;
  background: var(--color-graphite);
  color: var(--color-white);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
}

.contact-box p {
  color: #cbd5e1;
}

@media (min-width: 760px) {
  .page-hero-grid,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Ajustes logo/header/footer */
.site-header {
  background: #FFFFFF !important;
}

.logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer {
  background: #050505 !important;
}

.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  background: #050505;
  mix-blend-mode: normal;
}

@media (max-width: 768px) {
  .logo img {
    height: 58px;
  }

  .footer-logo {
    height: 64px;
  }

  .header-inner {
    min-height: 76px;
  }
}

/* Páginas de solução */
.solution-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #F5F7FA 100%);
}

.solution-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.solution-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.solution-sections {
  padding: 88px 0;
}

.solution-content-grid {
  display: grid;
  gap: 24px;
}

.solution-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.solution-box p {
  color: var(--color-gray-500);
}

.solution-list {
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.solution-list li {
  list-style: none;
  padding: 16px 18px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 700;
}

.solution-steps {
  display: grid;
  gap: 18px;
}

.solution-step {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
}

.solution-step span {
  display: block;
  color: var(--color-blue-brand);
  font-weight: 900;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .solution-grid,
  .solution-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 96px;
}

/* =========================================
DROPDOWN
========================================= */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--color-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
}

.nav-dropdown-toggle:hover {
  color: var(--color-blue-brand);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  width: 320px;

  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--color-border);

  padding: 14px;

  display: grid;
  gap: 4px;

  box-shadow: 0 24px 60px rgba(17,24,39,.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility .22s ease;

  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--color-gray-700);
  transition: .2s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(16,22,184,.06);
  color: var(--color-blue-brand);
}

/* =========================================
HEADER PREMIUM
========================================= */

.site-header {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  transition:
    background .25s ease,
    box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(17,24,39,.08);
}

/* =========================================
CARDS SOLUÇÕES
========================================= */

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.solution-card {
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,22,184,.22);
  box-shadow: 0 28px 60px rgba(17,24,39,.12);
}

/* =========================================
CASES
========================================= */

.case-actions {
  margin-top: 18px;
}

/* =========================================
WHATSAPP
========================================= */

.whatsapp-float {
  right: 24px;
  bottom: 24px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
}

@media (max-width: 900px) {

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 14px;
    box-shadow: none;
    border-radius: 18px;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mobile-cta a {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 92px;
  }
}
/* Ajuste fino de títulos internos */
.page-hero h1,
.post-header h1,
.post-page h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 980px;
}

/* Cases Digitai */
.case-card .case-title {
  display: block;
  color: var(--color-graphite);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.case-card .case-metric {
  display: block;
  color: var(--color-blue-brand);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.case-note {
  margin-top: 28px;
  color: var(--color-gray-500);
  font-size: 0.95rem;
}

/* Ajuste do headline principal da Home */
h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  max-width: 760px;
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 1.04;
  }
}

.founder-profile {
  display: grid;
  gap: 32px;
}

.founder-photo {
  width: min(100%, 320px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: var(--color-gray-50);
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 900px) {
  .founder-profile {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }

  .founder-photo {
    width: 280px;
  }
}

/* Ajuste do card Experiência aplicada */
.content-grid .info-block:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid .info-block:nth-child(2) h2 {
  text-align: center;
  margin-bottom: 32px;
}

.content-grid .info-block:nth-child(2) .feature-list {
  width: 100%;
}

/* Ajuste de leitura dos artigos */
.post-page {
  padding: 56px 0 88px;
}

.post-container {
  max-width: 920px;
}

.post-header h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 900px;
}

.post-content h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-top: 48px;
  margin-bottom: 18px;
}

.post-content p,
.post-content li {
  font-size: 1.08rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .post-header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .post-content h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }
}

.post-header h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

.post-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

/* Footer mobile premium */
@media (max-width: 768px) {
  .footer {
    padding: 48px 0 96px;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-grid > div {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-grid > div:first-child {
    background: transparent;
    border: 0;
    padding: 0 0 8px;
  }

  .footer-logo {
    height: 64px;
    margin-bottom: 18px;
  }

  .footer p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
  }

  .footer h3 {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .footer a {
    padding: 8px 0;
    margin: 0;
    font-size: 0.95rem;
  }

  .copyright {
    margin-top: 24px;
    padding-top: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .mobile-cta {
    padding: 10px 14px;
  }

  .mobile-cta a {
    min-height: 52px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 92px;
  }
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid > div {
    text-align: center;
  }

  .footer h3 {
    text-align: center;
  }

  .footer a {
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Footer desktop em 4 colunas */
@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
    align-items: start;
  }

  .footer-grid > div {
    min-width: 0;
  }
}



.footer-social a {
  transition: color .2s ease;
}
