/* ==========================================================================
   Itaminense — Cabeçalho

   Reproduz a estrutura do site do Toulouse FC:
     .o-topHeader  barra utilitária no fluxo normal (47px)
     .o-header     barra flutuante (fixed, top 80px) com patrocinadores à
                   esquerda, escudo centralizado e botões à direita
     .o-nlBtn      botão de contato flutuante no canto inferior direito
   ========================================================================== */

/* ---- Barra utilitária -------------------------------------------------- */

.o-topHeader {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 47px;
  padding: 15px 120px;
}

.o-topHeader__left,
.o-topHeader__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.o-topHeader a,
.o-topHeader__title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
  white-space: nowrap;
}

.o-topHeader a {
  transition: color 0.2s;
}

.o-topHeader a:hover {
  color: var(--color-accent);
}

.o-topHeader__title {
  color: var(--color-accent);
}

/* ---- Barra flutuante --------------------------------------------------- */

.o-header {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  pointer-events: none;
}

.o-header > * {
  pointer-events: auto;
}

/* patrocinadores à esquerda */
.o-header__sponsors {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a-logoSponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 40px;
  padding: 5px;
  margin: 0;
  background-color: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
}

.a-logoSponsor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* escudo centralizado, transbordando a barra */
.o-header__logo {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}

.o-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* botões à direita */
.o-header__nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.a-btnIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
}

.a-btnIcon:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* botão de contato flutuante */
.o-nlBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.o-nlBtn:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ---- Busca ------------------------------------------------------------- */

.o-search {
  position: fixed;
  inset: 0;
  z-index: 1003;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  background-color: rgba(10, 28, 63, 0.95);
  backdrop-filter: blur(6px);
}

.o-search.is-open {
  display: flex;
}

.o-search form {
  display: flex;
  gap: 10px;
  width: min(640px, 90vw);
}

.o-search input {
  flex: 1;
  font-family: var(--font-title);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-white);
  background: none;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px 4px;
}

.o-search input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.o-search__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 0;
  color: var(--color-white);
  font-size: 24px;
}

