/* =====================================================
   VARIÁVEIS E RESET
   ===================================================== */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid: #E0E0E0;
  --gray-text: #757575;
  --green: #43A047;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --max-width: 1100px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

/* =====================================================
   TIPOGRAFIA
   ===================================================== */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-text);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* =====================================================
   BOTÕES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

.btn--primary:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}

.btn--white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* =====================================================
   BADGES
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
}

.badge--dark { background: var(--black); color: var(--white); }
.badge--green { background: #E8F5E9; color: var(--green); }
.badge--outline { border: 2px solid var(--black); color: var(--black); background: transparent; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-mid);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.navbar__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: var(--white);
}

.hero__badge {
  display: inline-block;
  background: var(--gray-light);
  color: var(--gray-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-mid);
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-text);
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero__disclaimer {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 12px;
}

/* Mockup do celular */
.hero__mockup {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.mockup-phone {
  width: 280px;
  background: var(--black);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 8px #1a1a1a;
  position: relative;
}

.mockup-phone__notch {
  width: 80px;
  height: 22px;
  background: var(--black);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
}

.mockup-phone__screen {
  background: var(--white);
  border-radius: 24px;
  padding: 16px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-screen__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mockup-screen__dot {
  width: 28px;
  height: 28px;
  background: var(--black);
  border-radius: 50%;
}

.mockup-screen__bar {
  flex: 1;
  height: 10px;
  background: var(--gray-mid);
  border-radius: 4px;
}

.mockup-screen__slot {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--gray-mid);
}

.mockup-screen__slot--active {
  background: #E8F5E9;
  border-left-color: var(--green);
}

.mockup-screen__slot--empty {
  border-left-color: var(--gray-mid);
  opacity: 0.6;
}

.mockup-slot__time {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-text);
}

.mockup-slot__name {
  font-size: 0.8rem;
  font-weight: 700;
  margin: 2px 0;
}

.mockup-slot__name--empty {
  color: var(--gray-text);
  font-weight: 400;
}

.mockup-slot__service {
  font-size: 0.7rem;
  color: var(--gray-text);
}

.mockup-screen__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gray-text);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--gray-mid);
}

.mockup-footer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-footer__dot--green { background: var(--green); }

/* =====================================================
   SEÇÃO PROBLEMAS
   ===================================================== */
.problems {
  background: var(--black);
  padding: 96px 0;
}

.problems .section-title {
  margin-bottom: 48px;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.problem-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), background var(--transition);
}

.problem-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.problem-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.problem-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.problem-card__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* =====================================================
   SEÇÃO SOLUÇÃO
   ===================================================== */
.solution {
  padding: 96px 0;
  background: var(--gray-light);
}

.solution .section-title {
  margin-bottom: 12px;
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gray-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--black);
}

.feature-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__title-row .feature-card__title {
  margin-bottom: 0;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* =====================================================
   COMO FUNCIONA
   ===================================================== */
.how-it-works {
  padding: 96px 0;
  background: var(--white);
}

.how-it-works .section-title {
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step__line {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--gray-mid);
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* =====================================================
   FUNCIONALIDADES DETALHADAS
   ===================================================== */
.details {
  padding: 96px 0;
  background: var(--gray-light);
}

.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.detail-block:last-child { margin-bottom: 0; }

.detail-block--reverse .detail-block__image { order: 2; }
.detail-block--reverse .detail-block__content { order: 1; }

.detail-block__image { min-width: 0; }

.app-shot {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.app-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

.app-shot__bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
}

.app-shot__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-mid);
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-block__content .badge {
  margin-bottom: 16px;
}

.detail-block__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.detail-block__desc {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* =====================================================
   PREÇOS
   ===================================================== */
.pricing {
  background: var(--black);
  padding: 96px 0;
}

.pricing .section-title {
  margin-bottom: 48px;
}

.pricing__card {
  background: var(--white);
  border-radius: 20px;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pricing__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
  margin: 16px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
  line-height: 1;
}

.pricing__currency {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 8px;
}

.pricing__amount {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing__period {
  font-size: 1rem;
  color: var(--gray-text);
  padding-top: 12px;
}

.pricing__features {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing__disclaimer {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-top: 12px;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  padding: 96px 0;
  background: var(--white);
}

.faq .section-title {
  margin-bottom: 48px;
}

.faq__list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq__item:last-child { border-bottom: none; }

.faq__question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 0.975rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  transition: background var(--transition);
  color: var(--black);
}

.faq__question:hover { background: var(--gray-light); }

.faq__question[aria-expanded="true"] { background: var(--gray-light); }

.faq__icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-text);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__answer.open {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-final {
  background: var(--black);
  padding: 96px 0;
  text-align: center;
}

.cta-final__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 640px;
  margin: 0 auto 16px;
}

.cta-final__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-final__disclaimer {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

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

/* =====================================================
   ANIMAÇÕES
   ===================================================== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.05s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.15s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.25s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.35s; }
.animate-fade-up:nth-child(5) { animation-delay: 0.45s; }
.animate-fade-up:nth-child(6) { animation-delay: 0.55s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .step__line { display: none; }

  .detail-block,
  .detail-block--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-block--reverse .detail-block__image { order: 0; }
  .detail-block--reverse .detail-block__content { order: 0; }

  .pricing__card { padding: 32px 24px; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }

  .mockup-phone { width: 240px; }
}

@media (max-width: 480px) {
  .problems__grid,
  .solution__grid {
    grid-template-columns: 1fr;
  }

  .btn--lg { padding: 14px 24px; }
}
