/* ======= RESET ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.5;
}

main.conteudo {
  padding: 30px 20px;
  max-width: 1200px;
  margin: auto;
}

/* ======= CHAMADA ======= */
.chamada {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #00b84a, #0072ff); /* verde → azul */
  color: white;
}

.chamada h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.chamada p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}


/* ======= SLIDER ======= */
.slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.slider-container {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #43a0d3;
}

/* ======= CATEGORIAS ======= */
.categorias {
  margin: 50px 0;
  text-align: center;
}

.categorias h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.grid-categorias {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.categoria {
  background: #001640;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
}

.categoria:hover {
  background: #002266;
}

/* ======= LOJAS EM DESTAQUE ======= */
.destaques {
  margin: 50px 0;
  text-align: center;
}

.destaques h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.grid-lojas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.loja {
  background: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.loja:hover {
  transform: translateY(-5px);
}

.loja img {
  height: 50px;
  margin-bottom: 10px;
}

.loja span {
  display: block;
  color: #43a0d3;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ======= CUPONS ======= */
.cupons {
  margin: 50px 0;
}

.cupons h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.card-cupom {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 900px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  gap: 20px;
}

.card-cupom img {
  height: 60px;
}

.card-cupom .info {
  flex: 1;
}

.card-cupom h3 {
  font-size: 1.2rem;
  color: #001640;
  margin-bottom: 8px;
}

.card-cupom p {
  margin-bottom: 5px;
  color: #555;
}

.card-cupom .validade {
  font-size: 0.9rem;
  color: #888;
}

.card-cupom .btn-cupom {
  background: #00b84a;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.card-cupom .btn-cupom:hover {
  background: #009c3c;
}

/* ======= FOOTER ======= */
.rodape {
  background: #001640;
  text-align: center;
  padding: 25px;
  color: white;
  margin-top: 50px;
  font-size: 0.9rem;
}

.como-funciona {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.como-funciona h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #001640;
}

.passos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.passo {
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
  background: #f1f5f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.passo:hover {
  transform: translateY(-5px);
}

.passo img {
  width: 60px;
  margin-bottom: 15px;
}

.passo h3 {
  font-size: 1.2rem;
  color: #43a0d3;
  margin-bottom: 10px;
}

.passo p {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 768px) {
  .slider {
    margin: 20px 10px;
  }

  .grid-categorias,
  .grid-lojas {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .card-cupom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .card-cupom img {
    height: 60px;
  }

  .card-cupom .btn-cupom {
    width: 100%;
  }

  .passos {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .passo {
    text-align: center;
    max-width: 90%;
  }

  .categoria {
    width: 80%;
    text-align: center;
  }

  .loja {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }

  .loja img {
    height: 40px;
  }

  .loja span {
    font-weight: bold;
    color: #43a0d3;
  }

  .chamada h1 {
    font-size: 22px;
  }

  .chamada p {
    font-size: 16px;
    margin: 10px;
  }
}


/* === Botões com efeito hover moderno === */
.card-cupom .btn-cupom:hover {
  background: #2b7ca5;
  transition: background 0.3s ease;
}

/* === Categoria com efeito de clique e sombra === */
.categoria {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categoria:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Loja com borda sutil e espaçamento melhor === */
.loja {
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  width: 150px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.loja:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* === Destaque para o valor do cashback === */
.loja span {
  display: block;
  margin-top: 5px;
  font-weight: bold;
  color: #00b84a;
}

/* === Card de Cupom com leve elevação === */
.card-cupom:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: scale(1.01);
  transition: all 0.2s ease-in-out;
}

.chamada {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #00b84a, #0072ff); /* verde → azul */
  color: white;
}

.chamada h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.chamada p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}


.detalhes-empresa {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.detalhes-empresa h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.detalhes-empresa ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  color: #444;
}

.detalhes-empresa li {
  margin-bottom: 12px;
}

.detalhes-empresa a {
  color: #7a1e80;
  text-decoration: underline;
}

.detalhes-empresa .voltar {
  display: inline-block;
  margin-top: 30px;
  background: #7a1e80;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.detalhes-empresa .voltar:hover {
  background: #5e1765;
}

/* ===== HEADER CENTRALIZADO (RESPONSIVO) ===== */
.cf-header {
  background: linear-gradient(135deg, #00a859 0%, #4dafff 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cf-header__inner {
  display: flex;
  align-items: center;          /* centraliza verticalmente */
  justify-content: center;      /* centraliza horizontalmente */
  gap: 20px;
  flex-wrap: wrap;               /* quebra se faltar espaço */
}

.cf-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cf-header__brand-text {
  font-weight: bold;
  font-size: clamp(1rem, 1.2vw + .8rem, 1.3rem);
  color: #fff;
  white-space: nowrap;
}

/* --- Logo (mantém proporção 4.5:1) --- */
.cf-header__logo {
  width: 163.63636px;        /* desktop base */
  height: 36.36364px;
  object-fit: contain;
  display: block;
}

/* --- Busca --- */
.cf-search { position: relative; }

.cf-search__input {
  width: clamp(180px, 28vw, 360px);  /* fluido conforme viewport */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 36px 8px 12px;
  color: #fff;
}

.cf-search__input::placeholder { color: rgba(255, 255, 255, 0.6); }

.cf-search__btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.cf-search__btn svg {
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
  fill: none;
}

/* ===== Breakpoints ===== */

/* Tablets ≤ 768px: reduz levemente a logo */
@media (max-width: 768px) {
  .cf-header__logo {
    width: 140px;
    height: 31.11111px; /* 140 / 4.5 */
  }
}

/* Phones ≤ 480px: some o texto p/ dar espaço e ajusta logo/busca */
@media (max-width: 480px) {
  .cf-header__brand-text { display: none; }
  .cf-header__logo {
    width: 120px;
    height: 26.66667px; /* 120 / 4.5 */
  }
  .cf-header__inner { gap: 12px; }
}

/* Micro ≤ 360px: último ajuste fino */
@media (max-width: 360px) {
  .cf-header__logo {
    width: 110px;
    height: 24.44444px; /* 110 / 4.5 */
  }
}



.chamada {
  background: linear-gradient(135deg, #001640, #003f91);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 1100px;
}

.chamada-conteudo {
  max-width: 800px;
  margin: 0 auto;
}

.chamada {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #00b84a, #0072ff); /* verde → azul */
  color: white;
}

.chamada h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.chamada p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}


.btn-primario {
  background: #00bfff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primario:hover {
  background: #009acd;
}

/* Caixa fixa para a logo dentro do card */
.card-cupom .logo-box{
  width: 140px;           /* ajuste conforme seu layout */
  height: 70px;           /* ajuste conforme seu layout */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.card-cupom .logo-box img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;     /* evita distorção */
  display: block;
}

@media (max-width: 768px){
  .card-cupom .logo-box{ margin: 0 auto; }
}

