/* Reset e base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  color: #3E3E3E;
  background-color: #FDF9F5;
  line-height: 1.6;
}

/* Header profissional — clean e floral */
.site-header {
  background: white;
  color: #3E3E3E;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 60px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #8B9467;
  text-decoration: none;
}

/* === Menu de Navegação com Dropdown Aprimorado === */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a,
.main-nav .dropdown-toggle {
  color: #5A5A5A;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  height: 100%;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav .dropdown:hover .dropdown-toggle {
  color: #8B9467;
}

/* Dropdown */
.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-toggle::after {
  content: "▼";
  font-size: 0.5rem;
  opacity: 0.6;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.main-nav .dropdown:hover .dropdown-toggle::after,
.main-nav .dropdown.active .dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown menu */
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 240px;
  box-shadow: 0 8px 25px rgba(139, 148, 103, 0.15);
  border-radius: 12px;
  padding: 1rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1001;
  border: 1px solid #f0eae2;
  display: block !important;
}

.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu li {
  margin: 0;
  padding: 0;
  display: block;
}

.main-nav .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.6rem;
  color: #3E3E3E;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.25s;
  position: relative;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.main-nav .dropdown-menu a i {
  width: 20px;
  text-align: center;
  color: #8B9467;
}

.main-nav .dropdown-menu a:hover {
  background: #fdf9f5;
  color: #8B9467;
  padding-left: 1.8rem;
}

.main-nav .dropdown-menu a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #8B9467;
  border-radius: 0 4px 4px 0;
}

/* Destaque no "Portfólio" */
.main-nav .dropdown-menu .highlight-item {
  font-weight: 600;
  background: #f9f7f4;
  border-left: 3px solid #8B9467;
  margin-top: 8px;
  padding-left: 1.5rem !important;
}

.main-nav .dropdown-menu .highlight-item i {
  color: #2E7D32;
}

.main-nav .dropdown-menu hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 0.6rem 1.5rem;
}

/* Botão do menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 21px;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #8B9467;
  border-radius: 2px;
}

/* Barra de busca */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.search-form input,
.search-form select,
.search-form button {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #D1C8B9;
  font-size: 1rem;
}

.search-form input,
.search-form select {
  flex: 1;
  min-width: 150px;
  background: white;
}

.search-form button {
  background: #8B9467;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
  border-radius: 8px;
}

.search-form button:hover {
  background: #7A825D;
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.results {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: #6B6B6B;
}

/* Grid de flores */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(139, 148, 103, 0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #F0EAE2;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(139, 148, 103, 0.15);
}

/* Thumb com proporção fixa */
.thumb {
  position: relative;
  cursor: pointer;
  height: 0;
  padding-bottom: 66%;
  overflow: hidden;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .thumb img {
  transform: scale(1.04);
}

.video-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(139, 148, 103, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.card h3 {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1.15rem;
  color: #3E3E3E;
}

.card .cat {
  padding: 0 1rem 1rem;
  color: #8B9467;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Paginação */
.pagination {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 0;
}

.pagination a {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: #F8F4F0;
  color: #8B9467;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid #EDE6D9;
}

.pagination a:hover,
.pagination a.active {
  background: #8B9467;
  color: white;
  border-color: #8B9467;
}

/* Footer */
.site-footer {
  background: #2E2E2E;
  color: #EAEAEA;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  color: #95bc00;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-brand p {
  color: #B8B8B8;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #D4A5A5;
}

.footer-contact p {
  margin: 0.4rem 0;
  color: #CCCCCC;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #444;
  color: #999;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 16px;
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lb-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #F0EAE2;
  border: none;
  color: #8B9467;
  font-size: 1.6rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.lb-close:hover {
  background: #8B9467;
  color: white;
}

#lb-body img,
#lb-body iframe {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Botão WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  z-index: 9998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-custom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* Horário de funcionamento no footer */
.footer-hours h4 {
  color: #95bc00;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #CCCCCC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
}

.hours-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.hours-list .day {
  font-weight: 500;
}

.hours-list .time {
  text-align: right;
  white-space: nowrap;
}

/* Slider de Destaques */
.featured-slider {
  padding: 0;
  margin: 0 auto 2.5rem;
  max-width: 1200px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(139, 148, 103, 0.2);
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 2rem 2rem 2.5rem;
  text-align: center;
}

.slide-content h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.slide-content p {
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: #8B9467;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #7A825D;
}

/* Botões de navegação do slider */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #8B9467;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.prev { left: 20px; }
.next { right: 20px; }

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-indicators button.active {
  background: white;
}

/* ✅ Mobile: menu responsivo com ícones e toque */
@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    display: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    border-bottom: 1px solid #F0EAE2;
    z-index: 999;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a,
  .main-nav .dropdown-toggle {
    padding: 0.9rem 1.2rem;
    width: 100%;
    justify-content: space-between;
    font-size: 1.1rem;
  }

  /* Dropdown no mobile vira expansível */
  .main-nav .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #fbfaf7;
    padding: 0.8rem 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    margin-top: 0.4rem;
    border: none;
    border-radius: 0 0 10px 10px;
  }

  .main-nav .dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.8rem 0;
  }

  .main-nav .dropdown-toggle::after {
    content: "▶";
    transform: rotate(0deg);
  }

  .main-nav .dropdown.active .dropdown-toggle::after {
    transform: rotate(90deg);
  }

  .menu-toggle {
    display: flex;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form input,
  .search-form select,
  .search-form button {
    width: 100%;
  }

  .footer-content,
  .hours-list li {
    grid-template-columns: 1fr;
    text-align: center;
    flex-direction: column;
  }

  .slider-container { height: 320px; }
  .slide-content h2 { font-size: 1.6rem; }
  .slider-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .prev { left: 10px; }
  .next { right: 10px; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.35rem; }
  .header-content { flex-direction: column; align-items: flex-start; }
  .search-form { margin-top: 1rem; order: 2; }
  .slider-container { height: 260px; }
  .slide-content { padding: 1.2rem; }
  .slide-content h2 { font-size: 1.4rem; }
  .slide-content p { font-size: 0.95rem; margin-bottom: 1rem; }
}