/* ==========================================================================
   SEÇÃO "PORQUÊ A NATA" (EXPERIÊNCIAS PENSADAS AO DETALHE - FIGMA)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CONTAINER & ESTRUTURA DA SEÇÃO
   -------------------------------------------------------------------------- */
.why-nata-section {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 80px);
  background-color: var(--color-base, #F1ECDE);
}

.why-nata-container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}

/* --------------------------------------------------------------------------
   2. CABEÇALHO DA SEÇÃO (BADGE, TÍTULO E DESCRIÇÃO)
   -------------------------------------------------------------------------- */
.why-nata-header {
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 720px;
}

/* Badge/Tag: Inter 600 SemiBold | 14px | Line-Height 140% | Letter-Spacing 8% (0.08em) | Terracota 700 (#9C4826) */
.why-nata-badge {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracota-700, #9C4826);
  display: inline-block;
  margin-bottom: 8px;
}

/* Título Principal: Manrope 600 SemiBold | 36px (Clamp) | Line-Height 120% | Letter-Spacing 2% | Neutro 900 (#151413) */
.why-nata-title {
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--color-neutral-900, #151413);
    margin: 0 0 16px 0;
    font-family: var(--font-family-title-serif, 'Fraunces', serif);
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 5%;
}

/* Descrição: Inter 400 Regular | 20px (Clamp) | Line-Height 160% | Letter-Spacing 0% | Neutro 700 (#4E4D4A) */
.why-nata-description {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--color-neutral-700, #4E4D4A);
  margin: 0;
}

.why-nata-description em,
.why-nata-description i {
  font-style: italic;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   3. GRID DE CARTÕES ASSIMÉTRICO (MOBILE-FIRST -> FLEXBOX PRECISO FIGMA DESKTOP)
   -------------------------------------------------------------------------- */
.why-nata-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
}

@media (min-width: 768px) {
  .why-nata-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Cartão Maior: exatamente 2/3 da largura total descontado o gap (Figma: 794.666687px) */
  .why-nata-card.card-wide {
    width: calc((100% - clamp(16px, 2.5vw, 24px)) * (2 / 3));
    flex: 0 0 auto;
  }

  /* Cartão Menor: exatamente 1/3 da largura total descontado o gap (Figma: 397.333313px) */
  .why-nata-card.card-narrow {
    width: calc((100% - clamp(16px, 2.5vw, 24px)) * (1 / 3));
    flex: 0 0 auto;
  }

  /* Linha 1 (Cartões 1 e 2): Altura de 320px */
  .why-nata-card:nth-child(1),
  .why-nata-card:nth-child(2) {
    height: 320px;
  }

  /* Linha 2 (Cartões 3 e 4): Altura de 260px */
  .why-nata-card:nth-child(3),
  .why-nata-card:nth-child(4) {
    height: 260px;
  }
}

/* --------------------------------------------------------------------------
   4. ESTILIZAÇÃO DOS CARTÕES (WHY NATA CARD)
   -------------------------------------------------------------------------- */
.why-nata-card {
  position: relative;
  height: 260px; /* Altura padrão mobile */
  border-radius: var(--radius-lg, 16px);
  border-top: 1px solid var(--color-neutral-200, #D9D4C7);
  padding: var(--space-24, 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--color-neutral-800, #2E2D2B);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0px 4px 12px rgba(42, 28, 18, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradiente de escurecimento inferior (Figma: 0% transparent -> 45% rgba(0,0,0,0.22) -> 100% rgba(10,13,18,0.7)) */
.why-nata-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(10, 13, 18, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Hover nos Cartões: elevação suave de -6px e expansão de sombra em 0.3s síncrono */
.why-nata-card:hover,
.why-nata-card[data-animate].is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0px 14px 32px rgba(42, 28, 18, 0.16), 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-nata-card:hover::before {
  opacity: 0.9;
}

/* Conteúdo Interno do Cartão */
.why-nata-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Tag do Cartão: Inter 600 SemiBold | 14px | Line-Height 140% | Letter-Spacing 8% (0.08em) | Terracota 300 (#E5C8BD) */
.why-nata-card-tag {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracota-300, #E5C8BD);
  display: block;
}

/* Título do Cartão: Manrope 400 Regular | 24px (Clamp) | Line-Height 130% | Letter-Spacing -0.5% | Neutro 100 (#FBFAF8) */
.why-nata-card-title {
  font-family: var(--font-family-title, 'Manrope', sans-serif);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-neutral-100, #FBFAF8);
  margin: 0;
}
