/*
Theme Name: Kubo Digital Agency
Theme URI: https://kubodigital.com.br/
Author: Kubo Digital
Description: Tema WordPress responsivo convertido do layout Kubo Digital.
Version: 1.1.0
Text Domain: kubo-digital
*/
:root {
  --bg: #0d0d0f;
  --surface: #111113;
  --card: #151517;
  --orange: #e07a2a;
  --orange2: #f19a54;
  --white: #f7f7f5;
  --muted: #8d8d90;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img,
.custom-logo {
  height: 80px;
  width: auto;
  display: block;
}
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
}
.nav-menu a:hover {
  color: var(--white);
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--orange);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--orange2);
}
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 25px;
}
.hero {
  position: relative;
  min-height: 850px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 145px 0 95px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  right: -12%;
  top: 18%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(224, 122, 42, 0.09);
  filter: blur(100px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.eyebrow:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3.4rem, 8.7vw, 8.4rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.085em;
}
.orange {
  color: var(--orange);
}
.hero-bottom {
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.hero-bottom p {
  max-width: 500px;
  color: #a7a7aa;
  font-size: 16px;
  line-height: 1.75;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-points {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero-points b {
  color: var(--orange);
  margin-right: 12px;
}
.section {
  padding: 140px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 65px;
}
.kicker {
  margin-bottom: 20px;
  font: 10px monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.section h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.section-head > p {
  max-width: 310px;
  color: var(--muted);
  font-size: 14px;
}
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.service {
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: 0.2s;
}
.service:hover {
  background: #19191b;
}
.service-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 55px;
  color: var(--orange);
  font: 12px monospace;
}
.service h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.service p {
  max-width: 410px;
  color: var(--muted);
  font-size: 14px;
}
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project:first-child {
  grid-column: span 2;
}
.project {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.project-image {
  position: relative;
  aspect-ratio: 1.45/1;
  overflow: hidden;
}
.project:first-child .project-image {
  aspect-ratio: 2.25/1;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.7s;
}
.project:hover img {
  transform: scale(1.05);
  opacity: 1;
}
.project-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 15, 0.8), transparent);
}
.result {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.5);
  font-size: 10px;
}
.project-info {
  display: flex;
  justify-content: space-between;
  padding: 26px;
}
.project-info h3 {
  font-size: 25px;
  margin: 0;
}
.project-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0;
}
.project-tags {
  text-align: right;
  font: 10px monospace;
  color: var(--muted);
}
.process-section {
  background: var(--orange);
  color: var(--bg);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}
.process-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 65px;
}
.process-head p {
  max-width: 285px;
  opacity: 0.7;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(13, 13, 15, 0.2);
}
.step {
  padding: 28px 24px;
  border-right: 1px solid rgba(13, 13, 15, 0.2);
}
.step:first-child {
  padding-left: 0;
}
.step-num {
  margin-bottom: 48px;
  font: 12px monospace;
  opacity: 0.6;
}
.step h3 {
  font-size: 18px;
}
.step p {
  font-size: 14px;
  opacity: 0.7;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 50px;
  line-height: 1;
  letter-spacing: -0.07em;
}
.stat span {
  display: block;
  max-width: 130px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
}
.testimonial blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #dddcd8;
}
.testimonial figcaption {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial small {
  color: var(--muted);
}
.cta {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
}
.cta:after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(224, 122, 42, 0.1);
  filter: blur(120px);
}
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-icon {
  font-size: 28px;
  color: var(--orange);
}
.cta h2 {
  max-width: 900px;
  margin: 28px 0 42px;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 25px;
}
.cta-row p {
  color: var(--muted);
  font-size: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #66666a;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.content-area {
  padding: 130px 0 90px;
}
.entry {
  max-width: 900px;
  margin: auto;
}
.entry-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.entry-content {
  font-size: 17px;
  color: #ccc;
}
.entry-content h2,
.entry-content h3 {
  color: white;
  margin-top: 1.8em;
}
.entry-content a {
  color: var(--orange);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  border: 1px solid var(--line);
  background: var(--card);
}
.post-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.post-body {
  padding: 22px;
}
.post-meta {
  font-size: 11px;
  color: var(--orange);
}
@media (max-width: 850px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  .nav-menu,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #111113;
    padding: 25px;
  }
  .nav-menu.open ul {
    flex-direction: column;
  }
  .hero {
    min-height: 760px;
  }
  .hero-bottom,
  .section-head,
  .process-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-points {
    grid-template-columns: 1fr;
  }
  .services,
  .projects,
  .steps,
  .testimonials,
  .stats,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .project:first-child {
    grid-column: auto;
  }
  .project:first-child .project-image {
    aspect-ratio: 1.45/1;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 13, 15, 0.2);
    padding-left: 0;
  }
  .stat {
    margin-bottom: 35px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 90px 0;
  }
  .hero {
    padding-bottom: 65px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.2rem);
  }
  .project-info,
  .cta-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .site-footer {
    padding-bottom: 30px;
  }
}

/* Case de projeto e campos personalizados */
.project > a {
  display: block;
}
.project .result {
  border-color: color-mix(
    in srgb,
    var(--project-color, var(--orange)) 55%,
    transparent
  );
}
.project-case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 45px 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.project-case-meta > div {
  padding: 22px;
  background: var(--card);
}
.project-case-meta small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font: 10px monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.project-case-meta strong {
  font-size: 14px;
}
.project-case-cover {
  margin: 45px 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.project-case-cover img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}
.project-case-lead {
  max-width: 900px;
  margin: 50px 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.035em;
  color: var(--white);
}
.project-case-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 50px 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--project-color, var(--orange));
  background: var(--card);
}
.project-case-result span {
  color: var(--muted);
  font: 10px monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.project-case-result strong {
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}
.project-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 70px 0;
}
.project-case-grid section {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #b4b4b7;
  font-size: 14px;
}
.project-case-grid p {
  color: #b4b4b7;
}
@media (max-width: 850px) {
  .project-case-meta,
  .project-case-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-case-result {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .project-case-meta,
  .project-case-grid {
    grid-template-columns: 1fr;
  }
}

