/*
Theme Name: Webhive
Theme URI: https://webhive.com.br
Author: Webhive
Description: Tema institucional para agência especializada em WordPress, desenvolvimento web e marketing digital.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: webhive
*/

:root {
  --ink: #101829;
  --ink-soft: #526079;
  --cream: #f6f7f2;
  --white: #ffffff;
  --lime: #c8ff61;
  --lime-dark: #9fda32;
  --violet: #6847ff;
  --violet-dark: #3b24ad;
  --sky: #bcecff;
  --line: rgba(16, 24, 41, 0.12);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(20, 25, 45, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--dark { color: var(--white); background: var(--ink); }
.section--violet { color: var(--white); background: var(--violet); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.eyebrow--lime { color: var(--lime); }
.section-title {
  max-width: 830px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.section-lead { max-width: 660px; margin: 28px 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.section--dark .section-lead, .section--violet .section-lead { color: rgba(255,255,255,.72); }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.section--dark h2.section-title{
	color: #fff;	
	font-size: 46px;
}
.button::after { content: "↗"; font-size: 1.1em; }
.button:hover { transform: translateY(-3px); background: #d8ff8f; box-shadow: 0 12px 32px rgba(159,218,50,.25); }
.button--ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.button--ghost:hover { background: rgba(255,255,255,.09); box-shadow: none; }
.button--dark { color: var(--white); background: var(--ink); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 999; padding: 12px 18px; background: var(--lime); }
.skip-link:focus { top: 20px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
}
.site-header__inner { height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; }
.brand__mark { position: relative; width: 39px; height: 39px; }
.brand__mark span { position: absolute; width: 25px; height: 25px; border: 3px solid var(--lime); border-radius: 8px; transform: rotate(45deg); }
.brand__mark span:first-child { left: 0; bottom: 0; }
.brand__mark span:last-child { top: 0; right: 0; background: rgba(200,255,97,.16); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: .91rem; font-weight: 700; }
.site-nav a:hover { color: var(--lime); }
.header-cta { min-height: 45px; padding: 0 19px; font-size: .86rem; }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 0; border: 0; border-radius: 50%; background: var(--lime); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: var(--ink); transition: .25s; }
.hero {
    position: relative;
    min-height: 750px;
    overflow: hidden;
    padding: 90px 0 90px;
    color: var(--white);
    background: var(--violet);
}
.hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 75% 20%, rgba(188,236,255,.34), transparent 25%), radial-gradient(circle at 5% 90%, rgba(200,255,97,.18), transparent 26%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .8fr; align-items: center; gap: 70px; }
.hero h1 { max-width: 790px; margin: 0; font-size: clamp(3.3rem, 7.2vw, 7rem); line-height: .88; letter-spacing: -.072em; }
.hero h1 span { display: block; color: var(--lime); }
.hero__copy { max-width: 600px; margin: 34px 0; color: rgba(255,255,255,.77); font-size: 1.13rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; min-height: 530px; }
.orb { position: absolute; border-radius: 50%; }
.orb--one { top: 4%; right: 8%; width: 330px; height: 330px; background: var(--lime); box-shadow: inset -34px -30px 0 rgba(16,24,41,.12); }
.orb--two { right: 42%; bottom: 5%; width: 220px; height: 220px; border: 50px solid var(--sky); }
.code-card { position: absolute; right: 0; bottom: 16%; width: 310px; padding: 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(16,24,41,.88); box-shadow: var(--shadow); transform: rotate(-5deg); }
.code-card__dots { display: flex; gap: 6px; margin-bottom: 20px; }
.code-card__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); opacity: .8; }
.code-line { height: 8px; margin: 10px 0; border-radius: 9px; background: rgba(255,255,255,.13); }
.code-line:nth-child(2n) { width: 76%; background: rgba(188,236,255,.35); }
.hero__stamp { position: absolute; top: 32%; left: 4%; display: grid; width: 130px; height: 130px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(104,71,255,.65); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-align: center; text-transform: uppercase; transform: rotate(9deg); backdrop-filter: blur(8px); }
.hero__wave { position: absolute; right: -5%; bottom: -1px; left: -5%; height: 76px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--cream); }

.trust { padding: 42px 0 24px; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.trust p { max-width: 220px; margin: 0; font-weight: 800; line-height: 1.25; }
.trust__logos { display: grid; flex: 1; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust__logo { padding: 19px; border: 1px solid var(--line); border-radius: 14px; color: #778197; font-weight: 800; text-align: center; }

.services__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.services__head .section-lead { margin-bottom: 8px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s, transform .3s; }
.service-card:nth-child(2n) { border-right: 0; }
.service-card:hover { z-index: 2; color: var(--white); background: var(--violet); transform: translateY(-6px); }
.service-card__number { display: block; margin-bottom: 42px; color: var(--violet); font-size: .75rem; font-weight: 800; }
.service-card:hover .service-card__number { color: var(--lime); }
.service-card h3 { max-width: 440px; margin: 0 0 18px; font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -.04em; }
.service-card p { max-width: 480px; margin: 0; color: var(--ink-soft); }
.service-card:hover p { color: rgba(255,255,255,.72); }
.service-card__arrow { position: absolute; top: 36px; right: 38px; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-card { position: sticky; top: 35px; align-self: start; padding: 36px; border-radius: var(--radius); color: var(--ink); background: var(--lime); }
.about-card strong { display: block; font-size: clamp(4.7rem, 9vw, 8rem); line-height: .85; letter-spacing: -.08em; }
.about-card span { display: block; max-width: 240px; margin-top: 24px; font-size: 1.05rem; font-weight: 600; }
.about-copy .section-title { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.about-copy > p { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 45px; }
.value { padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.value b { display: block; margin-bottom: 8px; color: var(--lime); }
.value p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }

.process-list { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.22); }
.process-item { display: grid; grid-template-columns: 90px .8fr 1.2fr; gap: 30px; padding: 35px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.process-item span { color: var(--lime); font-weight: 800; }
.process-item h3 { margin: 0; font-size: 1.55rem; letter-spacing: -.03em; }
.process-item p { max-width: 560px; margin: 0; color: rgba(255,255,255,.69); }

.cases-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 58px; }
.case-card { position: relative; min-height: 420px; overflow: hidden; padding: 36px; border-radius: var(--radius); color: var(--white); background: var(--violet); }
.case-card:nth-child(2) { color: var(--ink); background: var(--sky); }
.case-card:nth-child(3) { color: var(--ink); background: var(--lime); }
.case-card:nth-child(4) {
    background: var(--ink);
    color: #c8ff61 !important;
}
.case-card:nth-child(4) h3{
    color: #c8ff61 !important;
}
.case-card__tag { position: relative; z-index: 2; display: inline-block; padding: 7px 12px; border: 1px solid currentColor; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-card h3 { position: absolute; right: 35px; bottom: 30px; left: 35px; z-index: 2; margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .95; letter-spacing: -.055em; }
.case-shape { position: absolute; top: 70px; right: -30px; width: 260px; height: 260px; border: 48px solid rgba(255,255,255,.18); border-radius: 45% 55% 62% 38%; transform: rotate(24deg); }
.case-card:nth-child(2) .case-shape, .case-card:nth-child(3) .case-shape { border-color: rgba(16,24,41,.12); }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-list { border-top: 0px solid var(--line); }
.faq-item { border-bottom: 1px solid #fff; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; border: 0; color: var(--ink); background: transparent; font-weight: 800; text-align: left; cursor: pointer; }
.faq-question span { flex: 0 0 auto; font-size: 1.5rem; transition: transform .25s; }
.faq-answer { max-height: 0; overflow: hidden; color: var(--ink-soft); transition: max-height .35s ease; }
.faq-answer p { margin: 0; padding: 0 45px 25px 0; }
.faq-item.is-open .faq-question span { transform: rotate(45deg); }

.cta { position: relative; overflow: hidden; padding: 105px 0; background: var(--lime); }
.cta::after { position: absolute; top: -120px; right: -90px; width: 430px; height: 430px; border: 80px solid rgba(104,71,255,.18); border-radius: 50%; content: ""; }
.cta__inner { position: relative; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.cta h2 { max-width: 840px; margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .89; letter-spacing: -.07em; }
a.button--dark {
	color: #fff !important;
}
.site-footer { padding: 80px 0 28px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .6fr; gap: 70px; padding-bottom: 70px; }
.footer-intro p { max-width: 430px; margin: 24px 0; color: rgba(255,255,255,.62); }
.footer-email { color: var(--lime); font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; }
.footer-column h3 { margin: 0 0 22px; color: rgba(255,255,255,.5); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { margin: 10px 0; }
.footer-column a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .8rem; }
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); box-shadow: 0 12px 32px rgba(16,24,41,.25); font-weight: 900; }

.entry-content, .entry-header { width: min(calc(100% - 40px), 850px); margin-inline: auto; }
.entry-header { padding-top: 160px; }
.entry-content { padding-bottom: 100px; }
.entry-title { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.055em; }

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .site-nav { position: fixed; inset: 0; display: grid; place-items: center; background: var(--ink); transform: translateX(100%); transition: transform .3s; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 18px; font-size: 1.4rem; }
  .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .menu-toggle.is-open span { opacity: 0; }
  .menu-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 155px; }
  .hero__grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero__visual { min-height: 430px; }
  .about-card { position: static; }
  .services__head, .cta__inner { align-items: start; flex-direction: column; }
  .process-item { grid-template-columns: 55px 1fr; }
  .process-item p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .site-header__inner { height: 78px; }
  .hero { padding-top: 130px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .hero__visual { min-height: 340px; }
  .orb--one { width: 235px; height: 235px; }
  .orb--two { width: 150px; height: 150px; border-width: 34px; }
  .code-card { width: 235px; }
  .hero__stamp { width: 100px; height: 100px; }
  .trust__inner { align-items: start; flex-direction: column; }
  .trust__logos { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .service-grid, .values, .cases-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 31px 8px 36px; border-right: 0; }
  .service-card__arrow { top: 26px; right: 10px; }
  .process-item { grid-template-columns: 1fr; gap: 10px; }
  .process-item p { grid-column: auto; }
  .case-card { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
