/* ============================================================
   MONTADOR DE MÓVEIS JACAREÍ — STYLESHEET
   Paleta: preto, azul-marinho, ciano, verde-limão
   ============================================================ */

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

:root {
  --black:       #0a0a0a;
  --navy:        #0d1b2a;
  --navy-mid:    #112240;
  --navy-light:  #1a2e4a;
  --cyan:        #00c8e0;
  --cyan-dark:   #009ab0;
  --green:       #39d353;
  --green-dark:  #28a83e;
  --white:       #ffffff;
  --gray:        #a8b2c1;
  --font:        'Inter', sans-serif;
  --radius:      12px;
  --shadow:      0 8px 32px rgba(0,0,0,0.45);
  --transition:  0.3s ease;
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
  overflow-x: hidden; /* Garantia extra */
  width: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden; /* Garantia extra */
  width: 100%;
  position: relative;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px; /* Reduzido levemente para mobile */
}

.text-cyan { color: var(--cyan); }
.text-center { text-align: center; }

/* ---------- TYPOGRAPHY ---------- */
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.8rem); /* Ajustado para mobile */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  word-wrap: break-word; /* Evita quebra de layout */
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: normal; /* Permite quebra de linha em botões longos no mobile */
  text-align: center;
}

.btn--green {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(57,211,83,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,200,224,0.15);
  transition: var(--transition);
  width: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 15px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1; /* Permite encolher no mobile */
  min-width: 0; /* Permite que o texto encolha */
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--cyan);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--black);
  flex-shrink: 0;
}

.logo-title {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-city {
  display: block;
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 600;
}

.header__nav {
  display: flex;
  gap: 24px;
}

.header__nav a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}

.header__cta { font-size: 0.8rem; padding: 8px 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #0a0f1a 40%, #0d1b2a 100%);
  width: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url('{{PLUGIN_URL}}images/montagem4.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px 60px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  word-wrap: break-word;
}

.hero__quote {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 30px;
  font-style: italic;
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
  text-align: left;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- SOBRE ---------- */
.sobre {
  background: var(--navy);
  padding: 80px 0;
  overflow: hidden;
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sobre__desc {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.sobre__stats {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stat__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
}

.sobre__image {
  position: relative;
  width: 100%;
}

.sobre__image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: auto;
  max-height: 420px;
}

.sobre__image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  opacity: 0.2;
  pointer-events: none;
}

/* ---------- SERVIÇOS ---------- */
.servicos {
  background: var(--navy-mid);
  padding: 80px 0;
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.servico-card {
  background: var(--navy-light);
  border: 1px solid rgba(0,200,224,0.15);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
}

/* ---------- PORTFÓLIO ---------- */
.portfolio {
  background: var(--black);
  padding: 80px 0;
}

.portfolio__grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.portfolio-item--reverse { direction: rtl; }
.portfolio-item--reverse > * { direction: ltr; }

.portfolio-item__img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- HORÁRIOS / CONTATO ---------- */
.horarios {
  background: var(--navy);
  padding: 80px 0;
}

.horarios__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.horario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy-light);
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(0,200,224,0.12);
  gap: 10px;
  flex-wrap: wrap;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--navy-light);
  border-radius: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(0,200,224,0.12);
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #000000 0%, #0a0f1a 100%);
  text-align: center;
}

.cta-final__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- RODAPÉ ---------- */
.footer {
  background: #050505;
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .sobre__inner, .horarios__inner, .portfolio-item { gap: 30px; }
}

@media (max-width: 768px) {
  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,200,224,0.15);
  }

  .sobre__inner, .horarios__inner, .portfolio-item, .portfolio-item--reverse { 
    grid-template-columns: 1fr; 
    direction: ltr;
  }
  
  .sobre__image img, .portfolio-item__img img { height: auto; max-height: 300px; }
  .servicos__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .btn { width: 100%; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .hero__title { font-size: 2.2rem; }
  .container { padding: 0 15px; }
  .horario-row { flex-direction: column; align-items: flex-start; }
}
