html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  background: #0a0a0a;
  color: #f0f0f0;
}

img, svg, video { max-width: 100%; height: auto; }

/* ==== Selection ==== */
::selection {
  background: #ff6b00;
  color: #ffffff;
}

/* ==== Scrollbar ==== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 0; border: 2px solid #0a0a0a; }
::-webkit-scrollbar-thumb:hover { background: #ff6b00; }

/* ==== Navbar scrolled state ==== */
.navbar-scrolled {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: #2a2a2a;
}

/* ==== Fade-up animation ==== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== Counter ==== */
.counter { font-variant-numeric: tabular-nums; }

/* ==== Service card (dark refinado) ==== */
.service-card {
  position: relative;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 2.25rem 2rem;
  transition: background 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
@media (min-width: 768px) {
  .service-card { padding: 2.75rem 2.5rem; }
}
.service-card:hover {
  background: #1a1a1a;
  border-color: #ff6b00;
}

.service-card .service-number {
  position: absolute;
  top: 1.6rem;
  right: 4.5rem;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: #e0c89a;
  letter-spacing: 0.01em;
  transition: color 0.5s ease;
}
@media (min-width: 768px) {
  .service-card .service-number { top: 1.85rem; right: 5rem; font-size: 1.6rem; }
}
.service-card:hover .service-number { color: #946d24; }

.service-card .service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.service-card .service-icon-wrap svg {
  color: #ff8533;
  transition: color 0.4s ease;
}
.service-card:hover .service-icon-wrap {
  background: #ff6b00;
  border-color: #ff6b00;
}
.service-card:hover .service-icon-wrap svg { color: #0a0a0a; }

.service-card .service-arrow {
  position: absolute;
  top: 2rem;
  right: 1.75rem;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8533;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
@media (min-width: 768px) {
  .service-card .service-arrow { top: 2.5rem; right: 2.25rem; }
}
.service-card:hover .service-arrow {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #0a0a0a;
}

/* ==== Event card (dark refinado) ==== */
.event-card {
  position: relative;
  border-radius: 4px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: #0a0a0a;
  transition: border-color 0.4s ease;
}
.event-card:hover {
  border-color: #ff6b00;
}
.event-card .event-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 1.2s ease, filter 0.6s ease;
}
.event-card:hover .event-bg {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.event-card .event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0) 100%);
}
.event-card .event-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #ffffff;
}
@media (min-width: 768px) {
  .event-card .event-content { padding: 2rem; }
}

/* ==== Testimonial card (dark refinado) ==== */
.testimonial-card {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color 0.4s ease, background 0.4s ease;
  position: relative;
}
@media (min-width: 768px) {
  .testimonial-card { padding: 2.5rem; }
}
.testimonial-card:hover {
  background: #1a1a1a;
  border-color: #ff6b00;
}

/* ==== Mobile menu ==== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* ==== Form focus polish ==== */
input:focus, textarea:focus, select:focus {
  outline: none;
}

/* ==== Primary button (white default, orange on hover) ==== */
.btn-bronze {
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #ffffff;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-bronze:hover {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #0a0a0a;
}

/* ==== Outline secondary button (sobre dark) ==== */
.btn-ghost {
  background: transparent;
  color: #f0f0f0;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-ghost:hover {
  background: transparent;
  border-color: #ff6b00;
  color: #ff6b00;
}

/* ==== Cream/white button (alta visibilidade em dark) ==== */
.btn-cream {
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #ffffff;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-cream:hover {
  background: #ff6b00;
  color: #0a0a0a;
  border-color: #ff6b00;
}

/* ==== Hairline divider ==== */
.hairline-bronze {
  height: 1px;
  background: #2a2a2a;
}
