/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Cores oficiais do Manual da Marca N3:
   Verde claro  Pantone 7481C  RGB 13,177,75   #0DB14B
   Verde escuro Pantone 7732C  RGB 0,121,73    #007949
   Cinza        Pantone 424C   RGB 109,110,113 #6D6E71 */
:root {
  --verde: #0db14b;
  --verde-escuro: #007949;
  --verde-900: #054d30;
  --verde-950: #06331f;
  --cinza-marca: #6d6e71;
  --cinza-50: #f5f8f6;
  --cinza-100: #e6ece9;
  --cinza-600: #5b6660;
  --branco: #ffffff;
  --texto: #24312a;
  --radius: 14px;
  --sombra: 0 8px 30px rgba(6, 51, 31, 0.08);
  --fonte-titulo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fonte-texto: "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-texto);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  line-height: 1.15;
  color: var(--verde-950);
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; }

.section { padding: 5rem 0; }
.section-alt { background: var(--cinza-50); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 0.6rem;
}

.section-sub {
  max-width: 560px;
  color: var(--cinza-600);
  margin-bottom: 2rem;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--verde);
  color: var(--branco);
}
.btn-primary:hover { background: var(--verde-escuro); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--branco);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--branco);
  box-shadow: 0 1px 0 var(--cinza-100);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem 0;
}

.logo-img { height: 56px; width: auto; }

.nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cinza-marca);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--verde-escuro); }

.header-cta { white-space: nowrap; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--verde-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  color: var(--branco);
  background:
    linear-gradient(100deg, rgba(4, 40, 24, 0.92) 0%, rgba(0, 121, 73, 0.72) 55%, rgba(4, 40, 24, 0.55) 100%),
    url("https://images.unsplash.com/photo-1582489853490-cd3a53eb4530?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: min(88vh, 660px);
  padding: 5rem 0;
}

.hero-content { max-width: 640px; }

.hero h1 { color: var(--branco); margin: 0.9rem 0 1.25rem; }

.hero .destaque { color: var(--verde); }

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(13, 177, 75, 0.22);
  border: 1px solid rgba(13, 177, 75, 0.55);
}

.hero-sub {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============ SOBRE ============ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.sobre-grid p { margin-bottom: 1rem; color: var(--cinza-600); }

.sobre-foto img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat {
  background: var(--cinza-50);
  border: 1px solid var(--cinza-100);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--verde-escuro);
}

.stat span { color: var(--cinza-600); font-size: 0.85rem; }

/* ============ SOLUÇÕES (CARDS) ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid var(--cinza-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(6, 51, 31, 0.14);
}

.card-foto {
  height: 210px;
  overflow: hidden;
}

.card-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-foto img { transform: scale(1.05); }

.card-body { padding: 1.6rem 1.8rem 1.8rem; }

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--verde-escuro);
}

.card p { font-size: 0.93rem; color: var(--cinza-600); }

.card-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.card-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  color: var(--cinza-600);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde);
}

.card-list strong { color: var(--verde-escuro); }

/* ============ SEGMENTOS (CHIPS) ============ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chips li {
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: var(--cinza-50);
  border: 1px solid var(--cinza-100);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--verde-950);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chips li:hover {
  background: var(--verde-escuro);
  border-color: var(--verde-escuro);
  color: var(--branco);
}

/* ============ SUSTENTABILIDADE ============ */
.section-dark {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-950));
  color: var(--branco);
}

.section-dark h2 { color: var(--branco); }
.section-dark .section-tag { color: var(--verde); }

.section-sub-dark { color: rgba(255, 255, 255, 0.78); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.diff-grid-3 { grid-template-columns: repeat(3, 1fr); }

.diff {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.diff h3 { color: var(--verde); margin-bottom: 0.5rem; font-size: 1.05rem; }
.diff p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }

/* ============ CONTATO ============ */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contato-info { display: grid; gap: 1.2rem; }

.contato-info li { display: grid; gap: 0.15rem; }
.contato-info strong { color: var(--verde-950); font-size: 0.9rem; }
.contato-info a, .contato-info span { color: var(--cinza-600); }
.contato-info a:hover { color: var(--verde-escuro); }

.contato-form {
  background: var(--branco);
  border: 1px solid var(--cinza-100);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.contato-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--verde-950);
}

.contato-form .full { grid-column: 1 / -1; }

.contato-form input,
.contato-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--cinza-100);
  background: var(--branco);
  color: var(--texto);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--verde);
}

.form-feedback {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--verde-escuro);
  font-weight: 500;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--verde-950);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.logo-footer { display: inline-block; line-height: 1; }

.logo-footer-n3 {
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-size: 2.3rem;
  color: var(--verde);
  letter-spacing: -0.03em;
}

.logo-footer-n3 em {
  font-style: normal;
  color: var(--branco);
}

.logo-footer-quimica {
  display: block;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

.footer-inner p { margin-top: 0.9rem; max-width: 320px; font-size: 0.92rem; }

.footer-nav { display: grid; gap: 0.5rem; }
.footer-nav a { font-size: 0.95rem; }
.footer-nav a:hover { color: var(--verde); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ WHATSAPP FLUTUANTE ============ */
.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--branco);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; }

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
  .hero-inner { min-height: 0; padding: 4.5rem 0; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-foto img { min-height: 260px; max-height: 340px; }
  .cards-grid, .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .diff-grid, .diff-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
  .diff-grid, .diff-grid-3 { grid-template-columns: 1fr; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .contato-form { grid-template-columns: 1fr; padding: 1.4rem; }
  .header-cta { display: none; }
  .logo-img { height: 46px; }

  .menu-toggle { display: flex; margin-left: auto; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 12px 24px rgba(6, 51, 31, 0.12);
    display: none;
  }

  .nav.aberto { display: flex; }

  .nav a { padding: 0.8rem 1.6rem; }
}
