/*
Theme Name: BovCloud
Theme URI: https://www.bovcloud.com.br
Author: BovCloud
Author URI: https://www.bovcloud.com.br
Description: Tema institucional premium para a startup agro tech BovCloud, focado em gestão de engorda, confinamento bovino, analytics e pecuária inteligente.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: bovcloud
*/

:root {
  --green: #0E5F3A;
  --green-2: #12a36a;
  --blue: #0066FF;
  --blue-2: #54a4ff;
  --ink: #07140f;
  --text: #12241b;
  --muted: #627168;
  --line: #dfe8e3;
  --soft: #f5f8f6;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.76);
  --dark-glass: rgba(6, 22, 15, 0.68);
  --shadow: 0 24px 70px rgba(4, 28, 17, 0.14);
  --glow: 0 0 42px rgba(0, 102, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(4, 18, 13, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(360px, 30vw, 520px);
  height: 120px;
  object-fit: fill;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  padding: 0;
  box-shadow: 0 18px 42px rgba(0, 102, 255, .22), 0 0 0 1px rgba(14, 95, 58, .08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color .2s ease;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nav-cta,
.primary-action {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
  box-shadow: 0 16px 38px rgba(0, 102, 255, .24);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.nav-cta:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 102, 255, .32);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, .78fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: 100vh;
  padding: 132px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 16%, rgba(0, 102, 255, .42), transparent 30%),
    radial-gradient(circle at 34% 82%, rgba(18, 163, 106, .38), transparent 32%),
    linear-gradient(135deg, #04120d 0%, #082118 42%, #061028 100%);
}

.hero-photo,
.hero-grid,
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  background: linear-gradient(90deg, rgba(4, 18, 13, .94), rgba(4, 18, 13, .68), rgba(4, 18, 13, .38)), url("assets/hero-bovcloud.png") center right / cover no-repeat;
  opacity: .68;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 24px var(--blue-2);
  animation: floatPoint 7s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { left: 12%; top: 28%; }
.hero-particles span:nth-child(2) { left: 48%; top: 18%; animation-delay: -2s; }
.hero-particles span:nth-child(3) { left: 82%; top: 24%; animation-delay: -3s; }
.hero-particles span:nth-child(4) { left: 58%; top: 78%; animation-delay: -4s; }
.hero-particles span:nth-child(5) { left: 22%; top: 68%; animation-delay: -1s; }

.hero-content,
.hero-product {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.5vw, 84px);
  line-height: .94;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-product {
  min-height: 560px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .56));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-window {
  position: absolute;
  right: 0;
  top: 20px;
  width: min(620px, 100%);
  padding: 18px;
  border-radius: 24px;
  color: var(--ink);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #ff6b6b;
}

.window-top span:nth-child(2) { background: #ffd166; }
.window-top span:nth-child(3) { background: #06d6a0; }
.window-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.dash-kpis,
.platform-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dash-kpis article,
.platform-kpis article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.dash-kpis span,
.platform-kpis span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dash-kpis strong,
.platform-kpis strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
}

.chart-panel {
  position: relative;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 190px;
  margin-top: 14px;
  padding: 18px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #06150f, #09223d);
}

.chart-panel i {
  position: relative;
  z-index: 1;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue-2), var(--green-2));
  box-shadow: 0 0 20px rgba(0, 102, 255, .3);
}

.chart-line {
  position: absolute;
  inset: 50px 20px auto;
  height: 72px;
  border-top: 3px solid rgba(84, 164, 255, .82);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.status-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.status-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.status-list b {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green-2);
  box-shadow: 0 0 14px var(--green-2);
}

.phone-mockup {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 190px;
  min-height: 350px;
  padding: 32px 18px 18px;
  border-radius: 30px;
  color: var(--ink);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background: rgba(7, 20, 15, .22);
  transform: translateX(-50%);
}

.phone-mockup strong,
.phone-mockup span,
.phone-mockup small {
  display: block;
}

.phone-mockup span,
.phone-mockup small {
  color: var(--muted);
}

.phone-ring {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 34px auto;
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--white) 52%, transparent 54%),
    conic-gradient(var(--blue), var(--green-2), #dbe7e1 0);
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
}

.section-pad {
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.about-section {
  background:
    radial-gradient(circle at 88% 4%, rgba(0, 102, 255, .12), transparent 24%),
    linear-gradient(180deg, var(--white), var(--soft));
}

.about-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-grid article,
.testimonial-grid article {
  padding: 26px;
  border-color: var(--line);
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 95, 58, .12), rgba(0, 102, 255, .14));
  color: var(--blue);
  font-weight: 900;
}

.features-section {
  background: #f8fbfa;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  position: relative;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 46px rgba(4, 28, 17, .07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto -24px -42px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 102, 255, .16), transparent 70%);
}

.feature-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, .36);
  box-shadow: var(--shadow);
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.feature-grid p,
.about-grid p,
.testimonial-grid p,
.price-card p,
.mobile-copy p,
.final-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.62;
}

