/* =====================================================
   MVW Ltda — Indústria de Alimentos
   Design system: industrial / corporate / blue+white
   ===================================================== */

:root {
  /* Brand */
  --c-primary:        #0a4ea0;        /* deep industrial blue */
  --c-primary-dark:   #073979;
  --c-primary-light:  #1a6cc9;
  --c-accent:         #3aa6e6;        /* cyan accent */

  /* Neutrals */
  --c-bg:             #ffffff;
  --c-bg-soft:        #f5f7fb;
  --c-bg-dark:        #0a1f3d;
  --c-bg-darker:      #061632;
  --c-text:           #1f2937;
  --c-text-soft:      #4b5563;
  --c-text-mute:      #6b7280;
  --c-text-on-dark:   #e7eef8;
  --c-text-on-dark-mute: #b3c2d6;
  --c-border:         #e5e7eb;
  --c-border-dark:    #1e3358;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head:    'Montserrat', var(--font-body);

  /* Layout */
  --container:    1180px;
  --gap-sm:       12px;
  --gap:          24px;
  --gap-lg:       48px;
  --section-py:   96px;

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 30, 60, .06);
  --shadow:    0 8px 24px rgba(15, 30, 60, .08);
  --shadow-lg: 0 24px 48px rgba(15, 30, 60, .14);

  --t: 250ms cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--c-text);
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
em { font-style: normal; color: var(--c-accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto;
  padding: 12px 20px; background: var(--c-primary); color: #fff;
  border-radius: var(--r-sm); z-index: 9999;
}

/* ----- Image placeholder block ----- */
.img-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      45deg,
      #d4dbe8 0,
      #d4dbe8 12px,
      #e5e9f1 12px,
      #e5e9f1 24px
    );
  color: #1e3358;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 16px;
  border: 2px dashed #1e3358;
  border-radius: var(--r);
  min-height: 120px;
}
.img-placeholder::before {
  content: attr(data-placeholder);
  display: block;
  max-width: 90%;
}
.img-placeholder--hero {
  position: absolute; inset: 0;
  border-radius: 0; border: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(10, 31, 61, .9) 0,
      rgba(10, 31, 61, .9) 60px,
      rgba(10, 78, 160, .85) 60px,
      rgba(10, 78, 160, .85) 120px
    );
  color: rgba(255,255,255,.8);
  font-size: 1rem;
}

/* ============== TOPBAR ============== */
.topbar {
  background: var(--c-primary-dark);
  color: #cfdcef;
  font-size: .82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  padding: 8px 24px;
}
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfdcef;
  font-weight: 500;
}
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 14px; height: 14px; }

.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  padding: 4px 10px;
  color: #cfdcef;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--r-sm);
  transition: background var(--t);
}
.lang-switch a[aria-current="page"] { background: rgba(255,255,255,.15); color: #fff; }
.lang-switch a:hover { background: rgba(255,255,255,.1); color: #fff; }

@media (max-width: 700px) {
  .topbar { display: none; }
}

/* ============== HEADER ============== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 16px 24px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}
.brand-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--c-primary);
  background: linear-gradient(135deg, #e6efff, #cfe0ff);
  padding: 14px 12px;
  border-radius: var(--r-sm);
  border: 1.5px dashed var(--c-primary);
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--c-text);
}
.brand-text small {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-text-mute);
  margin-top: 4px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: var(--c-text);
}
.menu-toggle svg { width: 28px; height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color var(--t);
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links .btn-primary {
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    padding: 8px 24px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .btn-primary {
    margin-top: 12px;
    text-align: center;
  }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: .92rem;
  transition: all var(--t);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 4px 14px rgba(10, 78, 160, .3);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(10, 78, 160, .4);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg,
      rgba(10, 31, 61, .92) 0%,
      rgba(10, 31, 61, .75) 45%,
      rgba(10, 31, 61, .35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}
.hero-text { max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-primary);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--c-accent); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .hero { min-height: 540px; }
  .hero .lead { font-size: 1rem; }
  .btn-lg { padding: 12px 22px; font-size: .95rem; }
}

/* ============== PARCEIROS ============== */
.parceiros {
  background: var(--c-bg-soft);
  padding: 56px 0;
  border-bottom: 1px solid var(--c-border);
}
.parceiros-eyebrow {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--c-text-mute);
  margin: 0 0 32px;
}
.parceiros-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 56px;
}
.parceiros-grid img {
  max-height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: .65;
  transition: all var(--t);
}
.parceiros-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 700px) {
  .parceiros-grid { gap: 24px 32px; }
  .parceiros-grid img { max-height: 40px; }
}

