/* ===== SEÇÃO ESTAÇÕES ===== */
.stations-section {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
  position: relative;
  overflow: hidden;
}

.stations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.3;
}

/* ===== HEADER DA SEÇÃO ===== */
.stations-header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 3.2rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0.8;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.decoration-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 100%);
  border-radius: 1px;
}

.decoration-icon {
  font-size: 1.2rem;
  color: var(--primary);
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

/* ===== INTRO DA SEÇÃO ===== */
.stations-intro {
  margin-bottom: 4rem;
}

.stations-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-dark);
  line-height: 1.7;
  text-align: center;
  opacity: 0.85;
  padding: 0 1.5rem;
}

.stations-structure-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ESTAÇÕES GOURMET ===== */
.stations-showcase {
  width: 100%;
  position: relative;
}

.stations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Cada card */
.stations-list .station-card {
  flex: 1 1 calc(25% - 20px);
  /* 4 por linha no desktop */
  max-width: 280px;
  min-width: 220px;
  text-align: center;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stations-list .card-image,
.stations-list .card-info {
  margin: 0;
}

/* Moldura da imagem */
.stations-list .card-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #f0c27b;
  transition: transform 0.3s ease;
}

.stations-list .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

/* Área de título e subtítulo */
.stations-list .card-info {
  margin-top: 12px;
  padding: 8px;
  border: 2px solid #f0c27b;
  border-radius: 12px;
  background: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.stations-list .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.stations-list .card-subtitle {
  font-size: 0.95rem;
  color: #555;
  margin: 4px 0 0 0;
}

/* Efeito hover geral */
.stations-list .station-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Efeito hover na imagem */
.stations-list .station-card:hover .card-image img {
  transform: scale(1.05);
}

/* Efeito hover no card-info */
.stations-list .station-card:hover .card-info {
  background: #fffbe6;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ===== MENU ITENS ===== */
#menu-opcoes {
  margin-bottom: 5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #fff 0%, #fbfbfc 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.menu-item:hover::before {
  opacity: 1;
}

.menu-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(203, 151, 84, 0.25);
  color: #fff;
}

.item-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.menu-item:hover .item-icon {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: scale(1.1);
}

.item-icon i {
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.3s ease;
}

.item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.item-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  letter-spacing: 0.3px;
}

.menu-item:hover .item-name {
  color: #fff;
  transform: translateX(5px);
}

/* ===== CTA SECTION APRIMORADA ===== */
.cta {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: clamp(3rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease-out;
}

.cta-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.cta-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-dark);
  margin: 0;
  opacity: 0.8;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(203, 151, 84, 0.3);
  cursor: pointer;
  white-space: nowrap;
  margin: clamp(0.5rem, 2vw, 1rem) auto 0 auto;
  width: fit-content;
  min-width: 0;
  max-width: fit-content;
  box-sizing: border-box;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(203, 151, 84, 0.4);
  animation: pulse 0.6s ease-in-out;
}

.cta-button:focus {
  outline: 3px solid rgba(203, 151, 84, 0.6);
  outline-offset: 4px;
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: scale(1.1);
}

/* Efeito de brilho sutil */
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(203, 151, 84, 0.02), rgba(201, 181, 89, 0.02));
  background-size: 200% 200%;
  animation: backgroundMove 8s linear infinite;
  z-index: 0;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(203, 151, 84, 0.08),
      transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.cta:hover::after {
  opacity: 1;
}

/* Animações */
@keyframes slideInUp {
  0% {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
  }

  60% {
    transform: translateY(-5px) scale(1.01);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translateY(-3px) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.05);
  }
}

@keyframes backgroundMove {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* ===== RESPONSIVIDADE ===== */

/* === 1024px === */
@media (max-width: 1024px) {

  /* Títulos da seção */
  .section-title {
    font-size: 2.8rem;
  }

  /* Carrossel */
  .stations-list .station-card {
    flex: 1 1 calc(50% - 20px);
    max-width: 320px;
  }

  .card-image {
    aspect-ratio: 3/4;
    height: auto;
  }

  .card-info {
    padding: 1rem;
  }

  .carousel-track {
    gap: 18px;
    padding: 0 0.5rem;
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .carousel-controls {
    margin-top: 20px;
  }

  /* Menu grid */
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .menu-item {
    padding: 1.5rem 2rem;
  }

  .item-icon {
    width: 55px;
    height: 55px;
  }

  .item-name {
    font-size: 1.2rem;
  }
}

/* === 768px === */
@media (max-width: 768px) {
  .stations-section {
    padding: 4rem 0 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .stations-description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Carrossel */
  .stations-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scroll-padding-left: 0;
    scroll-behavior: smooth;
    justify-content: flex-start;
  }

  .stations-list .station-card {
    flex: 0 0 80%;
    max-width: none;
    scroll-snap-align: start;
  }

  .card-image {
    border-width: 1px;
    border-radius: 8px;
  }

  .card-info {
    padding: 0.5rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-subtitle {
    font-size: 0.8rem;
  }

  .carousel-controls {
    margin-top: 18px;
  }

  .carousel-btn {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  /* Menu grid */
  .menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: max-height 0.3s ease;
    -webkit-overflow-scrolling: touch;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
  }

  .menu-item {
    padding: 1.25rem 1.5rem;
  }

  .item-icon {
    width: 50px;
    height: 50px;
  }

  .item-name {
    font-size: 1.1rem;
  }
}

/* === 480px === */
@media (max-width: 480px) {
  .stations-section {
    padding: 3rem 0 2rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .stations-intro {
    margin-bottom: 3rem;
  }

  .stations-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Carrossel */
  .stations-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 0;
    scroll-behavior: smooth;
    justify-content: flex-start;
  }

  .stations-list .station-card {
    flex: 0 0 90%;
    max-width: none;
    scroll-snap-align: start;
  }

  .card-image {
    border-width: 1px;
    border-radius: 8px;
  }

  .card-info {
    padding: 0.5rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-subtitle {
    font-size: 0.8rem;
  }

  .carousel-controls {
    margin-top: 13px;
    gap: 12px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Menu grid */
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .menu-item {
    padding: 1rem 1.25rem;
    gap: 1.25rem;
  }

  .item-icon {
    width: 45px;
    height: 45px;
  }

  .item-icon i {
    font-size: 1.3rem;
  }

  .item-name {
    font-size: 1rem;
  }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {

  .cta,
  .cta-button,
  .cta-button i,
  .cta::before,
  .cta::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-contrast: high) {
  .cta {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }

  .cta-button:focus {
    outline-width: 4px;
    outline-color: var(--primary);
  }
}