/* ===================================================================
   PATA+ HOME INSTITUCIONAL (css/home.css)
   Estilos específicos da página institucional da marca Pata+
   =================================================================== */

/* ── HEADER NAV ── */
.header__nav {
  display: none;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
}

.header__nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.header__nav-link:hover {
  color: var(--primary);
}

/* ── HOME HERO ── */
.home-hero {
  padding-top: calc(var(--space-2xl) + 40px);
  padding-bottom: var(--space-2xl);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-warm) 60%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .home-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-2xl);
  }
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--border-light);
}

.home-hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-md);
}

.home-hero__title span {
  color: var(--primary);
}

.home-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  max-width: 580px;
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

@media (min-width: 480px) {
  .home-hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.home-hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--primary);
  line-height: 1.1;
}

.home-hero__stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.home-hero__media {
  position: relative;
}

.home-hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(22, 96, 63, 0.12);
  background: #FFFFFF;
}

.home-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.home-hero__floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
}

.home-hero__floating-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.home-hero__floating-text {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: 1.25;
}

.home-hero__floating-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-normal);
  color: var(--text-muted);
}

/* ── QUEM SOMOS / VALORES ── */
.home-about {
  padding: var(--space-2xl) 0;
  background-color: #FFFFFF;
}

.home-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.home-section-header__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.home-section-header__title {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--text-primary);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-xs);
}

.home-section-header__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

.home-about__intro-box {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 4px solid var(--primary);
  margin-bottom: var(--space-xl);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.home-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .home-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.value-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ── VITRINE DE PRODUTOS ── */
.home-showcase {
  padding: var(--space-2xl) 0;
  background-color: var(--bg-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .showcase-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.product-card--featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.product-card__header {
  position: relative;
  background-color: var(--bg-light);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.product-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-card__badge--active {
  background-color: var(--primary);
  color: #FFFFFF;
}

.product-card__badge--upcoming {
  background-color: #E2E8F0;
  color: #475569;
}

.product-card__format {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.product-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.product-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.product-card__pricing {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--border-light);
  margin-bottom: var(--space-md);
}

.product-card__price-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.product-card__price-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: var(--fw-extrabold);
  color: var(--primary);
}

.product-card__price-installments {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.product-card__action {
  width: 100%;
}

.btn--disabled {
  background-color: #E2E8F0;
  color: #64748B;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--disabled:hover {
  background-color: #E2E8F0;
  transform: none;
  box-shadow: none;
}

/* ── POR QUE ESCOLHER A PATA+ ── */
.home-reasons {
  padding: var(--space-2xl) 0;
  background-color: #FFFFFF;
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reason-box {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.reason-box__check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.reason-box__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.reason-box__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ── COMUNIDADE INSTAGRAM ── */
.home-community {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  text-align: center;
}

.home-community__inner {
  max-width: 620px;
  margin: 0 auto;
}

.home-community__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
  letter-spacing: var(--ls-tight);
}

.home-community__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.home-community__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn--light {
  background: #FFFFFF;
  color: var(--primary);
  font-weight: var(--fw-bold);
}

.btn--light:hover {
  background: var(--bg-warm);
  color: var(--primary-dark);
}
