:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #2f2f2f;
  --surface: #ffffff;
  --line: #f1dcc9;
  --brand: #f47a1f;
  --brand-dark: #cc5f0e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff3e8 0%, var(--bg) 320px);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 42s linear infinite;
  transform: scale(1.04);
}

.hero-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-bg-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-bg-slide:nth-child(4) {
  animation-delay: 18s;
}

.hero-bg-slide:nth-child(5) {
  animation-delay: 24s;
}

.hero-bg-slide:nth-child(6) {
  animation-delay: 30s;
}

.hero-bg-slide:nth-child(7) {
  animation-delay: 36s;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.84) 100%);
}

.pos-hero .hero-content {
  max-width: 880px;
}

.pos-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pos-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: posHeroFade 18s linear infinite;
}

.pos-hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.pos-hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.pos-hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.pos-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.78) 100%);
}

@keyframes posHeroFade {
  0% {
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  28% {
    opacity: 1;
  }
  34% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  12% {
    opacity: 1;
  }
  16% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe1c7;
  color: #7a3508;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4.7vw, 56px);
  line-height: 1.1;
  color: var(--brand);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn-inline {
  margin-top: 18px;
}

.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
}

.btn-ghost:hover {
  background: #ffe8d6;
  border-color: var(--brand-dark);
  color: #111111;
}

.section {
  padding: 68px 0;
}

.section h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 3.2vw, 38px);
  color: var(--text);
}

.section-intro {
  margin: -12px 0 22px;
  max-width: 900px;
  color: var(--muted);
  font-size: 17px;
}

.pos-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.05);
}

.pos-feature-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.pos-feature-content h2 {
  margin-bottom: 10px;
}

.pos-banner-section {
  padding-top: 34px;
  padding-bottom: 26px;
}

.pos-red-banner {
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background-image: url('../imagens/pos1.png');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.pos-red-overlay {
  min-height: 280px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  background: linear-gradient(90deg, rgba(30, 18, 20, 0.55) 0%, rgba(30, 18, 20, 0.05) 100%);
}

.pos-red-overlay h2 {
  color: #fff;
  margin: 10px 0 0;
}

.support-guide {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
}

.support-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--text);
}

.support-panel p {
  color: var(--muted);
}

.support-panel-accent {
  background: #fff8f2;
}

.carousel-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.carousel-item {
  min-height: 180px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
}

.carousel-btn:hover {
  background: #fff8f2;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.95) 0%, rgba(255, 255, 255, 1) 42%);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 190px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 72px;
  line-height: 1;
  color: rgba(244, 122, 31, 0.12);
  font-family: Georgia, serif;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.testimonial-card span {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}

.testimonial-stars {
  margin-bottom: 14px;
  color: var(--brand);
  letter-spacing: 2px;
  font-size: 15px;
}

.support-steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.section-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8f2;
}

.section-brand-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.section-brand-text {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.solutions-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.section-soft {
  background: #fff3e6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
  text-align: center;
}

.partner-logo {
  height: 54px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}

.lead-pos {
  margin-bottom: 24px;
  max-width: 920px;
}

.equipment-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.equipment-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.equipment-image {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff8f3;
  padding: 10px;
}

.pos-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.cta-box {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 28px;
}

.contact-heading {
  text-align: center;
  margin-bottom: 26px;
}

.contact-heading .section-intro {
  margin: 0 auto;
  max-width: 760px;
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.04);
  text-align: center;
}

.contact-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #ffe8d6;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--text);
}

.contact-card p {
  margin: 0 0 4px;
  color: var(--muted);
}

.cta-box h2 {
  margin-bottom: 8px;
  color: var(--text);
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 20px;
  background: #fff8f2;
  color: var(--muted);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 26px;
  align-items: start;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 280px;
  line-height: 1.45;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.footer-column {
  display: grid;
  gap: 8px;
}

.footer-column h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.footer-column a {
  text-decoration: none;
  color: var(--muted);
}

.footer-column a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid,
  .contact-grid,
  .equipment-grid,
  .pos-grid,
  .solutions-grid,
  .support-guide,
  .pos-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 680px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .partners-grid,
  .contact-grid,
  .equipment-grid,
  .pos-grid,
  .solutions-grid,
  .support-guide,
  .pos-feature {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel-btn {
    justify-self: center;
  }

  .cta-box {
    padding: 20px;
  }
}
