*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #43c100;
  --red-dark: #b0000a;
  --blue: #2c5896;
  --blue-light: #468bec;
  --white: #ffffff;
  --black: #111111;
  --gray: #f5f5f5;
  --gray-mid: #e0e0e0;
  --text: #1a1a1a;
  --text-muted: #666666;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--green);
}

/* ── HERO ── */
.hero {
  background: var(--blue);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0, 0, 0, 0.04) 40px,
    rgba(0, 0, 0, 0.04) 80px
  );
}

.hero-text {
  padding: 60px 60px 60px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: var(--green-dark);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-bottle {
  position: relative;
  z-index: 2;
  user-select: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  position: relative;
  top: 160px;
  opacity: 0.5;
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 60px;
  background: var(--white);
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  z-index: 3;
}

/* ── INTRO STRIP ── */
.intro {
  background: var(--white);
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid var(--gray-mid);
}

.intro h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.intro h2 span {
  color: var(--green);
}

.intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 32px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  background: transparent;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.hiddenContent {
  display: none;
  margin-top: 40px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  grid-column: span 2;
  border-top: 1px solid var(--gray-mid);
}

.hiddenContent.show {
  display: block;
  max-height: 450px;
  opacity: 1;
}

.historiaText {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
  width: 45%;
  height: 350px;
}
.historiaImg {
  margin-top: 20px;
  height: 350px;
  width: auto;
}

/* ── LINHA DO TEMPO ── */
.timeline {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  padding: 48px 40px 16px;
  gap: 0;
}

.timeline-track {
  position: absolute;
  top: calc(48px + 60px); /* alinha com o centro dos dots */
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, #23be1e, #23be1e88, #23be1e);
  z-index: 0;
}

.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-logo-box {
  width: 110px;
  height: 110px;
  background: var(--white);
  border: 2px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: border-color 0.2s, transform 0.2s;
}
.timeline-logo-box:hover {
  border-color: #23be1e;
  transform: translateY(-4px);
}

.timeline-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: #23be1e;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px #23be1e;
  margin-bottom: 12px;
}

.timeline-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.timeline-item--compact {
  flex: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--gray);
  padding: 24px;
  border-left: 4px solid var(--green);
}

.stat-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── CARDS ── */
.services {
  background: var(--blue);
  padding: 64px 80px;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0, 0, 0, 0.04) 40px,
    rgba(0, 0, 0, 0.04) 80px
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  transition: transform 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.service-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

/* ── BRANDS ── */
.brands {
  background: var(--white);
  padding: 72px 80px;
  text-align: center;
  border-top: 1px solid var(--gray-mid);
}

.section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 48px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.brand-pill {
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  padding: 12px 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.brand-pill:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--green);
}

.brands-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-mid);
  text-align: left;
}

.brand-category {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--gray-mid);
}
.brand-category:last-child {
  border-right: none;
}

.brand-cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green);
}

.brand-cat-icon {
  font-size: 20px;
}

.brand-cat-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
  color: var(--blue);
}

/* ── MODAL ── */
.brand-pill {
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  width: 90%;
  max-width: 520px;
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--green);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--green);
}

.modal-product-img-wrap {
  width: 160px;
  height: 220px;
  flex-shrink: 0;
  background: var(--gray);
  border: 1.5px solid var(--gray-mid);
  overflow: hidden;
  position: relative;
}

.modal-product-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.35);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 4px;
}

.modal-product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  height: 100%;
}

.modal-product-placeholder span:first-child {
  font-size: 28px;
}
.modal-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.modal-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
}
.modal-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.modal-tag {
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.modal-spec {
  background: var(--gray);
  padding: 14px 16px;
  border-left: 3px solid var(--green);
}
.modal-spec-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.modal-spec-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.modal-cta {
  display: inline-block;
  margin-top: 4px;
}

  /* ── ORDER FORM ── */
  .order-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
  .order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .order-field-group { display: flex; flex-direction: column; gap: 6px; }
  .order-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
  .order-input { padding: 11px 14px; border: 1.5px solid var(--gray-mid); font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text); background: var(--white); outline: none; transition: border-color 0.2s; }
  .order-input:focus { border-color: var(--green); }
  .order-textarea { resize: vertical; min-height: 80px; }
  .order-error { color: var(--green); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
  .order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
  .order-btn-whats { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 16px; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; }
  .order-btn-whats:hover { background: #1ebe5a; transform: translateY(-1px); }
  .order-btn-email { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 16px; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; }
  .order-btn-email:hover { background: var(--blue); transform: translateY(-1px); }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--black);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-strip h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--green);
}

