/* ==========================================================================
   MS NEGÓCIOS DIGITAIS - VITRINE DE MODELOS
   ========================================================================== */

:root {
  --bg: #0d1210;
  --bg-elevated: rgba(52, 211, 153, 0.05);
  --accent: #34d399;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --line: rgba(52, 211, 153, 0.12);
  --gradient: linear-gradient(135deg, #34d399, #6ee7b7);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   7. COMPONENTES GLOBAIS
   ========================================================================== */

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.3s var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #06301f;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(52, 211, 153, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.4);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(52, 211, 153, 0.05);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #1a3a1a;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-preview:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Stretches this link's hit area to cover the whole card (via the
   nearest positioned ancestor, .model-card), so the card is clickable
   everywhere except the button, without nesting interactive elements. */
.btn-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.btn-request {
  position: relative;
  z-index: 2;
}

.btn-request {
  background: var(--accent);
  color: #06301f;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-request:hover {
  background: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.35);
}

.btn-green {
  background: var(--accent);
  color: #06301f;
}

.btn-green:hover {
  background: #6ee7b7;
}

/* HEADER */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 18, 16, 0.85);
  backdrop-filter: blur(12px);
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */

.hero {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  letter-spacing: -0.03em;
}

.hero-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   2. HOW IT WORKS
   ========================================================================== */

.how-it-works {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.how-it-works h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 50px;
  letter-spacing: -0.02em;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--transition), border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.35);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  font-family: monospace, sans-serif;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  user-select: none;
}

/* ==========================================================================
   3. MODELS GRID
   ========================================================================== */

.models-section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.models-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 10px;
  margin-bottom: 45px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.model-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s var(--transition), border-color 0.3s ease, box-shadow 0.35s ease;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.model-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 35px rgba(52, 211, 153, 0.2);
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--gradient);
  color: #06301f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 100px;
}

.model-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}

.model-card:hover .model-thumb img {
  transform: scale(1.05);
}

.model-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 18, 16, 0.85);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.model-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.model-info h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.model-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.model-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.model-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price-from {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent);
}

.model-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   4. PRICING
   ========================================================================== */

.pricing {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.pricing h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  text-align: left;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--transition), border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-featured {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.1) 0%, rgba(52, 211, 153, 0.02) 100%);
  border-color: var(--accent);
  box-shadow: 0 10px 35px rgba(52, 211, 153, 0.15);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #06301f;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.plan-currency {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 600;
}

.plan-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 40px;
  max-width: 65ch;
  margin-inline: auto;
}

/* ==========================================================================
   5. WHY US
   ========================================================================== */

.why-us {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.why-us h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  text-align: left;
}

.why-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.3s var(--transition), border-color 0.3s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.35);
}

.why-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.why-cta {
  margin-top: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 42px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.why-cta p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  border-radius: 6px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a,
.footer-contact a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #111815;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--transition);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: #06301f;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(52, 211, 153, 0.05);
}

.form-group select option {
  background: #111815;
  color: var(--white);
}

.form-group textarea {
  min-height: 90px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  margin-top: 6px;
}

.btn-submit.loading {
  opacity: 0.75;
  pointer-events: none;
}

.btn-submit.loading .btn-text::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 10px;
  border: 2px solid rgba(6, 48, 31, 0.35);
  border-top-color: #06301f;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 22px;
  text-align: center;
}

.form-status.success {
  color: #34d399;
}

.form-status.error {
  color: #f87171;
}

/* ==========================================================================
   RESPONSIVO (Mobile & Tablets)
   ========================================================================== */

@media (max-width: 1024px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-featured {
    grid-column: span 2;
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-4px);
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 50px;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: -10px 0;
  }

  .step {
    width: 100%;
  }

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

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

  .pricing-featured {
    grid-column: span 1;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .modal-panel {
    padding: 30px 20px;
  }
}
