*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:'Google Sans',Arial,sans-serif;
}

/* ===================== */
/* BASE LAYOUT (ESSENCIAL) */
/* ===================== */

html, body{
  height:100%;
}

body{
  background:#fff;
  color:#202124;
  -webkit-font-smoothing:antialiased;

  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* ===================== */
/* TOPBAR */
/* ===================== */

.topbar{
  position:sticky;
  top:0;
  z-index:9999;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:14px 28px;
  background:#fff;
  border-bottom:1px solid #e8eaed;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:22px;
}

.top-link{
  text-decoration:none;
  color:#3c4043;
  font-size:14px;
  font-weight:500;
}

.top-link:hover{
  color:#1a73e8;
}

.btn-top-primary{
  background:#1a73e8;
  color:#fff;
  padding:10px 18px;
  border-radius:20px;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
}

.btn-top-primary:hover{
  background:#1765cc;
}

/* ===================== */
/* WRAPPER */
/* ===================== */

.wrapper{
  max-width:1240px;
  width:100%;
  margin:0 auto;
  padding:80px 28px;

  flex:1;
}

/* ===================== */
/* SEARCH */
/* ===================== */

.hero-search{
  text-align:center;
  margin-bottom:60px;
}

.search-logo img{
  width:420px;
  max-width:90%;
  margin-bottom:25px;
}

.search-box{
  display:flex;
  justify-content:center;
}

.google-search{
  width:720px;
  max-width:92%;
  position:relative;

  padding:18px 24px;
  border-radius:24px;
  border:1px solid #dfe1e5;
  background:#fff;
  box-shadow:0 1px 6px rgba(32,33,36,.12);
}

.google-search input{
  width:100%;
  border:none;
  outline:none;
  font-size:18px;
  color:#202124;
}

/* ===================== */
/* SUGESTÕES */
/* ===================== */

.suggestions{
  position:absolute;
  top:calc(100% + 19px);
  left:0;
  width:100%;

  background:#fff;
  border-radius:0 0 19px 19px;
  box-shadow:0 8px 20px rgba(0,0,0,.15);

  display:none;
  z-index:999;
}

.suggestion-item{
  padding:14px 22px;
  cursor:pointer;
}

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

/* ===================== */
/* BANNERS FINAL PRO */
/* ===================== */

.banners-area{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:15px;
  margin:20px 0 40px;
}

/* ===================== */
/* DESKTOP (468x60 FIXO) */
/* ===================== */

.banners-area .banner{
  width:468px;
  height:60px;
  max-width:100%;

  margin:0 auto;
  border-radius:8px;
  position:relative;
  overflow:hidden;

  box-sizing:border-box;
  background:#fff;
}

/* ===================== */
/* LOADING BACKGROUND (GOOGLE COLORS LIMPOS) */
/* ===================== */

.banners-area .banner::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:8px;

  background: linear-gradient(
    90deg,
    #1c88ff,
    #fc2f25,
    #ffc307,
    #49b861,
    #1c88ff
  );

  background-size:300% 100%;
  animation: googleFlow 2.5s linear infinite;

  opacity:0.15;
  z-index:1;
  pointer-events:none;
}

@keyframes googleFlow{
  0%{ background-position:0% 50%; }
  100%{ background-position:300% 50%; }
}

/* ===================== */
/* LINK COBRE TUDO */
/* ===================== */

.banners-area .banner a{
  display:block;
  width:100%;
  height:100%;
  position:relative;
  z-index:2;
}

/* ===================== */
/* IMAGEM DESKTOP */
/* ===================== */

.banners-area .banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  position:relative;
  z-index:2;
}

/* ===================== */
/* BORDA GOOGLE APÓS CARREGAR */
/* ===================== */
/* ===================== */
/* BORDA GOOGLE ANIMADA (FUNCIONA EM TODOS) */
/* ===================== */

.banners-area .banner.loaded{
  border:2px solid transparent;
  border-radius:8px;

  background:
    linear-gradient(#fff,#fff) padding-box,
    conic-gradient(
      #1c88ff,
      #fc2f25,
      #ffc307,
      #49b861,
      #1c88ff
    ) border-box;

  animation: borderSpin 3s linear infinite;
}

/* animação */
@keyframes borderSpin{
  0%{
    background-position:0% 0%;
  }
  100%{
    background-position:360% 0%;
  }
}

/* remove loading */
.banners-area .banner.loaded::before{
  opacity:0;
}
/* ===================== */
/* MOBILE (SEM CORTAR IMAGEM) */
/* ===================== */

@media (max-width:600px){

  .banners-area .banner{
    width:100%;
    height:auto;
  }

  .banners-area .banner img{
    width:100%;
    height:auto;
    object-fit:contain;
  }
}
/* ===================== */
/* FOOTER FINAL CORRIGIDO */
/* ===================== */

.footer{
  background:#f2f2f2;
  border-top:1px solid #dadce0;
  width:100%;
  flex-shrink:0;
  margin-top:auto;
}

/* TOP FOOTER */
.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:12px 30px;
  border-bottom:1px solid #dadce0;

  font-size:14px;
  color:#5f6368;
}

.footer-brand{
  font-weight:500;
  color:#202124;
}

#counter{
  display:flex;
  gap:10px;
  font-size:12px;
  white-space:nowrap;
}

#copyEmail{
  cursor:pointer;
  white-space:nowrap;
}

/* BOTTOM DESKTOP (CORRIGIDO AQUI) */
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:12px 30px;
  font-size:13px;
}

.footer-left,
.footer-right{
  display:flex;
  gap:18px;
  align-items:center;
  white-space:nowrap;
}

.footer a{
  color:#5f6368;
  text-decoration:none;
}

.footer a:hover{
  text-decoration:underline;
}

/* ===================== */
/* MOBILE CORRIGIDO */
/* ===================== */

@media (max-width:600px){

  .footer-top{
    flex-direction:row;
    justify-content:space-between;
    gap:10px;
    overflow-x:auto;
    padding:10px 12px;
    font-size:12px;
  }

  #counter{
    font-size:11px;
    gap:6px;
  }

  .footer-bottom{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    flex-wrap:nowrap;

    gap:14px;
    padding:10px 12px;

    overflow-x:auto;
  }

  .footer-left,
  .footer-right{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
  }

  .footer a{
    font-size:12px;
    white-space:nowrap;
  }
}

/* RESPONSIVE SEARCH */
@media(max-width:900px){
  .google-search{
    width:90%;
  }
}