.cta-strip h2 span {
  color: var(--blue);
}

.cta-strip p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
}

.btn-green {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 18px 48px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-green:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

select.order-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* ── FOOTER ── */
footer {
  background: #1a1a1a;
  padding: 48px 80px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-top: 3px solid var(--green);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-col h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--green);
}

.footer-bottom {
  background: #111;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── MODAL CONTATO ── */
.contact-modal-box {
  background: var(--white);
  width: 90%;
  max-width: 520px;
  padding: 48px 44px 44px;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.active .contact-modal-box { transform: translateY(0); }

.contact-bg-logo {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 220px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.contact-bg-logo img { width: 100%; display: block; }

.contact-content { position: relative; z-index: 1; }

.contact-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--text);
  margin: 6px 0 8px;
}
.contact-title span { color: #23be1e; }

.contact-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-items { display: flex; flex-direction: column; gap: 10px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gray);
  border: 1.5px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.contact-item:hover { border-color: #23be1e; background: #f0fff0; }
.contact-item--plain:hover { border-color: transparent; background: var(--gray); cursor: default; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.contact-item-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.contact-item-arrow {
  font-size: 18px;
  color: #23be1e;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
}
.contact-item:hover .contact-item-arrow { opacity: 1; }

/* ── LINHAS DE PRODUTO (ORÇAMENTO MÚLTIPLO) ── */
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
  width: 100%;
}

.product-row select.order-input,
.product-row input.order-input {
  min-width: 0;
}

.btn-remove-row {
  width: 36px;
  height: 36px;
  background: var(--gray);
  border: 1.5px solid var(--gray-mid);
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.btn-remove-row:hover {
  background: #ffe5e5;
  color: #c0392b;
  border-color: #c0392b;
}

.btn-add-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px dashed var(--green);
  color: var(--green);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  transition: background 0.2s;
}
.btn-add-product:hover {
  background: rgba(67,193,0,0.08);
}

.modal-overlay {
  overflow-y: auto;
}

/* ── WHATSAPP FLUTUANTE ── */
.wa-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
  width: fit-content;
  height: fit-content;
}

.wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.wa-popup {
  position: absolute;
  bottom: 72px;
  right: 0;
  background: var(--white);
  width: 300px;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  transform-origin: bottom right;
}

.wa-popup.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-popup-header {
  background: #25D366;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-popup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-popup-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wa-popup-status {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}

.wa-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.wa-popup-close:hover { color: white; }

.wa-popup-body {
  padding: 20px;
  background: #f0f0f0;
}
.wa-popup-message {
  background: white;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  position: relative;
}
.wa-popup-message::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -8px;
  border-width: 6px 8px 6px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.wa-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.wa-popup-cta:hover { background: #1ebe5a; }

@media (max-width: 480px) {
  .wa-bubble { bottom: 16px; right: 16px; }
  .wa-popup { width: calc(100vw - 32px); }
  .wa-btn { width: 52px; height: 52px; }
}

/* ════════════════════════════════════════
   RESPONSIVIDADE
   ════════════════════════════════════════ */

/* ── TABLET LARGO (≤1024px) ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 48px 40px; }
  .hero-visual { display: none; }

  .intro { grid-template-columns: 1fr; padding: 48px 40px; gap: 32px; }
  .hiddenContent { grid-column: span 1; }
  .historiaText { width: 100%; height: auto; }
  .historiaImg { width: 100%; height: auto; }

  .services { padding: 48px 40px; }
  .brands { padding: 48px 40px; }
  .brands-categories { grid-template-columns: 1fr; }
  .brand-category { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .brand-category:last-child { border-bottom: none; }

  .cta-strip { padding: 48px 40px; grid-template-columns: 1fr; text-align: center; }
  .btn-green { width: 100%; text-align: center; border: none; cursor: pointer; }

  footer { grid-template-columns: 1fr 1fr; padding: 40px; }
  .footer-bottom { padding: 20px 40px; }

  .timeline { flex-wrap: wrap; gap: 24px; padding: 32px 20px 16px; }
  .timeline-track { display: none; }
  .timeline-item, .timeline-item--compact { flex: 0 0 calc(50% - 12px); }
}

/* ── TABLET (≤768px) ── */
@media (max-width: 768px) {
  /* Nav — hamburger */
  nav { padding: 0 20px; position: relative; flex-wrap: wrap; height: auto; min-height: 64px; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-mid);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 20px; font-size: 16px; }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue);
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero-text { padding: 36px 20px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }

  /* Intro */
  .intro { padding: 36px 20px; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* História */
  .hiddenContent.show { display: flex; flex-direction: column; max-height: none; }
  .historiaText { width: 100%; height: auto; }
  .historiaImg { width: 100%; height: auto; margin-top: 20px; }

  /* Services */
  .services { padding: 36px 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Brands */
  .brands { padding: 36px 20px; }
  .section-title { font-size: 28px; margin-bottom: 28px; }
  .brands-categories { grid-template-columns: 1fr; }
  .brand-category { padding: 20px 16px 24px; }

  /* CTA */
  .cta-strip { padding: 36px 20px; gap: 24px; }
  .cta-strip h2 { font-size: 32px; }

  /* Footer */
  footer { grid-template-columns: 1fr; padding: 32px 20px; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 20px; }

  /* Timeline */
  .timeline { flex-direction: column; align-items: center; padding: 24px 20px; gap: 16px; }
  .timeline-item, .timeline-item--compact { flex: 0 0 auto; width: 100%; flex-direction: row; gap: 16px; align-items: center; }
  .timeline-logo-box { width: 72px; height: 72px; flex-shrink: 0; margin-bottom: 0; }
  .timeline-dot { display: none; }
  .timeline-year { font-size: 20px; margin-bottom: 2px; }
  .timeline-label { text-align: left; }

  /* Modais */
  .modal-box { width: 95%; padding: 24px 20px; max-width: none !important; }
  .modal-specs { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr; }
  .order-actions { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr 1fr auto; }
  .product-row .row-embalagem { grid-column: 1 / -2; }

  /* Contato modal */
  .contact-modal-box { padding: 32px 20px; }
  .contact-title { font-size: 32px; }

  .modal-overlay {
  align-items: flex-start;
  padding: 16px 0;
  overflow-y: auto;
}

  .modal-box {
  max-height: none !important;
  overflow-y: visible;
  margin: auto;
}
}

/* ── MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .nav-logo { font-size: 18px; }

  .hero-text { padding: 28px 16px; }
  .hero-title { font-size: clamp(30px, 9vw, 44px); }
  .hero-sub { font-size: 14px; }

  .intro { padding: 28px 16px; }
  .stat-number { font-size: 32px; }

  .services { padding: 28px 16px; }
  .brands { padding: 28px 16px; }
  .brand-pill { padding: 10px 16px; font-size: 15px; }

  .cta-strip { padding: 28px 16px; }
  .cta-strip h2 { font-size: 26px; }

  footer { padding: 28px 16px; }

  .timeline-logo-box { width: 56px; height: 56px; }
  .timeline-year { font-size: 17px; }

  .modal-box { padding: 20px 14px; }
  .modal-title { font-size: 22px; }
  .product-row { grid-template-columns: 1fr auto; }
  .product-row .row-embalagem,
  .product-row .row-quantidade { grid-column: 1 / 2; }
  .contact-title { font-size: 26px; }
}

/* ── PRODUTO INDISPONÍVEL ── */
.brand-pill--indisponivel {
  opacity: 0.45;
  cursor: not-allowed !important;
  text-decoration: line-through;
  background: var(--gray-mid) !important;
  border-color: var(--gray-mid) !important;
  color: var(--text-muted) !important;
  position: relative;
}

/* ── AVISO GRANEL ── */
.granel-msg {
  font-size: 12px;
  font-weight: 600;
  color: #856404;
  background: #fff8e1;
  border: 1.5px solid #f0c040;
  padding: 8px 12px;
  margin: -4px 0 8px;
  line-height: 1.5;
}