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

:root {
  --cream: #F5F1EB;
  --dark: #111315;
  --dark2: #1C1E20;
  --gold: #C9A84C;
  --gold-light: #E2BE74;
  --gold-dim: rgba(201,168,76,.15);
  --text: #3E3E3E;
  --text-light: #7A7A7A;
  --white: #FFFFFF;
  --ease: cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

/* ===== TYPOGRAPHY ===== */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.label--light { color: var(--gold-light); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -.01em;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-header { margin-bottom: 56px; }
.section-header--light .section-title { color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,.4); }
  70%  { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* Hero entrance animations */
.a1 { opacity: 0; animation: fadeUp .6s var(--ease) .2s forwards; }
.a2 { opacity: 0; animation: fadeUp .6s var(--ease) .4s forwards; }
.a3 { opacity: 0; animation: fadeUp .6s var(--ease) .55s forwards; }
.a4 { opacity: 0; animation: fadeUp .6s var(--ease) .7s forwards; }
.a5 { opacity: 0; animation: fadeUp .6s var(--ease) .85s forwards; }
.a6 { opacity: 0; animation: fadeUp .6s var(--ease) 1s forwards; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.dif-item:nth-child(2).reveal { transition-delay: .1s; }
.dif-item:nth-child(3).reveal { transition-delay: .2s; }
.dif-item:nth-child(4).reveal { transition-delay: .3s; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.nav--scrolled {
  background: rgba(17,19,21,.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-accent { color: var(--gold); }

.btn-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-nav:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  height: 100%;
  object-position: top center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,19,21,.85) 0%,
    rgba(17,19,21,.6) 50%,
    rgba(17,19,21,.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 720px;
}
.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .2s, transform .2s, box-shadow .2s;
  animation: pulse-ring 2.5s ease 2s infinite;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,.5);
}
.hero-parcela {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}
.hero-scroll-line {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
}
.hero-scroll-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ===== STRIP MARQUEE ===== */
.strip {
  background: var(--dark);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: marquee 28s linear infinite;
}
.strip-track span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.strip-track .dot {
  color: var(--gold);
  font-size: 8px;
  flex-shrink: 0;
}

/* ===== SERVIÇOS ===== */
.servicos {
  padding: 96px 0 0;
}

/* Mosaic grid */
.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin-top: 0;
}

/* Card base */
.card-s {
  position: relative;
  overflow: hidden;
  background: var(--dark2);
  cursor: default;
}
.card-s .card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-s .card-img img {
  transition: transform .6s var(--ease);
}
.card-s:hover .card-img img {
  transform: scale(1.05);
}
.card-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 72px;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.card-body {
  padding: 28px 28px 32px;
  background: var(--dark2);
  position: relative;
}
.card-body::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card-s:hover .card-body::before { transform: scaleX(1); }

.card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.card-body p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 18px;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .03em;
  transition: letter-spacing .2s;
}
.card-link:hover { letter-spacing: .07em; }

/* Desktop mosaic layout */
@media (min-width: 768px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 400px 400px auto;
  }
  .card-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .card-featured .card-img {
    aspect-ratio: unset;
    height: 100%;
    min-height: 420px;
  }
  .card-featured {
    display: flex;
    flex-direction: column;
  }
  .card-featured .card-img {
    flex: 1;
  }
  .card-s:nth-child(2),
  .card-s:nth-child(3) {
    display: flex;
    flex-direction: column;
  }
  .card-s:nth-child(2) .card-img,
  .card-s:nth-child(3) .card-img {
    flex: 1;
    aspect-ratio: unset;
    min-height: 180px;
  }

}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
  position: relative;
  background: var(--dark);
  padding: 100px 0;
  margin-top: 80px;
  overflow: hidden;
}
.dif-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.02em;
}
.dif-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 0;
}
.dif-item {
  position: relative;
  padding-left: 0;
}
.dif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--gold);
  margin-bottom: 20px;
  transition: background .3s, border-color .3s;
}
.dif-item:hover .dif-icon {
  background: rgba(201,168,76,.25);
  border-color: var(--gold);
}
.dif-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.dif-item p {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PARCELA BAND ===== */
.parcela-band {
  background: linear-gradient(135deg, #1a1006 0%, #2a1f08 100%);
  border-top: 1px solid rgba(201,168,76,.2);
  border-bottom: 1px solid rgba(201,168,76,.2);
  padding: 36px 0;
}
.parcela-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.parcela-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.parcela-text {
  flex: 1;
  min-width: 200px;
}
.parcela-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  font-family: 'Playfair Display', Georgia, serif;
}
.parcela-text p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.btn-gold {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

/* ===== CTA FINAL ===== */
.cta-final {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.cta-media {
  position: absolute;
  inset: 0;
}
.cta-media img { object-position: top center; }
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17,19,21,.93) 0%,
    rgba(17,19,21,.7) 60%,
    rgba(17,19,21,.4) 100%
  );
}
.cta-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 600px;
}
.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  font-weight: 300;
}
.cta-sub strong { color: var(--white); font-weight: 600; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 999px;
  background: #25D366;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 16px;
  transition: background .2s, transform .2s, box-shadow .2s;
  animation: pulse-ring 2.5s ease 1.5s infinite;
}
.btn-cta:hover {
  background: #20ba58;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
}
.cta-phone {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  letter-spacing: .03em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.footer-region {
  font-size: 14px;
  color: rgba(255,255,255,.45);
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .hero-actions { flex-wrap: nowrap; }
  .parcela-inner { flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(42px, 12vw, 64px); }
  .btn-primary { padding: 15px 24px; font-size: 14px; }
  .card-body { padding: 22px 20px 26px; }
  .card-body h3 { font-size: 20px; }
  .dif-item { padding-left: 0; }
  .parcela-band { padding: 28px 0; }
  .parcela-text strong { font-size: 16px; }
  .cta-content { padding: 64px 24px; }
  .cta-title { font-size: clamp(32px, 9vw, 48px); }
  .section-title { font-size: clamp(28px, 7vw, 40px); }
  .footer-logo { font-size: 20px; }
}
