/* ============================================================
   Portal Marituba — styles.css
   Mobile-first, responsive, app-like design
   Primary: #a30e0d  |  Secondary: #013495
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:        #a30e0d;
  --primary-dark:   #7d0b0a;
  --primary-light:  #c41211;
  --secondary:      #013495;
  --secondary-dark: #012570;
  --secondary-light:#0248c7;

  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;

  --success:   #16a34a;
  --warning:   #d97706;
  --error:     #dc2626;

  --shadow-xs: 0 1px 4px rgba(0,0,0,.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.20);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --header-h:   64px;
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: var(--font); cursor: pointer; border: none; background: none; }

svg { display: block; }

/* ── Scroll bar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Logo */
.header-logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg { width: 36px; height: 36px; }

.logo-text {
  font-size: 17px;
  color: var(--gray-800);
  letter-spacing: -0.3px;
}

.logo-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* Desktop nav */
.nav-desktop { display: none; }

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-desktop a {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
  background: rgba(163, 14, 13, .07);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.hamburger:hover { background: var(--gray-100); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 99px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(320px, 85vw);
  height: calc(100dvh - var(--header-h));
  background: var(--white);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
}

.nav-mobile.is-open { transform: translateX(0); }

.nav-mobile ul { padding: 12px 8px 24px; }

.nav-mobile li { border-bottom: 1px solid var(--gray-100); }
.nav-mobile li:last-child { border-bottom: none; }

.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-mobile a svg { width: 20px; height: 20px; flex-shrink: 0; }

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background: rgba(163,14,13,.06);
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Main offset ─────────────────────────────────────────────── */
#main { padding-top: var(--header-h); }

/* ── Banner Carousel (Ajustado para 1290x600 - Preenchimento Total) ── */
.banner-carousel {
  position: relative;
  width: 100%;
  max-width: 1290px;
  height: 600px; /* Altura exata que você pediu */
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff !important;
}

/* No celular, mantemos a proporção de altura para a imagem não achatar */
@media (max-width: 768px) {
  .banner-carousel {
    height: auto; 
    aspect-ratio: 1290 / 600;
  }
}

.carousel-track {
  display: flex;
  height: 100%; /* Força o trilho a ter 600px */
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 100%; /* Força o slide a ter 600px */
  background: #ffffff !important;
  overflow: hidden;
  display: flex; /* Ajuda no alinhamento */
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* AQUI: Força a imagem a esticar na altura toda do slide */
  object-fit: cover; /* AQUI: Faz ela cobrir tudo sem sobrar bordas brancas */
  object-position: center;
  opacity: 1 !important; 
  transition: opacity 0.5s ease;
  display: block;
}

.carousel-slide img.loaded { opacity: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent !important; 
  z-index: 2;
}

/* --- Conteúdo sobre o Banner --- */
.slide-content {
  position: relative;
  z-index: 3;
  max-width: 540px;
  color: var(--white);
  animation: slideIn 0.6s ease both;
  padding: 20px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.slide-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.slide-content h2 {
  font-size: clamp(18px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: none !important; 
}

.slide-content p {
  font-size: clamp(13px, 2vw, 16px);
  opacity: .9;
  margin-bottom: 20px;
  text-shadow: none !important; 
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(163,14,13,.5);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.slide-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(163,14,13,.55);
}

/* Carousel arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
  z-index: 10;
  opacity: .8;
}

.carousel-btn svg { width: 20px; height: 20px; color: var(--gray-800); }
.carousel-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.08); opacity: 1; }

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.5);
  transition: background var(--transition-fast), width var(--transition);
  padding: 0;
}

/* ── Section base ─────────────────────────────────────────────── */
.section {
  padding: 48px 0;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 6px;
}

.section-desc {
  font-size: 14px;
  color: var(--gray-500);
  max-width: 480px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.section-link svg { width: 16px; height: 16px; }
.section-link:hover { color: var(--primary); gap: 8px; }

/* ── Categories Section ───────────────────────────────────────── */
.categories-section { background: var(--white); }

.category-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  flex: 1;
}

.category-track::-webkit-scrollbar { display: none; }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  min-width: 110px;
  max-width: 130px;
  flex-shrink: 0;
  scroll-snap-align: start;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cat-color, var(--primary));
}

.cat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--cat-color, var(--primary)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.category-card:hover .cat-icon-wrap {
  background: color-mix(in srgb, var(--cat-color, var(--primary)) 20%, transparent);
}

.cat-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--cat-color, var(--primary));
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

.cat-count {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

.cat-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
}

.cat-arrow svg { width: 18px; height: 18px; color: var(--gray-600); }
.cat-arrow:hover { background: var(--gray-50); border-color: var(--gray-300); transform: scale(1.08); }
.cat-arrow:disabled { opacity: .35; cursor: not-allowed; }

