* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    height: 100%
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.container {
    color: #fc9403;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Nulshock', Impact, sans-serif
}

.main-grid {
    display: grid;
    grid-template-areas: 'hero''texto''representadas''info';
    gap: 10px;
    padding: 0;
    width: 100%
}

.hero {
    grid-area: hero;
    padding: 35px 0;
    margin-bottom: 0
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px
}

.hero-text {
    flex: 0 0 65%;
    text-align: left;
    margin-left: 5px
}

.hero-text h1 {
    font-family: 'Nulshock', Impact, sans-serif;
    /* font-size: 3rem; */
    font-size: clamp(2rem, 16vw - 16rem, 3rem);
    line-height: 1.2;
    color: #0000d0;
    margin: 0
}

.texto_representadas {
    grid-area: texto;
    width: 100%;
    max-width: 100%
}

.texto_representadas p {
    font-size: clamp(1rem, 2.286vw - 0.714rem, 2rem);
    /* font-size: 2rem; */
    color: #0000d0;
    margin: 0 auto 5px;
    text-align: center;
    max-width: 1600px;
    padding: 0 10px
}

.representadas {
    grid-area: representadas;
    width: 100%;
    max-width: 100%;
    padding: 5px 0
}

.representadas .container {
    max-width: 100%;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    align-items: center;
    justify-items: center
}

.representadas img {
    max-width: 85%;
    height: auto;
    transition: transform 0.3s ease
}

.representadas img:hover {
    transform: scale(1.3)
}

.mais_informações {
    grid-area: info;
    width: 100%;
    max-width: 100%;
    padding-top: 0
}

.mais_informações p {
    font-size: 1.3rem;
    color: #0000d0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    font-family: sans-serif
}

@media (max-width:1200px) {
    .hero-text h1 {
        font-size: 2.2rem
    }

    .texto_representadas p {
        font-size: 1.8rem
    }

    .mais_informações p {
        font-size: .9rem
    }
}

@media (max-width:768px) {
    .hero-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px
    }

    .hero-image, .hero-text {
        width: 100%;
        text-align: center
    }

    .hero-text h1 {
        font-size: 1.8rem
    }

    .representadas .container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))
    }
}

@media (max-width:480px) {
    .hero-text h1 {
        font-size: 1.6rem
    }

    .texto_representadas p {
        font-size: 1.4rem
    }

    .mais_informações p {
        font-size: .9rem
    }

    .representadas .container {
        grid-template-columns: 1fr 1fr
    }
}

/* Força a posição do contador em qualquer página */
#visit-badge,
#contador-visitantes {
  position: fixed !important;
  right: 20px !important;
  bottom: calc(50px + env(safe-area-inset-bottom, 0px)) !important; /* iOS safe area */
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 2147483647 !important;
}


/* tira numeração indevida de parágrafos */
.mais_informações p {
  display: block !important;
  list-style: none !important;
}
.mais_informações p::marker,
.mais_informações p::before { content: none !important; }

/* Remove a numeração ou marcador de parágrafos em qualquer seção */
.texto_representadas p,
.representadas p,
.mais_informações p {
  display: block !important;
  list-style: none !important;
}

.texto_representadas p::marker,
.representadas p::marker,
.mais_informações p::marker,
.texto_representadas p::before,
.representadas p::before,
.mais_informações p::before {
  content: none !important;
}

#resolucao-aviso{
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(0,0,0,.85);
  color: #fff;
  font: 600 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  pointer-events: none; /* não bloqueia cliques na página */
  opacity: 0;
}

#resolucao-aviso.mostrar{
  animation: aviso-in 200ms ease-out forwards;
}

#resolucao-aviso.sumir{
  animation: aviso-out 250ms ease-in forwards;
}

@keyframes aviso-in{
  from{ opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to  { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes aviso-out{
  from{ opacity: 1; transform: translateX(-50%) translateY(0); }
  to  { opacity: 0; transform: translateX(-50%) translateY(-8px); }
}
