@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ================================================================
   DEC.IMAGEM Ã¢â‚¬â€ ECOMMERCE AESTHETIC FOR INSTITUTIONAL SITE
   ================================================================ */

:root {
  --bg-color: #f4f5f7; /* Match card background */
  --card-bg-light: #f4f5f7;
  --card-bg-dark: #111827; /* Dark slate */
  --card-bg-darker: #0f172a;
  
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  --text-gray-dark: #475569;
  --text-gray-light: #94a3b8;
  
  --badge-yellow-bg: #fef08a;
  --badge-yellow-text: #854d0e;
  --badge-green-bg: #bbf7d0;
  --badge-green-text: #166534;
  --badge-gray-bg: #e2e8f0;
  --badge-gray-text: #334155;
  
  --border-radius-card: 24px;
  --border-radius-inner: 16px;
  --border-radius-pill: 9999px;
  
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-dark: 0 20px 40px rgba(0, 0, 0, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ================== HEADER & PILLS ================== */
.top-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px 48px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.brand-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-icon {
  width: 24px;
  height: 24px;
  background: var(--text-dark);
  border-radius: 4px;
}

.nav-pills-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 40px 32px 40px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--card-bg-light);
  border: none;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-gray-dark);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}

.nav-pill:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

.nav-pill.active {
  background: #0f172a;
  color: var(--text-light);
  border-color: #0f172a;
}

.nav-pill svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

/* ================== GRID & CARDS ================== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.bento-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

/* Base Card */
.eco-card {
  border-radius: var(--border-radius-card);
  position: relative;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #0f172a;
  z-index: 2;
}

.eco-card-dark:hover, .eco-card-darker:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}
.eco-card-static {
  cursor: default !important;
}
.eco-card-static:hover {
  transform: none !important;
  box-shadow: var(--shadow-card) !important;
  border-color: transparent !important;
}
.eco-card-dark.eco-card-static:hover {
  box-shadow: none !important;
}

.eco-card-light {
  background: var(--card-bg-light);
  box-shadow: var(--shadow-card);
  color: var(--text-dark);
}

.eco-card-dark {
  background: linear-gradient(135deg, var(--card-bg-dark), #1e293b);
  box-shadow: var(--shadow-card-dark);
  color: var(--text-light);
}

.eco-card-darker {
  background: linear-gradient(135deg, var(--card-bg-darker), #111827);
  box-shadow: var(--shadow-card-dark);
  color: var(--text-light);
}

/* Spans */
.col-12 { grid-column: span 12; }
.col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }

@media (max-width: 1024px) {
  .col-7, .col-5 { grid-column: span 6; }
}

@media (max-width: 768px) {
  .col-12, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2 {
    grid-column: span 12;
  }
  .hero-wide {
    flex-direction: column;
    padding: 24px;
  }
  .hero-wide .hero-content {
    max-width: 100%;
  }
}

/* Layout inside Wide Dark Card (Hero) */
.hero-wide {
  display: flex;
  flex-direction: row;
  min-height: 360px;
  padding: 40px;
}

.hero-wide .hero-content {
  flex: 1;
  max-width: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-wide .hero-image {
  position: absolute;
  right: -5%;
  top: 0;
  height: 110%;
  width: 60%;
  object-fit: cover;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%);
}

.hero-wide h2 {
  font-size: 40px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.hero-wide ul {
  list-style: none;
}
.hero-wide ul li {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: #cbd5e1;
}
.hero-wide ul li::before {
  content: "Ã¢â‚¬Â¢";
  color: #94a3b8;
  margin-right: 8px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 16px;
  min-width: 56px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.badge-yellow { background: rgba(254, 240, 138, 0.85); color: var(--badge-yellow-text); }
.badge-green { background: rgba(187, 247, 208, 0.85); color: var(--badge-green-text); }
.badge-gray { background: rgba(226, 232, 240, 0.8); color: var(--badge-gray-text); border: 1px solid rgba(255,255,255,0.4); }
.badge-dark { background: rgba(51, 65, 85, 0.8); color: #f8fafc; border: 1px solid rgba(255,255,255,0.1); }

.badge-yellow svg { width: 12px; height: 12px; margin-right: 4px; }

/* Product/Service Image area inside standard cards */
.card-img-top {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--border-radius-inner);
  mix-blend-mode: darken;
  
  margin-bottom: 20px;
}

.card-img-square {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius-inner);
  mix-blend-mode: darken;
  
  margin-bottom: 16px;
}

.card-img-tall {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--border-radius-inner);
  mix-blend-mode: darken;
  
  margin-bottom: 24px;
}

/* Titles inside cards */
.eco-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.eco-card p {
  font-size: 14px;
  color: var(--text-gray-dark);
}

.eco-card-dark p, .eco-card-darker p {
  color: #94a3b8;
}

/* Bottom Action Area (replacing Price and Cart button) */
.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
}

