/* =====================================================================
   MASSA AUTOMATION GROUP CORP — Global Stylesheet
   In-Motion Rail Weighing Systems
   ---------------------------------------------------------------------
   COLOR THEME: everything is driven by the CSS variables in :root below.
   To switch the entire site palette, edit ONLY this block.
   (4 ready-made palettes will be provided — swap the values here.)
   ===================================================================== */


:root {
  /* ---- BRAND PALETTE (Massa brand teal + rail orange) ---- */
  --color-primary:        #0c8577;   /* Massa brand teal (from logo) — small accents only */
  --color-primary-dark:   #181c1f;   /* charcoal / near-black (footers, overlays, dark bands) */
  --color-primary-light:  #12a392;   /* hover / lighter teal — small accents */
  --color-accent:         #f0871b;   /* Massa brand orange (from material) — CTAs */
  --color-accent-dark:    #cf6e09;   /* accent hover */
  --color-graphite:       #262c30;   /* graphite panels / gradients */
  --color-graphite-2:     #3b444a;   /* lighter graphite */

  /* ---- NEUTRALS ---- */
  --color-ink:            #16202b;   /* main text */
  --color-body:           #43515f;   /* body copy */
  --color-muted:          #6b7683;   /* secondary text */
  --color-line:           #e2e7ec;   /* borders / dividers */
  --color-surface:        #ffffff;   /* cards */
  --color-bg:             #ffffff;   /* page background */
  --color-bg-alt:         #f4f6f8;   /* alternating section bg */
  --color-bg-tint:        #eef3f7;   /* tinted band */

  /* ---- FEEDBACK ---- */
  --color-success:        #1f9d55;

  /* ---- TYPE ---- */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* ---- SPACING / SHAPE ---- */
  --radius:      0;
  --radius-lg:   0;
  --shadow-sm:   0 1px 3px rgba(16,32,48,.08);
  --shadow-md:   0 8px 24px rgba(16,32,48,.10);
  --shadow-lg:   0 18px 48px rgba(16,32,48,.16);
  --container:   1200px;
  --header-h:    118px;
}

/* =====================  RESET / BASE  ===================== */
*,
*::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: 17px;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-primary-light); text-decoration: none; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-ink);
  line-height: 1.05;
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: .3px;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem);  text-transform: uppercase; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

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

section { padding: 84px 0; }
.bg-alt  { background: var(--color-bg-alt); }
.bg-dark { background: var(--color-primary-dark); color: #cdd7e0; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }

/* =====================  UTILITIES  ===================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 10px;
}
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head p { color: var(--color-muted); font-size: 1.1rem; }
.text-center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--color-body); }

/* =====================  BUTTONS  ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .4px;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-accent  { background: var(--color-accent); color: #fff; }
.btn-accent:hover  { background: var(--color-accent-dark); color: #fff; transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-light); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-line); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost   { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }

/* =====================  TOP BAR  ===================== */
.topbar {
  background: var(--color-primary-dark);
  color: #aebccb;
  font-size: .82rem;
  letter-spacing: .3px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 40px;
}
.topbar a { color: #cdd9e5; }
.topbar a:hover { color: #fff; }
.topbar-left span { margin-right: 22px; }
.topbar-left i, .topbar-right i { color: var(--color-accent); font-style: normal; margin-right: 6px; }
.topbar-right span { margin-left: 20px; }
.topbar-right { display: inline-flex; gap: 20px; align-items: center; }

/* =====================  HEADER / NAV  ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 13px; }
/* "massa" wordmark recreated from the brand logo (teal rounded pill).
   To use the exact logo file instead: drop it at assets/logo.svg (or .png)
   and replace .brand-logo below with <img src="assets/logo.svg" class="brand-img" alt="Massa"> */
.brand-logo {
  font-family: "Baloo 2", var(--font-body);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  background: var(--color-primary);
  padding: 7px 18px 9px;
  border-radius: 15px;
  letter-spacing: .5px;
}
.brand-img { height: 46px; width: auto; }
.brand-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.05;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.site-footer .brand-sub { color: #8fa8a3; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li > a {
  display: block;
  padding: 10px 12px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-ink);
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--color-accent); background: var(--color-bg-alt); }
/* dropdown submenu */
.nav-menu li.has-sub { position: relative; }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 6px; list-style: none; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 200;
}
.nav-menu li.has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub li a { display: block; padding: 9px 14px; border-radius: 5px; font-size: .9rem; font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.nav-sub li a:hover { background: var(--color-bg-alt); color: var(--color-accent); }

.nav-cta { margin-left: 14px; padding: 11px 20px; font-size: .8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--color-primary); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* =====================  HERO  ===================== */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(20,24,27,.95) 0%, rgba(20,24,27,.82) 45%, rgba(20,24,27,.55) 100%),
    url("../assets/hero.jpg") center/cover no-repeat,
    var(--color-primary-dark);
  color: #dbe7e4;
  overflow: hidden;
}
.hero::after {
  /* rail-track illustration overlay (SVG data-uri, theme-neutral) */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700' viewBox='0 0 1400 700'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M0 470 L1400 350'/%3E%3Cpath d='M0 560 L1400 440'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='0.05' stroke-width='10'%3E%3Cpath d='M120 700 L300 300'/%3E%3Cpath d='M280 700 L440 300'/%3E%3Cpath d='M520 700 L620 300'/%3E%3Cpath d='M780 700 L820 300'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover; background-position: right center;
  opacity: .8; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 660px; padding: 46px 0 40px; }
