/* ==========================================================================
   Super Mix — variáveis e reset
   ========================================================================== */
:root {
  --white: #ffffff;
  --offwhite: #FAF8F5;
  --gray-100: #EFEDEC;
  --gray-300: #D8D5D3;
  --gray-500: #6B6B6D;
  --gray-700: #47474A;
  --gray-900: #262628;

  --gold-deep: #8A5A12;   /* fundo sólido de botões, sempre com texto branco */
  --gold-deep-hover: #714809;
  --gold-primary: #C4811B; /* dourado escuro decorativo (títulos, ícones, bordas) */
  --gold-light: #F5AC3D;   /* dourado claro (destaques sobre fundo claro, com texto escuro) */
  --gold-light-soft: rgba(245, 172, 61, 0.14);

  --header-height: 84px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(38, 38, 40, 0.08);
  --shadow-md: 0 12px 32px rgba(38, 38, 40, 0.14);
  --transition: 200ms ease;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.55; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.mvv-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
.mvv-grid > .reveal:nth-child(2) { transition-delay: 0.15s; }
.mvv-grid > .reveal:nth-child(3) { transition-delay: 0.25s; }

.products-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
.products-grid > .reveal:nth-child(2) { transition-delay: 0.13s; }
.products-grid > .reveal:nth-child(3) { transition-delay: 0.21s; }
.products-grid > .reveal:nth-child(4) { transition-delay: 0.29s; }

.diff-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
.diff-grid > .reveal:nth-child(2) { transition-delay: 0.13s; }
.diff-grid > .reveal:nth-child(3) { transition-delay: 0.21s; }
.diff-grid > .reveal:nth-child(4) { transition-delay: 0.29s; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--gold-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep-hover); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-deep);
  color: var(--white);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold-deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-deep-hover);
  color: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-light:hover {
  background: var(--gold-light);
  color: var(--gray-900);
  border-color: var(--gold-light);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
  backdrop-filter: blur(6px);
  box-shadow: none;
  transition: box-shadow var(--transition);
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

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

.brand { display: flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 2px;
}
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--gold-deep);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-list a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(38,38,40,0.92) 0%, rgba(38,38,40,0.72) 45%, rgba(138,90,18,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.1s forwards;
}
.hero-tagline::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--gold-light);
  flex-shrink: 0;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 0.3em;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.22s forwards;
}
.hero-content h2 {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 620px;
  margin-bottom: 1.6em;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.34s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.46s forwards;
}

/* ==========================================================================
   Seções gerais
   ========================================================================== */
.section {
  padding: 96px 0;
}
.section-alt { background: var(--offwhite); }

.section-tag {
  display: inline-block;
  color: var(--gold-deep);
  background: var(--gold-light-soft);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-tag-light {
  color: var(--gray-900);
  background: var(--gold-light);
}

.lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 680px;
  margin-bottom: 2.4em;
}
.lead-light { color: rgba(255,255,255,0.88); }

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 72px;
}
.about-text h3 { color: var(--gold-deep); margin-bottom: 0.6em; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mvv-card h3 { color: var(--gold-deep); }
.mvv-card-highlight {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.mvv-card-highlight h3,
.mvv-card-highlight p { color: var(--white); }

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.values-list li {
  position: relative;
  padding-left: 26px;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.values-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-primary);
}

/* Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-media {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s ease;
}
.product-card:hover .product-media {
  transform: scale(1.07);
}
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,38,40,0) 55%, rgba(38,38,40,0.55) 100%);
}
.product-body { padding: 22px 22px 26px; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 0.5em; }
.product-body p { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 0; }

.service-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--gold-light-soft);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 32px;
  flex-wrap: wrap;
}
.service-banner h3 { margin-bottom: 0.3em; }
.service-banner p { margin: 0; color: var(--gray-700); }
.service-banner-vitrine {
  margin-top: 20px;
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.vitrine-cta {
  background: var(--gray-900);
  padding: 64px 0;
}
.vitrine-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.vitrine-cta-text h2 { color: var(--white); margin-bottom: 0.4em; }
.vitrine-cta-text .lead-light { max-width: 560px; margin-bottom: 0; }

/* Diferenciais */
.section-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.section-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(38,38,40,0.93) 0%, rgba(38,38,40,0.82) 55%, rgba(138,90,18,0.68) 100%);
}
.section-dark .container { position: relative; z-index: 2; }
.section-dark h2 { color: var(--white); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.diff-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), background var(--transition);
}
.diff-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}
.diff-card h3 { color: var(--white); }
.diff-card p { color: rgba(255, 255, 255, 0.82); margin: 0; font-size: 0.92rem; }

/* Área de atuação */
.section-with-media { position: relative; overflow: hidden; }
.atuacao-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.section-with-media .container { position: relative; z-index: 1; }

.atuacao-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list li {
  background: var(--offwhite);
  border: 1px solid var(--gray-100);
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.atuacao-highlight img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 16px;
}
.atuacao-highlight p {
  color: var(--gray-700);
  font-weight: 500;
}

/* Contato */
.section-contact {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.section-contact .container { position: relative; z-index: 2; }
.section-contact h2 { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  font-weight: 700;
}
.contact-list a,
.contact-list span {
  color: var(--white);
  font-size: 1rem;
}
.contact-list a:hover { color: var(--gold-light); }

.contact-map {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 6px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.6); }
.footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-nav ul, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a, .footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.75); }

.footer-bottom {
  padding: 24px 0 32px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

#montesite-footer-badge { text-align: center; }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulseRing 2.4s ease-out infinite;
  z-index: -1;
}
.whatsapp-float:hover {
  background: #1FBE5A;
  transform: translateY(-2px);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .atuacao-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }
  .brand-logo { height: 46px; }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav.is-open { max-height: 70vh; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .nav-list li { border-top: 1px solid var(--gray-100); }
  .nav-list li:first-child { border-top: none; }
  .nav-list a { display: block; padding: 14px 4px; }

  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .section { padding: 64px 0; }
  .mvv-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .service-banner { flex-direction: column; align-items: flex-start; }
  .hero-content h2 { max-width: 100%; }
  .vitrine-cta-inner { flex-direction: column; align-items: flex-start; }
}
