@import url(./base.css);
@import url("https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Carrossel Inicio */

.carrossel {
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
  width: 90%;
  margin-left: 5%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.caption h2 {
  font-size: 2rem;
  font-family: "Georgia", serif;
}

.caption p {
  font-size: 1.2rem;
}

/* Botões de navegação */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Indicadores */
.indicators {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}

.indicators .active {
  background: var(--roxo);
}

/* Mais vendidos */

.mais-vendidos-div {
  background-image: url("/src/fundo-plantas-2.webp");
  background-size: cover;
  height: auto;
  padding-bottom: 3rem;
}

.mais-vendidos h2 {
  font-family: var(--fonte-principal);
  font-weight: bold;
  color: var(--roxo-fonte);
  text-align: center;
  text-decoration: underline;

  padding-top: 2rem;

  font-size: 30px;
}

.mais-vendidos img {
  width: 100%;
}

/* Carrossel Mais Vendidos */

.carousel-container {
  margin-top: 2rem;
  width: 100%;
  max-width: 450px;
  overflow: hidden;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  flex-wrap: nowrap;

  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
  gap: 20px;
  padding-left: calc(50% - (200px / 2));
  padding-right: 20px;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
  height: 0;
}

.carousel-track a {
  scroll-snap-align: center; /* 🛑 NOVO: Faz o elemento parar no centro */
  flex-shrink: 0;
}

.card {
  margin: 0; /* espaço entre cards */
  height: 310px;
  width: 225px !important;
  overflow: hidden;
  flex-shrink: 0; /* impede encolhimento */
  margin-bottom: 0 !important;

  color: var(--cinza-fonte);
  text-align: left;
  font-family: var(--fonte-principal);
  display: flex; /* Habilita o Flexbox */
  flex-direction: column; /* Organiza os itens (imagem, h3, p) verticalmente */
  align-items: center; /* Centraliza horizontalmente (o eixo transversal) */
  text-align: center;
}

.card img {
  border-radius: 7px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 200px !important;
  height: 250px;
  object-fit: cover;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 2px 0;
}

.card p {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 400;
}

/* Navegação */
.carousel-nav {
  text-align: center;
  margin-top: 4rem;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  background: #fff;
  border-radius: 50%;
  border: var(--roxo) 1px solid;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--roxo);
}

/* Sobre Nós */

.sobre_nos img {
  margin-top: 2rem;
  width: 250px;
}

.sobre_nos_fonte {
  text-align: center;
  padding: 0 1rem;
}

.sobre_nos_info {
  text-align: center;
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
}

.sobre_nos_info-txt {
  margin: 1rem;
  width: 40%;
  line-height: 1.2;
}

.sobre_nos_info-txt:first-child {
  width: 45%;
  margin-top: 2rem;
}

.fonte-secundaria {
  font-size: 40px;
}

.fonte-secundaria-p {
  font-size: 20px;
}

/* Tipos de Flores */

.tipos_de_flores {
  background-color: var(--roxo-fonte);
  color: #fff;
  padding-bottom: 8rem;
  width: 100%;
  box-sizing: border-box;
}

.tipos_de_flores-titulo {
  text-align: center;
  margin-top: 3rem;
}

.tipos_de_flores-titulo h2 {
  font-family: var(--fonte-escrita);
  font-weight: bold;
  font-size: 54px;
  margin-bottom: -1rem;
}

.tipos_de_flores-titulo img {
  width: 60%;
  height: 82px;
  margin: 0 auto;
}

.tipos_de_flores .custom-carousel-track > * {
  flex-shrink: 0;
}

.custom-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  box-sizing: border-box;
  padding: 0 40px;
}

.custom-carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  margin-left: -10px;
}

.custom-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 0 10px;
  flex-shrink: 0;
  width: 240px;
  text-align: center;
  padding: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(0.75);
  opacity: 0.8;
}

.custom-card.active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.custom-card img {
  border-radius: 8px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.custom-card h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.transicao1 {
  margin-top: -0.1rem;
}

/* Sobre nós 02 */

.fundo-galho01 {
  margin-top: -4rem;
  display: none;
  justify-content: right;
}

.sobre_nos-02_info {
  text-align: center;
  padding: 16px;
}

.sobre_nos-02_info img {
  width: 50vw;
  margin: 2rem auto;
}

.sobre_nos-02_info p {
  font-family: var(--fonte-texto);
  line-height: 34px;
  font-size: 20px;
  margin-bottom: 4rem;
}

.sobre_nos-02_info a {
  font-family: "Roboto";
  font-weight: bold;
  font-size: 20px;

  padding: 20px 50px;
  background-color: var(--roxo-claro);
  border-radius: 30px;
  color: #fff;
}

/* ===================================
   NOSSOS CLIENTES - CARROSSEL
   =================================== */

.clientes-carousel-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  overflow: hidden;
}