.hero .eyebrow { color: var(--color-accent); }
.hero h1 { color: #fff; margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.hero h1 .hl { color: var(--color-accent); }
.hero p { font-size: 1.2rem; color: #c3d0dc; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600; letter-spacing: .5px; color: #cdd9e5; text-transform: uppercase; }
.hero-badge svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--color-accent); }

/* =====================  TRUST STRIP  ===================== */
.trust {
  background: var(--color-primary-dark);
  border-top: 3px solid var(--color-accent);
  padding: 0;
}
.trust .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 18px 18px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  color: #e6edf3;
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: #fff; letter-spacing: .4px; }
.trust-item span { display:block; margin-top:4px; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: #9fb0c0; line-height:1.4; }

/* =====================  CLIENTS STRIP  ===================== */
.clients { padding: 44px 0; border-bottom: 1px solid var(--color-line); }
.clients p.clients-label {
  text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--color-muted); margin: 0 0 24px;
}
.clients-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 36px 60px;
  max-width: 1080px; margin: 0 auto;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  padding: 42px 44px; box-shadow: 0 16px 44px rgba(10,20,25,.06);
}
.clients-row .cl { height: 84px; flex: 0 0 auto; min-width: 140px; display: flex; align-items: center; justify-content: center; }
.clients-row .cl img { max-height: 84px; max-width: 190px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: filter .25s, opacity .25s; }
.clients-row .cl:hover img { filter: none; opacity: 1; }
.clients-row .cl .wm { display: none; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 1px; color: var(--color-ink); opacity: .5; text-transform: uppercase; }
.clients-row .cl.noimg img { display: none; }
.clients-row .cl.noimg .wm { display: inline; }
@media (max-width: 600px) { .clients-row { padding: 26px 18px; gap: 26px 20px; } .clients-row .cl { height: 64px; } .clients-row .cl img { max-height: 64px; max-width: 150px; } }

/* =====================  CAROUSEL  ===================== */
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 0 14px; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--color-line); border-radius: 4px; }
.carousel-track img {
  flex: 0 0 auto; width: 460px; max-width: 82vw; height: 300px;
  object-fit: cover; border-radius: var(--radius-lg); scroll-snap-align: center; background: var(--color-graphite);
}
.carousel-nav { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 0; border: 1px solid var(--color-line);
  background: #fff; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--color-primary); transition: .2s;
}
.carousel-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* =====================  VALUE / FEATURES  ===================== */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: .2s;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.value-icon {
  width: 58px; height: 58px; border-radius: 0;
  background: var(--color-bg-tint);
  display: grid; place-items: center; margin-bottom: 20px;
}
.value-icon svg { width: 30px; height: 30px; color: var(--color-primary); }
.value-card h4 { color: var(--color-ink); margin-bottom: 8px; }
.value-card p { font-size: .96rem; color: var(--color-muted); margin: 0; }

