/* =========================================================
   LINHAMARÉ — HOME
   ========================================================= */

/* Hero */
.hero-home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaf5 0%, #f7f7f2 100%);
}

.hero-banner-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--header-h);
  padding-bottom: 0;
}

.hero-carousel-full {
  position: relative;
}

.hero-slides-full {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 900;
  min-height: clamp(300px, 46.875vw, 900px);
  overflow: hidden;
  background: #f5f2e8;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide picture,
.hero-slide-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img,
.hero-slide-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(10, 10, 10, 0.08);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-control:hover {
  background: var(--yellow);
}

.hero-control-prev { left: 18px; }
.hero-control-next { right: 18px; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  margin-top: 0;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--yellow-strong);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.hero-proof {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-right: 1px solid rgba(10, 10, 10, 0.08);
}

.proof-item:last-child { border-right: 0; }

.proof-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.proof-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-item strong,
.proof-item small { display: block; }

.proof-item strong {
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-item small {
  margin-top: 3px;
  color: #66665f;
  font-size: 11px;
}

/* Faixa de marcas */
.brands-marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brands-scroll 34s linear infinite;
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

.brands-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 0 24px;
}

.brand-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 134px;
  max-height: 34px;
  object-fit: contain;
  opacity: 0.94;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Categorias home */
.categories-home {
  background: var(--paper);
}

.categories-heading h2 span,
.categories-heading h2 em {
  display: block;
}

.categories-heading h2 em {
  color: var(--yellow-strong);
  font-style: normal;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(10, 10, 10, 0.05);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 0, 0.55);
  box-shadow: 0 20px 38px rgba(10, 10, 10, 0.1);
}

.home-product-card-media {
  height: 180px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 6px 6px 0;
}

.home-product-card-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}

.home-product-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.home-product-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 19px;
  line-height: 1.15;
}

.home-product-card span {
  color: var(--yellow-strong);
  font-size: 14px;
  font-weight: 700;
}

/* Sobre */
.intro {
  padding-bottom: 42px;
  background: var(--off-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.intro-copy {
  padding-top: 46px;
}

.intro-copy p {
  color: #4c4c48;
  font-size: 16px;
  line-height: 1.85;
}

.intro-copy .text-link {
  margin-top: 14px;
}

/* Logística */
.logistics-section {
  padding-top: 10px;
  background: var(--off-white);
}

.logistics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.logistics-map {
  min-height: 320px;
}

.logistics-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
}

.logistics-content h2 {
  margin-bottom: 22px;
  color: var(--black);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.logistics-content p {
  max-width: 520px;
  margin-bottom: 16px;
  color: #4c4c48;
  font-size: 15.5px;
  line-height: 1.8;
}

.logistics-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.logistics-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logistics-highlight-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.logistics-highlight-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logistics-highlight strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logistics-highlight small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

/* Banner */
.banner-section {
  padding: 72px 0;
  background: var(--paper);
}

.brand-banner {
  display: block;
  overflow: hidden;
  background: var(--yellow);
  border: 1px solid rgba(10, 10, 10, 0.22);
}

.brand-banner img {
  width: 100%;
  transition: transform 0.5s ease;
}

.brand-banner:hover img {
  transform: scale(1.008);
}

/* Processo */
.process-section {
  color: var(--white);
  background: var(--black);
}

.process-section .section-heading h2 {
  max-width: 1000px;
  color: var(--white);
}

.process-section .kicker {
  color: rgba(255, 255, 255, 0.76);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.process-step {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.process-step > span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.process-step h3 {
  max-width: 280px;
  margin: 92px 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.process-step p {
  max-width: 330px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.7;
}

/* CTA final */
.final-cta {
  background: var(--yellow);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.final-cta .kicker {
  color: rgba(10, 10, 10, 0.72);
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 5.5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.final-cta-action p {
  margin-bottom: 26px;
  color: rgba(10, 10, 10, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.btn-final-cta {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-final-cta:hover {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}

.btn-final-cta span {
  color: var(--yellow);
}

/* Responsivo Home */
@media (max-width: 1240px) {
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }

  .intro-grid,
  .final-cta-inner,
  .logistics-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 720px;
    padding-top: 0;
  }

  .logistics-map {
    min-height: 0;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .hero-banner-wrap {
    padding-top: var(--header-h);
  }

  .hero-slides-full {
    min-height: 0;
  }

  .hero-dots {
    bottom: 12px;
  }

  .hero-control {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .hero-control-prev { left: 10px; }
  .hero-control-next { right: 10px; }

  .brand-item {
    min-width: 130px;
    height: 46px;
    padding: 0 18px;
  }

  .brand-item img {
    max-width: 112px;
    max-height: 28px;
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 250px;
  }

  .process-step h3 {
    margin-top: 66px;
  }

  .banner-section {
    padding-bottom: 72px;
  }
}

@media (max-width: 580px) {
  .hero-slides-full {
    aspect-ratio: 700 / 764;
    min-height: 0;
  }

  .hero-dots {
    bottom: 10px;
  }

  .hero-proof {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .categories-heading .text-link {
    width: fit-content;
  }

  .logistics-highlight {
    align-items: flex-start;
  }
}
