/* ==========================================================================
   INDUPLASTIL — Folha de estilo compartilhada
   Paleta: navy #02026B / verde CTA #57C413 / verde escuro #005F27
   ========================================================================== */

:root {
  --navy:        #02026B;
  --navy-dark:   #02025A;
  --green:       #57C413;
  --green-dark:  #005F27;
  --gray-btn:    #404348;
  --bg:          #F8F8F8;
  --white:       #FFFFFF;
  --text:        #2b2b33;
  --text-soft:   #5b5b66;
  --border:      #e4e4ea;
  --radius:      14px;
  --shadow-sm:   0 2px 10px rgba(2, 2, 107, .06);
  --shadow-md:   0 10px 30px rgba(2, 2, 107, .10);
  --maxw:        1180px;
  --topbar-h:    42px;
  --header-h:    78px;
}

/* ---------- Reset base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 10px); }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

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

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }

.eyebrow {
  color: var(--green);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 10px;
}

h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h2.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-lead { color: var(--text-soft); max-width: 640px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--green   { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(87,196,19,.35); }
.btn--green:hover   { background: #4bb00d; }
.btn--gray    { background: var(--gray-btn); color: #fff; }
.btn--gray:hover    { background: #34373b; }
.btn--wa      { background: #25D366; color: #fff; }
.btn--wa:hover      { background: #1eb955; }
.btn--navy    { background: var(--navy); color: #fff; }
.btn--navy:hover    { background: #050585; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   HEADER (2 camadas, fixo)
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }

.topbar {
  background: var(--navy); color: #fff;
  height: var(--topbar-h); font-size: .82rem;
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__contacts { display: flex; align-items: center; gap: 22px; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 7px; opacity: .92; }
.topbar__contacts a:hover { opacity: 1; color: #cfe9ff; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a { display: inline-flex; opacity: .9; transition: opacity .2s, transform .2s; }
.topbar__social a:hover { opacity: 1; transform: translateY(-1px); }
.topbar__social svg { width: 17px; height: 17px; fill: #fff; }
.topbar .ico { width: 15px; height: 15px; fill: currentColor; flex: none; }

.navbar { background: #fff; height: var(--header-h); box-shadow: var(--shadow-sm); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navbar__logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > li > a {
  display: block; padding: 10px 14px; font-weight: 500; font-size: .95rem;
  color: var(--navy); border-radius: 8px; transition: color .2s, background .2s;
}
.nav > li > a:hover, .nav > li.is-active > a { color: var(--green); }

/* dropdown */
.nav__item--has-sub { position: relative; }
.nav__item--has-sub > a::after {
  content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); vertical-align: middle;
}
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; color: var(--navy); }
.nav__sub a:hover { background: var(--bg); color: var(--green); }

.navbar__cta { display: flex; align-items: center; gap: 14px; }

/* CTA que só aparece dentro do menu mobile */
.nav__cta-mobile { display: none; }

/* hamburguer */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 10px; width: 24px; height: 2.5px;
  background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after  { top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-8px) rotate(-45deg); }

/* espaço para o header fixo */
.page { padding-top: calc(var(--topbar-h) + var(--header-h)); }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
  min-height: 560px; display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(2,2,90,.90) 0%, rgba(2,2,107,.78) 45%, rgba(2,2,107,.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero__inner { max-width: 680px; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 3.8rem); letter-spacing: .01em; margin-bottom: 6px;
}
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 500; color: #d7f4c2; margin-bottom: 20px; }
.hero p.hero__text { font-size: 1.06rem; color: rgba(255,255,255,.9); margin-bottom: 30px; max-width: 600px; }

/* ==========================================================================
   PAGE BANNER (páginas internas)
   ========================================================================== */
.page-banner {
  position: relative; color: #fff; background: var(--navy);
  padding: 66px 0; overflow: hidden;
}
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .28; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,2,90,.92), rgba(2,2,107,.72)); z-index: 1; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; margin: 0 6px; }

/* ==========================================================================
   PRODUTOS (cards) — home
   ========================================================================== */
