/* =====================  M O B I L E  ===================== */

/* ===================== LANDING — TIPOGRAFIA ===================== */

@media (max-width: 900px) {

  h1 {
    font-size: 2.4rem;
  }

  h2,
  .sections-title,
  .titulo-sessao,
  .text-side h2,
  .details-text h2,
  #distribution h2,
  #parcerias h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  h3 {
    font-size: 1.15rem;
  }

  .text-side p,
  .details-text p,
  .logistic p,
  .solutions p,
  .card-pilar p,
  #distribution p {
    font-size: 1rem;
  }

}

@media (max-width: 600px) {

  h1 {
    font-size: 2rem;
  }

  h2,
  .sections-title,
  .titulo-sessao,
  .text-side h2,
  .details-text h2,
  #distribution h2,
  #parcerias h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

}

/* ===================== LANDING — CAROUSEL ===================== */

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  #image-carousel, .carousel-container {
    height: 400px;
  }
  .carousel-text h2 { display: none; }

  .carousel-text {
    display: none;
  }
}

@media (max-width: 768px) {
  #image-carousel, .carousel-container {
    height: 300px;
  }
  .carousel-slide {
    height: 100%;
  }
}

@media (max-width: 600px) {
  #image-carousel, .carousel-container {
    height: 250px;
  }
  .carousel-text {
    display: none;
  }
  .carousel-button {
    display: none;
  }
  .carousel-container {
    touch-action: pan-y;
  }
}

/* ===================== LANDING — SCROLL SNAP ===================== */

@media (max-width: 900px) {
  body {
    scroll-snap-type: none;
  }
}

/* ===================== LANDING — MIN-HEIGHT DAS SEÇÕES ===================== */

@media (max-width: 900px) {
  .section.about,
  .section-pilar,
  #distribution,
  #solutions-section,
  #mark-details-section,
  #why-us-section {
    min-height: auto;
  }
}

/* ===================== LANDING — CONTAINER / TRADITION ===================== */

@media (max-width: 900px) {
  .container {
    flex-direction: column !important;
    min-height: auto;
    padding: 20px 0;
  }

  .container.reverse {
    flex-direction: column !important;
  }

  .content-wrapper {
    padding: 0 5%;
  }

  .text-side h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .text-side p {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 8px;
  }

  .image-wrapper {
    padding: 12px;
  }

  .image-wrapper img,
  #storage img {
    width: 100%;
    border-radius: 20px !important;
  }

  .curve-right img,
  .curve-left img,
  .curve-top-right img,
  #botanist img,
  #hila-cups img {
    border-radius: 20px !important;
  }
}

@media (max-width: 600px) {
  .text-side h2 {
    font-size: 1.5rem;
  }

  .text-side p {
    font-size: 0.95rem;
  }

  .container.reverse .content-wrapper {
    display: flex;
    flex-direction: column;
    order: 2;
  }
}

/* ===================== LANDING — PILARES ===================== */

@media (max-width: 900px) {
  .grid-pilar {
    grid-template-columns: 1fr;
    padding: 0 5%;
    gap: 14px;
  }

  .titulo-sessao {
    font-size: 1.8rem;
    padding: 20px 5% 10px 5%;
    margin-bottom: 10px;
  }

  .container-pilar {
    padding-bottom: 25px;
  }
}

@media (max-width: 600px) {
  .titulo-sessao {
    font-size: 1.5rem;
  }

  .card-pilar {
    padding: 18px;
  }
}

/* ===================== LANDING — DISTRIBUIÇÃO ===================== */

@media (max-width: 900px) {
  #distribution p {
    font-size: 15px;
    order: 2;
  }

  #distribution h2 {
    font-size: 24px;
    order: 1;
  }

  #distribution img {
    order: 2;
  }
}

/* ===================== LANDING — PARCERIAS / LOGO CAROUSEL ===================== */

@media (max-width: 600px) {
  #logo-carousel .viewport {
    width: 320px;
  }

  #logo-carousel .card.side {
    width: 100px;
    height: 90px;
    margin: 0 6px;
  }

  #logo-carousel .card.center {
    width: 150px;
    height: 130px;
    margin: 0 8px;
  }
}

#parcerias {
  text-align: center;
}

/* ===================== LANDING — STORAGE / LOGÍSTICA ===================== */

@media (max-width: 900px) {
  #str-lgt-section {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 8px;
  }

  .logistic {
    width: 100%;
  }

  .logistic-title,
  .section-title {
    font-size: 28px;
  }

  .logistic p {
    font-size: 16px;
    padding: 10px 15px;
  }

  #storage img {
    border-radius: 10px;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .logistic-title,
  .section-title {
    font-size: 22px;
  }

  #storage img {
    border-radius: 10px;
    display: block;
    margin: 0 auto;
  }
}

/* ===================== LANDING — SOLUTIONS ===================== */

@media (max-width: 900px) {
  #solutions-section {
    padding: 12px 12px 0 12px;
  }

  #solutions-header {
    padding: 12px 12px 0 12px;
  }

  #solutions-boxes {
    grid-template-columns: 1fr;
    padding: 12px 16px 20px 16px;
    gap: 16px;
  }

  .solutions {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #solutions-header {
    font-size: 15px;
    padding: 10px;
  }
}

/* ===================== LANDING — MARK DETAILS ===================== */

