/* Quem Somos — v2.88. Desktop preservado + Mobile e performance corrigidos */

.about-page {
  background: #fcf8f3;
  color: #241919;
}
.about-page main {
  overflow: hidden;
}
.about-page main h1,
.about-page main h2,
.about-page main h3 {
  font-family: "DIN Pro", Arial, sans-serif;
}
.about-wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}
.br-desktop {
  display: inline;
}

/* HERO: "Uma história que começou em 2007" */
.about-hero {
  position: relative;
  height: auto;
  aspect-ratio: 1440 / 621;
  min-height: 520px;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.about-hero-tint {
  display: none;
}
.about-hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, calc(100% - 48px));
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-hero-title-wrapper {
  position: relative;
  display: inline-block;
}
.about-hero-plus {
  position: absolute;
  left: -82px;
  top: -72px;
  width: 90px;
  height: 90px;
  margin-bottom: 0;
  pointer-events: none;
}
.about-hero h1 {
  font-size: clamp(34px, 3.45vw, 50px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.about-hero p {
  font-size: 18px;
  line-height: 1.45;
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
}

/* SEÇÃO 1: ORIGENS */
.about-origins {
  padding-top: 96px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-origins h2,
.about-ingredients h2,
.about-seal h2,
.about-structure h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.15;
  color: #241919;
  margin: 0 0 24px;
}
.about-origins p,
.about-ingredients p,
.about-seal p,
.about-structure p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 20px;
  color: #241919;
}
.about-origins-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-origins-art img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/* SEÇÃO 2: PRINCÍPIOS QUE ACOMPANHAM NOSSO CRESCIMENTO */
.about-values {
  margin-block: 40px 90px;
  text-align: center;
}
.about-values-picture {
  display: block;
  width: 100%;
}
.about-values-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}

/* SEÇÃO 3: INGREDIENTES */
.about-ingredients {
  display: grid;
  grid-template-columns: 500px 1fr;
  align-items: center;
  gap: 65px;
  padding-bottom: 96px;
}
.about-ingredients-art {
  width: 100%;
  display: flex;
  justify-content: center;
}
.about-ingredients-art img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}
.about-ingredients-copy {
  max-width: 565px;
}

/* SEÇÃO 4: SELO ALIMENTOS DO PARANÁ */
.about-seal {
  padding-block: 60px 90px;
}
.about-seal-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 52px;
}
.about-seal-head > img {
  width: 100%;
  max-width: 375px;
  height: auto;
  justify-self: center;
}
.about-seal-head h2 {
  max-width: 620px;
}
.about-seal-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.about-seal-cards article {
  background: #fff;
  border-radius: 20px;
  padding: 46px 36px;
  text-align: center;
  flex: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(36, 25, 25, 0.05);
  max-width: 330px;
}
.about-seal-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 16px;
  object-fit: contain;
}
.about-seal-cards h3 {
  font-size: 22px;
  color: #19532b !important;
  margin: 0 0 10px;
  font-family: "DIN Pro", Arial, sans-serif;
  font-weight: 700;
}
.about-seal-cards p {
  font-size: 15px;
  margin: 0;
  line-height: 1.45;
  color: #241919;
}
.about-seal-plus-sep {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin: 0 -12px;
}

