/* ============================================
   JOMAR MÓVEIS — Design Moderno & Requintado
   Fontes: Playfair Display + Inter
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul:        #0D1F4E;
  --azul-medio:  #1D3E8F;
  --vermelho:    #D91A1F;
  --dourado:     #C4963C;
  --preto:       #0A0A0A;
  --branco:      #FFFFFF;
  --off-white:   #F8F7F4;
  --cinza-claro: #EFEFEB;
  --cinza-md:    #9A9A8E;
  --cinza-texto: #4A4A42;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --radius:      16px;
  --shadow:      0 4px 32px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--branco);
  color: var(--preto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--light {
  background: var(--branco);
  color: var(--azul);
}
.btn--light:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn--outline {
  background: transparent;
  color: var(--branco);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--branco); }
.btn--dark {
  background: var(--azul);
  color: var(--branco);
}
.btn--dark:hover { background: #091628; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(13,31,78,0.35); }
.btn--vermelho {
  background: var(--vermelho);
  color: var(--branco);
}
.btn--vermelho:hover { background: #b81519; transform: translateY(-2px); }

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermelho);
  margin-bottom: 12px;
}
.section-eyebrow--light { color: rgba(196,150,60,0.9); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--preto);
}
.section-title span { color: var(--vermelho); }
.section-title em { font-style: italic; color: var(--dourado); }
.section-title--light { color: var(--branco); }

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wpp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wpp-float svg { width: 28px; height: 28px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 4px 0;
}
.header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.header.scrolled .header__logo img { filter: none; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--branco); }
.header.scrolled .header__nav a { color: var(--cinza-texto); }
.header.scrolled .header__nav a:hover { color: var(--azul); }
.header__wpp {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: var(--branco) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}
.header__wpp:hover { background: #1fb355; transform: translateY(-1px); }
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: background 0.3s;
}
.header.scrolled .header__burger span { background: var(--preto); }

/* ---- MENU MOBILE ---- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.mobile-nav__link {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--branco);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-nav__link:hover { opacity: 1; }
.mobile-nav__wpp {
  background: #25D366;
  color: var(--branco);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,31,78,0.92) 0%,
    rgba(13,31,78,0.75) 55%,
    rgba(13,31,78,0.4) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}
.hero__content { max-width: 620px; }
.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  color: var(--branco);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--dourado);
}
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badge-wrap {
  flex-shrink: 0;
}
.hero__badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,150,60,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  position: relative;
}
.hero__badge::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(196,150,60,0.2);
}
.hero__badge strong {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--dourado);
  line-height: 1;
}
.hero__badge span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 0.1; }
}

/* ============================================
   CARROSSEL DE DESTAQUES
   ============================================ */
.destaques {
  padding: 96px 0;
  background: var(--off-white);
}
.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  flex: 1;
}
.carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide { min-width: 100%; }
.slide__inner {
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.slide__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.slide__inner:hover .slide__photo img { transform: scale(1.04); }
.slide__photo-overlay {
  position: absolute;
  inset: 0;
}
.slide__text {
  position: relative;
  z-index: 1;
  padding: 56px 56px;
  max-width: 520px;
}
.slide__text { max-width: 480px; position: relative; z-index: 1; }
.slide__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.slide__text h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 14px;
}
.slide__text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 28px;
}
.slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--branco);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.slide__cta::after { content: '→'; }
.slide__cta:hover { border-color: var(--branco); gap: 12px; }
.slide__visual {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide__circle {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.slide__icon-svg {
  width: 100px;
  height: 80px;
  position: relative;
  z-index: 1;
}
.carousel__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--cinza-claro);
  background: var(--branco);
  color: var(--preto);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}
.carousel__arrow:hover { background: var(--azul); color: var(--branco); border-color: var(--azul); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cinza-claro);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.carousel__dot.active {
  background: var(--azul);
  width: 28px;
  border-radius: 4px;
}

/* ============================================
   CATEGORIAS
   ============================================ */
.categorias {
  padding: 96px 0;
  background: var(--branco);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--cinza-claro);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.cat-card__num {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cinza-md);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.cat-card__icon {
  width: 52px;
  height: 52px;
  background: var(--azul);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cat-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--branco);
}
.cat-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--preto);
  margin-bottom: 10px;
}
.cat-card p {
  font-size: 0.88rem;
  color: var(--cinza-texto);
  line-height: 1.6;
  margin-bottom: 20px;
}
.cat-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--azul);
  letter-spacing: 0.03em;
  transition: letter-spacing 0.2s;
}
.cat-card:hover .cat-card__link { letter-spacing: 0.06em; }

/* ============================================
   SOBRE
   ============================================ */
.sobre { background: var(--off-white); }
.sobre__dark {
  background: var(--azul);
  padding: 96px 0;
}
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre__texto p {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.sobre__lista {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sobre__lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 500;
}
.sobre__lista svg { color: var(--dourado); flex-shrink: 0; }
.sobre__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.stat {
  background: rgba(255,255,255,0.05);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}
.stat:hover { background: rgba(255,255,255,0.08); }
.stat:first-child { border-radius: var(--radius) 0 0 0; }
.stat:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.stat:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.stat:last-child { border-radius: 0 0 var(--radius) 0; }
.stat strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--branco);
  line-height: 1;
}
.stat strong span {
  font-size: 1.4rem;
  color: var(--dourado);
}
.stat em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--cinza-claro);
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta__texto h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--preto);
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta__texto p {
  font-size: 1rem;
  color: var(--cinza-texto);
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: 96px 0;
  background: var(--branco);
}
.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contato__lista {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contato__lista li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cinza-claro);
}
.contato__lista li:last-child { border-bottom: none; }
.contato__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza-md);
}
.contato__lista span,
.contato__lista a {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--preto);
  transition: color 0.2s;
}
.contato__lista a:hover { color: var(--azul-medio); }
.contato__mapa iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--preto);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand img {
  height: 40px;
  object-fit: contain;
  margin-bottom: 16px;
  opacity: 0.9;
}
.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer__links,
.footer__contato {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a,
.footer__contato a,
.footer__contato span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__links a:hover,
.footer__contato a:hover { color: var(--branco); }
.footer__bottom {
  padding: 20px 0;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre__inner { gap: 48px; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }

  .hero__inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero__badge-wrap { display: none; }

  .slide__inner { flex-direction: column; padding: 36px 28px; }
  .slide__visual { display: none; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .sobre__inner { grid-template-columns: 1fr; gap: 48px; }

  .cta__inner { flex-direction: column; text-align: center; }

  .contato__inner { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .carousel { gap: 8px; }
  .carousel__arrow { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { text-align: center; justify-content: center; }
  .cat-grid { grid-template-columns: 1fr; }
  .sobre__stats { grid-template-columns: 1fr 1fr; }
}