.dashboard-section {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 102, 255, .38), transparent 26%),
    linear-gradient(135deg, #06140f, #071a30);
}

.dashboard-section h2,
.dashboard-section .section-heading p {
  color: var(--white);
}

.platform-showcase {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .1);
}

.platform-showcase aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.active-dot {
  color: #8df2bc;
  font-size: 13px;
  font-weight: 800;
}

.platform-showcase nav {
  display: grid;
  gap: 10px;
}

.platform-showcase nav span {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .76);
}

.platform-main {
  display: grid;
  gap: 16px;
}

.platform-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 16px;
}

.big-chart,
.map-card {
  min-height: 300px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
}

.chart-area {
  position: relative;
  height: 220px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(rgba(14, 95, 58, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 95, 58, .08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.chart-area span {
  position: absolute;
  inset: 82px 20px auto;
  height: 90px;
  border-top: 5px solid var(--blue);
  border-radius: 50%;
  box-shadow: var(--glow);
  transform: rotate(-7deg);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.map-grid i {
  min-height: 76px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 95, 58, .16), rgba(0, 102, 255, .16));
}

.benefits-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  background: var(--white);
}

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

.stats-grid article {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow);
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 50px;
}

.stats-grid span {
  color: rgba(255, 255, 255, .8);
}

.benefit-list ul,
.price-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.benefit-list li,
.price-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.benefit-list li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-2);
  box-shadow: 0 0 14px rgba(18, 163, 106, .45);
}

.social-proof {
  background: var(--soft);
}

.stars {
  margin-bottom: 16px;
  color: #f0a61f;
  letter-spacing: 0;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid span {
  margin-top: 4px;
  color: var(--muted);
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.partner-row span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: #738177;
  font-weight: 900;
}

.pricing-section {
  background: var(--white);
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(4, 28, 17, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.price-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.price-card.recommended {
  border-color: rgba(0, 102, 255, .38);
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(0, 102, 255, .1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.price-card strong {
  display: block;
  margin: 24px 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 42px;
}

.price-card strong span {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 15px;
}

.price-card a {
  display: grid;
  place-items: center;
  min-height: 48px;
  margin-top: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
  font-weight: 900;
}

.mobile-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 24%, rgba(0, 102, 255, .12), transparent 30%),
    var(--soft);
}

.mobile-copy .primary-action {
  margin-top: 10px;
}

.device-cluster {
  position: relative;
  min-height: 460px;
}

.tablet {
  position: absolute;
  inset: 40px 80px auto 0;
  min-height: 300px;
  padding: 28px;
  border-radius: 28px;
}

.tablet span,
.tablet strong {
  display: block;
}

.tablet span {
  color: var(--muted);
  font-weight: 800;
}

.tablet strong {
  margin-top: 10px;
  font-size: 30px;
}

.tablet div {
  height: 150px;
  margin-top: 24px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(14, 95, 58, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 95, 58, .08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(14, 95, 58, .16), rgba(0, 102, 255, .18));
  background-size: 30px 30px, 30px 30px, auto;
}

.phone-mockup.large {
  right: 0;
  left: auto;
  bottom: 22px;
}

.final-cta {
  padding: 42px clamp(18px, 5vw, 72px) 96px;
  background: var(--soft);
}

.final-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(34px, 7vw, 76px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 102, 255, .52), transparent 28%),
    linear-gradient(135deg, #052019, #061432);
  box-shadow: var(--shadow);
}

.final-card h2,
.final-card p {
  color: var(--white);
  max-width: 780px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, .7fr));
  gap: 28px;
  padding: 52px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .72);
  background: #05120d;
}

.site-footer .brand {
  color: var(--white);
}

.footer-logo {
  width: min(520px, 78vw);
  height: 120px;
  background: var(--white);
}

.site-footer p {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .64);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  color: var(--white);
}

@keyframes floatPoint {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .38; }
  50% { transform: translate3d(14px, -18px, 0); opacity: 1; }
}

@media (max-width: 1100px) {
  .brand-logo {
    width: 320px;
    height: 96px;
    padding: 0;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 500px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 118px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(4, 18, 13, .96);
    backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-cta {
    border-radius: 0;
    justify-content: flex-start;
  }

  .about-grid,
  .feature-grid,
  .testimonial-grid,
  .pricing-grid,
  .partner-row,
  .benefits-section,
  .mobile-section,
  .platform-showcase,
  .platform-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .platform-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-logo {
    width: min(260px, 62vw);
    height: 76px;
    border-radius: 14px;
    padding: 0;
  }

  .hero {
    padding: 132px 16px 52px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions a,
  .final-card .hero-actions a {
    width: 100%;
  }

  .hero-product {
    min-height: 620px;
  }

  .dashboard-window {
    transform: none;
  }

  .dash-kpis,
  .platform-kpis {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    left: 50%;
    transform: translateX(-50%);
  }

  .tablet {
    position: static;
  }

  .device-cluster {
    min-height: 650px;
  }
}
