:root {
  --navy: #353A90;
  --navy-dark: #252a6e;
  --orange: #EC870E;
  --white: #ffffff;
  --bg-muted: #f6f6fa;
  --text: #333333;
  --text-muted: #6b6b78;
  --border: #e3e3ee;
  --radius: 10px;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0 0 16px; line-height: 1.2; }
h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 24px;
  transition: transform .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-outline-green { background: transparent; border: 2px solid #2E9E4F; color: #2E9E4F; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 5px solid var(--orange);
  box-shadow: 0 2px 12px rgba(37, 42, 110, .1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand-logo { height: 76px; width: auto; }
.main-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; color: var(--navy); flex: 1; justify-content: center; }
.main-nav a:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

/* Hero */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; max-width: 620px; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow-dark { color: var(--orange); }
.eyebrow-accent { color: var(--orange); }
.hero h1 { color: #fff; font-size: clamp(28px, 5vw, 42px); margin-bottom: 18px; }
.hero-sub { color: #dcdcf0; font-size: 16px; max-width: 520px; margin-bottom: 28px; }

.thankyou { text-align: center; }
.thankyou-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #2E9E4F;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.thankyou-icon svg { width: 30px; height: 30px; }
.thankyou-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

.back-link {
  display: inline-block; color: var(--text-muted); font-size: 14px; font-weight: 600;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--navy); }

/* Sections */
.section { padding: 72px 0; }
.section-muted { background: var(--bg-muted); }
.section-dark { background: var(--navy); }
.lead { color: var(--text-muted); font-size: 16px; }
.on-dark { color: #fff; }
.on-dark-muted { color: #c7c7e0; font-size: 14px; }

.trust-badge {
  display: inline-block;
  background: var(--bg-muted); border: 1px solid var(--border); color: var(--navy);
  font-weight: 700; font-size: 18px; padding: 12px 26px; border-radius: 24px;
}

/* Nosso Grupo card */
.group-card {
  max-width: 380px; margin: 32px auto 0;
  background: #fff; border: 1px solid var(--border); border-top: 4px solid #2E9E4F;
  border-radius: var(--radius); padding: 32px;
}
.group-card-brand { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 20px; color: #1a1a1a; }
.group-card-brand span { color: #2E9E4F; }
.group-card-cnpj { color: #999; font-size: 12px; margin-bottom: 12px; }
.group-card-desc { color: var(--text-muted); font-size: 14px; }

/* Valores (nested inside a product-panel) */
.values-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 20px;
}
.value-entry h4 { font-family: var(--font-display); color: var(--navy); font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.value-entry p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Suppliers */
.supplier-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 32px;
}
.supplier-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: center;
  display: flex; align-items: center; justify-content: center; height: 90px;
  transition: box-shadow .15s ease;
}
.supplier-card:hover { box-shadow: 0 4px 14px rgba(53,58,144,.12); }
.supplier-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.supplier-card--lg { padding: 6px; }
.logo-badge {
  background: var(--navy); display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 6px; max-width: 100%; max-height: 100%;
}
.logo-badge img { max-width: 100%; max-height: 48px; object-fit: contain; }

/* Segmentos */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.segment-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 18px; text-align: center;
}
.segment-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Products */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px;
}
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 18px; text-align: center; position: relative;
  width: 100%; font-family: inherit;
}
.product-icon {
  width: 44px; height: 44px; border-radius: 10px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
}
.product-icon svg { width: 24px; height: 24px; }

.product-card--expandable { cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease; }
.product-card--expandable:hover { box-shadow: 0 4px 14px rgba(53,58,144,.12); }
.product-card--expandable:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.product-card-chevron { width: 18px; height: 18px; color: var(--text-muted); margin: 10px auto 0; transition: transform .2s ease; }
.product-card--expandable[aria-expanded="true"] { border-color: var(--navy); }
.product-card--expandable[aria-expanded="true"] .product-card-chevron { transform: rotate(180deg); color: var(--navy); }

.product-panel-wrap {
  display: none; grid-column: 1 / -1;
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.product-panel-wrap.open { max-height: 700px; }
.product-panel-clip { padding-top: 24px; }
.product-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: left;
  display: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px;
}
.product-panel.is-open { display: grid; }
.product-panel-group > h4,
.product-panel-group > .group-title {
  font-family: var(--font-display); color: var(--orange); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px;
}

/* Páginas de categoria */
.page-h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; }
.category-wrap { max-width: 860px; margin: 32px auto 0; text-align: left; }
.category-text { grid-column: 1 / -1; margin: 8px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.product-card--link { display: block; color: inherit; transition: box-shadow .15s ease; }
.product-card--link:hover { box-shadow: 0 4px 14px rgba(53,58,144,.12); }
.panel-more-link { display: inline-block; margin-left: 16px; color: var(--navy); font-size: 14px; font-weight: 600; }
.panel-more-link:hover { color: var(--orange); }
.product-panel-group ul { list-style: none; margin: 0; padding: 0; }
.product-panel-group li {
  color: var(--text); font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border);
}
.product-panel-group li:last-child { border-bottom: none; }
.product-panel-cta-row {
  grid-column: 1 / -1; text-align: center;
  margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--border);
}
.product-panel-group > p { color: var(--text-muted); font-size: 15px; margin: 0; }
.product-card h3 { margin: 0; }

/* Pedido CTA */
.cta-order { background: var(--orange); }
.cta-order-title { color: #fff; margin-bottom: 10px; }
.cta-order-sub { color: rgba(255,255,255,.8); font-size: 15px; font-weight: 400; margin-bottom: 28px; }
.cta-order-btn {
  background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; gap: 10px;
}
.cta-order-btn:hover { opacity: .9; }

.order-form-divider {
  color: rgba(255,255,255,.8); font-size: 15px; font-weight: 400;
  margin: 32px 0 20px; position: relative;
}
.order-form {
  max-width: 560px; margin: 0 auto; text-align: left;
  background: #fff; border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.order-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-form input, .order-form textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px;
  background: var(--bg-muted);
}
.order-form input:focus, .order-form textarea:focus {
  outline: 2px solid var(--navy); outline-offset: 1px; background: #fff;
}
.order-form textarea { resize: vertical; min-height: 80px; }
.order-form-submit { align-self: flex-start; }

/* Differentials */
.differentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.differential-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--orange); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.differential-icon svg { width: 24px; height: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; color: var(--text-muted); font-size: 14px; }
.contact-list li { margin-bottom: 10px; }
.contact-list a { color: var(--navy); font-weight: 600; }
.map-embed { border-radius: var(--radius); overflow: hidden; height: 320px; border: 1px solid var(--border); }

/* Footer */
.site-footer { background: var(--navy-dark); padding: 28px 0 20px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; color: #cfcfe6; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-badge { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 4px 9px; }
.footer-logo-badge img { height: 24px; width: auto; display: block; }
.footer-top a { color: var(--orange); font-weight: 700; }
.footer-legal { color: #8f8fc0; font-size: 11px; margin: 14px 0 0; }

/* WhatsApp float button */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* Responsive */
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 24px; gap: 14px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-inner .btn-primary { display: none; }
  .values-list { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: 1fr 1fr; }
  .order-form-row { grid-template-columns: 1fr; }
  .supplier-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-panel { grid-template-columns: 1fr; padding: 24px; }
  .product-panel-wrap.open { max-height: 1400px; }
  .differentials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
