/* ===============================
   Reset & Base
   =============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===============================
   Theme
   =============================== */
:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f97316;
  --bg-light: #e5f3f2;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-soft: #e2e8f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.15);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.4);
}

.btn.ghost {
  background: rgba(15, 118, 110, 0.06);
  color: var(--primary-dark);
  border-color: rgba(15, 118, 110, 0.2);
}

.btn.ghost:hover {
  background: rgba(15, 118, 110, 0.12);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-dark);
  font-weight: 500;
  border-bottom: 1px solid rgba(15, 118, 110, 0.25);
}

.link-inline:hover {
  border-color: var(--primary-dark);
}

.highlight {
  color: var(--accent);
}

.cards-grid {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 720px) {
  .cards-grid.products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards-grid.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid.team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .cards-grid.products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid.products-grid,
  .cards-grid.news-grid,
  .cards-grid.team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  padding: 1.4rem 1.4rem 1.6rem;
}

.card.product-card,
.card.news-card,
.card.team-card {
  padding: 0;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.25rem 1.4rem;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-cta {
  margin-top: 2.3rem;
  text-align: center;
}

.section-cta p {
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.seo-tail {
  font-size: 0.78rem;
  color: rgba(100, 116, 139, 0.9);
  margin-top: 0.5rem;
}

.note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===============================
   Header & Navigation
   =============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.logo-mark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-radius: 11px;
  padding: 0.25rem 0.55rem;
  font-size: 0.9rem;
}

.logo-text {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-list a {
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    right: 1.5rem;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.26);
    gap: 0.3rem;
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li a {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: none;
  }

  .nav-list li a:hover,
  .nav-list li a.active {
    background: rgba(15, 118, 110, 0.08);
  }
}

/* ===============================
   Hero & Layouts
   =============================== */
.hero {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
  margin-bottom: 1.3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badges span {
  font-size: 0.78rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-media img {
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.page-hero {
  padding-top: 3.3rem;
  padding-bottom: 2.5rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 2.6vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.page-hero p {
  max-width: 640px;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  gap: 2.2rem;
}

.about-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat {
  min-width: 140px;
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quality-grid {
  display: grid;
  gap: 2.2rem;
}

.quality-card {
  background: #ffffff;
}

.check-list {
  margin-top: 1.1rem;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.93rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.bullet-list {
  padding-left: 1.2rem;
}

.bullet-list li {
  list-style: disc;
  margin-bottom: 0.25rem;
}

.history-grid {
  display: grid;
  gap: 2.5rem;
}

.timeline {
  border-left: 2px solid rgba(148, 163, 184, 0.5);
  padding-left: 1.4rem;
}

.timeline-item {
  margin-bottom: 1rem;
}

.timeline-year {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.values-grid {
  display: grid;
  gap: 2.2rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.contact-grid {
  display: grid;
  gap: 2.4rem;
}

.contact-card {
  margin-bottom: 0.9rem;
}

.contact-extra p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .about-grid,
  .quality-grid,
  .history-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

/* ===============================
   Filters (Produtos)
   =============================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #ffffff;
  border-radius: 999px;
  padding: 0.3rem 0.95rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.filter-btn.active {
  background: rgba(15, 118, 110, 0.09);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.product-card.hidden {
  display: none;
}

/* ===============================
   Forms
   =============================== */
.contact-form {
  margin-top: 1.2rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.25);
  background: #ffffff;
}

.form-row input.error,
.form-row textarea.error,
.form-row select.error {
  border-color: #b91c1c;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.form-feedback {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-feedback.success {
  color: #15803d;
}

.form-feedback.error {
  color: #b91c1c;
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #0f172a;
  color: #e5e7eb;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.site-footer h3 {
  font-size: 1.2rem;
}

.site-footer h4 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
  padding: 2.5rem 0 1.7rem;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5f5;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.9rem 0 1.1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
  }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
  }
}

/* ===============================
   Animations (Scroll Fade)
   =============================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}


