:root {
  --navy: #0f2d4d;
  --navy-dark: #0a1f38;
  --blue-accent: #1c5fa8;
  --terracotta: #c1592f;
  --bg: #f7f7f5;
  --bg-alt: #ffffff;
  --ink: #14202e;
  --ink-soft: #4b5a6a;
  --border: #e2e5e0;
  --radius: 14px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 45, 77, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover { color: #fff; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 45, 77, 0.25);
}

.nav-cta {
  white-space: nowrap;
  background: var(--terracotta);
}

.nav-cta:hover {
  box-shadow: 0 8px 20px rgba(193, 89, 47, 0.35);
}

/* Hero */

.hero {
  position: relative;
  height: 500vh; /* scroll distance that drives the video scrub */
  background: var(--navy-dark);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,0.55) 0%, rgba(10,31,56,0.25) 40%, rgba(10,31,56,0.65) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  max-width: 680px;
}

.hero-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 8px)) scale(0.99);
  width: 100%;
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  opacity: 0;
  filter: blur(3px);
  will-change: opacity, transform, filter;
  transition: opacity 1.1s cubic-bezier(0.65, 0, 0.35, 1), transform 1.1s cubic-bezier(0.65, 0, 0.35, 1), filter 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero-line.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.scroll-hint-bar {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
}

.scroll-hint-fill {
  height: 100%;
  width: 0%;
  background: var(--terracotta);
  border-radius: 999px;
}

/* Section shared */

section:not(.hero) {
  padding: 110px 0;
}

.eyebrow {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.6;
}

/* Catalogo */

.catalogo { background: var(--bg-alt); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 45, 77, 0.1);
}

.product-thumb {
  display: block;
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--blue-accent));
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--ink);
}

.product-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 16px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.spec-list li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 4px 0;
}

.spec-list li::before {
  content: "—";
  color: var(--terracotta);
  margin-right: 8px;
}

.more-details {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.more-details p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.product-card.is-open .more-details {
  max-height: 240px;
  margin-top: 14px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-details {
  flex: 1;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-details:hover {
  border-color: var(--blue-accent);
  background: rgba(28, 95, 168, 0.06);
}

.wa-icon-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f9e56;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.wa-icon-btn:hover { transform: translateY(-1px) scale(1.05); }

.icon-wa {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Sobre */

.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.sobre-copy p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}

.sobre-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 800;
}

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

.sobre-visual {
  display: block;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  object-fit: cover;
  background: linear-gradient(150deg, var(--navy-dark), var(--blue-accent) 60%, var(--terracotta) 130%);
}

/* Contato */

.contato { background: var(--bg-alt); }

.contato-single {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato-single .eyebrow,
.contato-single h2 { text-align: center; }

.section-lead.center {
  margin: 0 auto;
  text-align: center;
}

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f9e56;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 32px;
  border-radius: 999px;
  margin-top: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-whatsapp-lg .icon-wa { width: 22px; height: 22px; }

.btn-whatsapp-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 158, 86, 0.28);
}

.contato-alt-link {
  display: block;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.contato-alt-link:hover {
  color: #1f9e56;
  text-decoration: underline;
}

.contato-detail {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
}

.contato-detail strong { color: var(--navy); }
.contato-detail span { color: var(--ink-soft); }

/* Footer / Localização */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 22px;
}

.footer-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 340px;
}

.icon-pin {
  width: 20px;
  height: 20px;
  fill: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-maps-link {
  display: inline-block;
  margin-top: 14px;
  color: #7db4ea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-maps-link:hover { text-decoration: underline; }

.footer-copy {
  margin-top: 40px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  border: 1px solid rgba(255,255,255,0.12);
}

.footer-map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.maps-open-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* Responsive */

@media (max-width: 860px) {
  .nav { display: none; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-visual { order: -1; height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-map { height: 260px; }
}
