/* ===========================
   VARIÁVEIS
=========================== */
:root {
  --green-dark: #064e3b;
  --green-mid: #065f46;
  --green-light: #10b981;
}

/* ===========================
   CORES UTILITÁRIAS
=========================== */
.bg-green-dark {
  background-color: var(--green-dark);
}

.text-green-dark {
  color: var(--green-dark);
}

/* ===========================
   CONTAINERS
=========================== */
.header-data,
.header-main,
.menu-scroll {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   TOPO
=========================== */
.header-data {
  padding: 0.5rem 1rem;
}

.header-data {
  background-color: var(--green-dark);
}

.header-data-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.redes {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.redes a {
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.redes a:hover {
  color: var(--green-light);
}


/* ICONS */
.icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

/* ===========================
   LOGO / BUSCA
=========================== */
.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-box{
  width: 25%;
}

.search-input {
  border: 1px solid #ddd; /* cinza claro */
  border-radius: 1.5rem;   /* borda bem redonda */
  padding: 0.4rem 0.75rem;
  background-color: #fff;
    transition:
    border-color 0.2s,
    box-shadow 0.2s;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input:focus-within {
  border-color: #10b981; /* verde */
}

.search-input:focus-within .search-icon {
  color: #10b981;
}

.search-input:focus-within .search-field::placeholder {
  color: #10b981;
}

.search-icon {
  margin-right: 8px;
  font-size: 14px;
  color: #999;
}

.search-field {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.search-field::placeholder {
  color: #aaa;
}


/* ===========================
   MENU DESKTOP (estilo Vue)
=========================== */
.menu-div {
  background-color: var(--green-mid);
  padding: 0 11rem; /* igual ao Vue */
}

/* container scroll */
.menu-scroll {
  overflow-x: auto;
  white-space: nowrap;
}

/* UL */
.menu-desktop {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

/* remove bullets */
.menu-desktop li {
  list-style: none;
  flex-shrink: 0;
}

/* ITEM (equivalente ao .nav-item do Vue) */
.menu-desktop li a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  color: #ecfdf5;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.2s;
}

/* hover */
.menu-desktop li a:hover {
  background: rgba(167, 243, 208, 0.15);
  color: #a7f3d0;
}

/* scrollbar (opcional, igual Vue) */
.menu-scroll::-webkit-scrollbar {
  height: 6px;
}

.menu-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* ===========================
   DRAWER MOBILE
=========================== */
#drawer {
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

#drawer nav a {
  padding: 0.75rem 0;
  font-weight: 600;
}

/* ===========================
   OVERLAY
=========================== */
#overlay {
  backdrop-filter: blur(2px);
}

/* ===========================
   TICKER
=========================== */
/* TICKER */
.ticker-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--green-dark);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  overflow: hidden;
}

.ticker-label {
  background: #047857;
  color: #fefefe;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-wrapper {
  overflow: hidden;
  flex: 1;
  position: relative;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-item {
  font-size: 0.875rem;
  color: #d1fae5;
  opacity: 0.95;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