@media (max-width: 900px) {
  #mark-details-section {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }

  .details-text h2 {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .details-text p {
    font-size: 16px;
    padding-left: 15px;
    margin: 6px 0;
  }

  #mark-details-image {
    max-width: 400px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .details-text h2 {
    font-size: 22px;
  }

  .details-text p {
    font-size: 14px;
  }
}

/* ===================== WHY US RESPONSIVE ===================== */

@media (max-width: 900px) {
  #why-us-section {
    padding: 25px 5%;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-left {
    width: 100%;
  }

  #why-us-section .sections-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 14px;
  }

  #hila-cups {
    justify-content: center;
    order: -1;
    padding-top: 0;
  }

  #hila-cups img {
    width: 80%;
    max-width: 400px;
    border-radius: 20px;
  }

  .why-question {
    padding: 20px 60px 20px 50px;
    font-size: 0.95rem;
  }

  .why-question::after {
    left: 20px;
  }
}

@media (max-width: 600px) {
  #why-us-section {
    padding: 25px 5%;
  }

  #why-us-section .sections-title {
    font-size: 2rem;
  }

  #hila-cups img {
    width: 100%;
    max-width: 320px;
  }

  .why-question {
    font-size: 0.9rem;
    padding: 16px 50px 16px 45px;
  }

  .why-answer {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

/* ===================== FAQ ===================== */

@media (max-width: 768px) {

  .faq-section {
    padding: 110px 20px 60px;
  }

  .faq-title {
    margin-bottom: 50px;
  }

  .faq-title h1 {
    font-size: 2.3rem;
  }

  .faq-title p {
    font-size: 1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-category {
    padding: 24px;
    border-radius: 22px;
  }

  .faq-category-title {
    font-size: 1.35rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-answer p {
    font-size: 0.95rem;
    padding-bottom: 18px;
  }
}

@media (max-width: 480px) {

  .faq-section {
    padding: 100px 16px 50px;
  }

  .faq-title h1 {
    font-size: 2rem;
  }

  .faq-title p {
    font-size: 0.95rem;
  }

  .faq-category {
    padding: 20px;
  }

  .faq-category-title {
    font-size: 1.2rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 16px 18px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-answer p {
    font-size: 0.92rem;
  }
}

/* =====================  D E S K T O P  /  L A R G E  S C R E E N S  ===================== */

.container,
#str-lgt-section,
#solutions-boxes,
#mark-details-section,
.why-content,
.faq-section,
#parcerias,
#distribution .container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== TIPOGRAFIA FLUIDA COM CLAMP() ===================== */

h1 {
  font-size: clamp(2rem, 3.5vw, 4rem);
}

h2,
.sections-title,
.titulo-sessao,
.text-side h2,
.details-text h2,
#distribution h2,
#parcerias h2 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
}

h3 {
  font-size: clamp(1rem, 1.5vw, 1.6rem);
}

p,
.text-side p,
.details-text p,
.logistic p,
.solutions p,
.card-pilar p,
#distribution p {
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
}

/* ===================== LARGE DESKTOP — 1280px+ ===================== */

@media (min-width: 1280px) {

  .carousel-text h2 {
    font-size: 2.8rem;
  }

  .content-wrapper {
    padding: 0 4%;
  }

  .grid-pilar {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  #str-lgt-section {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px;
  }

  #solutions-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px 40px;
  }

  #mark-details-section {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px;
    align-items: center;
  }

  .why-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  /* Corrige o padding-top excessivo da imagem no desktop grande */
  #hila-cups {
    padding-top: 0;
    align-self: center;
  }

  .faq-section {
    padding: 60px;
  }
}

/* ===================== FULL HD / XL — 1920px+ ===================== */

@media (min-width: 1920px) {

  .container,
  #str-lgt-section,
  #solutions-boxes,
  #mark-details-section,
  .why-content,
  .faq-section,
  #parcerias,
  #distribution .container {
    max-width: 1600px;
  }

  #image-carousel,
  .carousel-container {
    height: 700px;
  }

  .carousel-text h2 {
    font-size: 3.2rem;
  }

  /* 2 colunas mantidas — 4 ficaria estreito demais com o texto dos cards */
  .grid-pilar {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
  }

  #str-lgt-section,
  #solutions-boxes,
  #mark-details-section {
    padding: 60px;
  }

  #logo-carousel .card.side {
    width: 160px;
    height: 140px;
  }

  #logo-carousel .card.center {
    width: 220px;
    height: 190px;
  }
}

/* ===================== 2K / 4K / ULTRAWIDE — 2560px+ ===================== */

@media (min-width: 2560px) {

  .container,
  #str-lgt-section,
  #solutions-boxes,
  #mark-details-section,
  .why-content,
  .faq-section,
  #parcerias,
  #distribution .container {
    max-width: 1800px;
  }

  #image-carousel,
  .carousel-container {
    height: 850px;
  }

  h1 {
    font-size: clamp(3rem, 2.8vw, 5rem);
  }

  h2,
  .sections-title,
  .titulo-sessao {
    font-size: clamp(2rem, 2.2vw, 3.8rem);
  }

  #str-lgt-section,
  #solutions-boxes,
  #mark-details-section {
    padding: 80px;
  }

  .faq-section {
    padding: 90px 80px;
  }
}

/* ===================== IMAGENS — NÃO ESTICAM EM TELAS GRANDES ===================== */

.image-wrapper img,
#mark-details-image,
#storage img,
#hila-cups img {
  max-width: 100%;
  height: auto;
}

.image-wrapper {
  max-width: 700px;
}

#mark-details-image {
  max-width: 600px;
}