/* ===================================================
   CABEÇALHO PÚBLICO
   =================================================== */
.site-header {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 12px 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--header-text);
  text-decoration: none;
  cursor: pointer;
  padding: 4px 6px;
  transition: opacity 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.6;
}

.nav-separator {
  color: #a0a6b2;
  font-weight: 300;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.social-links a {
  color: var(--header-text);
  display: inline-flex;
  align-items: center;
  padding: 5px;
  transition: opacity 0.15s ease;
}

.social-links a:hover {
  opacity: 0.6;
}

.admin-nav-btn {
  background: var(--header-text);
  color: #ffffff !important;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.admin-nav-btn:hover {
  background: var(--accent-blue);
}

/* ===================================================
   MENU HAMBÚRGUER & DRAWER MOBILE
   =================================================== */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

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

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: var(--surface-1);
  border-left: 1px solid var(--border-strong);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.mobile-drawer-close:hover {
  color: var(--text-main);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-drawer-nav a i {
  width: 17px;
  height: 17px;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: var(--surface-2);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.mobile-drawer-socials a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.mobile-drawer-socials a:hover {
  color: var(--text-main);
}

/* ===================================================
   PAGE VIEWS & HERO
   =================================================== */
.page-view {
  display: none;
  animation: fadeIn 0.25s ease;
  flex: 1;
}

.page-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

#view-home.active {
  display: flex;
  min-height: calc(100vh - 51px);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  width: 100%;
  height: calc(100vh - 51px);
}

.hero-col {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border-subtle);
  cursor: pointer;
}

.hero-col:last-child {
  border-right: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.6);
}

.hero-col:hover .hero-bg {
  transform: scale(1.04);
  filter: brightness(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(12, 13, 16, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 28px;
}

.col-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.col-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Container de Seção Comum */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 14.5px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.photo-partner-tag {
  font-size: 13px;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.photo-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.photo-instagram-link:hover {
  color: var(--text-main);
}

/* Grids Públicos */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
  margin-top: 36px;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 40px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  z-index: 999;
  transition: opacity 0.15s ease;
}

.whatsapp-float:hover {
  opacity: 0.9;
}

/* Rodapé discreto */
.site-footer {
  background: var(--surface-0);
  border-top: 1px solid var(--border-subtle);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-top: auto;
}

.admin-footer-link {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 11px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: color 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.admin-footer-link:hover {
  color: var(--text-secondary);
  background: var(--surface-1);
}
