:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --surface: #141414;
  --surface-light: #ffffff;
  --ink: #111111;
  --ink-soft: #666;
  --gold: #f5c518;
  --gold-2: #d4a90c;
  --gold-soft: #fde88a;
  --muted: rgba(255,255,255,0.78);
  --muted-2: rgba(255,255,255,0.55);
  --spacing-section: 80px;
  --spacing-section-mobile: 48px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; }

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header__logo {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.header__nav {
  display: flex;
  gap: 32px;
}
.header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.header__link:hover { color: var(--gold); }

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  transition: transform 0.15s, filter 0.15s;
}
.header__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .header__nav {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ===== Hero ===== */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(245,197,24,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__content { max-width: 540px; }
.hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}
.hero__title span { color: var(--gold); }
.hero__text {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: linear-gradient(180deg, #f5d24a 0%, #e8b91b 100%);
  color: #111;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 12px rgba(245,197,24,0.2);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 20px rgba(245,197,24,0.3); }
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: none;
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__image img {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(245,197,24,0.15));
  position: relative;
  z-index: 1;
}
.hero__image::after {
  content: "";
  position: absolute;
  inset: 8% 8% 8% 8%;
  background: radial-gradient(ellipse at center, rgba(245,197,24,0.18) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero__content { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__image { order: -1; }
  .hero__image img { max-width: 280px; }
}

/* ===== Section ===== */
.section { padding: var(--spacing-section) 0; }
.section--alt { background: var(--bg-2); }
.section--light { background: var(--surface-light); color: var(--ink); }
.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section__title span { color: var(--gold); }
.section__subtitle {
  font-size: 16px;
  color: var(--muted-2);
  max-width: 600px;
  margin: 0 auto;
}
.section--light .section__subtitle { color: var(--ink-soft); }

/* ===== Sobre ===== */
.sobre { background: var(--bg); }
.sobre__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.sobre__image {
  position: relative;
}
.sobre__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.sobre__image::after {
  content: "";
  position: absolute;
  inset: -14px -14px -14px 14px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  opacity: 0.35;
  pointer-events: none;
}
.sobre__content h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 20px;
  color: #fff;
}
.sobre__content p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.sobre__content strong { color: var(--gold); }

@media (max-width: 900px) {
  .sobre__inner { grid-template-columns: 1fr; gap: 40px; }
  .sobre__image { max-width: 520px; margin: 0 auto; }
  .sobre__image::after { inset: -10px -10px -10px 10px; }
  .sobre__content { text-align: center; }
}

/* ===== Serviços ===== */
.servicos { background: var(--bg-2); }
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.servico-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.servico-card:hover { transform: translateY(-4px); border-color: var(--gold-2); }
.servico-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.servico-card__icon svg { width: 100%; height: 100%; }
.servico-card h3 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: #fff;
}
.servico-card p {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .servicos__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .section { padding: var(--spacing-section-mobile) 0; }
}

/* ===== Contato ===== */
.contato { background: var(--bg); }
.contato__inner {
  max-width: 880px;
  margin: 0 auto;
}
.contato__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contato__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.contato__item:hover { transform: translateY(-3px); border-color: var(--gold-2); }
.contato__icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contato__icon svg { width: 22px; height: 22px; }
.contato__text { font-size: 14px; }
.contato__text strong { display: block; color: var(--muted-2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.contato__text a, .contato__text span { color: #fff; word-break: break-word; }
.contato__text a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .contato__list { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-2);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer__brand h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 16px;
}
.footer__meta { font-size: 13px; color: var(--muted-2); line-height: 1.8; }
.footer__meta strong { color: var(--muted); }
.footer__meta a { color: var(--gold); }
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__link {
  font-size: 13px;
  color: var(--muted-2);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { justify-content: center; }
}

/* ===== Ultra-small screens (≤380px, inclui 320px e 280px) ===== */
@media (max-width: 380px) {
  .container { padding: 0 16px; }

  .header__inner { height: 56px; }
  .header__logo { font-size: 15px; letter-spacing: 0.02em; }

  .hero { padding: 88px 0 48px; }
  .hero__label { font-size: 11px; letter-spacing: 0.12em; }
  .hero__title { font-size: 1.6rem; line-height: 1.2; }
  .hero__text { font-size: 14px; margin-bottom: 24px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; }
  .btn { padding: 14px 20px; font-size: 13px; }

  .section { padding: 40px 0; }
  .section__title { font-size: 1.5rem; }
  .section__subtitle { font-size: 14px; }

  .sobre__content h2 { font-size: 1.4rem; }
  .sobre__content p { font-size: 14px; }
  .sobre__image::after { inset: -6px -6px -6px 6px; }

  .servico-card { padding: 24px 18px; }
  .servico-card__icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .servico-card h3 { font-size: 15px; }
  .servico-card p { font-size: 13px; }

  .contato__item { padding: 22px 14px; }
  .contato__icon { width: 42px; height: 42px; }
  .contato__text { font-size: 13px; word-break: break-word; overflow-wrap: anywhere; }

  .footer { padding: 36px 0 24px; }
  .footer__brand h3 { font-size: 17px; }
  .footer__meta { font-size: 12px; word-break: break-word; overflow-wrap: anywhere; }
  .footer__bottom { font-size: 11px; }
}