/* SEÇÃO 5: ESTRUTURA PARA FAZER BEM, TODOS OS DIAS */
.about-structure {
  padding-block: 80px 100px;
  position: relative;
}
.about-structure-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}
.about-structure-copy {
  grid-column: 1;
  position: relative;
  z-index: 2;
  padding-right: 10px;
}
.about-structure-copy h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.15;
  color: #241919;
  margin: 0 0 24px;
}
.about-structure-copy p {
  font-size: 16px;
  line-height: 1.55;
  color: #241919;
  margin: 0 0 20px;
}
.about-structure-right {
  grid-column: 2;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.about-structure-image {
  width: 1000%;
  max-width: 1020px;
  height: auto;
  display: block;
  object-fit: contain;
  margin-left: -22rem;
}
.about-structure-list-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  z-index: 3;
}
.about-structure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-structure-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 16px;
  color: #241919;
}
.about-structure-list li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* SEÇÃO 6: CONHEÇA OS PRODUTOS QUEIJO MAIS */
.about-products {
  padding-block: 80px 120px;
}
.about-products-intro {
  text-align: center;
  margin-bottom: 120px;
}
.about-products h2 {
  font-size: 34px;
  line-height: 1.18;
  margin: 0 0 14px;
  color: #241919;
}
.about-products-intro p {
  font-size: 16px;
  line-height: 1.42;
  margin: 4px auto;
  color: #241919;
}
.about-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.about-product-grid article {
  position: relative;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(36, 25, 25, 0.06);
  padding: 170px 28px 28px;
  display: flex;
  flex-direction: column;
  color: #241919;
  overflow: visible;
}
.about-product-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  background-image: url("../assets/elemento-laranja.svg");
  background-repeat: no-repeat;
  background-size: 340px auto;
  background-position: calc(100% + 120px) calc(100% + 70px);
  opacity: 0.05;
  z-index: 0;
}
.about-product-grid img {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  height: 220px;
  width: auto;
  object-fit: contain;
  z-index: 2;
}
.about-product-grid h3 {
  font-size: 22px !important;
  color: #241919 !important;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}
.about-product-grid p {
  font-size: 16px !important;
  line-height: 1.42;
  flex: 1;
  margin: 0 0 20px;
  color: #241919;
  position: relative;
  z-index: 1;
}
.about-product-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #d52518;
  color: #fcf8f3;
  border-radius: 9px;
  height: 40px;
  text-decoration: none;
  font: 700 15px "DIN Pro", Arial, sans-serif;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.about-product-grid a:hover {
  background: #b81d12;
}
.about-product-dots {
  display: none;
}

/* ==========================================================================
   RESPONSIVO TABLET (800px - 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .about-origins,
  .about-ingredients {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-structure-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-structure-copy {
    grid-column: 1;
    padding-right: 0;
  }
  .about-structure-right {
    grid-column: 1;
  }
  .about-structure-image {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
  .about-structure-list-wrapper {
    position: static;
    max-width: 100%;
    margin-top: 28px;
  }
}

/* ==========================================================================
   RESPONSIVO MOBILE (<= 799px) — CORRIGIDO E ALINHADO AO MODELO
   ========================================================================== */
@media (max-width: 799px) {
  .about-hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-hero-plus {
    position: static;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }
  .br-desktop {
    display: none !important;
  }
  .about-wrap {
    width: calc(100% - 36px);
  }

  /* 1. HERO MOBILE */
  .about-hero {
    aspect-ratio: auto;
    min-height: 500px;
    height: auto;
    padding: 120px 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-hero-image {
    object-fit: cover;
    object-position: center bottom;
  }
  .about-hero-copy {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - 36px);
    margin: 0 auto;
  }
  .about-hero-plus {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }
  .about-hero h1 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.12;
    margin-bottom: 14px;
  }
  .about-hero p {
    font-size: 15px;
    line-height: 1.4;
  }

  /* Títulos das seções em vermelho #D52518 no Mobile */
  .about-origins h2,
  .about-ingredients h2,
  .about-seal h2,
  .about-structure-copy h2,
  .about-products h2 {
    color: #D52518 !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
  }

  /* 2. SEÇÃO 1 (ORIGENS): 1 coluna */
  .about-origins {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 44px;
    gap: 28px;
  }
  .about-origins p,
  .about-ingredients p,
  .about-seal p,
  .about-structure-copy p {
    font-size: 15px;
    line-height: 1.48;
    margin-bottom: 16px;
  }
  .about-origins-art img {
    max-width: 380px;
  }

  /* 3. SEÇÃO 2 (PRINCÍPIOS): usa principio-mobile.svg */
  .about-values {
    margin-block: 16px 52px;
  }
  .about-values-img {
    border-radius: 26px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* 4. SEÇÃO 3 (INGREDIENTES): Texto primeiro e foto depois no celular */
  .about-ingredients {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 52px;
  }
  .about-ingredients-copy {
    order: 1;
    max-width: 100%;
  }
  .about-ingredients-art {
    order: 2;
    width: 100%;
  }
  .about-ingredients-art img {
    max-width: 380px;
  }

  /* 5. SEÇÃO 4 (SELO ALIMENTOS DO PARANÁ): Cabeçalho e cards empilhados na vertical */
  .about-seal {
    padding-block: 24px 56px;
  }
  .about-seal-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
  .about-seal-head > img {
    max-width: 280px;
  }
  .about-seal-cards {
    flex-direction: column;
    gap: 0;
  }
  .about-seal-cards article {
    width: 100%;
    max-width: 380px;
    min-height: 0;
    padding: 32px 24px;
  }
  .about-seal-plus-sep {
    width: 40px;
    height: 40px;
    margin: -10px auto;
  }

  /* 6. SEÇÃO 5 (ESTRUTURA): Corrige o width: 1000% da imagem */
  .about-structure {
    padding-block: 36px 56px;
  }
  .about-structure-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .about-structure-image {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }
  .about-structure-list-wrapper {
    position: static;
    max-width: 100%;
    margin-top: 22px;
  }
  .about-structure-list {
    gap: 14px;
  }
  .about-structure-list li {
    font-size: 15px;
  }

  /* 7. SEÇÃO 6 (PRODUTOS): Carrossel 1 por vez com quadradinhos no mobile */
  .about-products {
    padding-block: 36px 72px;
  }
  .about-products-intro {
    margin-bottom: 16px;
  }
  .about-product-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 72px 4px 20px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .about-product-grid::-webkit-scrollbar {
    display: none !important;
  }
  .about-product-grid article {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: center !important;
    padding: 175px 24px 26px !important;
  }
  .about-product-grid h3 {
    color: #D52518 !important;
  }
  .about-product-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
  }
  .about-product-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: 0;
    padding: 0;
    background: #D52518;
    opacity: 0.28;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  .about-product-dot.is-active {
    opacity: 1;
  }
}