/* ============== SECTIONS ============== */
.section { padding: var(--section-py) 0; }
.section--light { background: #fff; }
.section--soft  { background: var(--c-bg-soft); }
.section--dark  { background: var(--c-bg-dark); color: var(--c-text-on-dark); }
.section--dark h2 { color: #fff; }
.section--dark p, .section--dark .section-sub { color: var(--c-text-on-dark-mute); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .eyebrow { display: block; }
.section-sub {
  font-size: 1.05rem;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.2fr 1fr; }
  .contato-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- Quem somos ----- */
.founder-quote {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  margin: 32px 0 0;
  padding: 22px;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r) var(--r) 0;
}
.founder-quote p { font-style: italic; color: var(--c-text); margin: 0 0 8px; }
.founder-quote cite { font-style: normal; color: var(--c-text-mute); font-size: .9rem; }
.founder-photo { aspect-ratio: 1; border-radius: 50%; min-height: 100px; }

@media (max-width: 600px) {
  .founder-quote { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { width: 80px; height: 80px; margin: 0 auto; }
}

/* ----- Nossa fábrica ----- */
.fabrica-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.fabrica-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.fabrica-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.fabrica-card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-bg-darker);
}
.fabrica-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.fabrica-card:hover img { transform: scale(1.04); }
.fabrica-card-body { padding: 22px; }
.fabrica-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.fabrica-card p { font-size: .92rem; line-height: 1.6; margin: 0; }

/* ----- Certificações ----- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  max-width: 960px;
  margin: 0 auto;
}
.cert-card {
  background: var(--c-bg-soft);
  padding: 32px;
  border-radius: var(--r);
  text-align: center;
  border: 1px solid var(--c-border);
  transition: transform var(--t), box-shadow var(--t);
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cert-card img { max-height: 80px; width: auto; margin: 0 auto 18px; }
.cert-card h3 { color: var(--c-text); margin-bottom: 8px; }
.cert-card p { color: var(--c-text-soft); font-size: .92rem; margin: 0; }

/* ----- Depoimentos ----- */
.depo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.depo-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.depo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.placeholder-card {
  background: repeating-linear-gradient(
    45deg, #fff 0, #fff 12px, #f5f7fb 12px, #f5f7fb 24px);
  border: 2px dashed #c4ccd9;
}
.stars {
  color: #f5b400;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.depo-text { color: var(--c-text-soft); font-style: italic; min-height: 5em; }
.depo-author { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.depo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: .55rem;
  min-height: 0;
}
.depo-author strong { display: block; font-size: .92rem; }
.depo-author small { color: var(--c-text-mute); font-size: .82rem; }

/* ----- Contato ----- */
.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-list .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(58, 166, 230, .15);
  color: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-list svg { width: 18px; height: 18px; }
.contact-list strong {
  display: block;
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
  font-weight: 600;
}
.contact-list a { color: var(--c-text-on-dark); border-bottom: 1px dotted var(--c-accent); }
.contact-list a:hover { color: var(--c-accent); }

.social { display: flex; gap: 12px; margin-top: 28px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: all var(--t);
}
.social a:hover {
  background: var(--c-primary);
  transform: translateY(-2px);
}
.social svg { width: 18px; height: 18px; }

.map-card {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  background: var(--c-bg-soft);
  height: 100%;
  min-height: 420px;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--c-bg-darker);
  color: var(--c-text-on-dark-mute);
  padding: 40px 0;
  border-top: 4px solid var(--c-primary);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-head); }
.footer-brand small { font-size: .82rem; }
.footer-copy { margin: 0; text-align: right; font-size: .85rem; line-height: 1.6; }

@media (max-width: 700px) {
  .footer-inner { justify-content: center; text-align: center; flex-direction: column; }
  .footer-copy { text-align: center; }
}

/* ============== WHATSAPP FLOATING CTA ============== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: #25d366;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 99;
  transition: all var(--t);
  text-decoration: none;
}
.wa-float:hover {
  background: #1fb557;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .55);
  color: #fff !important;
}
.wa-float svg { width: 26px; height: 26px; }

@media (max-width: 600px) {
  .wa-float { padding: 14px; }
  .wa-float-label { display: none; }
}

/* ============== REVEAL ANIMATION ============== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
