/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:              #0B0B0C;
  --surface:         #1A1A1C;
  --border:          #2C2C2F;
  --border-alt:      #3A3A3D;
  --text-1:          #FAFAFA;
  --text-2:          #A1A1A6;
  --text-3:          #6E6E73;
  --btn-primary-bg:  #E4E4E6;
  --btn-primary-fg:  #0B0B0C;
  --gold:            #C9A24B;

  --radius:    10px;
  --radius-lg: 16px;
  --ease:      0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 8px 32px rgba(0, 0, 0, 0.45);
}


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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}


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


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--ease), border-color var(--ease), color var(--ease), opacity var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: #ffffff;
}
.btn--primary:active {
  background: #D4D4D6;
}

.btn--secondary {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-alt);
}
.btn--secondary:hover {
  border-color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
}
.btn--secondary:active {
  background: rgba(255, 255, 255, 0.08);
}


/* ============================================================
   BADGE
============================================================ */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 24px;
}


/* ============================================================
   HEADER
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold);
  transition: background var(--ease);
}

.header.scrolled {
  background: rgba(11, 11, 12, 0.97);
}

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

.header.scrolled .header__inner {
  height: 66px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: height var(--ease);
}

.header.scrolled .header__logo-img {
  height: 48px;
}

/* Nav links */
.header__nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: color var(--ease);
}
.header__nav-link:hover {
  color: var(--text-1);
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  min-width: 44px;
  min-height: 44px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav dropdown */
.header__nav.mobile-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
  gap: 0;
}

.header__nav.mobile-open .header__nav-link {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}
.header__nav.mobile-open .header__nav-link:last-child {
  border-bottom: none;
}


/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 12, 0.4) 0%,
    rgba(11, 11, 12, 0.7) 50%,
    rgba(11, 11, 12, 1) 100%
  );
  z-index: 0;
}

/* Subtle warm glow from top (decorative, works without photo) */
.hero__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 75, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 0 70px;
  width: 100%;
}

.hero__content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.hero__image {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 75, 0.2);
}

.hero__img--fachada {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  background: linear-gradient(175deg, #FAFAFA 0%, #A1A1A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-2);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

/* Animated line at bottom */
.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); }
  30%  { opacity: 1; transform: scaleY(1); }
  70%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); }
}


/* ============================================================
   SECTIONS — SHARED
============================================================ */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--surface);
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section__tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  background: linear-gradient(175deg, #FAFAFA 0%, #A1A1A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
}

.section__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}


/* ============================================================
   DIFERENCIAIS — CARDS
============================================================ */
.diferenciais__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--ease), transform var(--ease);
}

.card:hover {
  border-color: var(--border-alt);
  transform: translateY(-2px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
}


/* ============================================================
   SERVIÇOS
============================================================ */
.servicos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.servico-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 30px 30px 30px;
  transition: border-color var(--ease), transform var(--ease);
}

.servico-card:hover {
  border-color: var(--border-alt);
  transform: translateY(-2px);
}

.servico-card--featured {
  border-color: rgba(201, 162, 75, 0.35);
}
.servico-card--featured:hover {
  border-color: rgba(201, 162, 75, 0.65);
}

.servico-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: #0B0B0C;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
}

.servico-card__header {
  margin-bottom: 14px;
}

.servico-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.servico-card__divider {
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  width: 48px;
}

.servico-card__desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
}


/* ============================================================
   GALERIA
============================================================ */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.photo-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  color: var(--text-3);
  transition: border-color var(--ease);
  overflow: hidden;
}

.photo-placeholder:hover {
  border-color: var(--border-alt);
}

.photo-placeholder p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  margin: 0;
}

.photo-placeholder span {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: 'Courier New', monospace;
}

.galeria__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.galeria__img--large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}

.photo-placeholder--large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}


/* ============================================================
   DEPOIMENTOS
============================================================ */
.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.depoimento-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--ease);
}

.depoimento-card:hover {
  border-color: var(--border-alt);
}

.depoimento-card__stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.depoimento-card__text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.78;
  margin-bottom: 22px;
  font-style: italic;
}

.depoimento-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.depoimento-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.3);
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.depoimento-card__author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-1);
  margin-bottom: 2px;
}

.depoimento-card__author span {
  font-size: 0.78rem;
  color: var(--text-3);
}


/* ============================================================
   LOCALIZAÇÃO
============================================================ */
.localizacao__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.localizacao__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.info-item p,
.info-item a {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
}

.info-item a:hover {
  color: var(--text-1);
}

.localizacao__map {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

/* CTA bar */
.footer__cta-bar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.footer__cta-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(175deg, #FAFAFA 0%, #A1A1A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.footer__cta-sub {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-top: 8px;
}

.footer__cta-btn {
  align-self: flex-start;
}

.footer__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

/* Footer main columns */
.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.6;
}

.footer__contact strong,
.footer__social strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__contact p,
.footer__contact a {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.75;
}

.footer__contact a:hover {
  color: var(--text-1);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--ease);
}

.footer__social-link:hover {
  color: var(--text-1);
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.5;
}

.footer__top-link {
  color: var(--text-3);
  font-size: 18px;
  transition: color var(--ease);
  flex-shrink: 0;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.footer__top-link:hover {
  color: var(--text-1);
  border-color: var(--border-alt);
}


/* ============================================================
   FADE-IN ANIMATION (Intersection Observer)
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   RESPONSIVE — TABLET (768px+)
============================================================ */
@media (min-width: 768px) {

  .header__nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .section {
    padding: 96px 0;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding: 120px 0 100px;
  }

  .hero__image {
    width: 360px;
    max-width: 360px;
  }

  .diferenciais__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .depoimentos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .localizacao__grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
  }

  .localizacao__map {
    height: 380px;
  }

  .footer__main {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__cta-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__cta-btn {
    align-self: auto;
    flex-shrink: 0;
  }
}


/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
============================================================ */
@media (min-width: 1024px) {

  .container {
    padding: 0 40px;
  }

  .section {
    padding: 116px 0;
  }

  .hero__content {
    padding: 140px 0 120px;
  }

  .localizacao__map {
    height: 420px;
  }
}


/* ============================================================
   MOBILE SMALL (< 375px)
============================================================ */
@media (max-width: 374px) {
  .hero__title {
    font-size: 2.6rem;
  }

  .btn--lg {
    height: 48px;
    padding: 0 20px;
    font-size: 14px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
