/* para-empresas.css */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Lato:wght@400;700&display=swap');

:root {
  --font-family-headings: 'Montserrat', sans-serif;
  --font-family-body: 'Lato', sans-serif;
  --card-background: #FFFFFF;
  --card-shadow: 0 4px 15px rgba(33, 50, 74, 0.05);
  --card-shadow-hover: 0 8px 25px rgba(33, 50, 74, 0.1);
  --border-radius: 8px;
  --border-color: #E0E8F2;
}

html[data-theme="dark"] {
  --card-background: #1E293B;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.5);
  --border-color: #334155;
}

/* ========================================
   CONTAINER
   ======================================== */

.pe-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

/* ========================================
   SHARED STYLES
   ======================================== */

.section-title {
  font-family: var(--font-family-headings);
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  text-align: center;
  transition: color 0.3s ease;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--accent-hover);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.pe-section {
  padding: 5rem 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ========================================
   HERO
   ======================================== */

.pe-hero {
  text-align: center;
  padding: 2rem 0 4rem;
}

.pe-hero__title {
  font-family: var(--font-family-headings);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
}

.pe-hero__title span {
  color: var(--accent);
  transition: color 0.3s ease;
}

.pe-hero__subtitle {
  font-size: 1.25rem;
  color: var(--accent-hover);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.pe-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   CTA BUTTONS (reused)
   ======================================== */

.cta-button {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-family: var(--font-family-headings);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.cta-button.primary {
  background-color: var(--accent);
  color: var(--white);
}

.cta-button.primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cta-button.secondary:hover {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ========================================
   STATS BAR
   ======================================== */

.pe-stats {
  padding: 2rem 0;
}

.pe-stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 3rem;
  box-shadow: var(--card-shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.pe-stats__number {
  font-family: var(--font-family-headings);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transition: color 0.3s ease;
}

.pe-stats__label {
  font-size: 0.9rem;
  color: var(--accent-hover);
  margin-top: 0.35rem;
  transition: color 0.3s ease;
}

.pe-stats__divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
  transition: background-color 0.3s ease;
}

/* ========================================
   BENEFITS GRID
   ======================================== */

.pe-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pe-benefit-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.pe-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}

.pe-benefit-card__icon {
  width: 50px;
  height: 50px;
  background-color: #F0F4F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .pe-benefit-card__icon {
  background-color: #0F172A;
}

.pe-benefit-card h3 {
  font-family: var(--font-family-headings);
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.pe-benefit-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--accent-hover);
  transition: color 0.3s ease;
}

/* ========================================
   MINI-SITE SHOWCASE
   ======================================== */

.pe-showcase__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pe-showcase__description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--accent-hover);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.pe-showcase__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pe-showcase__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

.pe-showcase__list li svg {
  color: var(--accent);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

/* Mini-site mockup */
.pe-showcase__visual {
  display: flex;
  justify-content: center;
}

.pe-mockup {
  width: 320px;
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pe-mockup__header {
  position: relative;
  height: 100px;
}

.pe-mockup__cover {
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #6366f1 100%);
}

.pe-mockup__logo {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--card-background);
  border: 3px solid var(--card-background);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pe-mockup__body {
  padding: 2rem 1.25rem 1.5rem;
}

.pe-mockup__name {
  height: 16px;
  width: 60%;
  background-color: var(--primary-dark);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  opacity: 0.15;
}

.pe-mockup__desc {
  height: 10px;
  width: 90%;
  background-color: var(--primary-dark);
  border-radius: 3px;
  margin-bottom: 0.4rem;
  opacity: 0.08;
}

.pe-mockup__desc.short {
  width: 65%;
  margin-bottom: 1rem;
}

.pe-mockup__cta {
  height: 32px;
  width: 50%;
  background: var(--accent);
  border-radius: 6px;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.pe-mockup__gallery {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.pe-mockup__gallery-item {
  flex: 1;
  height: 50px;
  background-color: var(--primary-dark);
  border-radius: 4px;
  opacity: 0.06;
}

.pe-mockup__products-title {
  height: 12px;
  width: 45%;
  background-color: var(--primary-dark);
  border-radius: 3px;
  margin-bottom: 0.75rem;
  opacity: 0.12;
}

.pe-mockup__products {
  display: flex;
  gap: 8px;
}

.pe-mockup__product {
  flex: 1;
  background-color: var(--primary-dark);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.05;
}

.pe-mockup__product-img {
  height: 45px;
}

.pe-mockup__product-text {
  height: 20px;
  padding: 4px;
}

/* ========================================
   STEPS (reused from howitworks)
   ======================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: left;
}

.step-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-family-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: #E0E8F2;
  transition: color 0.3s ease;
}

html[data-theme="dark"] .step-number {
  color: #334155;
}

.step-icon {
  width: 50px;
  height: 50px;
  background-color: #F0F4F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .step-icon {
  background-color: #0F172A;
}

.step-card h3 {
  font-family: var(--font-family-headings);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

.step-card p {
  line-height: 1.6;
  color: var(--accent-hover);
  transition: color 0.3s ease;
}

/* ========================================
   ANALYTICS SHOWCASE
   ======================================== */

.pe-analytics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.pe-analytics__card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.pe-analytics__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}

.pe-analytics__card-icon {
  width: 48px;
  height: 48px;
  background-color: #F0F4F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .pe-analytics__card-icon {
  background-color: #0F172A;
}

.pe-analytics__card-info {
  display: flex;
  flex-direction: column;
}

.pe-analytics__card-value {
  font-family: var(--font-family-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.pe-analytics__card-label {
  font-size: 0.85rem;
  color: var(--accent-hover);
  margin-top: 0.15rem;
  transition: color 0.3s ease;
}

.pe-analytics__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--accent-hover);
  opacity: 0.7;
  font-style: italic;
  transition: color 0.3s ease;
}

/* ========================================
   LEAD / CONTACT SECTION
   ======================================== */

.pe-lead__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 750px;
  margin: 0 auto;
}

.pe-lead__card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--card-background);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pe-lead__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.pe-lead__card--whatsapp:hover {
  border-color: #25D366;
}

.pe-lead__card--email:hover {
  border-color: var(--accent);
}

.pe-lead__card-icon {
  flex-shrink: 0;
  color: var(--accent-hover);
  transition: color 0.3s ease;
}

.pe-lead__card--whatsapp .pe-lead__card-icon {
  color: #25D366;
}

.pe-lead__card-content h3 {
  font-family: var(--font-family-headings);
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.pe-lead__card-content p {
  font-size: 0.9rem;
  color: var(--accent-hover);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.pe-lead__card-action {
  font-family: var(--font-family-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.3s ease;
}

/* ========================================
   FAQ (reused from howitworks)
   ======================================== */

.faq-container {
  max-width: 750px;
  margin: 3rem auto 0;
  text-align: left;
}

.faq-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family-headings);
  font-size: 1.1rem;
  color: var(--primary-dark);
  text-align: left;
  transition: color 0.3s ease;
}

.faq-icon {
  width: 14px;
  height: 14px;
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 6px;
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  left: 6px;
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.7;
  color: var(--accent-hover);
  transition: color 0.3s ease;
}

/* ========================================
   FINAL CTA
   ======================================== */

.pe-cta {
  text-align: center;
  padding: 5rem 0 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }

  .pe-hero__title {
    font-size: 2.5rem;
  }

  .pe-showcase__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pe-showcase__text .section-title {
    text-align: center;
  }

  .pe-showcase__visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .pe-container {
    padding: 2rem 1rem;
  }

  .pe-hero__title {
    font-size: 2rem;
  }

  .pe-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .pe-hero__actions .cta-button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .pe-stats__grid {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .pe-stats__divider {
    width: 60px;
    height: 1px;
  }

  .pe-section {
    padding: 3rem 0;
  }

  .pe-lead__card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 80%;
    text-align: center;
  }

  .pe-mockup {
    width: 280px;
  }
}