.grid-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.pcard {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: #eef0f4; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: 1.18rem; margin-bottom: 10px; min-height: 2.6em; }
.pcard__body p { color: var(--text-soft); font-size: .92rem; margin-bottom: 18px; flex: 1; }

/* ==========================================================================
   BLOCO IMAGEM + TEXTO (história / produto)
   ========================================================================== */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.media-split--reverse .media-split__media { order: 2; }
.media-split__media img {
  width: 100%; border-radius: 20px; border: 5px solid var(--green);
  box-shadow: var(--shadow-md); object-fit: cover;
}
.media-split__media--video { position: relative; border-radius: 20px; overflow: hidden; border: 5px solid var(--green); box-shadow: var(--shadow-md); background: #000; }
.media-split__media--video iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; display: block; }
.media-split__body h2 { margin-bottom: 16px; }
.media-split__body p { color: var(--text-soft); margin-bottom: 18px; }

/* Faixa de destaque em navy */
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2 { color: #fff; }
.band-navy p  { color: rgba(255,255,255,.88); }
.band-navy .advantages li { color: #fff; }
.band-navy .eyebrow { color: #7ce03a; }

/* ==========================================================================
   VANTAGENS (lista com checks)
   ========================================================================== */
.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; margin-top: 6px; }
.advantages li {
  display: flex; gap: 12px; align-items: flex-start; color: var(--text);
  font-size: .98rem;
}
.advantages li::before {
  content: ''; flex: none; width: 24px; height: 24px; margin-top: 2px;
  background: var(--green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='black'/></svg>") center / 16px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='black'/></svg>") center / 16px no-repeat;
}

/* chips (usos / aplicações) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chips li {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; color: var(--navy); font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FORMULÁRIOS
   ========================================================================== */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 34px; border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.field label .req { color: var(--green); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: .95rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  background: #fbfbfd; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(87,196,19,.15); background: #fff;
}
.form-note { font-size: .78rem; color: var(--text-soft); margin-top: 4px; }
.form-note a { color: var(--navy); text-decoration: underline; }

/* mensagem de status do form */
.form-status { border-radius: 10px; padding: 12px 16px; font-size: .9rem; font-weight: 500; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: #eafbe2; color: #2f7a12; border: 1px solid #bfe89a; }
.form-status--err { background: #fdeaea; color: #b02020; border: 1px solid #f2bcbc; }

/* mapa */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: stretch; }

/* ==========================================================================
   CLIENTES (carrossel simples de logos)
   ========================================================================== */
.clients-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px 60px; }
.clients-track img { height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.clients-track img:hover { filter: grayscale(0); opacity: 1; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { background: var(--green-dark); color: #fff; padding: 46px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter__head { display: flex; align-items: center; gap: 18px; }
.newsletter__head svg { width: 46px; height: 46px; fill: #fff; flex: none; opacity: .95; }
.newsletter__head h3 { color: #fff; font-size: 1.35rem; max-width: 340px; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input {
  font-family: inherit; padding: 12px 16px; border-radius: 10px; border: 0; min-width: 200px; font-size: .92rem;
}
.newsletter__form input:focus { outline: 2px solid var(--green); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); color: rgba(255,255,255,.82); padding-top: 60px; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__logo img { height: 54px; width: auto; margin-bottom: 18px; }
.footer p { font-size: .92rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: .92rem; opacity: .85; transition: opacity .2s, color .2s; }
.footer__links a:hover { opacity: 1; color: var(--green); }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .92rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; fill: var(--green); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: .82rem; letter-spacing: .04em; background: var(--navy-dark); }

/* ==========================================================================
   FLOAT WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse { 0% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0);} }

/* ==========================================================================
   Animação fade-in (IntersectionObserver)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .topbar__contacts { gap: 14px; }
  .topbar__contacts .hide-sm { display: none; }

  .navbar__cta .btn { display: none; }
  .nav-toggle { display: block; }

  .nav {
    position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; width: 100%;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease; max-height: 80vh; overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav > li > a { padding: 14px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; }
  .nav__item--has-sub > a::after { float: right; }
  .nav .nav__cta-mobile { display: block; margin-top: 14px; border-bottom: 0; }
  .nav .nav__cta-mobile a { justify-content: center; }

  .media-split { grid-template-columns: 1fr; gap: 30px; }
  .media-split--reverse .media-split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr; }
  .newsletter__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .grid-cards { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .topbar__contacts a span { display: none; }
  .newsletter__form input { min-width: 0; flex: 1; }
}
