/* ============================================
   VINIC BLOCO FORTE — Components
   ============================================ */

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: var(--text-body-sm);
  letter-spacing: var(--tracking-tight);
  border-radius: var(--radius-pill);
  padding: 0 var(--space-8);
  height: 48px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-standard);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-standard);
}

/* Primary */
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary::before {
  background: rgba(0,0,0,0.12);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242,107,29,0.3);
}

/* Secondary (dark bg) */
.btn-secondary {
  background: transparent;
  color: var(--foreground-inverse);
  border: 1.5px solid var(--border-dark-strong);
}

.btn-secondary::before {
  background: rgba(255,255,255,0.08);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.36);
}

/* Secondary (light bg) */
.btn-secondary-light {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary-light::before {
  background: var(--background-soft);
}

.btn-secondary-light:hover::before {
  opacity: 1;
}

/* Hero size */
.btn-hero {
  height: 54px;
  padding: 0 var(--space-10);
  font-size: var(--text-body);
}

/* Navbar size */
.btn-nav {
  height: 42px;
  padding: 0 var(--space-6);
  font-size: var(--text-body-sm);
}

/* ── Pill Badge ── */

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
  line-height: 1;
}

.pill-badge-accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.pill-badge-dark {
  background: rgba(255,255,255,0.08);
  color: var(--foreground-inverse-soft);
  border: 1px solid var(--border-dark-soft);
}

/* ── Section Header ── */

.section-header {
  margin-bottom: var(--space-16);
}

.section-header .eyebrow {
  margin-bottom: var(--space-5);
  color: var(--accent);
}

.section-header--dark .eyebrow {
  color: var(--vinic-orange-400);
}

.section-header .accent-line {
  margin-bottom: var(--space-6);
}

.section-header h2 {
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  margin-bottom: var(--space-5);
}

.section-header--dark h2 {
  color: var(--foreground-inverse);
}

.section-header p {
  font-size: var(--text-body-lg);
  color: var(--foreground-muted);
  max-width: 600px;
  line-height: var(--leading-body);
}

.section-header--dark p {
  color: var(--foreground-inverse-muted);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.section-header--center .accent-line {
  margin-inline: auto;
}

/* ── Product Card ── */

.product-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration-base) var(--ease-standard);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-8);
  right: var(--space-8);
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-standard);
}

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

.product-card:hover::after {
  opacity: 1;
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--background-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__image svg {
  width: 48px;
  height: 48px;
  opacity: 0.18;
  color: var(--foreground-muted);
}

.product-card__tag {
  display: inline-block;
  margin-bottom: var(--space-4);
  align-self: flex-start;
}

.product-card h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.product-card p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
  line-height: var(--leading-body);
  margin-bottom: var(--space-6);
  flex: 1;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--accent);
  transition: gap var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard);
}

.product-card__cta:hover {
  gap: var(--space-3);
  color: var(--accent-hover);
}

.product-card__cta svg {
  width: 16px;
  height: 16px;
}

/* ── Feature Card ── */

.feature-card {
  background: var(--surface-dark-card);
  border: 1px solid var(--border-dark-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  transition: all var(--duration-base) var(--ease-standard);
}

.feature-card:hover {
  border-color: var(--border-dark);
  background: var(--surface-dark-panel);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.feature-card:hover .feature-card__icon {
  background: var(--accent-glow-strong);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--vinic-orange-400);
}

.feature-card h3 {
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
  color: var(--foreground-inverse);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.feature-card p {
  font-size: var(--text-body-sm);
  color: var(--foreground-inverse-muted);
  line-height: var(--leading-relaxed);
}

/* ── Segment Card ── */

.segment-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  transition: all var(--duration-base) var(--ease-standard);
}

.segment-card:hover {
  border-color: var(--accent-soft-strong);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.segment-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-base) var(--ease-standard);
}

.segment-card:hover .segment-card__icon {
  background: var(--accent-soft-strong);
}

.segment-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.segment-card h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 2px;
}

.segment-card p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
}

/* ── Gallery Block ── */

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: var(--space-4);
}

.gallery-grid__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--background-softer);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--duration-base) var(--ease-standard);
}

.gallery-grid__item--featured {
  grid-row: 1 / 3;
}

.gallery-grid__item:hover {
  box-shadow: var(--shadow-soft);
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--foreground-faint);
}

.gallery-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.2;
}

.gallery-placeholder span {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* ── Floating WhatsApp ── */

.floating-whatsapp {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--whatsapp-glow);
  transition: all var(--duration-base) var(--ease-standard);
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 32px var(--whatsapp-glow-strong);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: var(--space-5);
    right: var(--space-5);
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* ── Icon utilities ── */

.icon-whatsapp {
  color: var(--whatsapp);
}

/* ── Divider line ── */

.divider-light {
  border: none;
  border-top: 1px solid var(--line-light);
}

.divider-dark {
  border: none;
  border-top: 1px solid var(--line-dark);
}