/* =====================  PAIN CARDS (money)  ===================== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pain-card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: 32px 28px; position: relative;
  border-top: 3px solid var(--color-accent); transition: .2s;
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pain-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-muted); }
.pain-fig { font-family: var(--font-head); font-size: 2.9rem; line-height: 1; color: var(--color-accent); margin: 10px 0 4px; }
.pain-fig small { font-size: 1.1rem; color: var(--color-muted); font-family: var(--font-body); font-weight: 600; }
.pain-card h4 { color: var(--color-ink); margin: 12px 0 8px; }
.pain-card p { font-size: .95rem; color: var(--color-muted); margin: 0; }
.pain-card .solve { display: block; margin-top: 14px; font-size: .9rem; color: var(--color-primary); font-weight: 600; }
.illus-note { text-align: center; font-size: .82rem; color: var(--color-muted); margin-top: 26px; font-style: italic; }

/* =====================  FAQ / OBJECTIONS  ===================== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 16px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head);
  font-size: 1.2rem; color: var(--color-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--color-accent); flex: 0 0 auto; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--color-line); }
.faq-answer { padding: 20px 26px 26px; color: var(--color-body); font-size: 1rem; }
.faq-answer strong { color: var(--color-ink); }

/* =====================  PRODUCTS  ===================== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.prod-card {
  background: #fff; border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: .2s;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.prod-media {
  height: 210px; position: relative;
  background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-graphite-2) 100%);
  display: grid; place-items: center;
}
.prod-media svg { width: 96px; height: 96px; color: rgba(255,255,255,.9); }
.prod-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--color-accent); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: 1px;
  padding: 5px 11px; border-radius: 0; text-transform: uppercase;
}
.prod-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { margin-bottom: 10px; }
.prod-body p { font-size: .96rem; color: var(--color-muted); }
.prod-body .link-more {
  margin-top: auto; font-weight: 700; font-size: .9rem; letter-spacing: .5px;
  text-transform: uppercase; color: var(--color-accent);
  display: inline-flex; align-items: center; gap: 6px;
}

/* =====================  HOW IT WORKS  ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 3rem; font-weight: 700;
  color: var(--color-line); line-height: 1; display: block; margin-bottom: 12px;
}
.step h4 { color: var(--color-ink); }
.step p { font-size: .96rem; color: var(--color-muted); margin: 0; }

/* =====================  INDUSTRIES  ===================== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 190px; padding: 26px;
  background: linear-gradient(160deg, var(--color-graphite), var(--color-graphite-2));
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.06); transition: .2s;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ind-card svg { width: 40px; height: 40px; color: var(--color-accent); margin-bottom: auto; }
.ind-card h4 { color: #fff; margin: 14px 0 4px; }
.ind-card span { font-size: .88rem; color: #b9c6d3; }

/* =====================  WHY / SPLIT  ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media {
  border-radius: var(--radius-lg); min-height: 420px;
  background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-primary-dark) 100%);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.split-media svg { width: 160px; height: 160px; color: rgba(255,255,255,.85); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* mostra a imagem inteira, sem corte (ex.: dashboard OCR) */
