/* ══════════════════════════════════════════════════════════════
   Attuare Adesivos — Tema "Gráfica Minimalista"
   Paleta clara: branco gelo + cinza + azul elétrico
   Botões estilo cápsula (pill)
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Paleta oficial */
  --bg: #F8F9FA;            /* fundo principal (branco gelo) */
  --bg-soft: #EEF0F2;       /* fundo secundário (cinza claro) */
  --card: #FFFFFF;          /* cards brancos */
  --border: #E2E5E8;        /* bordas suaves */
  --text: #17191C;          /* texto principal (preto grafite) */
  --text-dim: #6B7075;      /* texto secundário (cinza) */
  --primary: #2563EB;       /* CTA azul elétrico */
  --primary-dark: #1D4ED8;  /* hover azul escuro */
  --primary-soft: #DBEAFE;  /* detalhes azul muito claro */

  /* Alinha o Bootstrap ao azul elétrico */
  --bs-primary: #2563EB;
  --bs-primary-rgb: 37, 99, 235;
  --bs-primary-bg-subtle: #DBEAFE;
  --bs-primary-text-emphasis: #1D4ED8;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ── Botões estilo CÁPSULA ───────────────────────────────────── */
.btn { border-radius: 999px !important; }
.btn-lg { border-radius: 999px !important; }
.btn-sm { border-radius: 999px !important; }

