@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #E91E63;
  --primary-strong: #C2185B;
  --primary-soft: rgba(43, 122, 199, 0.12);
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #5f6b7a;
  --border: #F2F2F2;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --soft-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(43, 122, 199, 0.16), transparent),
    radial-gradient(900px 400px at 90% -20%, rgba(99, 177, 255, 0.12), transparent),
    linear-gradient(180deg, #FFF5F7 0%, #FDECEF 100%);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: transparent;
  /* border-bottom: 0; */
  position: relative;
  z-index: 3;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  gap: 16px;
  position: relative;
  /* border-radius: 999px; */
  background: rgba(255, 255, 255, 0.9);
  /* border: 1px solid var(--border);
  box-shadow: var(--soft-shadow); */
}

.logo {
  font-weight: 800;
  text-decoration: none;
  color: var(--primary-strong);
  letter-spacing: -0.02em;
  font-size: 18px; 
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 60px;
  border-radius: 8px;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
  background: var(--primary);
  box-shadow: 0 8px 16px rgba(43, 122, 199, 0.2);
}

.nav .icon-link {
  width: 52px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav .icon-link svg {
  width: 22px;
  height: 22px;
}

.nav a:hover {
  transform: translateY(-1px);
  background: var(--primary-strong);
}

.social-strip-wrap {
  margin: 2px 0 16px;
  position: relative;
  z-index: 2;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  margin-bottom: -9px;
}

.social-strip-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-pill i {
  font-size: 18px;
}

.social-pill.whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.25);
}

.social-pill.instagram {
  background: linear-gradient(135deg, #f97316 0%, #e1306c 45%, #833ab4 100%);
  box-shadow: 0 8px 16px rgba(225, 48, 108, 0.25);
}

.social-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.page {
  padding: 5px 0 96px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(43, 122, 199, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button.secondary {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
  margin-bottom: 10px;
}

.button.small {
  padding: 6px 12px;
  font-size: 12px;
  box-shadow: none;
}

.button.content-link {
  background: var(--primary);
  color: #fff;
}

.button.content-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(43, 122, 199, 0.2);
}

.alert {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
}

.alert.success {
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #027a48;
}

.alert.error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.form-group { margin-bottom: 12px; }
label { display:block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dropzone {
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #f8fbff;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone.is-dragging {
  border-color: var(--primary);
  background: rgba(43, 122, 199, 0.08);
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.dropzone-list {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-responsive table {
  min-width: 800px; /* força largura mínima para ativar scroll em telas pequenas */
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f2f4f7;
  color: var(--muted);
}

img.responsive { max-width: 100%; border-radius: 12px; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;}
.actions.row { flex-wrap: nowrap; align-items: center; }
/* .inline-form { display: inline-flex; margin: 0; } */

.actions-text {
  margin: 8px 0 0 0;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 10px;
}

.text-muted { color: var(--muted); }

@media (max-width: 720px) {
  .header-inner { flex-direction: column; gap: 12px; }
  .nav a { margin-left: 0; margin-right: 12px; }
  .social-strip-wrap { margin: 0 0 12px; }
  .social-strip { border-radius: 16px; padding: 6px; gap: 8px;}
  .social-strip-label { display: none; }
  .social-pill {
    width: 30px;
    height: 30px;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
  }
  .social-pill span { display: none; }
  .social-pill i { font-size: 19px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions a, .actions button { justify-content: center; }
  .card { padding: 18px; }
  .button.small { width: auto; align-self: flex-end; }
  iframe { height: 60vh; }
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(43, 122, 199, 0.28);
}

.button.secondary:hover {
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.badge {
  background: rgba(43, 122, 199, 0.1);
  color: var(--primary-strong);
  font-weight: 700;
}

.text-muted {
  color: var(--text);
}

.header-chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F06292 0%, #F8BBD0 100%);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(43, 122, 199, 0.25);
}

.hero {
  background: linear-gradient(135deg, #F06292 0%, #F8BBD0 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--soft-shadow);
  position: relative;
}

.hero-figure {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-figure-esquerda {
  left: 5px;
  bottom: 5px;
}

.hero-figure-direita {
  right: 5px;
  bottom: 5px;
}

.hero-figure-image {
  width: clamp(88px, 11vw, 140px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(233, 30, 99, 0.2));
}

.hero h1 {
  font-size: 18px;
  line-height: 1.1;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 14px;
  position: relative;
  z-index: 1;
  color: #4A1024;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 12px;
  color: var(--primary-strong);
}

.section-title {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-figure {
  width: 48px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(233, 30, 99, 0.18));
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.product-card img.responsive {
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.media-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eef2f7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  position: relative;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
  position: absolute;
  inset: 0;
}

.media-img.is-active {
  opacity: 1;
  position: absolute;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-body {
  flex: 1;
}

.product-actions {
  margin-top: 12px;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 60px;
}

.product-card h3 {
  margin: 10px 0 6px;
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
}

.price {
  font-weight: 800;
  margin-top: 8px;
}

.site-footer {
  margin-top: 64px;
  padding: 32px 16px;
  background: #E91E63;
  color: var(--text);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.8;
}

.solver-link {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

.solver-link:hover {
  opacity: 0.85;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.modal h2 {
  margin-bottom: 16px;
}

.modal-content p {
  margin: 8px 0;
  font-size: 15px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.whatsapp-link {
  color: #2c2f3a;
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

.modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-trigger {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-trigger:hover {
  background: #C62828;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
}

/* Modal Sobre */
.about-modal {
  max-width: 720px;
}

#aboutModal {
  overflow-y: auto;
  padding: 20px;
}

#aboutModal .modal {
  max-height: 90vh;
  overflow-y: auto;
}

.about-content {
  display: flex;
  gap: 24px;
  align-items: center;
}

.about-image img {
  width: 220px;
  border-radius: 12px;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4;
  text-align: justify;
  margin-left: 15px;
  margin-right: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-image img {
    width: 100%;
    max-width: 300px;
  }
}
