/* ================================================
   MODERNIZATION CSS - Nicchio Sobrinho Cafe
   Todas as melhorias visuais e animacoes modernas
   ================================================ */

/* ------------------------------------------------
   CSS Variables
   ------------------------------------------------ */
:root {
  --bg-primary: #d9d0c4;
  --bg-secondary: #c4b5a0;
  --bg-dark: #2c2416;
  --text-primary: #1a1410;
  --text-secondary: #4a3f35;
  --accent: #6b7c59;
  --accent-light: #8a9e72;
  --white: #ffffff;
  --transition-speed: 0.3s;
  --glass-bg: rgba(44, 36, 22, 0.85);
  --glass-blur: 12px;
}

/* ------------------------------------------------
   1. Scroll Progress Bar
   ------------------------------------------------ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), #c4b5a0);
  z-index: 99999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(107, 124, 89, 0.5);
}

/* ------------------------------------------------
   2. Glassmorphism Navbar
   ------------------------------------------------ */
.site-navigation.navbar-fixed {
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  background: var(--glass-bg) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-navigation.scrolled .nav-link {
  transition: color var(--transition-speed) ease;
}

/* ------------------------------------------------
   3. Button Micro-interactions & Ripple
   ------------------------------------------------ */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: 0s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 89, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(107, 124, 89, 0.4);
}

.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 124, 89, 0.25);
}

/* Nav links hover effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 70%;
}

/* Social icons hover */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

/* ------------------------------------------------
   4. Enhanced Skeleton Shimmer
   ------------------------------------------------ */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card .skeleton-image,
.skeleton-card .skeleton-title,
.skeleton-card .skeleton-text {
  background: linear-gradient(
    90deg,
    rgba(196, 181, 160, 0.3) 25%,
    rgba(196, 181, 160, 0.6) 50%,
    rgba(196, 181, 160, 0.3) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: 8px;
}

/* ------------------------------------------------
   5. Card Tilt 3D Effect
   ------------------------------------------------ */
.tilt-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------
   6. Parallax Sections
   ------------------------------------------------ */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
  }
}

/* ------------------------------------------------
   7. Page Transitions
   ------------------------------------------------ */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