.clientes-carousel-titulo {
  line-height: 1.3;
  font-family: var(--fonte-escrita);
  font-size: 54px;
  font-weight: bold;
  margin-bottom: 50px;
  color: var(--roxo);
}

.clientes-carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.clientes-carousel-wrapper {
  overflow: hidden;
  flex: 1;
  max-width: 600px;
}

.clientes-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: center;
}

.cliente-logo-item {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.cliente-logo-item.active {
  opacity: 1;
  transform: scale(1);
}

.cliente-logo-item img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.cliente-logo-item img:hover {
  filter: brightness(1.1);
}

/* Setas de Navegação */
.clientes-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--roxo);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clientes-arrow:hover {
  background: var(--roxo);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.clientes-arrow:active {
  transform: scale(0.95);
}

.clientes-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Mobile pequeno */
@media (max-width: 480px) {
  .clientes-carousel-section {
    padding: 40px 15px;
  }

  .clientes-carousel-titulo {
    font-size: 40px;
    margin-bottom: 30px;
  }

  .clientes-carousel-container {
    gap: 10px;
  }

  .clientes-carousel-wrapper {
    max-width: 250px;
  }

  .cliente-logo-item img {
    max-height: 80px;
  }

  .clientes-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .clientes-carousel-section {
    padding: 70px 30px;
  }

  .clientes-carousel-titulo {
    font-size: 64px;
    margin-bottom: 60px;
  }

  .clientes-carousel-wrapper {
    max-width: 500px;
  }

  .cliente-logo-item img {
    max-height: 140px;
  }

  .clientes-arrow {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .clientes-carousel-section {
    padding: 80px 40px;
  }

  .clientes-carousel-container {
    max-width: 1000px;
    gap: 30px;
  }

  .clientes-carousel-wrapper {
    max-width: 600px;
  }

  .cliente-logo-item {
    padding: 30px;
  }

  .cliente-logo-item img {
    max-height: 150px;
  }

  .clientes-arrow {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

/* =================================== */
/* 💻 ESTILOS PARA TELAS GRANDES (DESKTOP) */
/* =================================== */
@media (min-width: 768px) {
  .carousel-container {
    max-width: 1200px;
    margin-top: 3rem;
  }

  .card {
    width: 300px !important;
  }

  .card img {
    width: 250px !important;
    height: 325px !important;
  }

  .card p {
    display: none;
  }

  .carousel-track {
    padding-left: 20px;
    scroll-snap-type: x mandatory;
  }

  .carousel-track a {
    scroll-snap-align: start;
  }

  .custom-carousel {
    max-width: 1000px;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
  }

  .custom-carousel-track {
    margin-top: 2rem;
    padding-left: 20px;
    padding-right: 20px;
  }

  .custom-carousel-track > * {
    flex: 0 0 300px;
    max-width: 300px;

    margin-right: 30px;
    flex-shrink: 0;
  }

  .custom-card {
    width: 100%;
    height: auto;
    transform: scale(0.9);
    margin: 0;
  }
  .custom-card.active {
    transform: scale(1.1);
  }

  .custom-card img {
    width: 100%;
    height: fit-content;
  }
}

@media (min-width: 1024px) {
  .carousel {
    width: 80vw;
    margin: 0 auto;
  }

  .fundo-galho01 {
    display: flex;
  }

  .sobre_nos_titulo {
    margin-top: 2rem;
    display: flex;
  }

  .sobre_nos_fonte {
    margin-top: 6rem;
    width: 60%;
  }

  .sobre_nos_tituloe img {
    margin-top: 0;
  }

  .sobre_nos_info {
    justify-content: space-around;
  }

  .sobre_nos_info-txt {
    width: 45%;
    display: block;
  }

  .sobre_nos-02 {
    display: flex;
    justify-content: space-between;
  }

  .fundo-galho01 {
    width: 40%;
  }

  .sobre_nos-02_info {
    width: 50%;
    margin-left: 3rem;
  }
  .sobre_nos-02_info img {
    width: 30vw;
  }
}
/* ===================================
   TIPOS DE FLORES - CARROSSEL
   Classes únicas sem conflitos
   =================================== */

.tipos-flores-section {
  background-color: var(--roxo-fonte);
  color: #fff;
  padding: 4rem 0 8rem 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Header da Seção */
.tipos-flores-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tipos-flores-header h2 {
  font-family: var(--fonte-escrita);
  font-weight: bold;
  font-size: 54px;
  margin-bottom: 0;
  color: #fff;
}

.tipos-flores-header img {
  height: 82px;
  margin: 10px auto 0;
  display: block;
}

/* Wrapper do Carrossel */
.tipos-flores-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

/* Track do Carrossel */
.tipos-flores-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px 0;
  align-items: center;
}

.tipos-flores-card-link {
  flex-shrink: 0;
  margin-right: 30px; /* Gap padrão mobile */
  text-decoration: none;
  transition: transform 0.3s ease;
  display: block;
}

/* Cards */
.tipos-flores-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  width: 240px;
  text-align: center;
  padding: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.85);
  opacity: 0.6;
  border: 3px solid transparent;
}

.tipos-flores-card.active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border: 3px solid #fff;
}

.tipos-flores-card img {
  border-radius: 8px;
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.tipos-flores-card h3 {
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: var(--roxo-fonte);
  font-family: var(--fonte-texto);
}

/* Botões de Navegação (Setas) */
.tipos-flores-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tipos-flores-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tipos-flores-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.tipos-flores-arrow.prev {
  left: 20px;
}

.tipos-flores-arrow.next {
  right: 20px;
}

/* Navegação (Dots) */
.tipos-flores-dots {
  text-align: center;
  margin-top: 3rem;
  padding: 0 20px;
}

.tipos-flores-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tipos-flores-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.tipos-flores-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Mobile pequeno */
@media (max-width: 480px) {
  .tipos-flores-section {
    padding: 3rem 0 6rem 0;
  }

  .tipos-flores-header h2 {
    font-size: 40px;
  }

  .tipos-flores-header img {
    height: 60px;
  }

  .tipos-flores-carousel-wrapper {
    padding: 30px 0;
  }

  .tipos-flores-card {
    width: 200px;
  }

  .tipos-flores-card img {
    height: 240px;
  }

  .tipos-flores-card h3 {
    font-size: 18px;
  }

  .tipos-flores-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .tipos-flores-arrow.prev {
    left: 10px;
  }

  .tipos-flores-arrow.next {
    right: 10px;
  }

  .tipos-flores-dots {
    margin-top: 2rem;
  }

  .tipos-flores-dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .tipos-flores-section {
    padding: 5rem 0 9rem 0;
  }

  .tipos-flores-header h2 {
    font-size: 58px;
  }

  .tipos-flores-carousel-wrapper {
    padding: 50px 0;
  }

  .tipos-flores-card-link {
    margin-right: 40px;
  }

  .tipos-flores-card {
    width: 280px;
    padding: 10px;
  }

  .tipos-flores-card img {
    height: 320px;
  }

  .tipos-flores-card h3 {
    font-size: 22px;
    margin-top: 20px;
  }

  .tipos-flores-arrow {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .tipos-flores-arrow.prev {
    left: 40px;
  }

  .tipos-flores-arrow.next {
    right: 40px;
  }

  .tipos-flores-dot {
    width: 14px;
    height: 14px;
    margin: 0 7px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .tipos-flores-section {
    padding: 6rem 0 10rem 0;
  }

  .tipos-flores-header h2 {
    font-size: 64px;
  }

  .tipos-flores-header img {
    height: 90px;
  }

  .tipos-flores-carousel-wrapper {
    padding: 60px 0;
  }

  .tipos-flores-card-link {
    margin-right: 50px;
  }

  .tipos-flores-card {
    width: 300px;
  }

  .tipos-flores-card img {
    height: 350px;
  }

  .tipos-flores-card h3 {
    font-size: 24px;
  }

  .tipos-flores-card.active {
    transform: scale(1.05);
  }

  .tipos-flores-arrow {
    width: 65px;
    height: 65px;
    font-size: 30px;
  }

  .tipos-flores-arrow.prev {
    left: 50px;
  }

  .tipos-flores-arrow.next {
    right: 50px;
  }
}

/* Telas grandes */
@media (min-width: 1440px) {
  .tipos-flores-card-link {
    margin-right: 60px;
  }

  .tipos-flores-card {
    width: 320px;
  }

  .tipos-flores-card img {
    height: 380px;
  }

  .tipos-flores-arrow.prev {
    left: 80px;
  }

  .tipos-flores-arrow.next {
    right: 80px;
  }
}