/* ── Featured Section ─────────────────────────────────────────── */
.featured-section { background: var(--gray-50); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--gray-200);
  overflow: hidden;
}

.featured-category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.featured-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.featured-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.featured-info p {
  font-size: 12px;
  color: var(--gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
}

.rating svg { width: 14px; height: 14px; }

.open-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.open-badge.open {
  background: rgba(22,163,74,.12);
  color: var(--success);
}

.open-badge.closed {
  background: rgba(220,38,38,.1);
  color: var(--error);
}

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--secondary-light) 100%);
  padding: 48px 16px;
}

.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta-text h2 {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin: 0 auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  background: var(--white);
  color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 56px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--gray-100); }
.footer-brand .logo-text strong { color: var(--primary); }

.footer-desc {
  font-size: 13.5px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  color: var(--gray-300);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-links-group h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-100);
  margin-bottom: 16px;
}

.footer-links-group ul li + li { margin-top: 10px; }

.footer-links-group a {
  font-size: 13.5px;
  color: var(--gray-400);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links-group a:hover { color: var(--white); padding-left: 4px; }

.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
}

.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--gray-500);
}

.footer-bottom span { color: var(--primary); }

/* ── Utility: fade-in on scroll ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — Tablet ≥ 640px
   ============================================================ */
@media (min-width: 640px) {
  :root { --header-h: 68px; }

  .banner-carousel { aspect-ratio: 16/6; }

  .slide-overlay { padding: 32px 80px 64px 48px; }

  .featured-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .cta-inner { flex-direction: row; text-align: left; justify-content: space-between; }
  .cta-text p { margin: 0; }

  .category-card { min-width: 120px; }
}

/* ============================================================
   RESPONSIVE — Desktop ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }

  .hamburger { display: none; }
  .nav-mobile { display: none !important; }
  .menu-overlay { display: none !important; }
  .nav-desktop { display: flex; }

  .banner-carousel { aspect-ratio: 16/5; }

  .carousel-btn { width: 48px; height: 48px; }
  .carousel-prev { left: 20px; }
  .carousel-next { right: 20px; }

  .cat-arrow { display: flex; }

  .section { padding: 64px 0; }

  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; }

  .footer-bottom { flex-direction: row; justify-content: space-between; padding: 20px 24px; }
  .footer-inner { padding: 0 24px 56px; }

  .section-inner { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
}

/* ============================================================
   RESPONSIVE — Wide ≥ 1280px
   ============================================================ */
@media (min-width: 1280px) {
  .banner-carousel { max-height: 480px; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   CORREÇÃO DA MOBILE TAB BAR (RODAPÉ FIXO)
   ========================================================================== */

/* Esconde no Desktop */
.mobile-tab-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Abre espaço no final da página para a barra não cobrir o conteúdo */
    body {
        padding-bottom: 70px !important;
    }

    .mobile-tab-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #666;
        flex: 1;
    }

    /* AQUI ESTÁ A CORREÇÃO DO TAMANHO */
    .tab-icon svg {
        width: 22px !important;
        height: 22px !important;
        margin-bottom: 4px;
        display: block;
    }

    .tab-item span {
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .tab-item.active {
        color: #a30e0d;
    }

    .tab-item.active svg {
        stroke: #a30e0d;
    }
}

/* Limpeza do Header no Guia */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 15px;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

/* Esconde menu desktop no mobile se estiver encavalando */
@media (max-width: 991px) {
    .nav-desktop { display: none; }
}

.nav-desktop a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* REMOVER AS SETAS QUE APARECERAM NO PRINT */
.carousel-btn, 
#bannerPrev, 
#bannerNext {
    display: none !important;
}

/* Ajuste da Imagem do Banner para não ficar escura */
.carousel-slide img {
    filter: brightness(1) !important;
}

.slide-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%) !important;
}

/* 1. Esconde o menu desktop no celular */
@media (max-width: 991px) {
    .main-nav {
        display: none !important;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 2. Dá forma e cor às linhas do hamburger */
    .hamburger {
        display: block; /* Garante que o botão apareça */
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #a30e0d; /* Vermelho do Portal */
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 3px;
    }
}

.search-section {
    padding: 20px 0;
    background: #f8f9fa;
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 50px; /* Estilo pílula */
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.search-input-wrap:focus-within {
    border-color: #a30e0d;
    box-shadow: 0 4px 12px rgba(163, 14, 13, 0.1);
}

.search-icon {
    width: 20px;
    color: #888;
    margin-right: 10px;
}

#categorySearch {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.clear-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #ccc;
    cursor: pointer;
    display: none; /* Só aparece quando digita */
}

/* Dropdown de sugestões */
.search-suggestions {
    max-width: 500px;
    margin: 5px auto 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    z-index: 100;
    overflow: hidden;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #fef2f2;
}

.suggestion-emoji {
    font-size: 20px;
    margin-right: 15px;
}