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

body {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  background: #f3f4f6;
  color: #111;
  transition: all 0.3s ease;
}

body.dark {
  background: #111;
  color: #f3f4f6;
}

/* Container */
.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card {
  width: 100%;
  max-width: 500px;
  text-align: center;
  background: rgba(255,255,255,0.95);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.dark .card {
  background: rgba(20,20,20,0.95);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Header */
.card-header .logo {
  width: 202px; /*120px*/
  height: 120px;
  margin: 0 auto;
  border-radius: 10%; /*50%*/
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.dark .card-header .logo { background-color: #333; }

.card-header img { width:100%; height:100%; object-fit:cover; }

.card-header h1 {
  margin-top: 1rem; font-size:1.5rem; font-weight:bold;
}

.card-header p {
  margin-top:0.25rem; color:#555; font-size:0.9rem;
}

body.dark .card-header p { color:#ccc; }

/* Links */
.links { margin-top:1.5rem; display:flex; flex-direction:column; gap:0.75rem; }

.btn-link {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:0.75rem 1rem;
  border-radius:0.75rem;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  background: var(--gradient);
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.btn-link i { font-size:1.2rem; }

.btn-link:hover {
  transform: translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

/* Footer */
.card-footer { margin-top:1.5rem; display:flex; flex-direction:column; gap:0.5rem; }

.card-footer .social, .card-footer .actions { display:flex; justify-content:center; gap:1rem; }

.card-footer .social a {
  color: inherit;
  font-size:1.5rem;
  transition: transform 0.2s;
}

.card-footer .social a:hover { transform: scale(1.2); color:#f59e0b; }

.card-footer p { font-size:0.8rem; color:#777; }

body.dark .card-footer p { color:#aaa; }

/* Botões */
button {
  padding:0.45rem 0.8rem;
  border-radius:0.5rem;
  border:none;
  background-color:#e2e8f0;
  cursor:pointer;
  font-weight:bold;
  transition: all 0.25s ease;
}

body.dark button { background-color:#444; color:#fff; }

button:hover { transform: translateY(-1px); }

/* WhatsApp flutuante */
#floatingWhatsApp {
  position:fixed; bottom:1.25rem; right:1.25rem;
  background-color:#25D366; color:#fff;
  width:60px; height:60px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.75rem;
  box-shadow:0 6px 18px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}

#floatingWhatsApp:hover { transform: scale(1.2); }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Responsivo mobile-first */
@media (max-width: 480px) {
  .main-container {
    display: block;      /* remove flex */
    padding-top: 1rem;   /* espaço superior pequeno */
    padding-bottom: 1rem;
  }
}