body {
  animation: pageEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------
   8. Lazy Load Blur-up
   ------------------------------------------------ */
.lazy-image {
  filter: blur(15px);
  transition: filter 0.6s ease;
  will-change: filter;
}

.lazy-image.loaded {
  filter: blur(0);
}

/* ------------------------------------------------
   9. Animated Hamburger Menu
   ------------------------------------------------ */
.navbar-toggler {
  position: relative;
  width: 36px;
  height: 30px;
  border: none !important;
  outline: none !important;
  padding: 0;
  background: transparent !important;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler .navbar-toggler-icon::before { top: -8px; }
.navbar-toggler .navbar-toggler-icon::after { top: 8px; }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ------------------------------------------------
   10. Animated Gradients
   ------------------------------------------------ */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.facts-area.dark-bg {
  background: linear-gradient(-45deg, #2c2416, #3d3221, #1a1410, #4a3f35);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

.footer.bg-overlay {
  background: linear-gradient(-45deg, #2c2416, #1a1410, #3d3221, #2c2416);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.page-header {
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), #c4b5a0, var(--accent));
  background-size: 300% 100%;
  animation: gradientShift 4s ease infinite;
}

/* ------------------------------------------------
   11. Enhanced Counter Animation
   ------------------------------------------------ */
.ts-facts-num,
.stat-number {
  transition: all 0.3s ease;
}

.ts-facts.animated .ts-facts-num {
  animation: counterPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes counterPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------
   12. Section Reveal Animations (AOS supplements)
   ------------------------------------------------ */
.section-sub-title {
  position: relative;
  display: inline-block;
}

.section-sub-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.section-sub-title:hover::after {
  width: 100px;
}

/* ------------------------------------------------
   13. Card hover enhancements
   ------------------------------------------------ */
.differential-card,
.journey-card,
.contact-card,
.facility-card,
.advantage-card,
.product-card,
.conduct-card,
.warehouse-location-card,
.org-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.differential-card:hover,
.journey-card:hover,
.contact-card:hover,
.facility-card:hover,
.advantage-card:hover,
.product-card:hover,
.conduct-card:hover,
.warehouse-location-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.differential-card:hover .differential-icon,
.journey-card:hover .journey-icon,
.contact-card:hover .contact-icon,
.advantage-card:hover .advantage-icon,
.product-card:hover .product-icon,
.conduct-card:hover .conduct-icon {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------
   14. Scroll indicator enhancement
   ------------------------------------------------ */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}

/* ------------------------------------------------
   15. Blog card animations
   ------------------------------------------------ */
.blog-post-card,
.news-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover,
.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.btn-load-more,
a.read-more {
  transition: all 0.3s ease;
}

.btn-load-more:hover,
a.read-more:hover {
  letter-spacing: 0.5px;
}

/* ------------------------------------------------
   16. Back to top enhanced
   ------------------------------------------------ */
#back-to-top .btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-to-top .btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(107, 124, 89, 0.4);
}

/* ------------------------------------------------
   17. Smooth section transitions
   ------------------------------------------------ */
section {
  transition: background-color 0.4s ease;
}

/* ------------------------------------------------
   18. Blog post detail enhancements
   ------------------------------------------------ */
.blog-post-detail article {
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.post-featured-image img {
  transition: transform 0.5s ease;
  border-radius: 12px;
  overflow: hidden;
}

.post-featured-image:hover img {
  transform: scale(1.02);
}

/* ------------------------------------------------
   19. Footer link hover animations
   ------------------------------------------------ */
.list-arrow li a {
  transition: all 0.3s ease;
  display: inline-block;
}

.list-arrow li a:hover {
  transform: translateX(5px);
  color: var(--accent-light);
}

.footer-social ul li a {
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-social ul li a:hover {
  transform: translateY(-3px) scale(1.15);
}

/* ------------------------------------------------
   20. Org chart card animations
   ------------------------------------------------ */
.org-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.president-card:hover .org-card-icon {
  animation: crownBounce 0.5s ease;
}

@keyframes crownBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ------------------------------------------------
   21. Responsive adjustments
   ------------------------------------------------ */
@media (max-width: 768px) {
  .scroll-progress-bar {
    height: 2px;
  }
}

/* ------------------------------------------------
   22. Smooth scrollbar (Webkit)
   ------------------------------------------------ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* ------------------------------------------------
   23. Selection color
   ------------------------------------------------ */
::selection {
  background: var(--accent);
  color: #fff;
}

::-moz-selection {
  background: var(--accent);
  color: #fff;
}

/* ================================================
   24. TIMELINE V2 - Layout Horizontal Moderno
   ================================================ */
.timeline-section-v2 {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #d9d0c4 0%, #c4b5a0 100%);
  overflow: hidden;
}

.timeline-v2-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  padding: 20px 0 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.timeline-v2-wrapper::-webkit-scrollbar {
  height: 6px;
}

.timeline-v2-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-v2-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.timeline-v2-track {
  display: flex;
  position: relative;
  min-width: max-content;
  padding: 0 80px;
  gap: 50px;
}

/* Linha horizontal conectora */
.timeline-v2-line {
  position: absolute;
  top: 28px;
  left: 80px;
  right: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  border-radius: 2px;
  z-index: 0;
}

.timeline-v2-line::before,
.timeline-v2-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-v2-line::before { left: 0; }
.timeline-v2-line::after { right: 0; }

/* Cada item da timeline */
.timeline-v2-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  max-width: 280px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Dot/ponto na linha */
.timeline-v2-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-v2-dot-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transition: all 0.4s ease;
}

.timeline-v2-item:hover .timeline-v2-dot {
  transform: scale(1.2);
  border-color: var(--accent-light);
  box-shadow: 0 0 20px rgba(107, 124, 89, 0.4);
}

.timeline-v2-item:hover .timeline-v2-dot-inner {
  background: var(--accent-light);
  transform: scale(1.2);
}

/* Ano */
.timeline-v2-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  margin: 16px 0 12px;
  letter-spacing: -1px;
  transition: all 0.3s ease;
}

.timeline-v2-item:hover .timeline-v2-year {
  transform: scale(1.1);
  color: var(--text-primary);
}

/* Card do conteudo */
.timeline-v2-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(44, 36, 22, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(107, 124, 89, 0.1);
  width: 100%;
}

.timeline-v2-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(44, 36, 22, 0.15);
  border-color: rgba(107, 124, 89, 0.3);
}

/* Icone dentro do card */
.timeline-v2-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent) 0%, #3d4a35 100%);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.timeline-v2-icon i {
  font-size: 24px;
  color: #fff;
}

.timeline-v2-card:hover .timeline-v2-icon {
  transform: rotate(-5deg) scale(1.08);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(107, 124, 89, 0.3);
}

.timeline-v2-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.timeline-v2-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Highlight card (ultimo item - 2025) */
.timeline-v2-highlight .timeline-v2-dot {
  border-color: #c4a35a;
  background: linear-gradient(135deg, #c4a35a, #e8c547);
}

.timeline-v2-highlight .timeline-v2-dot-inner {
  background: #fff;
}

.timeline-v2-highlight .timeline-v2-year {
  color: #c4a35a;
  font-size: 36px;
}

.timeline-v2-highlight .timeline-v2-card {
  background: linear-gradient(135deg, var(--accent) 0%, #3d4a35 100%);
  border-color: transparent;
}

.timeline-v2-highlight .timeline-v2-card h4,
.timeline-v2-highlight .timeline-v2-card p {
  color: #fff !important;
}

.timeline-v2-highlight .timeline-v2-icon {
  background: rgba(255, 255, 255, 0.2);
}

.timeline-v2-highlight .timeline-v2-card:hover {
  box-shadow: 0 20px 50px rgba(107, 124, 89, 0.35);
}

/* Responsivo - Timeline V2 */
@media (max-width: 991px) {
  .timeline-v2-track {
    padding: 0 30px;
  }

  .timeline-v2-item {
    min-width: 220px;
    max-width: 240px;
  }

  .timeline-v2-line {
    left: 30px;
    right: 30px;
  }
}

@media (max-width: 576px) {
  .timeline-section-v2 {
    padding: 60px 0 40px;
  }

  .timeline-v2-wrapper {
    padding: 10px 0 30px;
  }

  .timeline-v2-track {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    min-width: unset;
    gap: 10px;
  }

  .timeline-v2-line {
    display: none;
  }

  .timeline-v2-item {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }

  .timeline-v2-dot {
    width: 44px;
    height: 44px;
  }

  .timeline-v2-dot-inner {
    width: 12px;
    height: 12px;
  }

  .timeline-v2-year {
    font-size: 26px;
    margin: 10px 0 8px;
  }

  .timeline-v2-card {
    padding: 20px 18px;
  }

  .timeline-v2-highlight .timeline-v2-year {
    font-size: 30px;
  }
}

/* ================================================
   25. UX/UI MODERNIZATION - Typography & Layout
   ================================================ */

/* --- 25a. Remove uppercase from headings (modern sentence case) --- */
h2,
h3,
h4 {
  text-transform: none;
  letter-spacing: 0;
}

/* Keep uppercase only where it's intentional (like org chart titles) */
.org-position {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

/* --- 25b. Fix typography hierarchy --- */
h5 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
}

h2 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 800;
}

h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

/* --- 25c. Better section visual separation --- */
.ts-features {
  background: #fff;
  position: relative;
}

.coffee-journey-section {
  background: #f5f0ea;
}

.differentials-section {
  background: #fff;
}

.organograma-section {
  background: #f5f0ea;
}

.warehouse-location-section {
  background: #fff;
}

.news-section {
  background: #f5f0ea;
}

/* Subtle top separator for sections */
.ts-features,
.coffee-journey-section,
.differentials-section,
.organograma-section,
.warehouse-location-section,
.news-section,
.contact-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* --- 25d. Hero overlay - better contrast --- */
.hero-overlay {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* --- 25e. BR tag spacing replacement --- */
.ts-intro p,
.card-body,
.text-justify {
  margin-bottom: 1em;
}

/* Remove inline BR spacing - paragraphs handle it now */
.ts-intro br + br,
.card-body br + br {
  display: none;
}

/* Section spacing consistency (replaces <br><br> between sections) */
section + section {
  margin-top: 0;
}

/* --- 25f. Better section subtitle styling --- */
.section-sub-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- 25g. Smoother card borders --- */
.differential-card,
.journey-card,
.contact-card,
.facility-card,
.advantage-card,
.product-card,
.conduct-card,
.warehouse-location-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- 25h. Better subscribe/CTA section --- */
.subscribe.no-padding {
  padding: 40px 0;
  background: var(--bg-dark);
  color: #fff;
}

/* ================================================
   26. MEDIUM PRIORITY - Float→Flexbox, Spacing, Dated Patterns
   ================================================ */

/* --- 26a. Float to Flexbox conversions --- */

/* Header info boxes */
.header-right {
  float: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

ul.top-info-box {
  float: none;
  display: flex;
  align-items: center;
  gap: 0;
}

ul.top-info-box li {
  float: none;
}

/* Service boxes (icon + text) */
.ts-service-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ts-service-box .ts-service-icon i {
  float: none;
  flex-shrink: 0;
}

.ts-service-box .ts-service-box-content {
  margin-left: 0;
}

/* Contact info boxes */
.contact-info-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-box i {
  float: none;
  flex-shrink: 0;
}

/* Working hours */
.working-hours {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.working-hours .text-right {
  float: none;
}

/* Widget tags */
.widget-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.widget-tags ul > li {
  float: none;
}

/* Navbar toggler */
.navbar-toggler {
  float: none;
}

/* --- 26b. Consistent spacing system --- */
/* Base section padding override (was 70px, now unified to 80px) */
section,
.section-padding {
  padding: 80px 0;
}

/* Smaller padding for utility sections */
.subscribe.no-padding,
.call-to-action-box.no-padding {
  padding: 40px 0;
}

/* Consistent gap between stacked elements */
.row.mb-5 {
  margin-bottom: 2.5rem !important;
}

/* Consistent card spacing in grids */
.mb-4 {
  margin-bottom: 2rem !important;
}

/* --- 26c. Clean up dated patterns --- */

/* Remove pattern background (crossword.png texture) */
.pattern-bg {
  background-image: none !important;
  background-color: #f5f0ea;
}

/* Remove negative letter-spacing from specific elements */
.into-title,
.into-sub-title,
.service-box-title,
.widget-title {
  letter-spacing: 0;
}

/* Softer shadows throughout (replace heavy 2015-era shadows) */
.header-one .logo-area,
.header-two {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dropdown-menu {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

/* Smoother border-radius globally (replace sharp corners) */
.form-control {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 124, 89, 0.15);
}

/* Better card/panel appearance */
.card {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Footer modernization */
.footer-main {
  padding: 60px 0 40px;
}

.footer .widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Better list arrow styling */
.list-arrow li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.list-arrow li:last-child {
  border-bottom: none;
}

/* Copyright section */
.copyright {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Page header (subpages) modernization */
.page-header {
  padding: 100px 0 60px;
}

.page-header .page-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
}

.page-header .page-subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin-top: 8px;
}

/* Page header overlay - better contrast */
.page-header-overlay {
  background: rgba(0, 0, 0, 0.55);
}

/* ================================================
   27. PREMIUM DESIGN PATTERNS (Cana Boa inspired)
   Adapted for NS Café color palette
   ================================================ */

/* --- 27a. Section pill badge (label above title) --- */
.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  padding: 6px 20px;
  margin-bottom: 16px;
}

/* --- 27b. Accent word in headings --- */
.section-title-premium {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title-premium .accent {
  color: var(--accent);
  font-style: italic;
}

/* Gold/amber underline under premium titles */
.section-title-premium::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Left-aligned variant */
.section-title-premium.text-left::after {
  margin-left: 0;
}

/* --- 27c. Floating decorative circles --- */
.deco-circles {
  position: absolute;
  top: 40px;
  left: 30px;
  z-index: 0;
  pointer-events: none;
}

.deco-circle-filled {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 8px;
}

.deco-circle-outline {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.5;
}

/* Right-side decorative circles */
.deco-circles-right {
  position: absolute;
  top: 60px;
  right: 30px;
  z-index: 0;
  pointer-events: none;
}

/* --- 27d. Premium image card with floating badge --- */
.premium-image-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(107, 124, 89, 0.15);
}

.premium-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Floating stat badge on image */
.floating-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.floating-badge .badge-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.floating-badge .badge-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

.floating-badge .badge-underline {
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin-top: 6px;
}

/* --- 27e. Premium checklist items --- */
.premium-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.premium-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-primary);
}

.premium-checklist li i {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

/* --- 27f. Premium pill button with arrow --- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-premium:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 124, 89, 0.35);
  text-decoration: none;
}

.btn-premium i {
  transition: transform 0.3s ease;
}

.btn-premium:hover i {
  transform: translateX(4px);
}

/* --- 27g. Image card with text overlay (like "Nossa Origem") --- */
.image-overlay-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.image-overlay-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.image-overlay-card .overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
}

.image-overlay-card .overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.image-overlay-card .overlay-badge i {
  font-size: 14px;
}

.image-overlay-card .overlay-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.image-overlay-card .overlay-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.image-overlay-card .overlay-tags {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.image-overlay-card .overlay-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 5px 14px;
}

.image-overlay-card .overlay-tag i {
  font-size: 11px;
  color: var(--accent-light);
}

/* --- 27h. Section with position relative for deco elements --- */
.section-premium {
  position: relative;
  overflow: hidden;
}

.section-premium > .container {
  position: relative;
  z-index: 1;
}

/* --- 27i. Premium section description --- */
.section-desc-premium {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 10px;
  line-height: 1.7;
}

.text-center .section-desc-premium {
  margin-left: auto;
  margin-right: auto;
}

/* --- 27j. Responsive adjustments --- */
@media (max-width: 991px) {
  .section-title-premium {
    font-size: 30px;
  }

  .deco-circles,
  .deco-circles-right {
    display: none;
  }

  .floating-badge {
    right: 15px;
    bottom: -15px;
    padding: 10px 16px;
  }

  .floating-badge .badge-number {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .section-title-premium {
    font-size: 26px;
  }

  .image-overlay-card img {
    height: 280px;
  }

  .btn-premium {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ================================================
   28. PREMIUM CTA SECTION
   ================================================ */
.cta-premium-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.cta-premium-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background: linear-gradient(135deg, rgba(107, 124, 89, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 50px;
}

.cta-premium-content {
  flex: 1;
}

.cta-premium-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-premium-title .accent {
  color: var(--accent-light);
  font-style: italic;
}

.cta-premium-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 420px;
}

.cta-premium-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-contact-item:hover {
  background: rgba(107, 124, 89, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.cta-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-contact-icon i {
  color: #fff;
  font-size: 18px;
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
}

.cta-contact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

.cta-contact-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* Responsive CTA */
@media (max-width: 991px) {
  .cta-premium-card {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 40px 30px;
  }

  .cta-premium-desc {
    max-width: 100%;
  }

  .cta-premium-contacts {
    width: 100%;
    align-items: center;
  }

  .cta-contact-item {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 576px) {
  .cta-premium-card {
    padding: 30px 20px;
  }

  .cta-premium-title {
    font-size: 28px;
  }
}
