/* ===========================
   WeMenu — Design Tokens
=========================== */
:root {
  --color-primary: #FF4D4F;
  --color-secondary: #6FAF2E;
  --color-secondary-hover: #5C9526;
  --text-main: #1A1A1A;
  --text-secondary: #6B6B6B;
  --bg-white: #FFFFFF;
  --bg-alt: #F7F7F8;
  --bg-card: #F0F0F0;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --max-width: 1120px;
  --font-main: 'Poppins', 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-red {
  color: var(--color-primary);
}

.small {
  font-size: 14px;
}

/* ===========================
   Badges
=========================== */
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.badge-red {
  background: rgba(255, 77, 79, 0.1);
  color: var(--color-primary);
}

.price-pill {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
}

.btn-cta {
  background: var(--color-secondary);
  color: #fff;
  padding: 16px 32px;
  box-shadow: 0 8px 20px rgba(111, 175, 46, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background: var(--color-secondary-hover);
  transform: translateY(-1px);
}

/* ===========================
   Header
=========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-img {
  height: 32px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 15px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

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

.main-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* ===========================
   Sections / Layout helpers
=========================== */
.section {
  padding: 96px 0;
}

.bg-white {
  background: var(--bg-white);
}

.bg-gray {
  background: var(--bg-alt);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col.align-center {
  align-items: start;
  margin-top: 56px;
}

.center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-content h2 {
  max-width: 640px;
  margin-bottom: 48px;
}

.col-image img {
  border-radius: var(--radius-card);
}

.rounded-photo {
  border-radius: var(--radius-card);
}

.circle-photo {
  margin: 0 auto;
  max-width: 420px;
}

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(247, 247, 248, 0), rgba(247, 247, 248, 1));
  pointer-events: none;
}

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.social-proof.center {
  justify-content: center;
  margin: 24px 0;
}

.social-proof p {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-main);
}

.clients-avatars {
  height: 40px;
  width: auto;
}

/* ===========================
   Check list
=========================== */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 16px;
}

.check-list li span:last-child {
  color: var(--text-main);
}

.check-circle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ===========================
   Steps
=========================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  width: 100%;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 48px 28px 32px;
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 20px;
}

.step-card p {
  color: var(--text-main);
  margin: 0;
}

/* ===========================
   Feature list (por que escolher)
=========================== */
.feature-list {
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.icon-circle {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-list h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.feature-list p {
  margin: 0;
}

/* ===========================
   Testimonials
=========================== */
.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--color-primary);
  color: #fff;
}

.testimonial-card h4 {
  margin-bottom: 4px;
}

.testimonial-card .text-red {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
}

.testimonial-card p {
  color: var(--text-main);
  margin: 0;
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.dot.active {
  background: var(--color-primary);
}

/* ===========================
   Plan card
=========================== */
.plan-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 40px;
  max-width: 420px;
  width: 100%;
}

.plan-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.plan-list {
  text-align: left;
  margin-bottom: 28px;
}

.plan-list li {
  font-size: 15px;
}

.price-strip {
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.fine-print {
  text-align: center;
  font-size: 13px;
  margin-bottom: 24px;
}

/* ===========================
   FAQ Accordion
=========================== */
.accordion {
  width: 100%;
  max-width: 720px;
  margin-bottom: 40px;
}

.accordion-item {
  background: var(--bg-alt);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  padding: 20px 24px;
  text-align: left;
}

.arrow {
  font-size: 22px;
  color: var(--color-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.open .arrow {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.accordion-item.open .accordion-content {
  padding: 0 24px 20px;
}

.accordion-content p {
  margin: 0;
}

/* ===========================
   Scroll reveal animations
=========================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .reveal-left {
    transform: translateX(-36px);
  }

  .reveal-right {
    transform: translateX(36px);
  }

  .reveal-scale {
    transform: scale(0.92);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }

  .reveal-delay-1 { transition-delay: 0.12s; }
  .reveal-delay-2 { transition-delay: 0.24s; }
  .reveal-delay-3 { transition-delay: 0.36s; }
  .reveal-delay-4 { transition-delay: 0.48s; }

  .check-list li.reveal:nth-child(2),
  .steps-grid .step-card.reveal:nth-child(2),
  .feature-list li.reveal:nth-child(2),
  .accordion-item.reveal:nth-child(2) { transition-delay: 0.08s; }

  .check-list li.reveal:nth-child(3),
  .steps-grid .step-card.reveal:nth-child(3),
  .feature-list li.reveal:nth-child(3),
  .accordion-item.reveal:nth-child(3) { transition-delay: 0.16s; }

  .check-list li.reveal:nth-child(4),
  .accordion-item.reveal:nth-child(4) { transition-delay: 0.24s; }

  .check-list li.reveal:nth-child(5),
  .accordion-item.reveal:nth-child(5) { transition-delay: 0.32s; }

  .check-list li.reveal:nth-child(6),
  .accordion-item.reveal:nth-child(6) { transition-delay: 0.4s; }

  /* Buttons: gentle pop + tactile press */
  .btn-cta {
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .btn-cta:active {
    transform: scale(0.96);
  }
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background: #FBFBFB;
  border-top: 1px solid #eee;
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-inner,
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-inner .social-proof {
    justify-content: center;
  }

  .two-col.reverse {
    direction: ltr;
  }

  .two-col .col-image {
    order: -1;
  }

  .two-col.reverse .col-image {
    order: 0;
  }

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

  .testimonial-card {
    flex-basis: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 20px;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .plan-card {
    padding: 28px;
  }

  .feature-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
