/* css/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #333;
}

h1, h2, h3 {
    margin: 0 0 10px;
}

a {
    text-decoration: none;
    color: #157347;
}

a:hover {
    text-decoration: underline;
}

header.hero {
    background: linear-gradient(135deg, #16a34a, #4ade80);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

header.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn-destaque {
    background: white;
    color: #16a34a;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    display: inline-block;
}

.btn-destaque:hover {
    background: #e0f2e9;
}

section.sobre {
    padding: 40px 20px;
    text-align: center;
    background: white;
}

.passos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.passos div {
    background: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    width: 200px;
}

section.ultimas {
    padding: 40px 20px;
    background: #f0fdf4;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 260px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 15px;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.1em;
    margin: 10px 10px 5px;
}

.badge {
    display: inline-block;
    background: #bbf7d0;
    color: #166534;
    padding: 4px 10px;
    font-size: 0.85em;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    background: #16a34a;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
}

.btn:hover {
    background: #15803d;
}

footer {
    background: #e5e7eb;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    margin-top: 40px;
}

.card-destacada {
    border: 3px solid #16a34a;
    background: #ecfdf5;
    box-shadow: 0 0 12px rgba(22, 163, 74, 0.2);
    position: relative;
}

.card-destacada::before {
    content: "⭐ DESTAQUE";
    position: absolute;
    top: 10px;
    left: 10px;
    background: #16a34a;
    color: white;
    padding: 4px 10px;
    font-size: 0.8em;
    border-radius: 4px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
}

img.campanha-img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.section {
  margin: 25px 0;
}

.section p {
  margin: 5px 0;
}

.qr {
  text-align: center;
}

.qr img {
  width: 220px;
  max-width: 100%;
  margin-top: 10px;
}

.btn-copy {
  display: inline-block;
  margin-top: 10px;
  background: #10b981;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.btn-copy:hover {
  background: #059669;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #999;
}

@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 20px;
  }
}

.pulse-heart {
  display: inline-block;
  animation: pulse 1.2s infinite;
  font-size: 1.2em;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.logo-topo {
  text-align: center;
  padding: 15px 0;
  animation: fadeIn 1s ease-in-out;
}

.logo-ajudepix {
  max-width: 100px; /* Reduzido de 220px */
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo-ajudepix:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

 @media (max-width: 600px) {
    form[action="#busca"] {
      flex-direction: column;
      align-items: stretch;
    }
  }
