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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Topbar / header */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo-text {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: #111827;
}

.logo-text span {
  color: #f37021;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.7rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.1rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #f37021;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #f37021;
  color: #ffffff;
  border-color: #f37021;
}

.btn-primary:hover {
  background: #d65f1c;
  border-color: #d65f1c;
}

.btn-outline {
  background: transparent;
  color: #f37021;
  border-color: rgba(37, 99, 235, 0.4);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: #f37021;
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.btn-whatsapp:hover {
  background: #15803d;
  border-color: #15803d;
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
  color: #0f172a;
}

.hero-text p {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: #475569;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ffe8d9;
  color: #d65f1c;
}

.hero-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Forms */

.simulator-form label,
.contact-form .form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #334155;
}

.simulator-form input,
.simulator-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #cbd5e1;
  font: inherit;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.simulator-form input:focus,
.simulator-form select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #f37021;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.simulator-form {
  display: grid;
  gap: 0.75rem;
}

.simulator-note {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 1.5rem;
  color: #0f172a;
}

.section-intro {
  margin: 0 0 2rem;
  color: #475569;
  max-width: 34rem;
}

/* Grids e layouts */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.highlight-box {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
}

.highlight-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.highlight-box ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #f9fafb;
  border-radius: 0.9rem;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  position: relative;
  padding: 1.25rem 1rem 1rem;
  border-radius: 0.9rem;
  background: #0f172a;
  color: #e5e7eb;
}

.step-number {
  position: absolute;
  top: -0.9rem;
  left: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f37021;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.step h3 {
  margin: 0.5rem 0 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
}

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

.pricing-card {
  background: #0f172a;
  color: #e5e7eb;
}

.pricing-card .price {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.pricing-card li + li {
  margin-top: 0.25rem;
}

/* FAQ */

.faq-container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
}

details {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 0.6rem;
}

details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
}

details summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.faq-side {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
}

.faq-side h3 {
  margin-top: 0;
}

/* Contato */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1rem;
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.25rem;
}

.contact-list a {
  color: #f37021;
}

.contact-note {
  font-size: 0.85rem;
  color: #64748b;
}

.contact-form .form-row {
  margin-bottom: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 0;
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-logo {
  font-size: 1.1rem;
}

.footer-left p {
  margin: 0.25rem 0 0;
  color: #6b7280;
}

/* Responsivo */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .two-columns,
  .cards-grid,
  .steps-grid,
  .pricing-grid,
  .faq-container,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 3.25rem;
    left: 0;
    right: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 3.25rem;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    justify-content: space-between;
  }

  .btn-whatsapp {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