/* ── Navbar (fundo branco, texto grafite) ────────────────────── */
.site-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.site-nav .navbar-brand { color: var(--text); letter-spacing: 0.02em; }
.site-nav .navbar-brand:hover { color: var(--primary); }
.site-nav .nav-link { color: #454A50; font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--primary); }
.brand-star { color: var(--primary); font-size: 1.3rem; }
.site-nav .navbar-toggler { border-color: var(--border); color: var(--text); }

/* ── Hero (fundo gelo, detalhes azul claro) ──────────────────── */
.hero {
  background:
    radial-gradient(ellipse 60% 55% at 85% -10%, rgba(37, 99, 235, 0.08), transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 110%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero h1 { color: var(--text); }
.hero p.lead { color: var(--text-dim); }
.text-gradient { background: linear-gradient(92deg, var(--primary), #60A5FA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary-dark); padding: 7px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
}

/* ── Hero estilo GID (2 colunas: texto + imagem de adesivo) ── */
.hero-gid h1 { letter-spacing: 0.015em; }
.hero-divider {
  width: 84px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #60A5FA);
  margin: 20px 0 22px;
}
.hero-img {
  max-width: 420px; width: 100%; height: auto;
  filter: drop-shadow(0 24px 40px rgba(23, 25, 28, 0.10));
}
@media (max-width: 991px) {
  .hero-img { max-width: 300px; }
}

/* ── Cards de recursos ───────────────────────────────────────── */
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 18px; height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -12px rgba(23, 25, 28, 0.18); }
.feature-card i { font-size: 1.8rem; display: block; margin-bottom: 12px; color: var(--primary); }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.feature-card p { color: var(--text-dim); }

/* ── Cards de produto (brancos, borda suave, ícone azul) ─────── */
.produto-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.produto-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -14px rgba(23, 25, 28, 0.2); border-color: rgba(37, 99, 235, 0.45); }
.produto-img { height: 190px; object-fit: cover; background: var(--bg-soft); }

/* ── CTA final ───────────────────────────────────────────────── */
.cta-card {
  background: linear-gradient(140deg, var(--primary-soft), #FFFFFF 70%), var(--card);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 28px;
}
.cta-card h2 { color: var(--text); }
.cta-card p { color: var(--text-dim); }

/* ── Pix (confirmação do pedido) ─────────────────────────────── */
.pix-box { background: var(--primary-soft); border: 1px dashed rgba(37, 99, 235, 0.5); border-radius: 14px; padding: 16px; }

/* ── Rodapé (grafite escuro, texto branco) ───────────────────── */
.site-footer { background: #17191C; border-top: 1px solid #26292E; }
.site-footer .small, .site-footer a { color: #AEB4BA !important; }
.site-footer a:hover { color: #60A5FA !important; }

/* ── Rodapé profissional (multi-colunas) ────────────────────── */
.footer-brand { color: #FFFFFF !important; text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.footer-brand:hover { color: #FFFFFF !important; }
.footer-titulo { color: #FFFFFF; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { display: inline-flex; align-items: center; color: #AEB4BA; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.site-footer ul a:hover { color: #60A5FA; }
.site-footer ul span { color: #7C828A; font-size: 0.85rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #26292E; color: #AEB4BA; font-size: 1.05rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover { transform: translateY(-2px); color: #FFFFFF; background: var(--primary); }
.footer-social a.wa:hover { background: #25D366; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #26292E; border: 1px solid #33373D; border-radius: 10px;
  color: #D7DBDF; font-size: 0.82rem; font-weight: 600; padding: 8px 14px;
}
.footer-badge i { color: #60A5FA; font-size: 1rem; }
.footer-barra { border-top: 1px solid #26292E; color: #7C828A; }
.footer-barra a { color: #AEB4BA; text-decoration: none; }
.footer-barra a:hover { color: #60A5FA; }

/* ── Botão flutuante WhatsApp ────────────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #FFFFFF; font-size: 30px; text-decoration: none;
  box-shadow: 0 14px 34px -8px rgba(18, 140, 126, 0.55), 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s;
}
.wa-float:hover {
  transform: scale(1.1); color: #FFFFFF;
  box-shadow: 0 18px 42px -8px rgba(18, 140, 126, 0.65), 0 6px 16px rgba(37, 211, 102, 0.45);
}
.wa-float .wa-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: waRing 2.4s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}
.wa-float .wa-tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(23, 25, 28, 0.92);
  color: #FFFFFF; font-size: 0.85rem; font-weight: 600;
  white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes waRing {
  0% { opacity: 0.6; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.6); }
}
@media (max-width: 640px) {
  .wa-float { width: 56px; height: 56px; font-size: 27px; right: 16px; bottom: 16px; }
  .wa-float .wa-tip { display: none; }
}

/* ── Mobile 100% (até 575px) ─────────────────────────────────── */
@media (max-width: 575px) {
  .hero .display-5 { font-size: 1.85rem; }
  .preco-box .fs-1 { font-size: 2.1rem; }
  .btn-lg { width: 100%; }
  .produto-img { height: 150px; }
  .footer-titulo { margin-top: 6px; }
  /* Tabelas viram cartões empilhados (uma linha = um card) */
  .table-mobile { display: block; width: 100%; }
  .table-mobile thead { display: none; }
  .table-mobile tbody { display: block; }
  .table-mobile tr {
    display: block; border: 1px solid var(--border); border-radius: 14px;
    padding: 10px 14px; margin-bottom: 12px; background: #fff;
  }
  .table-mobile td {
    display: flex; justify-content: space-between; align-items: center;
    padding: 7px 0; border: 0; text-align: right; gap: 10px;
  }
  .table-mobile td::before {
    content: attr(data-label);
    font-weight: 700; font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-dim); flex-shrink: 0;
  }
  .table-mobile td:first-child { justify-content: flex-start; text-align: left; }
  .table-mobile td:first-child::before { display: none; }
}

/* ── Formulários (claros) ────────────────────────────────────── */
.form-control, .form-select {
  background-color: #FFFFFF; border-color: var(--border); color: var(--text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text); }

/* ── Cabeçalhos e textos ─────────────────────────────────────── */
h1, h2, h3, h4, h5 { color: var(--text); }
.text-white-50 { color: var(--text-dim) !important; }

/* ── Botão primary (azul elétrico → hover escuro) ────────────── */
.btn-primary {
  --bs-btn-bg: #2563EB;
  --bs-btn-border-color: #2563EB;
  --bs-btn-hover-bg: #1D4ED8;
  --bs-btn-hover-border-color: #1D4ED8;
  --bs-btn-active-bg: #1D4ED8;
  --bs-btn-active-border-color: #1D4ED8;
  --bs-btn-color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.5);
}
.btn-outline-light { border-color: var(--border); color: var(--text); }
.btn-outline-light:hover { background: var(--bg-soft); border-color: var(--border); color: var(--text); }

/* ── Página de produto (detalhe persuasivo) ─────────────────── */
.produto-detalhe-img img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.selo {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 600; color: var(--text); height: 100%;
}
.selo i { font-size: 1.2rem; }
.preco-box { background: var(--primary-soft); border: 1px solid rgba(37, 99, 235, 0.25); border-radius: 18px; padding: 18px 22px; }
.beneficios li { padding: 6px 0; color: var(--text); font-weight: 500; }
.beneficios li i { margin-right: 8px; }
.passo-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px 18px; height: 100%; }
.passo-num {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.btn-qtd { min-width: 44px; }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .form-control, .form-select { font-size: 16px; }
  .produto-img { height: 140px; }
  .produto-detalhe-img img { aspect-ratio: 1/1; }
}