.split-media.showfull { min-height: 0; background: #0b1519; padding: 16px; }
.split-media.showfull img { position: static; inset: auto; width: 100%; height: auto; object-fit: contain; }
.why-list { list-style: none; padding: 0; margin: 26px 0 0; }
.why-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.why-list .tick {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-accent); display: grid; place-items: center; margin-top: 3px;
}
.why-list .tick svg { width: 15px; height: 15px; color: #fff; }
.why-list h4 { margin: 0 0 3px; color: var(--color-ink); }
.why-list p { margin: 0; font-size: .96rem; color: var(--color-muted); }

/* =====================  STATS / CASE  ===================== */
.stat-band .container:first-child { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat b { font-family: var(--font-head); font-size: 3.2rem; color: var(--color-accent); display: block; line-height: 1; }
.stat span { font-size: .92rem; letter-spacing: 1px; text-transform: uppercase; color: #9fb0c0; }

.quote-card {
  max-width: 860px; margin: 46px auto 0; text-align: center;
}
.quote-card p { font-family: var(--font-head); font-weight: 500; font-size: 1.7rem; line-height: 1.3; color: #fff; }
.quote-card cite { display: block; margin-top: 18px; font-style: normal; font-size: .95rem; color: #9fb0c0; }

/* =====================  CTA BAND  ===================== */
.cta-band {
  background: linear-gradient(115deg, var(--color-graphite) 0%, var(--color-primary-dark) 100%);
  border-top: 3px solid var(--color-accent);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn-primary { background: var(--color-accent); color: #fff; }
.cta-band .btn-primary:hover { background: var(--color-accent-dark); color: #fff; }

/* =====================  FORM  ===================== */
.form-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 40px; border: 1px solid var(--color-line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .85rem; color: var(--color-ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: .98rem;
  border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; color: var(--color-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary-light); box-shadow: 0 0 0 3px rgba(18,163,146,.18);
}
.field textarea { resize: vertical; min-height: 120px; }

/* =====================  FOOTER  ===================== */
.site-footer { background: var(--color-primary-dark); color: #9fb0c0; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h5 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: #fff; font-size: 1.05rem; margin: 0 0 18px; }
.site-footer .footer-about .brand-logo { margin-bottom: 4px; display: inline-block; }
.footer-about p { font-size: .92rem; margin: 18px 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #b3c1cf; font-size: .93rem; }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--color-accent); flex: 0 0 18px; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #7f92a3;
}
.footer-badges { display: flex; gap: 10px; }
.footer-badges span { border: 1px solid rgba(255,255,255,.18); border-radius: 4px; padding: 4px 10px; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; }

/* =====================  PAGE HEADER (interior pages)  ===================== */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 120% at 82% -12%, rgba(240,135,27,.16), transparent 60%),
    radial-gradient(72% 130% at 10% 112%, rgba(12,133,119,.34), transparent 62%),
    linear-gradient(135deg, #12171b 0%, #0f1c1e 52%, #0b2420 100%);
  color: #cdd9e5; padding: 84px 0 78px; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 38%, #000 20%, transparent 72%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-primary), transparent);
  opacity: .75;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.breadcrumb { font-size: .85rem; color: #8ba0b3; }
.breadcrumb a { color: #b9c6d3; }

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 980px) {
  .value-grid, .trust .container, .stat-band .container:first-child { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .steps, .ind-grid { grid-template-columns: 1fr 1fr; }
  .split, .form-row, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .split-media { min-height: 280px; }
}
@media (max-width: 720px) {
  .nav-menu {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-md); padding: 10px 0; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 14px 24px; border-radius: 0; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; margin: 0; padding: 0 0 6px 24px; }
  .nav-sub li a { padding: 8px 0; }
  .nav-cta { display: none; }
  .nav-wa { display: none; }
  .nav-toggle { display: block; }
  .topbar-left span:not(:first-child) { display: none; }
  .prod-grid, .steps, .ind-grid, .value-grid, .trust .container, .stat-band .container:first-child { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 0 44px; }
  section { padding: 56px 0; }
}
/* trava qualquer rolagem horizontal acidental no mobile */
html, body { overflow-x: hidden; }
@media (max-width: 420px) {
  .hero h1 { font-size: 1.9rem; }
  .topbar { font-size: .76rem; }
  .topbar-left span { margin-right: 0; }
}

/* ===== Botão flutuante WhatsApp (site BR) ===== */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:300;width:58px;height:58px;border-radius:50%;
  background:#25D366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 22px rgba(0,0,0,.28);transition:transform .2s}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:32px;height:32px;fill:#fff}
@media (max-width:600px){.wa-float{width:52px;height:52px;right:16px;bottom:16px}.wa-float svg{width:29px;height:29px}}

/* ===== Ícone de WhatsApp no menu (BR) ===== */
.nav-wa{display:inline-flex;align-items:center;gap:8px;background:#25D366;color:#fff;border-radius:999px;
  padding:11px 18px;font-weight:600;font-size:.82rem;flex:0 0 auto;margin-left:14px;white-space:nowrap;transition:transform .2s,box-shadow .2s}
.nav-wa:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(37,211,102,.35)}
.nav-wa svg{width:20px;height:20px;fill:#fff;flex:0 0 auto}
/* grid de 4 produtos na home */
.prod-grid.cols-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:1000px){.prod-grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.prod-grid.cols-4{grid-template-columns:1fr}}

/* ===== Seletor de idioma (topbar) ===== */
.lang-switch { display: inline-flex; gap: 4px; align-items: center; }
.lang-switch .lang { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 6px;
  font-weight: 700; font-size: .78rem; color: #cdd9e5; line-height: 1; letter-spacing: .3px; }
.lang-switch .lang:hover { background: rgba(255,255,255,.12); color: #fff; }
.lang-switch .lang.active { background: var(--color-accent); color: #fff; }

/* grid de 5 cards (diferenciais da home): 3 por linha, última linha centralizada */
.value-grid.v5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.value-grid.v5 .value-card { flex: 1 1 300px; max-width: 350px; }
@media (max-width: 700px) { .value-grid.v5 .value-card { flex-basis: 100%; max-width: none; } }

/* Referência de cliente no card de setor — selo laranja de destaque */
.ind-cli { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  color: #ff9a3d; font-weight: 800; font-size: .85rem; line-height: 1.25; letter-spacing: .2px;
  background: rgba(240,135,27,.16); border: 1px solid rgba(240,135,27,.5);
  border-left: 3px solid var(--color-accent); padding: 8px 13px; }
.ind-cli svg { width: 16px; height: 16px; flex: 0 0 auto; stroke: var(--color-accent); }

/* Destaque laranja dentro dos cards de diferencial */
.value-card strong { color: var(--color-accent); font-weight: 700; }

/* ===== Depoimentos (cards de citação) — usado na home e produtos ===== */
.quote-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.qcard { background:#fff; border:1px solid var(--color-line); border-top:3px solid var(--color-accent); padding:28px 26px; display:flex; flex-direction:column; }
.qcard .qmark { font-family:var(--font-head); font-size:2.8rem; line-height:.7; color:var(--color-accent); margin-bottom:12px; }
.qcard p { font-size:1rem; color:var(--color-body); line-height:1.55; margin:0 0 18px; font-style:italic; }
.qcard cite { margin-top:auto; font-size:.85rem; font-weight:700; color:var(--color-ink); font-style:normal; letter-spacing:.3px; }
.qcard cite span { display:block; font-weight:500; color:var(--color-muted); font-size:.78rem; margin-top:2px; }
@media(max-width:900px){ .quote-grid{ grid-template-columns:1fr; } }

/* ===== Cases (cards de link) — usado na home e produtos ===== */
.caselink-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.caselink { display:block; background:#fff; border:1px solid var(--color-line); border-left:3px solid var(--color-accent); padding:24px; transition:transform .18s ease, box-shadow .18s ease; }
.caselink:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.caselink .cl-sec { font-size:.75rem; text-transform:uppercase; letter-spacing:1.2px; color:var(--color-muted); font-weight:700; }
.caselink h4 { color:var(--color-ink); margin:8px 0 6px; }
.caselink p { font-size:.9rem; color:var(--color-body); margin:0 0 14px; }
.caselink .cl-go { font-size:.8rem; font-weight:700; color:var(--color-primary); text-transform:uppercase; letter-spacing:.5px; }
.caselink:hover .cl-go { color:var(--color-accent); }
@media(max-width:800px){ .caselink-grid{ grid-template-columns:1fr; } }

/* painel branco que mostra a imagem inteira (render com fundo branco) */
.split-media.render-white { min-height:0; background:#fff; border:1px solid var(--color-line); padding:12px; }
.split-media.render-white img { position:static; inset:auto; width:100%; height:auto; object-fit:contain; }

/* ===== Bloco "Sobre a MASSA" na home ===== */
.about-home { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-home h2 { color:#fff; }
.about-home p { color:#b9c6c2; font-size:1.08rem; }
.ah-stats { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.ah-stat { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14); border-left:3px solid var(--color-accent); padding:22px 22px; }
.ah-stat b { display:block; font-family:var(--font-head); font-size:2.4rem; line-height:1; color:var(--color-accent); }
.ah-stat span { display:block; margin-top:8px; font-size:.82rem; color:#9fb0ab; letter-spacing:.3px; line-height:1.35; }
@media(max-width:860px){ .about-home{ grid-template-columns:1fr; gap:36px; } }
@media(max-width:480px){ .ah-stats{ grid-template-columns:1fr; } }

/* ===== GALERIA fade genérica (carrossel dentro de .split-media) ===== */
.split-media .fc-slide { opacity:0; transition:opacity 1s ease; }
.split-media .fc-slide.active { opacity:1; }
.split-media .fc-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:46px; height:46px; border:none; background:rgba(0,0,0,.45); color:#fff; font-size:1.7rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.split-media .fc-arrow:hover { background:var(--color-accent); }
.split-media .fc-prev { left:12px; } .split-media .fc-next { right:12px; }

/* ================= CORREÇÕES MOBILE (override final) ================= */
@media (max-width: 720px) {
  .nav-wa { display: none !important; }               /* usa o botão flutuante */
  .nav { height: 64px; }
  .site-header .brand-img { height: 38px; }
  .nav-menu { top: 64px; }
  .topbar .container { gap: 8px; }
  .topbar-right { margin-left: auto; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 1.85rem; line-height: 1.08; }
  .hero p { font-size: 1rem; }
  h2 { font-size: 1.7rem; }
  .container { padding: 0 18px; }
  .topbar-left span:first-child { font-size: .78rem; }
}

/* botões longos não estouram no mobile */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band .btn { width: 100%; margin: 0 0 10px !important; justify-content: center; }
}
