* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --colorPrimary: #ff6b35;
  --colorSecondary: #1b4332;
  --colorDark: #1a1a1a;
  --colorLight: #fff8f0;
  --colorBeige: #f5e6d3;
  --colorWhite: #ffffff;
  --colorGreenDark: #0d2818;
  --fontMain: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--fontMain);
  color: var(--colorDark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

button {
  outline: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:active {
  transform: scale(0.96);
}

/* Section Headers */
.techHeader,
.featuresHeader,
.videosHeader {
  max-width: 800px;
  margin-bottom: 50px;
  text-align: left;
}

.sectionTitle {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--colorDark);
  margin-bottom: 12px;
}

.sectionDescription {
  font-size: 16px;
  line-height: 1.6;
  color: #6b6b6b;
  max-width: 700px;
}

/* Header */
.header {
  background: var(--colorGreenDark);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.navContent {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logoIcon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) inset;
}

.logoIcon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logoInfo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logoText {
  color: var(--colorWhite);
  font-weight: 700;
  font-size: 15px;
}

.logoSubtext {
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.95;
}

.navMenu {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0 auto;
  align-items: center;
  padding: 0;
}

.navMenu a {
  text-decoration: none;
  color: var(--colorWhite);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.navMenu a:hover {
  color: var(--colorPrimary);
}

.navMenu a.active {
  color: var(--colorPrimary);
  border-bottom: 2px solid var(--colorPrimary);
}

.btnWhatsapp {
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
}

.btnPrimary {
  background: var(--colorPrimary);
  color: var(--colorWhite);
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.btnPrimary:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btnSecondary {
  background: transparent;
  color: var(--colorDark);
  border: 2px solid var(--colorDark);
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.btnSecondary:hover {
  background: var(--colorDark);
  color: var(--colorWhite);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: var(--colorLight);
  padding: 80px 0;
}

.heroContent {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.heroLabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.heroTitle {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--colorDark);
  font-weight: 400;
}

.heroSubtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.heroButtons {
  display: flex;
  gap: 15px;
}

.heroImage .imageCard {
  background: var(--colorWhite);
  border-radius: 20px;
  padding: 22px;
  width: 420px;
  max-width: 100%;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.imageCardInner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, #2d8a49 0%, #a3c66b 50%, #f28b4b 100%);
}

.innerImage {
  position: absolute;
  inset: 0;
}

.innerImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.innerCircle {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--colorWhite);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  z-index: 4;
}

.imageText {
  color: var(--colorDark);
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 6px;
}

.imageText strong {
  font-weight: 700;
  font-size: 15px;
}

.imageText span {
  color: #6b6b6b;
  font-size: 13px;
}

.heroImage .imageCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

/* About Section */
.about {
  background: var(--colorLight);
  padding: 80px 24px;
}

/* Card no mesmo padrão dos outros */
.aboutCard {
  background: var(--colorWhite);
  border-radius: 24px;
  padding: 56px 64px;
  max-width: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* Label */
.aboutLabel {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--colorPrimary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Divider */
.aboutDivider {
  width: 64px;
  height: 3px;
  background: var(--colorPrimary);
  margin: 20px 0 40px 0;
  border-radius: 2px;
}

/* Texto */
.aboutText {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}

.aboutText p {
  font-size: 16px;
  line-height: 1.75;
  color: #4a4a4a;
}

/* Technology Section */
.technology {
  background: var(--colorLight);
  padding: 80px 24px;
}

.techCompact {
  background: var(--colorWhite);
  border-radius: 24px;
  padding: 56px 64px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.techList {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}

.techList li {
  font-size: 15px;
  color: #4a4a4a;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  align-items: center;
  line-height: 1.5;
}

.techList li::before {
  content: "•";
  color: var(--colorPrimary);
  font-size: 20px;
  line-height: 1;
}

.techClosing {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  max-width: 620px;
}

/* Features Section */
.features {
  background: var(--colorLight);
  padding: 100px 24px;
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.featureCard {
  background: var(--colorBeige);
  padding: 36px 28px;
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.featureCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--colorPrimary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.featureCard:hover::before {
  transform: scaleX(1);
}

.featureCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.featureIndex {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--colorPrimary);
}

.featureCard h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--colorSecondary);
  line-height: 1.3;
  margin: 0;
}

.featureCard p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.featureLink {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--colorPrimary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.featureLink:hover {
  text-decoration: underline;
}

.featuresCarousel {
  position: relative;
  display: flex;
  align-items: center;
}

.featuresTrack {
  display: flex;
  gap: 32px;
  scroll-behavior: smooth;
  padding: 8px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

/* Mantém o tamanho consistente */
.featureCard {
  min-width: calc((100% - 64px) / 3);
}

/* Setas */
.carouselArrow {
  background: var(--colorWhite);
  color: var(--colorPrimary);
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2;
}

.carouselArrow.left {
  left: -22px;
}

.carouselArrow.right {
  right: -22px;
}

.carouselArrow:hover {
  transform: scale(1.08);
}

/* Videos Section */
.videos {
  padding: 80px 0;
  background: var(--colorLight);
}

.videosGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.videoCard {
  cursor: pointer;
  transition: transform 0.3s;
}

.videoCard:hover {
  transform: translateY(-10px);
}

.videoThumbnail {
  position: relative;
  height: 200px;
  border-radius: 15px;
  background: linear-gradient(135deg, #6ee7b7 0%, #f59e0b 100%);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.videoThumbnail2 {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.videoThumbnail3 {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
}

.playButton {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--colorSecondary);
  transition: all 0.3s;
  padding-left: 5px;
}

.videoCard:hover .playButton {
  background: var(--colorWhite);
  transform: scale(1.1);
}

.videoCard h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--colorDark);
}

.videoCard p {
  color: #666;
  font-size: 14px;
}

/* CTA Section */
.cta {
  background: #0f6b3a;
  padding: 64px 24px;
  color: var(--colorWhite);
}

.ctaContent {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ctaContent h2 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ctaContent p {
  font-size: 14px;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 24px auto;
}

.ctaButtons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btnCtaPrimary {
  background: var(--colorPrimary);
  color: var(--colorWhite);
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btnCtaPrimary:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.btnCtaSecondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--colorWhite);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btnCtaSecondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
  background: #163b25;
  padding: 32px 0;
}

.footerContent {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footerContent p {
  margin: 4px 0;
}

.siteFooter {
  background: #0b2a1a;
  color: #dce7df;
  padding: 48px 0 0;
  font-size: 0.9rem;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* BRAND */
.footerBrand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footerBrand img {
  max-width: 90px;
  margin-bottom: 16px;
}

.footerBrand p {
  line-height: 1.6;
  color: #bfcfc6;
  max-width: 320px;
  margin-top: 4px;
}

/* TITULOS */
.siteFooter h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #ffffff;
}

/* LINKS */
.footerLinks ul {
  list-style: none;
  padding: 0;
  margin-top: 2px;
}

.footerLinks li {
  margin-bottom: 8px;
}

.footerLinks a {
  color: #bfcfc6;
  text-decoration: none;
  transition: color 0.3s;
}

.footerLinks a:hover {
  color: #4caf50;
}

/* CONTATO */
.footerContact {
  display: flex;
  flex-direction: column;
}

.footerContact p {
  margin-bottom: 6px;
  color: #bfcfc6;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* REDES SOCIAIS */
.footerSocial {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.footerSocial a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  opacity: 0.9;
  backdrop-filter: blur(4px);
}

.footerSocial a:hover {
  background: #4caf50;
  transform: translateY(-2px);
  opacity: 1;
}

/* BOTTOM */
.footerBottom {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #aebdb4;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .footerGrid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  footerBrand,
  .footerLinks,
  .footerContact {
    align-items: center;
  }

  .footerBrand p {
    margin: 0 auto;
  }

  .footerSocial {
    justify-content: center;
  }

  .footerBrand img {
    max-width: 140px;
    align-items: center;
  }

  .footerBrand {
    align-items: center;
    text-align: center;
  }

  .footerBrand img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsive */
@media (max-width: 968px) {
  .heroContent {
    grid-template-columns: 1fr;
  }

  .heroImage .imageCard {
    width: 360px;
    margin: 0 auto;
  }

  .imageCardInner {
    height: 200px;
  }

  .featuresGrid,
  .videosGrid,
  .techGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featureCard {
    min-width: calc((100% - 32px) / 2);
  }

  .techGrid {
    gap: 24px;
  }

  .sectionTitle {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .logoText {
    font-size: 14px;
  }

  .heroTitle {
    font-size: 36px;
  }

  .heroImage .imageCard {
    width: 100%;
    padding: 18px;
  }

  .imageCardInner {
    height: 220px;
  }

  .innerCircle {
    top: 14px;
    left: 14px;
    width: 52px;
    height: 52px;
  }

  .sectionTitle {
    font-size: 28px;
  }

  .featuresGrid,
  .videosGrid,
  .techGrid {
    grid-template-columns: 1fr;
  }

  .techCompact {
    padding: 40px 28px;
  }

  .techList {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta {
    padding: 56px 24px;
  }

  .ctaContent h2 {
    font-size: 22px;
  }

  .ctaButtons {
    gap: 10px;
  }
  .featuresTrack {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .featureCard {
    min-width: 85%;
    scroll-snap-align: start;
  }

  .carouselArrow {
    display: none;
  }

  .aboutCard {
    padding: 40px 28px;
  }

  .aboutText {
    max-width: 100%;
  }
}

/* Botão do Menu Hambúrguer */
.mobileMenuBtn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.mobileMenuBtn span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--colorWhite);
  transition: all 0.3s ease;
  border-radius: 2px;
  position: relative;
}

.mobileMenuBtn.active span:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -1.5px;
}

.mobileMenuBtn.active span:nth-child(2) {
  opacity: 0;
}

.mobileMenuBtn.active span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -1.5px;
}

/* Prevenir scroll quando menu aberto */
body.menu-open {
  overflow: hidden;
}

/* Esconder botão WhatsApp do menu mobile no desktop */
.navMenuWhatsapp {
  display: none;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .mobileMenuBtn {
    display: flex !important;
  }

  /* Esconder botão WhatsApp do desktop */
  .btnWhatsappDesktop {
    display: none !important;
  }

  /* Mostrar botão WhatsApp dentro do menu mobile */
  .navMenuWhatsapp {
    display: block !important;
  }

  /* IMPORTANTE: Remover display: none do CSS original */
  .navMenu {
    display: flex !important;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--colorGreenDark);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 999;
  }

  .navMenu.active {
    transform: translateX(0) !important;
  }

  .navMenu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navMenu a {
    display: block;
    padding: 16px 20px;
    font-size: 15px;
  }

  .navMenu a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  /* Botão WhatsApp dentro do menu mobile */
  .navMenuWhatsapp {
    border-bottom: none;
    padding: 16px 20px;
    margin-top: 10px;
  }

  .navMenuWhatsapp a {
    padding: 0;
    display: block;
  }

  .navMenuWhatsapp a:hover {
    background: transparent;
  }

  .navMenuWhatsapp .btnWhatsapp {
    width: 100%;
    padding: 12px 20px;
    display: block;
  }

  .navContent {
    justify-content: space-between;
  }
}

/* Overlay */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modalOverlay.active {
  display: flex;
}

/* Modal */
.modalContent {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  padding: 32px 28px;
  overflow-y: auto;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: modalFade 0.3s ease;
}

.modalContent label {
  margin-bottom: 6px;
}

.modalContent input,
.modalContent select {
  height: 44px;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modalContent h3 {
  margin-bottom: 6px;
  text-align: center;
}

.modalSubtitle {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: #555;
}

.modalClose {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

/* Reaproveita o estilo do form */
.contactForm {
  color: #222;
}

.formGroup {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.formGroupRow {
  display: flex;
  gap: 12px;
}

.formGroup label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.formGroup input,
.formGroup select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.btnForm {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #3b7f3f;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .modalContent {
    margin: 16px;
    padding: 24px;
  }

  .formGroupRow {
    flex-direction: column;
  }
}

/* Header do formulário */
.formHeader {
  text-align: center;
  margin-bottom: 24px;
}

.formHeader.hidden {
  display: none;
}

/* Sucesso */
.formSuccess,
.formError {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.formSuccess.active,
.formError.active {
  display: block;
}

.successIcon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #3b7f3f;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Erro */
.errorIcon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formError h4 {
  color: #c0392b;
  margin-bottom: 8px;
}

/* Botão WhatsApp no erro */
.whatsappBtn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