.card-subtitle {
  font-size: 20px;
  font-weight: 800;
}

.btn-dark-pill {
  background: linear-gradient(135deg, var(--card-bg-darker), #111827);
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-dark-pill:hover {
  background: #000;
}

.eco-card-dark .btn-dark-pill {
  background: #ffffff;
  color: #000;
}

.btn-round-arrow {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--card-bg-darker), #111827);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-round-arrow:hover {
  transform: translateX(4px);
}

.btn-round-arrow svg {
  width: 20px;
  height: 20px;
}

/* Badges positioned absolute */
.abs-badge-left {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
}

.abs-badge-right {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
}


.img-bw-hover {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.eco-card:hover .img-bw-hover {
  filter: grayscale(0%);
}

/* ================== STORE STYLES ================== */
.store-nav-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0 40px 32px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.store-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  border: none;
  border-radius: 100px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.store-nav-pill:hover {
  background: var(--card-bg-light);
  border-color: var(--text-dark);
}

.eco-card-product {
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.product-badges {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-top-rated { background: #fef08a; color: #854d0e; }
.badge-new-arrival { background: #dcfce7; color: #166534; }
.badge-in-stock { background: #d1fae5; color: #065f46; }
.badge-spec { background: #334155; color: #f8fafc; }
.badge-spec-light { background: #f1f5f9; color: #475569; }

.product-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  margin-top: 24px;
}
.product-img-wrap img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.eco-card-product:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.product-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-price {
  font-size: 24px;
  font-weight: 800;
}
.btn-view {
  background: var(--text-dark);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}
.eco-card-dark .btn-view {
  background: white;
  color: var(--text-dark);
}
.btn-cart-icon {
  width: 40px;
  height: 40px;
  background: var(--text-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-span-2 {
  grid-row: span 2;
}

/* Contact Form 7 Bento Styling */
.wpcf7 {
  width: 100%;
}
.wpcf7 form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.wpcf7 p {
  margin: 0;
  grid-column: span 1;
}
.wpcf7 p:has(select), .wpcf7 p:has(textarea), .wpcf7 p:has(.wpcf7-submit) {
  grid-column: span 1;
}
.wpcf7 label {
  display: block;
  font-size: 14px;
  color: #475569;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  width: 100%;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #f8fafc;
  color: #111827;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}
.wpcf7 input[type="submit"] {
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  margin-top: 16px;
}
.wpcf7 input[type="submit"]:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.wpcf7-response-output {
  grid-column: span 2;
  border-radius: 8px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .wpcf7 form {
    grid-template-columns: 1fr;
  }
  .wpcf7 p {
    grid-column: span 1 !important;
  }
}

/* Bulletproof CF7 Button */
.wpcf7 .wpcf7-submit,
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  background: #111827 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 32px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-family: 'Inter', sans-serif !important;
  margin-top: 16px !important;
  text-transform: none !important;
  box-shadow: none !important;
}
.wpcf7 .wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
  background: #1f2937 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Fix CF7 input widths */
.wpcf7-form-control-wrap { display: block; width: 100%; }


.card-link {
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: underline;
    display: inline-block;
    transition: color 0.2s;
}
.card-link:hover {
    color: #2563eb !important;
}
