
/* RODAI ACHADINHOS — ESTILO COMPLETO */
:root {
  --dark: #14251f;
  --green: #244b38;
  --lime: #d8f56e;
  --bg: #f7f8f5;
  --white: #fff;
  --text: #192820;
  --muted: #738077;
  --border: #e5e9e2;
  --soft: #edf2e9;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.announcement {
  min-height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 16px;
  background: var(--dark);
  color: white;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.announcement span { color: var(--lime); }

.header {
  width: min(1320px, calc(100% - 64px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--dark);
  color: var(--lime);
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 800;
}

.logo-text {
  font-family: Manrope, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.6px;
}

.logo-text small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 2.4px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.header-nav a {
  color: #55645a;
  font-size: 13px;
  font-weight: 600;
}

.header-nav a:hover { color: #688d37; }

.header-contact, .button, .whatsapp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.header-contact {
  padding: 13px 17px;
  background: var(--dark);
  color: white;
  white-space: nowrap;
}

.header-contact:hover, .button:hover, .whatsapp-button:hover {
  transform: translateY(-2px);
}

.hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 430px;
  margin: 36px auto 0;
  padding: 45px 52px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 45px;
  overflow: hidden;
  border: 1px solid #e8ece4;
  border-radius: 25px;
  background: white;
  box-shadow: 0 12px 45px #14251f09;
}

.hero-copy { max-width: 590px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #637c4b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93bd45;
}

.hero h1 {
  max-width: 570px;
  margin: 22px 0 18px;
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 4.4vw, 61px);
  font-weight: 800;
  letter-spacing: -2.8px;
  line-height: 1.08;
}

.hero h1 span { color: #718e3d; }

.hero-copy > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary { background: var(--dark); color: white; }
.button-primary:hover { background: #284b38; }

.button-secondary {
  border-color: var(--border);
  background: white;
  color: var(--dark);
}

.button-secondary:hover { background: var(--soft); }
.button-dark { background: var(--dark); color: white; }

.button-danger {
  background: #fff1ef;
  color: #a52e24;
  border: 1px solid #f2d0cc;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.hero-benefits > span {
  color: #647268;
  font-size: 11px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 335px;
  padding: 23px;
  overflow: hidden;
  border-radius: 20px;
  background: #edf2e9;
}

.hero-visual::before {
  position: absolute;
  top: -95px;
  right: -75px;
  width: 260px;
  height: 260px;
  border: 1px solid #244b3817;
  border-radius: 50%;
  content: "";
}

.hero-visual-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #64765b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.hero-sparkle { color: #76963f; font-size: 20px; }

.hero-product {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #14251f0f;
  border-radius: 17px;
  background: white;
  box-shadow: 0 10px 30px #14251f12;
  transition: transform .25s;
}

.hero-product:hover { transform: translateY(-4px); }

.hero-product-large {
  top: 65px;
  left: 23px;
  width: 53%;
  height: 200px;
}

.hero-product-small {
  top: 116px;
  right: 22px;
  width: 37%;
  height: 155px;
  background: #f9fbef;
}

.hero-product img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.hero-product > span {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 8px;
  color: #586b5c;
  font-size: 10px;
  font-weight: 700;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-note-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
}

.hero-note strong, .hero-note small { display: block; }
.hero-note strong { font-size: 11px; }
.hero-note small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.products { padding: 72px 0 65px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.section-heading h2 {
  margin: 13px 0 8px;
  font-family: Manrope, sans-serif;
  font-size: clamp(29px, 3.4vw, 43px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.2;
}

.lime { color: #8eae43; }

.section-heading > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.search-box {
  width: min(300px, 100%);
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #dfe5db;
  border-radius: 12px;
  background: white;
  color: #718075;
}

.search-box > span { font-size: 23px; }

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.search-box:focus-within {
  border-color: #9bb76d;
  box-shadow: 0 0 0 3px #d8f56e38;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 28px 0 22px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-button {
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid #e0e5dd;
  border-radius: 999px;
  background: white;
  color: #5c6b60;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover { border-color: #a8bc89; }

.filter-button.selected {
  border-color: var(--dark);
  background: var(--dark);
  color: white;
}

#resultCount {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 5px 20px #14251f06;
  transition: transform .22s, box-shadow .22s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px #14251f16;
}

.product-image {
  width: 100%;
  height: 235px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  background: #f0f3ed;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .25s;
}

.product-card:hover .product-image img { transform: scale(1.035); }

.product-image.image-fallback {
  color: var(--dark);
  font-size: 65px;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px;
}

.product-tag {
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #eff8d5;
  color: #526c2c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .7px;
}

.product-category {
  margin: 0 0 7px;
  color: #7b897e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.product-title {
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.3px;
}

.product-price {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 17px;
  font-weight: 800;
}

.product-description {
  flex: 1;
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.product-button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--dark);
  border-radius: 10px;
  background: var(--dark);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.product-button:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--dark);
}

.status-message {
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
}

.status-message[hidden] { display: none; }

.empty-state {
  padding: 45px 20px;
  border: 1px dashed #d5ded0;
  border-radius: 18px;
  background: white;
  text-align: center;
}

.empty-state[hidden] { display: none !important; }
.empty-state p { color: var(--muted); font-size: 13px; }

.affiliate-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 17px 19px;
  border: 1px solid #e3e9dd;
  border-radius: 13px;
  background: #eef3e9;
}

.affiliate-notice > span { color: #6d8a3c; font-size: 18px; }

.affiliate-notice p {
  margin: 0;
  color: #637166;
  font-size: 11px;
  line-height: 1.75;
}

.contact-banner {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 65px;
  padding: 32px 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  background: var(--dark);
  color: white;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #293f32;
  color: var(--lime);
  font-size: 24px;
}

.contact-copy { flex: 1; }
.contact-copy .eyebrow { color: var(--lime); }

.contact-copy h2 {
  margin: 8px 0 5px;
  font-family: Manrope, sans-serif;
  font-size: clamp(21px, 2.5vw, 30px);
  letter-spacing: -.8px;
}

.contact-copy p {
  margin: 0;
  color: #c4d0c7;
  font-size: 12px;
  line-height: 1.6;
}

.whatsapp-button {
  min-height: 47px;
  flex-shrink: 0;
  padding: 0 19px;
  background: var(--lime);
  color: var(--dark);
}

.whatsapp-button:hover { background: white; }

.footer {
  width: min(1320px, calc(100% - 64px));
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.footer > p { color: var(--muted); font-size: 11px; }

.footer > a:not(.logo) {
  font-size: 12px;
  font-weight: 700;
}

.footer > small { color: var(--muted); font-size: 10px; }

.admin-footer-link {
  color: #9aa39b;
  font-size: 10px !important;
  font-weight: 400 !important;
  opacity: .7;
  transition: color .2s, opacity .2s;
}

.admin-footer-link:hover { color: #718077; opacity: 1; }

/* PAINEL ADMINISTRATIVO */
.admin-body { min-height: 100vh; }

.admin-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 85px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.admin-header-actions { display: flex; gap: 10px; }

.admin-main {
  width: min(1180px, calc(100% - 40px));
  margin: 38px auto 70px;
}

.admin-login { max-width: 460px; margin: 45px auto; }

.panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 35px #14251f08;
}

.panel h1, .admin-title-row h1 {
  margin: 10px 0;
  font-family: Manrope, sans-serif;
  font-size: 32px;
  letter-spacing: -1px;
}

.panel > p, .admin-title-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #405047;
  font-size: 12px;
  font-weight: 700;
}

.admin-form input:not([type=checkbox]),
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dfe5db;
  border-radius: 10px;
  background: white;
  color: var(--text);
  outline: none;
  font-size: 13px;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: #94b461;
  box-shadow: 0 0 0 3px #d8f56e38;
}

.admin-form input[type=file] { padding: 10px; background: #fafbf8; }

.admin-message {
  min-height: 18px;
  color: #456b31;
  font-size: 12px;
  line-height: 1.5;
}

.admin-message.error { color: #b42318; }

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-title-row p { margin: 0; }
.editor-panel { margin-bottom: 35px; }

.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.editor-heading h2, .admin-list-heading h2 {
  margin: 8px 0;
  font-family: Manrope, sans-serif;
  letter-spacing: -.5px;
}

.product-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-form .full-field { grid-column: 1 / -1; }

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--dark);
}

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.image-preview-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.image-preview-wrap[hidden] { display: none; }

.image-preview-wrap img {
  width: 140px;
  height: 120px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--soft);
}

.admin-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}

.admin-list-heading span { color: var(--muted); font-size: 12px; }
.admin-products { display: grid; gap: 12px; }

.admin-product-card {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.admin-product-thumb {
  width: 88px;
  height: 78px;
  object-fit: contain;
  border-radius: 9px;
  background: var(--soft);
}

.admin-product-thumb.no-image { visibility: hidden; }

.admin-product-info h3 { margin: 0 0 5px; font-size: 14px; }

.admin-product-info p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
}

.admin-product-info a {
  color: #526f31;
  font-size: 11px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.admin-product-actions { display: flex; gap: 8px; }

.admin-product-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 11px;
}

/* RESPONSIVIDADE */
@media (max-width: 1050px) {
  .hero { padding: 35px; gap: 25px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-image { height: 220px; }
  .hero-visual { min-height: 310px; }
  .header-nav { gap: 17px; }
}

@media (max-width: 700px) {
  .announcement { font-size: 9px; letter-spacing: 1px; }

  .header, .section, .footer { width: calc(100% - 32px); }

  .header {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 13px;
    padding: 12px 0;
  }

  .logo-icon { width: 36px; height: 36px; font-size: 20px; }
  .logo-text { font-size: 16px; }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 23px;
    padding: 7px 0 2px;
  }

  .header-nav a { font-size: 12px; }
  .header-contact { padding: 11px 12px; font-size: 10px; }

  .hero {
    width: calc(100% - 32px);
    margin-top: 20px;
    padding: 28px 22px 22px;
    grid-template-columns: 1fr;
    gap: 28px;
    border-radius: 20px;
  }

  .hero h1 {
    margin: 17px 0 13px;
    font-size: clamp(35px, 9vw, 48px);
    letter-spacing: -1.8px;
  }

  .hero-copy > p { font-size: 13px; }
  .hero-actions { margin-top: 22px; }
  .hero-benefits { gap: 11px; margin-top: 21px; }
  .hero-benefits > span { font-size: 10px; }

  .hero-visual { min-height: 300px; padding: 18px; }

  .hero-product-large { left: 17px; top: 60px; width: 55%; height: 175px; }
  .hero-product-small { right: 15px; top: 110px; width: 38%; height: 145px; }
  .hero-note { right: 16px; bottom: 13px; }

  .products { padding: 48px 0; }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading h2 { font-size: 31px; letter-spacing: -1.2px; }
  .search-box { width: 100%; }

  .product-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin: 22px 0 17px;
  }

  .filters { gap: 7px; }

  .filter-button {
    min-height: 35px;
    padding: 0 12px;
    font-size: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-image { height: 160px; padding: 9px; }
  .product-content { padding: 12px; }
  .product-tag { margin-bottom: 10px; padding: 5px 7px; font-size: 8px; }
  .product-category { font-size: 8px; letter-spacing: 1px; }
  .product-title { min-height: 40px; margin-bottom: 10px; font-size: 13px; }
  .product-price { font-size: 15px; }
  .product-description { margin-bottom: 14px; font-size: 10px; }
  .product-button { min-height: 40px; padding: 8px 5px; font-size: 10px; }

  .affiliate-notice { margin-top: 23px; padding: 14px; }

  .contact-banner {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
    padding: 24px 20px;
  }

  .contact-copy { flex-basis: calc(100% - 65px); }
  .contact-copy h2 { font-size: 23px; }
  .whatsapp-button { width: 100%; }

  .footer {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
  }

  .footer > p { width: 100%; order: 2; margin: 0; }
  .footer > small { order: 4; }

  .admin-header, .admin-main { width: calc(100% - 28px); }

  .admin-header {
    align-items: flex-start;
    padding: 13px 0;
    flex-wrap: wrap;
  }

  .admin-header-actions { width: 100%; }
  .admin-main { margin-top: 24px; }
  .panel { padding: 19px; }

  .admin-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-form { grid-template-columns: 1fr; }
  .product-form .full-field { grid-column: auto; }

  .admin-product-card {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .admin-product-thumb { width: 64px; height: 64px; }

  .admin-product-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .admin-list-heading h2 { font-size: 18px; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 230px; }
  .hero-actions .button { width: 100%; }
}
