* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* esconde todas por padrão */
.img-330,
.img-480,
.img-768,
.img-1024,
.img-1500 {
  display: none;
  width: 100%;
  height: 100vh;
}

#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#cookie-box {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  padding: 32px 28px 28px;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
  text-align: center;
  animation: slideUp 0.35s ease;
  font-family: "Segoe UI", system-ui, sans-serif;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#cookie-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  transition: color 0.2s;
}

#cookie-close:hover {
  color: #555;
}

#cookie-box p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

#cookie-box p span {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

#cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

#cookie-buttons button {
  padding: 11px 32px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-recusar {
  background: #f2f2f2;
  color: #555;
  border: 1px solid #e0e0e0;
}

.btn-recusar:hover {
  background: #e8e8e8;
}

.btn-aceitar {
  background: #e63946;
  color: #fff;
  letter-spacing: 0.3px;
}

.btn-aceitar:hover {
  background: #cc2f3b;
}
/* mobile pequeno: até 330px */
@media (max-width: 330px) {
  .img-330 {
    display: block;
  }
}

/* mobile: 331px até 480px */
@media (min-width: 331px) and (max-width: 480px) {
  .img-480 {
    display: block;
  }
}

/* tablet: 481px até 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .img-768 {
    display: block;
  }
}

/* desktop médio: 769px até 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .img-1024 {
    display: block;
  }
}

/* desktop grande: acima de 1024px */
@media (min-width: 1025px) {
  .img-1500 {
    display: block;
  }
}
